[appfuse-user] Validation

2009-09-13 Thread measwel
LS, The way validation works in appfuse is by showing an information box above with error messages and by showing the same error messages next to the relevant input fields. How can one disable the rendering of the messages next to the input fields? -- View this message in context: http://www.

Re: [appfuse-user] code generation fails on a join table

2009-09-13 Thread Dale Newfield
So with this you can exclude many-to-many relationships, but with http://issues.appfuse.org/browse/APF-1152 there's no way to get this to succeed if you have any one-to-many or many-to-one relationships? -Dale measwel wrote: Just wanted to say, its solved by excluding join tables in a custom

Re: [appfuse-user] code generation fails on a join table

2009-09-13 Thread measwel
I can only take a guess at what exactly it is you are asking, but I can tell you how I do it now: I exclude all join tables, just generate for the entity related tables. Then in appfuse you can set the relations between your entities by hand, using annotations. DNewfield wrote: > > So with th

Re: [appfuse-user] code generation fails on a join table

2009-09-13 Thread Dale Newfield
measwel wrote: > DNewfield wrote: >> So with this you can exclude many-to-many relationships, but with >> http://issues.appfuse.org/browse/APF-1152 there's no way to get this >> to succeed if you have any one-to-many or many-to-one relationships? > I can only take a guess at what exactly it is yo

Re: [appfuse-user] code generation fails on a join table

2009-09-13 Thread measwel
Yes indeed. When I tried code generation in such cases, the relationship annotations are not made automatically. I need to set them by hand. Can you concur? -- View this message in context: http://www.nabble.com/code-generation-fails-on-a-join-table-tp25416651s2369p25425773.html Sent from the Ap

Re: [appfuse-user] code generation fails on a join table

2009-09-13 Thread Dale Newfield
measwel wrote: Yes indeed. When I tried code generation in such cases, the relationship annotations are not made automatically. I need to set them by hand. Can you concur? I didn't get to the point of code generation (appfuse:gen), since my experiment failed in appfuse:gen-model due to the FK'

Re: [appfuse-user] code generation fails on a join table

2009-09-13 Thread measwel
Ah, now I understand. Try generating from only 1 table (by excluding all rest in the mapping file as shown in the link). See which one fails. -- View this message in context: http://www.nabble.com/code-generation-fails-on-a-join-table-tp25416651s2369p25426551.html Sent from the AppFuse - User m

[appfuse-user] url translation in appfuse

2009-09-13 Thread measwel
Maybe a naive question, but for somebody as shortly involved in webprogramming as me, hopefully permitted: At several places in appfuse there are references to html files like /editProfile.html (for instance in menu config). But there are no such pages in appfuse. So how does appfuse know how to

[appfuse-user] how can I add a plugin to appfuse

2009-09-13 Thread measwel
How can I add the configuration-browser-plugin to appfuse? -- View this message in context: http://www.nabble.com/how-can-I-add-a-plugin-to-appfuse-tp25427517s2369p25427517.html Sent from the AppFuse - User mailing list archive at Nabble.com. --

Re: [appfuse-user] Data Access Failure using select box

2009-09-13 Thread Harps
take a look at this Paulie. http://www.nabble.com/Struts2-Many-to-one-New-Record-Save-problem-%28JSP-Drop-down%29-td23442385s2369.html http://www.nabble.com/Struts2-Many-to-one-New-Record-Save-problem-%28JSP-Drop-down%29-td23442385s2369.html hope it helps, Harps. paulie wrote: > > Hello, >

[appfuse-user] Dependancy injection?

2009-09-13 Thread measwel
I have changed Address from @embedable to @entity (also made a DB table for it of course) and made a oneToOne mapping from User to Adres (optional), so a User can have an Address, but its not obligatory. Now I get this interesting behaviour: If I remove the address block from userForm, then the