Author: SergeySmirnov
Date: 2007-09-25 19:26:04 -0400 (Tue, 25 Sep 2007)
New Revision: 3117
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/finalStep.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wizard.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wstep1.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wstep2.xhtml
Log:
demo update. wizard layout
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/finalStep.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/finalStep.xhtml 2007-09-25
23:02:49 UTC (rev 3116)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/finalStep.xhtml 2007-09-25
23:26:04 UTC (rev 3117)
@@ -1,22 +1,26 @@
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
-
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:a4j="http://richfaces.org/a4j"
-
xmlns:rich="http://richfaces.org/rich">
-
- <h:panelGrid columns="2" columnClasses="wfcol1">
- <h:outputText value="First Name:" />
- <h:outputText value="#{profile.firstName}"/>
- <h:outputText value="Last Name:" />
- <h:outputText value="#{profile.lastName}"/>
- <h:outputText value="Company:" />
- <h:outputText value="#{profile.company}"/>
- <h:outputText value="Notes:" />
- <h:outputText value="#{profile.notes}"/>
-
-
- </h:panelGrid>
- <a4j:commandButton value="<<Previous"
immediate="true" action="previous"/>
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
-</ui:composition>
\ No newline at end of file
+ <div style="position:relative;height:140px">
+ <h:panelGrid
+ columns="2" columnClasses="wfcol1">
+ <h:outputText value="First Name:" />
+ <h:outputText value="#{profile.firstName}" />
+ <h:outputText value="Last Name:" />
+ <h:outputText value="#{profile.lastName}" />
+ <h:outputText value="Company:" />
+ <h:outputText value="#{profile.company}" />
+ <h:outputText value="Notes:" />
+ <h:outputText value="#{profile.notes}" />
+ </h:panelGrid>
+ <div class="navPanel">
+ <a4j:commandButton value="<<Previous"
style="float:left" immediate="true"
+ action="previous" />
+ </div>
+ </div>
+
+</ui:composition>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wizard.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wizard.xhtml 2007-09-25
23:02:49 UTC (rev 3116)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wizard.xhtml 2007-09-25
23:26:04 UTC (rev 3117)
@@ -15,6 +15,19 @@
.wfcol3 { vertical-align:top; }
.s1row td { height:30px; }
.rich-message { color:red; }
+
+ .navPanel {
+ position:absolute;
+ bottom:0;
+ height:23px;
+ margin:0;
+ padding:2px;
+ }
+
+ .navPanel input[type="button"] {
+ background-color: #{richSkin.additionalBackgroundColor};
+ }
+
</style>
<rich:separator height="1" style="padding:10px"/>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wstep1.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wstep1.xhtml 2007-09-25
23:02:49 UTC (rev 3116)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wstep1.xhtml 2007-09-25
23:26:04 UTC (rev 3117)
@@ -5,6 +5,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
+ <div style="position:relative;height:140px">
<h:panelGrid rowClasses="s1row" columns="3"
columnClasses="wfcol1,wfcol2,wfcol3">
<h:outputText value="First Name:" />
<h:inputText id="fn" value="#{profile.firstName}"
label="First Name" required="true" />
@@ -21,6 +22,8 @@
</h:panelGrid>
- <a4j:commandButton value="Next >>"
action="next"/>
-
+ <div class="navPanel">
+ <a4j:commandButton value="Next >>"
style="float:right" action="next"/>
+ </div>
+ </div>
</ui:composition>
\ No newline at end of file
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wstep2.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wstep2.xhtml 2007-09-25
23:02:49 UTC (rev 3116)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/include/examples/wstep2.xhtml 2007-09-25
23:26:04 UTC (rev 3117)
@@ -4,7 +4,8 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-
+
+ <div style="position:relative;height:140px">
<h:panelGrid columns="3"
columnClasses="wfcol1,wfcol2,wfcol3">
<h:outputText value="Notes:" />
<h:inputTextarea cols="20" rows="4" id="notes"
value="#{profile.notes}" label="Notes" required="true"
/>
@@ -12,7 +13,11 @@
</h:panelGrid>
- <a4j:commandButton value="<<Previous"
immediate="true" action="previous"/>
- <a4j:commandButton value="Next >>"
action="next"/>
+ <div class="navPanel">
+ <a4j:commandButton value="<<Previous"
style="float:left" immediate="true" action="previous"/>
+ <a4j:commandButton value="Next >>"
style="float:right" action="next"/>
+ </div>
+
+ </div>
</ui:composition>
\ No newline at end of file