Questions tagged [grails-3.2]

Use this tag for version 3.2 only, use grails tag for general question about grails Web application framework

11 questions
4
votes
1 answer

Grails 3.2 Resource Bundle does not display text with correct encoding

Since Grails 3.2.8 (and above) the resource bundle within my application does not work as expected. German umlauts (or general UTF-8 chars that are not part from ASCII) are display with ��. E.g. the German word über is displayed as ��ber. First I…
saw303
  • 8,051
  • 7
  • 50
  • 90
1
vote
1 answer

Grails 3 command line's commands source code

Where I can find the Grails 3.2.11 command line source code files? When you execute the command grails help it displays a list of commands: | Available Commands (type grails help 'command-name' for more info): | Command Name …
esalomon
  • 85
  • 1
  • 12
0
votes
2 answers

Grails promises losing data - seemingly not waiting for each other to complete

The following randomly calls getParentCustomers or getAccountManagers first. When it does it works fine. However, whichever one gets called second passes a null into it. Neither of these methods mutates the incoming values in any way. I am…
franzcatch
  • 169
  • 2
  • 15
0
votes
1 answer

Can I Add Placeholder Text Into A Groovy Text Field (g:textField)?

In my Grails3 Project on my .gsp I have a Relationship Label followed by an Relationship Groovy textField using the code below:
J. Erhart
  • 25
  • 7
0
votes
2 answers

Grails 3 how to render json view to file output instead of to http response stream?

In a controller, how can I redirect json view output to a file instead of to the http response? Grails 3.2.5.
Jay
  • 173
  • 10
0
votes
0 answers

Grails 3.2.x datasource per deployment

As Holders.grailsApplication.mainContext.servletContext.getRealPath("/") is not available anymore in application.groovy in recent Grails versions, I wonder how to get dynamic (webapp-name-dependent) datasources working again? see…
user39950
  • 464
  • 3
  • 15
0
votes
1 answer

How to deploy multiple Grails 3.x applications in Tomcat 8 with shared jars?

I want to deploy few Grails 3.x web applications in Tomcat 8 with all commons jars in a tomcat/shared/lib directory. Found similar question How to deploy multiple applications in Tomcat, share jars and have different datasources? but this is having…
Anshul
  • 687
  • 9
  • 18
0
votes
1 answer

How to retrieve the current dependencies in a Grails 3.2 script

Context I created a Grails 3.2.11 script with the next command: grails create-script script-test The above command generated the file: script-test.groovy. Then, I need to verify if a jar file dependency is present at the current grails project. At…
esalomon
  • 85
  • 1
  • 12
0
votes
2 answers

Plugins in a Multiproject fails at Grails 3.2.11

Configuration Following the Plugins and Multi-Project Builds section at the Grails 3.2.11 manual, its suppose that I can setup a Multi-project with the next commands in a terminal: echo "Creating the root folder..." mkdir test-multi-project cd…
esalomon
  • 85
  • 1
  • 12
0
votes
1 answer

Problems with hot swap and grails 3.2.8

I am developing in grails 3.2.8 and the code hot swap simply does not work. I know that i should talk to spring boot, but perhaps someone had the tailored fix for grails. BTW, i had a quick look at the spring boot questions but could not find…
Fabio Sogni
  • 187
  • 1
  • 11
0
votes
1 answer

Grails 3.2 - defaultAction ignored on scaffolded controllers?

Curious if this is an issue or if I'm doing something wrong. Given the following controller: class MetaDataTypeController { static scaffold = MetaDataType static defaultAction = 'list' def list() { render("You meant ${g.link(action:…
Trebla
  • 1,164
  • 1
  • 13
  • 28