Author: ayanul
Date: 2007-09-27 09:33:37 -0400 (Thu, 27 Sep 2007)
New Revision: 3139
Modified:
trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp
trunk/test-applications/jsp/src/main/webapp/pages/main.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp 2007-09-27 13:22:06 UTC
(rev 3138)
+++ trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp 2007-09-27 13:33:37 UTC
(rev 3139)
@@ -5,7 +5,13 @@
<f:subview id="effectID">
<h:messages />
- <h:form id="indexID">
+ <rich:panel id="indexID">
+ <a4j:commandLink value="Hide all"
onclick="hideFrm1(),hideFrm2(),hideFrm3(),hideFrm4(),hideFrm5()"></a4j:commandLink>
+
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+
<h:outputText value="Menu:" />
<h:panelGrid columns="2">
<h:outputText value="1." />
@@ -33,9 +39,9 @@
<span onclick="showFrm5(),hideIndexID()"><font
color="blue">RichFace Components.</font></span>
</f:verbatim>
</h:panelGrid>
- </h:form>
+ </rich:panel>
- <h:form id="frm1">
+ <rich:panel id="frm1">
<h:outputText value="JSF Components:" />
<h:panelGrid id="panGrID" columns="2">
@@ -100,9 +106,9 @@
<br />
<span onclick="hideFrm1(),showIndexID()"><font
color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
- <h:form id="frm2">
+ <rich:panel id="frm2">
<h:outputText
value="JSF Component with Event and non-jsf target (onclick, onmouseout)"
/>
@@ -129,9 +135,9 @@
<br />
<span onclick="hideFrm2(),showIndexID()"><font
color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
- <h:form id="frm3">
+ <rich:panel id="frm3">
<h:outputText
value="JSF Component with Event and jsf target (onclick, onmouseout)"
/>
@@ -155,9 +161,9 @@
<br />
<span onclick="hideFrm3(),showIndexID()"><font
color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
- <h:form id="frm4">
+ <rich:panel id="frm4">
<h:outputText value="1. (Event 2)" />
<h:graphicImage id="img_1_ID" value="/pics/asus.jpg"
width="200px"
height="150px" />
@@ -187,9 +193,9 @@
<br />
<span onclick="hideFrm4(),showIndexID()"><font
color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
- <h:form id="frm5">
+ <rich:panel id="frm5">
<h:panelGrid id="panGrID" columns="2">
<f:verbatim>
<span onclick="hideRichPanel()"><font
color="blue">Hide
@@ -262,7 +268,7 @@
<br />
<span onclick="hideFrm5(),showIndexID()"><font
color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
<rich:effect for="indexID" event="" name="hideIndexID"
type="BlindUp" />
<rich:effect for="indexID" event="" name="showIndexID"
type="BlindDown" />
@@ -284,9 +290,9 @@
<rich:effect for="backFrmID" event=""
name="hideBackFrm" type="Fade" />
<rich:effect for="backFrmID" event=""
name="showBackFrm" type="Appear" />
- <h:form id="backFrmID">
+ <rich:panel id="backFrmID">
<h:commandLink value="Back"
action="main"></h:commandLink>
- </h:form>
+ </rich:panel>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/pages/main.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/main.jsp 2007-09-27 13:22:06 UTC
(rev 3138)
+++ trunk/test-applications/jsp/src/main/webapp/pages/main.jsp 2007-09-27 13:33:37 UTC
(rev 3139)
@@ -17,7 +17,7 @@
<h:commandLink value="RichFaces"
action="RichTest"></h:commandLink>
<h:commandLink value="Div"
action="TestDiv"></h:commandLink>
<h:commandLink value="Select"
action="Map"></h:commandLink>
- <h:commandLink value="Empty Page"
action="EmptyPage"></h:commandLink>
+ <h:commandLink value="Customize page"
action="CustomizePage"></h:commandLink>
</h:panelGrid>
</rich:panel>
</h:form>