Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

svn commit: r438238 - /lenya/trunk/src/modules/resource/usecases/create-res: msg#00267

cms.lenya.cvs

Subject: svn commit: r438238 - /lenya/trunk/src/modules/resource/usecases/create-resource.jx

Author: chestnut
Date: Tue Aug 29 14:45:12 2006
New Revision: 438238

URL: http://svn.apache.org/viewvc?rev=438238&view=rev
Log:
fixes ability to create new resources

Modified:
lenya/trunk/src/modules/resource/usecases/create-resource.jx

Modified: lenya/trunk/src/modules/resource/usecases/create-resource.jx
URL:
http://svn.apache.org/viewvc/lenya/trunk/src/modules/resource/usecases/create-resource.jx?rev=438238&r1=438237&r2=438238&view=diff
==============================================================================
--- lenya/trunk/src/modules/resource/usecases/create-resource.jx (original)
+++ lenya/trunk/src/modules/resource/usecases/create-resource.jx Tue Aug 29
14:45:12 2006
@@ -36,36 +36,41 @@
<jx:import
uri="fallback://lenya/usecases/templates/messages.jx"/>
</td>
</tr>
- <jx:if test="${!usecase.getParameter('documentIdProvided')}">
- <tr>
- <td class="lenya-entry-caption">
- <i18n:text>Parent ID</i18n:text>:</td>
- <td>
- <jx:out value="${usecase.getParameter('parentId')}"/>
- </td>
- </tr>
- </jx:if>
+ <jx:choose>
+ <jx:when test="${usecase.getParameter('pathProvided')}">
+ <tr>
+ <td class="lenya-entry-caption">
+ <label for="nodeName"><i18n:text>Path</i18n:text>: </label>
+ </td>
+ <td>
+ <jx:out value="${usecase.getParameter('path')}"/>
+ </td>
+ </tr>
+ </jx:when>
+ <jx:otherwise>
+ <tr>
+ <td class="lenya-entry-caption">
+ <label for="nodeName"><i18n:text>Parent Path</i18n:text>:
</label>
+ </td>
+ <td>
+ <jx:out value="${usecase.getParameter('parentPath')}"/>
+ </td>
+ </tr>
+ <tr>
+ <td class="lenya-entry-caption">
+ <label for="nodeName"><i18n:text>Node Name</i18n:text>*:
</label>
+ </td>
+ <td>
+ <input class="lenya-form-element" type="text"
name="nodeName" value="${usecase.getParameter('nodeName')}"/>
+ <br/> (<i18n:text>No whitespace, no special
characters</i18n:text>)
+ </td>
+ </tr>
+ </jx:otherwise>
+ </jx:choose>
<tr>
<td class="lenya-entry-caption"><label for="file">
<i18n:text>File</i18n:text> *</label></td>
<td><input type="file" name="file"
class="lenya-form-element"/></td>
- </tr>
- <tr>
- <td class="lenya-entry-caption">
- <label for="documentId"><i18n:text>Document ID</i18n:text>*:
- </label></td>
- <td>
- <jx:choose>
- <jx:when test="${usecase.getParameter('documentIdProvided')}">
- <jx:out value="${usecase.getParameter('documentId')}"/>
- </jx:when>
- <jx:otherwise>
- <input class="lenya-form-element" type="text"
name="documentId"
- value="${usecase.getParameter('documentId')}"/>
- <br/> (<i18n:text>No whitespace, no special
characters</i18n:text>)
- </jx:otherwise>
- </jx:choose>
- </td>
</tr>
<tr>
<td class="lenya-entry-caption">


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
user-groups.jax...    php.zend.framew...    os.solaris.open...    web.quixote.use...    java.openjdk.ho...    ietf.secmech/20...    gnu.glpk/2004-0...    recreation.cars...    network.smokepi...    linux.drivers.i...    cms.opencms.dev...    fonts.gfontview...    text.xml.soap.u...    voip.nist-sip/2...    debian.ports.hp...    xfree86.interna...    science.biology...    qnx.openqnx.dev...    mail.sylpheed.c...    busybox/bios/20...    emulators.kvm.s...    hardware.openco...    apple.fink.begi...    kde.german/2006...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation