Author: amarkhel
Date: 2009-03-20 13:13:34 -0400 (Fri, 20 Mar 2009)
New Revision: 13069
Added:
trunk/test-applications/realworld2/web/src/main/webapp/includes/shelf/shelfEditInfo.xhtml
Log:
Added:
trunk/test-applications/realworld2/web/src/main/webapp/includes/shelf/shelfEditInfo.xhtml
===================================================================
---
trunk/test-applications/realworld2/web/src/main/webapp/includes/shelf/shelfEditInfo.xhtml
(rev 0)
+++
trunk/test-applications/realworld2/web/src/main/webapp/includes/shelf/shelfEditInfo.xhtml 2009-03-20
17:13:34 UTC (rev 13069)
@@ -0,0 +1,51 @@
+<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:richx="http://richfaces.org/richx"
+
xmlns:rich="http://richfaces.org/rich">
+ <div class="shelf-edit">
+ <table style="border-collapse : collapse;" cellpadding="5"
border="0">
+ <tr>
+ <td valign="top" nowrap="true" style="padding-top :
8px">
+ Shelf name
+ </td>
+ <td valign="top" colspan="2">
+ <h:inputText value="#{shelf.name}"
styleClass="shelf-edit-input" />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" nowrap="true" style="padding-top :
8px">
+ Creation date
+ </td>
+ <td valign="top">
+ <a4j:outputPanel id="calendar" layout="block">
+ <rich:calendar styleClass="shelf-edit-calendar"
enableManualInput="true" value="#{shelf.created}"
+ cellWidth="24px" cellHeight="22px">
+ </rich:calendar>
+ </a4j:outputPanel>
+ <rich:message for="calendar" />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" nowrap="true" style="padding-top :
8px">
+ Description
+ </td>
+ <td valign="top" colspan="2">
+ <h:inputTextarea value="#{shelf.description}"
styleClass="shelf-edit-area" />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top">
+
+
+ </td>
+ <td width="100%" valign="top" align="right"
colspan="2" style="padding : 10px;">
+ <richx:commandButton id="cancelButton" value="Cancel"
style="float: left" immediate="true"
actionListener="#{controller.cancelEditShelf(shelf)}"
reRender="mainArea" />
+ <richx:commandButton id="saveButton" value="Save"
actionListener="#{shelfManager.editShelf(shelf)}" reRender="mainArea"
/>
+ </td>
+ </tr>
+ </table>
+ </div>
+</ui:composition>
\ No newline at end of file