Questions tagged as 'groovy'

2
answers

Convert String to Array - Java / Groovy

I need to convert a string variable to a array , I tried to do the following, I have the variable string contentLote , where its value is: [["4","SCAB171301BF5","Vazio","Lexmark International","50F0Z00",null,null,"2017-10-2...
asked by 27.10.2017 / 13:02
2
answers

#GRAILS Search filter gsp not passing parameters to controller

I have a form in a gsp page and this form has a g: textField that the user will enter values and then click a button to filter the grid values. For example: there are 3 records in the grid ... Joaozinho, Jose, Maria. If the user type Joaozinh...
asked by 04.10.2017 / 00:30
1
answer

about crud with attachment I am not able to do the save action

You're adof to run an actio in Grails. The next step is for the action to save an attachment and a title to the attachment. Does anyone provide me with crud links with attachments?     
asked by 11.01.2016 / 20:54
1
answer

Problems giving run in grails project

I created a new project here and I'm having trouble giving run , I'm using as ide co_de plugin to grails , it does not attest any error in code but when trying to execute I get the following error: Error starting Grai...
asked by 24.07.2014 / 14:02
1
answer

Remove bank data with GRAILS AND GORM

I am learning a bit of GRAILS and I have the following problem I can display the information of some users usually registered when I try to delete them I can not and I do not receive any error, follow the code def delete() { Usuario...
asked by 30.06.2014 / 03:10
0
answers

interceptUrlMap defined as a Map is not supported error when adding interceptors in grails application

I'm developing a web application using Grails and I'm trying to implement authentication via spring security plugin. Java.lang.IllegalArgumentException: interceptUrlMap defined as a Map is not supported; must be specified as a List of Maps as...
asked by 27.06.2018 / 05:29
0
answers

Compare 2 XML files and save the result to a single excel file in groovy

Good afternoon community, I'm working with the Groovy language in the SoapUI NG Pro application and I came across a problem. My groovy script receives two responses to two requests to a web service. The output of the two responses are two .xm...
asked by 29.03.2018 / 18:17
1
answer

SSL Failure on GET request with Groovy HttpBuilder

I can not make a GET request on the following link using Groovy HttpBuilder: link I have already tested the method below: ignoreSSLIssues() But it always returns the exception: error: javax.net.ssl.SSLHandshakeException: Received f...
asked by 04.08.2017 / 23:16
0
answers

What is and what is the ListIterator for?

What would be the function of ListIterator ? I have a variable of type List , which receives the information from my PostgreSQL Database, I need to access the information of this variable of type List but when I use the get...
asked by 20.02.2017 / 19:34
2
answers

Select index of an array that is inside another array

I have a ArrayList that has other ArrayList inside it, I got through the following scrip in Groovy: def i0 = listaTransportadoras.get([0]); def i1 = listaTransportadoras.get(1); logger.info(i0.toString()); logger.info(i1.toStrin...
asked by 03.02.2017 / 16:54