This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ajax4JSf ar4:poll resets the h:form

 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using the a4j:poll command in the h:form which has to update a hutputText which displays the progress of a long process on the server.

This works fine and updates the hutputText which I have set as a id which has to be reRendered.

Only by rendering of the hutputText other fields are reset to the values which the backing bean has before any changes are made on the h:form

I have solved this by also re rendering the other fields of the h:form within the poll component, which is rather a strange solution

My question is:

Is this normal behaviour of the a4j:poll component or is there a better solution for this?


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic