Hello everybody, Few weeks ago I talked about a problem when I tried to initialize the Bean in my XMLForm app. The Bean initialization should load an XML file and save it into a Node variable declared in the Bean. This Node is used to list possible values in a listbox for the property "workstationType".
The problem was that the list of the listbox was empty on the first page of the form and the Bean didn't seem to be initialized. When you went to the next page and went back to the first, the list was suddenly full and all was OK. It seemed that the Bean was initialized only at the second page. It's very strange because the Bean seemed to be initialized but the list for the listbox was empty. But there was the right number of spaces to display the list (you had 5 lines in the view if there was 5 entries in the list). I have new information about this problem: 1) I tried to override the getFormModel() method in the Action and put the Bean initialization into this method. The problem was still exactly the same! 2) I conclude that it's not a Node initialization problem. The problem is when you want to display the list at the first page. Now there is a strange thing: if you assign something in the property workstationType within the getFormModel(), the initialization works well and you have the full list at the first page (but you don't see the value you have assigned in the getFormModel() method!). WHAT HAPPEN!!! If someone has an idea? Thank you very much Sylvain --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>