• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

dynamically created form: decode methode called twice

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic