Is there <t:aliasBean like component of tomahawk in primef

UI Components for JSF
Post Reply
jinli cao
Posts: 1
Joined: 08 Sep 2010, 11:45

08 Sep 2010, 11:52

Now, I have a requirement that like following:

<t:aliasBean alias="#{navigatorPage}" value="#{searchRegisterReturnPage}">
<f:subview id="top">
<jsp:include page="/navigator.jsp?scroller=top" />
</f:subview>
</t:aliasBean>

now by primefaces, how should I do?

if someone have right way. please email me: kingleecao@gmail.com
thanks a lot.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

08 Sep 2010, 13:58

You can use facelets ui:include or JSF 2.0's composite component feature.

amrGalalNouman
Posts: 1
Joined: 14 Aug 2011, 10:55

07 Sep 2011, 13:15

i am not understand your answer

<t:aliasBean alias="#{navigatorPage}" value="#{searchRegisterReturnPage}">
</t:aliasBean>

alias bean allow use diffrent bean in genaric page with one name.
this option can use in composite component feature.

EX:
<p:ajax listener="#{listUnit.onNodeSelect}" />

if i have aliasBean i can replace listUnit with genaric name and use it with diffrent implementation Especially in composite component feature.

thanks;

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 18 guests