There is also one approach shown to me by Jacob. - Hmm, Jacob, can I go out and tell about it, or do you want to do that only on J1?
regards, Martin On 4/29/06, Ernst Fastl <[EMAIL PROTECTED]> wrote:
Although it maybe out of scope of the current discussion, in order to update more than one component with an ajax-request it would also be possible to use something like the partialTriggers-Attribute in ADF-Faces in future approaches. The value of this attribute is the ID or IDs of other components. When those components are updated trough ajax calls the component which has their IDs set in the partialTriggers-Attribute will also be updated. All rendered components in ADF Faces support the partialTriggers attribute. further info is available on: http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.jsf_apps|adfcreate|af_appr~html/ It maybe to early for that now, but what do you think of this idea in principle. regards Ernst On 4/29/06, Gerald Müllan <[EMAIL PROTECTED]> wrote: > As far as i know we wanted to update only one component per request > with our actual approach. > > I think we should separate the need of updating the model (like > anywhere) and having an ajax response to show something special > (visualisation etc.) on the client. > > cheers, > > Gerald > > On 4/29/06, Mario Ivankovits <[EMAIL PROTECTED]> wrote: > > Hi! > > > If we rely on our "affectedAjaxComponent" approach (seeking comp and > > > calling methods on it) we are little bit restricted in coding. > > If this mean that we can update only one component per request, then I > > would like to see to at least extends this approach. > > > > Beside the fact that a component would like to update its own > > data/layout/etc I would like to be able to update other components too. > > > > Say if you have a button "calculate" this should update the model and > > then update the output of n other components. > > Something like zones in ajaxanywhere (partial page rendering). > > > > Or is this wish out of scope of the current discussion? > > > > Ciao, > > Mario > > > > > > > -- > Gerald Müllan > Schelleingasse 2/11 > 1040 Vienna, Austria > 0043 699 11772506 > [EMAIL PROTECTED] >
-- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces