|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Woodstock: Problem Initializing FormHello,
I'm using woodstock and have a problem with the initializing of field values. My jsp's are in the session scope and the beans for view are defined in the backing bean. When I navigate to the jsp, the beans are set to null. The First Tim I am going my jsp all is ok. The input-fields are empty. Now I fill the fields with values and switch per navigation-menu to an other jsp and come back. The values in the fields are the same I typed in!? But the bean in the backing is null! I expect, that the fields are empty! Has anyone an Idea? Mit freundlichen Grüßen Elmar Brandt -- KDVZ Citkomm Entwicklung Griesenbraucker Str. 4 58640 Iserlohn Telefon: +49 (0) 2371 / 439 126 Fax: +49 (0) 2371 / 439 61 126 E-Mail: brandt@... Internet: http://www.kdvz.de |
|
|
RE: Woodstock: Problem Initializing FormHow are you going back to the page? Are you using JSF navigation?
Are you using tabs or is this just a "normal" JSF page. Do you have anything in your prerender method or your init method of the page? If I was to guess without knowing any of the above answers it sound like you are doing some type forward back to the page that is equivalent to hitting the back button or a JavaScript function to get you back. Also, I will assume that the components that are bound are just plain old java objects, is that correct? -----Original Message----- From: Elmar Brandt [mailto:brandt@...] Sent: Friday, December 12, 2008 5:08 AM To: nbj2ee@... Subject: [nbj2ee] Woodstock: Problem Initializing Form Hello, I'm using woodstock and have a problem with the initializing of field values. My jsp's are in the session scope and the beans for view are defined in the backing bean. When I navigate to the jsp, the beans are set to null. The First Tim I am going my jsp all is ok. The input-fields are empty. Now I fill the fields with values and switch per navigation-menu to an other jsp and come back. The values in the fields are the same I typed in!? But the bean in the backing is null! I expect, that the fields are empty! Has anyone an Idea? Mit freundlichen Grüßen Elmar Brandt -- KDVZ Citkomm Entwicklung Griesenbraucker Str. 4 58640 Iserlohn Telefon: +49 (0) 2371 / 439 126 Fax: +49 (0) 2371 / 439 61 126 E-Mail: brandt@... Internet: http://www.kdvz.de |
|
|
AW: Woodstock: Problem Initializing FormHi,
I'am using the standard JSF navigation. I had localized the problem. It depends on the immediate="true"-tag in links/buttons, when we are using the tabSet of woodstock. It was reported as a bug in the woodstock-project. Issue:1316 Thanks for your help, michael. Best regards, Elmar Brandt -----Ursprüngliche Nachricht----- Von: Michael, Steve [mailto:steve.michael@...] Gesendet: Freitag, 12. Dezember 2008 14:45 An: nbj2ee@... Betreff: RE: [nbj2ee] Woodstock: Problem Initializing Form How are you going back to the page? Are you using JSF navigation? Are you using tabs or is this just a "normal" JSF page. Do you have anything in your prerender method or your init method of the page? If I was to guess without knowing any of the above answers it sound like you are doing some type forward back to the page that is equivalent to hitting the back button or a JavaScript function to get you back. Also, I will assume that the components that are bound are just plain old java objects, is that correct? -----Original Message----- From: Elmar Brandt [mailto:brandt@...] Sent: Friday, December 12, 2008 5:08 AM To: nbj2ee@... Subject: [nbj2ee] Woodstock: Problem Initializing Form Hello, I'm using woodstock and have a problem with the initializing of field values. My jsp's are in the session scope and the beans for view are defined in the backing bean. When I navigate to the jsp, the beans are set to null. The First Tim I am going my jsp all is ok. The input-fields are empty. Now I fill the fields with values and switch per navigation-menu to an other jsp and come back. The values in the fields are the same I typed in!? But the bean in the backing is null! I expect, that the fields are empty! Has anyone an Idea? Mit freundlichen Grüßen Elmar Brandt -- KDVZ Citkomm Entwicklung Griesenbraucker Str. 4 58640 Iserlohn Telefon: +49 (0) 2371 / 439 126 Fax: +49 (0) 2371 / 439 61 126 E-Mail: brandt@... Internet: http://www.kdvz.de |
| Free embeddable forum powered by Nabble | Forum Help |