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.
Is there <t:aliasBean like component of tomahawk in primef
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
You can use facelets ui:include or JSF 2.0's composite component feature.
-
- Posts: 1
- Joined: 14 Aug 2011, 10:55
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;
<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;
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 18 guests