You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by to...@apache.org on 2005/11/02 17:12:50 UTC
svn commit: r330279 - /myfaces/examples/trunk/simple/panelnavigation_1.jsp
Author: tomsp
Date: Wed Nov 2 08:12:47 2005
New Revision: 330279
URL: http://svn.apache.org/viewcvs?rev=330279&view=rev
Log: (empty)
Modified:
myfaces/examples/trunk/simple/panelnavigation_1.jsp
Modified: myfaces/examples/trunk/simple/panelnavigation_1.jsp
URL: http://svn.apache.org/viewcvs/myfaces/examples/trunk/simple/panelnavigation_1.jsp?rev=330279&r1=330278&r2=330279&view=diff
==============================================================================
--- myfaces/examples/trunk/simple/panelnavigation_1.jsp (original)
+++ myfaces/examples/trunk/simple/panelnavigation_1.jsp Wed Nov 2 08:12:47 2005
@@ -32,33 +32,34 @@
var="example_messages" />
<t:div id="subnavigation_outer">
<t:div id="subnavigation">
+ <h:form>
<t:panelNavigation2 id="nav1" layout="list" itemClass="mypage" activeItemClass="selected" openItemClass="selected" >
<t:commandNavigation2 value="#{example_messages['panelnav_products']}" action="go_panelnavigation_1" >
- <t:commandNavigation2 action="go_panelnavigation_1" >
+ <t:commandNavigation2 action="#{navigationMenu.getAction1}" actionListener="#{navigationMenu.actionListener}">
<f:verbatim>› </f:verbatim>
<t:outputText value="#{example_messages['panelnav_serach1']}" />
</t:commandNavigation2>
- <t:commandNavigation2 action="go_panelnavigation_1" >
+ <t:commandNavigation2 actionListener="#{navigationMenu.actionListener}" >
<f:verbatim>› </f:verbatim>
<t:outputText value="#{example_messages['panelnav_serach_acc1']}" />
</t:commandNavigation2>
- <t:commandNavigation2 action="go_panelnavigation_1" >
+ <t:commandNavigation2 action="go_panelnavigation_1" actionListener="#{navigationMenu.actionListener}" >
<f:verbatim>› </f:verbatim>
<t:outputText value="#{example_messages['panelnav_search_adv1']}" />
</t:commandNavigation2>
</t:commandNavigation2>
- <t:commandNavigation2 value="#{example_messages['panelnav_shop']}" action="go_panelnavigation_1" />
- <t:commandNavigation2 value="#{example_messages['panelnav_corporate']}" action="go_panelnavigation_1" >
+ <t:commandNavigation2 value="#{example_messages['panelnav_shop']}" action="go_panelnavigation_1" actionListener="#{navigationMenu.actionListener}" />
+ <t:commandNavigation2 value="#{example_messages['panelnav_corporate']}" action="go_panelnavigation_1" actionListener="#{navigationMenu.actionListener}" >
<t:commandNavigation2 action="go_panelnavigation_1" >
<f:verbatim>› </f:verbatim>
<t:outputText value="#{example_messages['panelnav_news1']}" />
</t:commandNavigation2>
- <t:commandNavigation2 action="go_panelnavigation_1" >
+ <t:commandNavigation2 action="go_panelnavigation_1" actionListener="#{navigationMenu.actionListener}" >
<f:verbatim>› </f:verbatim>
<t:outputText value="#{example_messages['panelnav_investor1']}" />
</t:commandNavigation2>
</t:commandNavigation2>
- <t:commandNavigation2 value="#{example_messages['panelnav_contact']}" action="go_panelnavigation_1" />
+ <t:commandNavigation2 value="#{example_messages['panelnav_contact']}" action="go_panelnavigation_1" actionListener="#{navigationMenu.actionListener}" />
</t:panelNavigation2>
<f:verbatim><br/></f:verbatim>
<t:panelNavigation2 id="nav2" layout="list" styleClass="mypage" >
@@ -73,6 +74,7 @@
</t:commandNavigation2>
</t:commandNavigation2>
</t:panelNavigation2>
+ </h:form>
</t:div>
</t:div>
</f:view>