From: Steve E. <ste...@jb...> - 2005-09-15 21:59:36
|
User: sebersole Date: 05/09/15 17:59:32 Modified: examples/bpm/resources/jsp main.jsp Added: examples/bpm/resources/jsp detail.jsp Log: initial deployable revision Revision Changes Path 1.3 +2 -2 jboss-seam/examples/bpm/resources/jsp/main.jsp (In the diff below, changes in quantity of whitespace are not shown.) Index: main.jsp =================================================================== RCS file: /cvsroot/jboss/jboss-seam/examples/bpm/resources/jsp/main.jsp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- main.jsp 15 Sep 2005 03:04:41 -0000 1.2 +++ main.jsp 15 Sep 2005 21:59:32 -0000 1.3 @@ -16,9 +16,9 @@ <hr/> <h:form> - <h:dataTable value="#{jbpmSession.taskLists['admin']}" var="task"> + <h:dataTable value="#{jbpmUtil.taskLists[ user.username ]}" var="task"> <h:column> - <h:commandLink action="#{documentView.details}" value="#{task.taskMgmtInstance.processInstance.contextInstance.variables['description']}"> + <h:commandLink action="#{documentViewer.details}" value="#{task.taskMgmtInstance.processInstance.contextInstance.variables['description']}"> <f:param name="jbpmTaskId" value="#{task.id}"/> </h:commandLink> </h:column> 1.1 date: 2005/09/15 21:59:32; author: sebersole; state: Exp;jboss-seam/examples/bpm/resources/jsp/detail.jsp Index: detail.jsp =================================================================== <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <html> <head> <title>Document Details</title> </head> <body> <f:view> <h:messages globalOnly="true" layout="list" errorClass="error"/> <h:form> <table width="100%"> <tr> <td> Title: </td> <td> <h:inputText id="title" value="#{document.title}" required="true" /> <f:verbatim>*</f:verbatim> <h:message for="title" styleClass="error" /> </td> </tr> <tr> <td colspan="2"> Content: </td> </tr> <tr> <td colspan="2"> <h:inputTextarea id="content" value="#{document.content}" required="true" /> <f:verbatim>*</f:verbatim> <h:message for="content" styleClass="error" /> </td> </tr> <!-- display either the create button or the save/approve/reject button combo --> <h:panelGroup rendered="#{empty document.id}"> <tr> <td colspan="2"> <h:commandButton action="#{documentCreator.create}" value="Create"/> </td> </tr> </h:panelGroup> <h:panelGroup rendered="#{!(empty document.id)}"> <tr> <td colspan="2" align="center"> <h:commandButton action="#{documentEditor.save}" value="Save"/> <h:commandButton action="#{documentEditor.approve}" value="Approve"/> <h:commandButton action="#{documentEditor.reject}" value="Reject"/> </td> </tr> </h:panelGroup> </table> </h:form> </f:view> </body> </html> |