You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by Mark Robinson <ma...@mizar.com> on 2006/10/18 20:59:54 UTC
PartialTrigger Support
Hi,
I'm implementing a custom component and I'm trying to get partialTrigger
support working. Is there any documentation or examples for adding
partialTrigger support to components?
So far my, encodeBegin/encodeEnd is being called with a
PPRResponseWriter, but it's not updating the page with the changed
components. Do I have to call something from decode to force my
component to be updated?
Mark
Re: PartialTrigger Support
Posted by Adam Winer <aw...@gmail.com>.
On the Renderer side you need to:
- Pass the UIComponent to startElement(), at least for the root
element of your component.
- Render an "id" attribute on each root element.
On the component side you need to:
- Be a subclass UIXComponentBase *or* steal the code
that handles partialTriggers from decode() (or is that
processDecodes()?) in UIXComponentBase
-- Adam
On 10/18/06, Mark Robinson <ma...@mizar.com> wrote:
> Hi,
>
> I'm implementing a custom component and I'm trying to get partialTrigger
> support working. Is there any documentation or examples for adding
> partialTrigger support to components?
>
> So far my, encodeBegin/encodeEnd is being called with a
> PPRResponseWriter, but it's not updating the page with the changed
> components. Do I have to call something from decode to force my
> component to be updated?
>
> Mark
>