-
1. Re: modalPanel - Will not set property on backing bean...
ilya_shaikovsky Aug 28, 2007 9:59 AM (in response to indyjones)I think you should read some docs from th negining.. After a minute reading:
1) nested forms not alowed
2) Why did you need ajax-ed form?
3) why a4j action controls inside ajax-ed form? -
2. Re: modalPanel - Will not set property on backing bean...
indyjones May 21, 2010 4:06 PM (in response to indyjones)ok....
1 - I got rid of the nested form
2 - Got rid of all ajax forms
3 - Again, I got rid of the ajax forms...Now i get this...
11:59:21,796 WARN [lifecycle] /adminUser.xhtml @135,82 value="#{usermanager.newUser.username}": Target Unreachable, 'newUser' returned null on 'org.javassist.tmp.java.lang.Object_$$_javassist_7'For some reason, the newUser property is just not getting set when I use the modalPanel.
Here is my new code on the modalPanel....
Simple getter/setter for newUser on usermanager bean...
removed by Casey Boyd.....
Again, I am new to Seam but know JSF. To me, when I hit the "Save" button, the output text fields should set properties on the newUser property. But, the newUser property is "Unreachable"?
This only happens on the ModalPanel...
thanks indy
-
3. Re: modalPanel - Will not set property on backing bean...
indyjones Aug 28, 2007 12:27 PM (in response to indyjones)Basically, the setNewUser() method on the UserManager Bean is never called when the "Save" button is pressed on the modalPanel...
Why is that? What have I done wrong?
The getNewUser() method is called just fine...
Thanks
indy -
4. Re: modalPanel - Will not set property on backing bean...
ishabalov Aug 28, 2007 4:59 PM (in response to indyjones)What and when suppose to call setNewUser()? It is not clear from your code snipped.
-
5. Re: modalPanel - Will not set property on backing bean...
indyjones Aug 28, 2007 9:39 PM (in response to indyjones)I thought setNewUser() would be called when the form on the modalPanel was submitted. Is that not correct? How should I call setNewUser()?
-
6. Re: modalPanel - Will not set property on backing bean...
ajanz Aug 9, 2008 9:20 AM (in response to indyjones)hi,
did you solve your problem? i have a quite similiar one -
7. Re: modalPanel - Will not set property on backing bean...
ajanz Aug 9, 2008 9:21 AM (in response to indyjones)hi,
did you solve your problem? i have a quite similiar one