You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2005/01/25 11:18:26 UTC
svn commit: r126363 - /lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/workflow /lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/workflow/submit.jx
Author: andreas
Date: Tue Jan 25 02:18:24 2005
New Revision: 126363
URL: http://svn.apache.org/viewcvs?view=rev&rev=126363
Log:
usecase framework for submit usecase in default publication
Added:
lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/workflow/
lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/workflow/submit.jx
Added: lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/workflow/submit.jx
Url: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/workflow/submit.jx?view=auto&rev=126363
==============================================================================
--- (empty file)
+++ lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/workflow/submit.jx Tue Jan 25 02:18:24 2005
@@ -0,0 +1,80 @@
+<?xml version="1.0"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Id: login.jx 123986 2005-01-03 15:23:11Z andreas $ -->
+
+<page:page xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"
+ xmlns:page="http://apache.org/cocoon/lenya/cms-page/1.0"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:i18n="http://apache.org/cocoon/i18n/2.1" >
+
+ <page:title><i18n:text>Submit Document</i18n:text></page:title>
+ <page:body>
+ <div class="lenya-box">
+ <div class="lenya-box-title">
+ <i18n:translate>
+ <i18n:text i18n:key="submit-for-approval"/>
+ <i18n:param><jx:out value="${usecase.getParameter('document').getId()}"/></i18n:param>
+ </i18n:translate>
+ </div>
+ <div class="lenya-box-body">
+ <form>
+ <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+ <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
+ <table class="lenya-table-noborder">
+ <tr>
+ <td colspan="2">
+ <ul>
+ <jx:forEach var="message" items="${usecase.getErrorMessages()}">
+ <li>
+ <i18n:text>
+ <jx:out value="${message}"/>
+ </i18n:text>
+ </li>
+ </jx:forEach>
+ <jx:forEach var="message" items="${usecase.getInfoMessages()}">
+ <li>
+ <i18n:text>
+ <jx:out value="${message}"/>
+ </i18n:text>
+ </li>
+ </jx:forEach>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="lenya-entry-caption">
+ <i18n:translate>
+ <i18n:text i18n:key="submit-for-approval?"/>
+ <i18n:param><jx:out value="${usecase.getParameter('document').getId()}"/></i18n:param>
+ </i18n:translate>
+ </td>
+ </tr>
+ <tr>
+ <td/>
+ <td>
+ <input i18n:attr="value" type="submit" name="submit" value="Submit"/>
+  
+ <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
+ </td>
+ </tr>
+ </table>
+ </form>
+ </div>
+ </div>
+ </page:body>
+</page:page>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org