Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dynamically created form: decode methode called twice

Lyn Buesching
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic