ui:define is not a JSF component. It is only a tag handler. To be able to
support partialTriggers, there must be a component and there must be a
corresponding HTML element for the component. These are not optional.

You have to put a component inside the define that produces HTML with the
partialTriggers.

If you are feeling adventurous, you can create you own custom component that
uses a custom tag handler that extends DefineHandler. It should be feasible,
but would require some research into the facelets code on your part.

There may be other ways to do this, but all involve in depth knowledge of
the facelets code and writing custom components and tag handlers.

On Jan 18, 2008 5:55 AM, Daniel Niklas <[EMAIL PROTECTED]>
wrote:

>
> Hi Andrew,
>
>
> Andrew Robinson-5 wrote:
> >
> > That is not valid. For AJAX/PPR to work there has to be HTML output to
> > replace. Use css to hide the data if you want (display: none)
> >
>
> I don't want to hide "html-regions". I need a ppr/trinidad
> naming-container
> with an attribute "partialTriggers ". This container shoud not affect my
> layout.
>
> I need partialTriggers for a <ui:define>. Because facelets doesn't know
> the
> ppr-features of trinidad, i had to put in another trinidad component here.
>
> I want to realize something like this:
>
> <ui:define name="myArea" partialTriggers="one two" />
>
> Daniel
> --
> View this message in context:
> http://www.nabble.com/-Trinidad--need-Naming-Container-%22without-visible-html-output%22-for-partialTriggers-tp14919183p14949370.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to