• 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

Problem with JSF 1.1 and Ajax

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.

Could you help me with a problem?

Here is my setup:
The project is using JSF 1.1, MyFaces 1.1.5, Java 1.4, Spring 2.5, WebSphere 6.0 and prototype 1.6.1
Only one servlet (front controller) that dispatch to jsf mapped events. Spring manages beans.

Here is the situation:
The user opens a view (all normal with jsf). In that view, he clicks in a button and then a ajax request is fired to get a html form and inject it in that view with javascript (innerHTML). Till there it's ok. I attached a image to ilustrate it better.
The problem is that when the user submits the form, the fields loaded via ajax are not been setted/validated/converted in the managed bean. And something funny is that the fields that was already in the main view are only setted sometimes.

Am i missing something?


Thanks.
jsf-ajax.png
[Thumbnail for jsf-ajax.png]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic