I have a couple of Javascript libraries of my own that do some nice prettyfying of my HTML pages and I want to include them in my gsp pages, particularly the landing page of my app. I have tried putting them in views folder and web-app/js and $APP_H...
I am using Dojo 1.9 with Grails 2.3.9. The Dojo NumberTextBox widget - that I use in my forms - sets real number values (e.g.: 12.56) in a fixed format (the JavaScript base format) into the HTML form input fields (but displays/edits them according t...
Here's what I'm looking for: I want to use the wonderful features of SIMPLE mode minification while disabling just one specific feature (disable local function inline). UPDATE: The answer is NO, it's not possible given my setup. Bu...
I have 3 select boxes and all are having same value (clones) & created on change of reference table selection. now i want to manage the selection on the three Constraint dropdown so that it 'Does not show the selected one in other two'...
browser: Chrome environment: grails app localhost I'm running a grails app on local host (which i know there's an issue with pdf.js and local file system) and instead of using a file: url which i know would fail i'm passing in a typed...
I want to dynamically load data while Scrolling a GSP Page Down like facebook does. Is that possible ? I am using grails 1.3.7 thanks....
I'm using Grails 2.3.7 and I have a controller action as follows: def testData(){ def result = [:] result['name'] = "Sales" result['type'] = "bar" result['data'] = [5, 20, 45, 10, 10, 20]...
I have a situation where I have a form with multiple submit buttons and I want to update a remote frame. I've tried using a g:formremote with 2 g:actionsubmit buttons (which support javascript) but the multiple submit buttons have a glitch (descr...
I have some working JS code which I put on the sections of my create and edit views, and it's working fine. However, when I attempted to move the code to a separate JS file, the code would no longer call the controller action. Here the JS code...
I need to manage a groovy list object in my javascript function. I have a groovy block into a javascript function. I tried with this: var obj = ${mediaObjectInstanceList as grails.converters.JSON}[index]; and this: var obj = ${mediaObjectInstanc...
©2020 All rights reserved.