You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Shankar K <sh...@gmail.com> on 2009/05/14 16:41:33 UTC

partial Trigger - ui:include

Hi,

I'm trying to include a page(/pages/xyz.xhtml) in a partialSubmit of a
commandLink.  Will ui:include work this way ? Please find the code snippet
below

Code Snippet:

    <tr:commandLink id="link1" partialSubmit="true"
actionListener="#{bean.flipRendered}">

    <tr:panelGroupLayout id="panelGroup1" partialTriggers="link1">
       <t:div rendered="#{bean.rendered}">
               <ui:include src="/pages/xyz.xhtml"  />
       </t:div>
   </tr:panelGroupLayout>


Thanks in advance,

~Shankar

Re: partial Trigger - ui:include

Posted by Andrew Robinson <an...@gmail.com>.
It will work, just remember that the include will still be processed,
just none of its components will be rendered.

On Thu, May 14, 2009 at 8:41 AM, Shankar K <sh...@gmail.com> wrote:
> Hi,
>
> I'm trying to include a page(/pages/xyz.xhtml) in a partialSubmit of a
> commandLink.  Will ui:include work this way ? Please find the code snippet
> below
>
> Code Snippet:
>
>     <tr:commandLink id="link1" partialSubmit="true"
> actionListener="#{bean.flipRendered}">
>
>     <tr:panelGroupLayout id="panelGroup1" partialTriggers="link1">
>        <t:div rendered="#{bean.rendered}">
>                <ui:include src="/pages/xyz.xhtml"  />
>        </t:div>
>    </tr:panelGroupLayout>
>
>
> Thanks in advance,
>
> ~Shankar
>