awheatley29560 / grails-form-builder-plugin

Automatically exported from code.google.com/p/grails-form-builder-plugin
Apache License 2.0
0 stars 0 forks source link

dependsOn too strict #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install current grails (1.3.7) and jquery plugin (which is 1.5.2)
2. Attempt install of FormBuilder
3.

What is the expected output? What do you see instead?
Expect installed plugin, but get rejected because plugin depends on exactly 
jquery 1.4.2.7 (and jqueryUI 1.8.6) - that's too strict.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by wa...@stidolph.com on 26 Apr 2011 at 1:25

GoogleCodeExporter commented 8 years ago
Hi there,

Thanks for trying the plugin and create an issue report. The plugin in have 
strict dependency was due to the reason that I barely tested it with jquery 
1.4.2.7 and jqueryUI 1.8.6.  You can loosen the dependency by download the 
plugin at 
http://plugins.grails.org/grails-form-builder/tags/RELEASE_0_1/grails-form-build
er-0.1.zip and changing the dependsOn at line 29 and line 30 of 
http://code.google.com/p/grails-form-builder-plugin/source/browse/trunk/FormBuil
derGrailsPlugin.groovy

Please let's me know whether it is working well with latest version of jquery 
and jquery-ui plugin.

Thanks,
Chee Kin

Original comment by limchee...@ymail.com on 26 Apr 2011 at 4:46

GoogleCodeExporter commented 8 years ago
I am having the exact same problem with jquery version. And I tried loosen the 
dependency by modifying FormBuilderGrailsPlugin.groovy. But it still 
complaining about not having the jquery 1.4.2.7. Any idea?

def dependsOn = [
          jquery:"1.4.2.7 > *",
          jqueryUi:"1.8.6 > *",

Original comment by julian.k...@gmail.com on 3 May 2011 at 5:26

GoogleCodeExporter commented 8 years ago
Thanks for using the plugin, you also need to loosen the dependency of another 
plugin it depends on: jquery-form-builder.

Hope this help.

Original comment by limchee...@ymail.com on 3 May 2011 at 6:52

GoogleCodeExporter commented 8 years ago
Thanks Kin. That works.
After loosen the 1.4.2.7 jquery dependency in jquery-form-builder plugin, 
form-builder plugin installed without a problem. The "smoothness" theme used in 
form builder's layouts seems to be missing from jquery-ui v1.8.11. After 
removing the "theme" attribute from <jquery:resources /> tag in both 
formDesigner and formViewer layout, everything appear to be working ok. Will 
test more.

Original comment by julian.k...@gmail.com on 5 May 2011 at 5:19

GoogleCodeExporter commented 8 years ago
Great! Please let's me know about your test results.

By the way, would you mind to share how do you use the plugin?

Best regards,
Chee Kin

Original comment by limchee...@ymail.com on 5 May 2011 at 9:07

GoogleCodeExporter commented 8 years ago
I am still learning what I can use from this plugin. Will keep you posted. Now 
I am getting this error while committing a new form created.

Executing action [save] of controller [org.grails.formbuilder.FormController] 
in plugin [form-builder] caused exception: Cannot set property 'accessible' on 
null object
Servlet: grails
URI: /grails/form/save.dispatch
Exception Message: Cannot set property 'accessible' on null object
Caused by: Cannot set property 'accessible' on null object
Class: FormController
At Line: [76] 

Original comment by julian.k...@gmail.com on 5 May 2011 at 2:23

GoogleCodeExporter commented 8 years ago
Huh? May I know what version of Grails are you using and steps to re-produce 
the error?

Original comment by limchee...@ymail.com on 5 May 2011 at 11:16