Hi Mario, i think this usecase is already covered by the component. Have a look at the current nightly build page
http://example.irian.at/example-sandbox-20080327/pprPanelGroupOnChange.jsf Especially the input component in combination with the outputText element. You may have to play with immediate="true" and a valueChangeListener, but it should be possible!? Apart from this, your solution sounds quite good, the user would expect it exactly this way not the other one. cheers, Gerald On Thu, Mar 27, 2008 at 11:44 AM, Mario Ivankovits <[EMAIL PROTECTED]> wrote: > Hi! > > I have the need to do a partial model update for given components on ppr > submit. (subform won't work here) > > I have a form with a couple of input fields, lets say FIELD_A, FIELD_B, > FIELD_C, FIELD_D - all in one form. > > FIELD_A is required > now, after something has been entered in FIELD_B, FIELD_C should be > updated from the server using the data of FIELD_B. > > For this to work, I thought extending the new pprSubmit component with > something like updateComponentIds="". You then will be able to have a > commandLink (probably hidden) with <s:pprSubmit > updateComponentIds="FIELD_B" /> (comma separated list). > > The PprPhaseListener then has to do some magic to only update/validate > those fields and skip the normal JSF phases. > > > I'll going to add that stuff if no one objects. > > Ciao, > Mario > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces
