aspose file tools
The moose likes JSF and the fly likes dynamically created form: decode methode called twice Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "dynamically created form: decode methode called twice" Watch "dynamically created form: decode methode called twice" New topic
Author

dynamically created form: decode methode called twice

Lyn Buesching
Greenhorn

Joined: Aug 25, 2010
Posts: 1
Hi,
I'm trying to write a client containing a dynamically created form. The user have to select a web service process out of a selectOneMenu. Depending on this selection the form must be created. Selecting the web service and the following update of the form is ajax based. The form in my xhtml page contains a binding and a preRenderComponentEvent:



In the loadForm() methode the form, depending on the selected web service process will be created:


After clicking the created executeButton the listener (executeProcess()) will be called to handle the submitted values.
The problem is, that the decode methode of the form elements will be called twice in the apply request values phase!

Does anyone have an idea how to solve this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dynamically created form: decode methode called twice
 
Similar Threads
Dynamic UI generation problem while opening popup
Conversion Error setting value
HtmlInputText
Creating HtmlCommandButton and HtmlForm in a custom tag
setAction Problem HtmlCommandButton