You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2005/06/01 01:24:53 UTC
[Myfaces Wiki] Update of "AliasBean" by WernerPunz
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.
The following page has been changed by WernerPunz:
http://wiki.apache.org/myfaces/AliasBean
------------------------------------------------------------------------------
=== pseudo content of a subpage ===
+ {{{
...
<h:outputFormat value="#{holder.title}"/>
+
<h:outputFormat value="#{holder.description}"/>
... some other code
+ }}}
-
+ {{{
... main form using the alias bean
<x:aliasBean alias="#{holder}" value="#{databean1}">
<f:subView>
@@ -32, +35 @@
<jsp:include value="subpage"/>
</f:subView>
</x:aliasBean>
-
+ }}}
The form subpage is reused on three different places in the main form.
The include is not mandatory. Between the alias tags there can be