« Return to Thread: Woodstock: Problem Initializing Form

RE: Woodstock: Problem Initializing Form

by Michael, Steve :: Rate this Message:

Reply to Author | View in Thread

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


 « Return to Thread: Woodstock: Problem Initializing Form