ajaxing a component renderer

2006-03-24 Thread John Slave
Hi, i would like to render components not through a traditional jsf lifecycle but by phaseListener in order to render components and send them through xmlhttprequest. In order to do so how can i tell the phase listener to render and send back through ajax xml? Yours faithfully John Slave

Re: ajaxing a component renderer

2006-03-24 Thread Werner Punz
John Slave schrieb: > Hi, > > i would like to render components not through a traditional jsf > lifecycle but by phaseListener in order to render components and send > them through xmlhttprequest. In order to do so how can i tell the phase > listener to render and send back through ajax xml? > Yo

Re: ajaxing a component renderer

2006-03-24 Thread Hubert Rabago
On 3/24/06, Werner Punz <[EMAIL PROTECTED]> wrote: > You have to define the ajax call in the original renderer with a content > div or any other element content element, of the component and then > render the html in the ajax cycle, and > then on the html level replace the content holders inner htm

Re: ajaxing a component renderer

2006-03-24 Thread Travis Reeder
Check out AjaxDecodePhaseListener in the sandbox and the ajax components in the sandbox.  There are some good examples in there.TravisOn 3/24/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:On 3/24/06, Werner Punz < [EMAIL PROTECTED]> wrote:> You have to define the ajax call in the original renderer w

Re: ajaxing a component renderer

2006-03-25 Thread Gerald Müllan
Yes; as travis said the AjaxDecodePhaseListener is a good example how myfaces handles the ajax stuff. We are currently adding the ajax request the url value "affectedAjaxComponent+components_client_id" apart from the real value which we want to send to the server. During the ajax request the ment