A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Ajax4JSf ar4:poll resets the h:form
Joined: Dec 28, 2006
Mar 22, 2009 12:37:30
I'm using the a4j:poll command in the h:form which has to update a h
utputText which displays the progress of a long process on the server.
This works fine and updates the h
utputText which I have set as a id which has to be reRendered.
Only by rendering of the h
utputText 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?
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,
It is sorta covered in the
JavaRanch Style Guide
subject: Ajax4JSf ar4:poll resets the h:form
Run the MethodeBean & display the fields that corresponds to selectMenu
How to save scroll position after dataTable refresh by a4j:poll ?
Ajax render outside of form problem
relation between backing beans
Validation Problem ... again!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014