This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

dynamically created form: decode methode called twice  RSS feed

 
Lyn Buesching
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!