|
From: <fg...@us...> - 2007-02-05 23:08:09
|
Revision: 228
http://svn.sourceforge.net/openutils/?rev=228&view=rev
Author: fgiust
Date: 2007-02-05 15:08:07 -0800 (Mon, 05 Feb 2007)
Log Message:
-----------
[maven-scm] copy for tag openutils-tags-spring-0.2
Added Paths:
-----------
tags/openutils-tags-spring-0.2/
tags/openutils-tags-spring-0.2/pom.xml
tags/openutils-tags-spring-0.2/src/main/resources/META-INF/tags/ou/input.tag
Removed Paths:
-------------
tags/openutils-tags-spring-0.2/pom.xml
tags/openutils-tags-spring-0.2/src/main/resources/META-INF/tags/ou/input.tag
Copied: tags/openutils-tags-spring-0.2 (from rev 208, trunk/openutils-tags-spring)
Deleted: tags/openutils-tags-spring-0.2/pom.xml
===================================================================
--- trunk/openutils-tags-spring/pom.xml 2007-02-05 21:37:30 UTC (rev 208)
+++ tags/openutils-tags-spring-0.2/pom.xml 2007-02-05 23:08:07 UTC (rev 228)
@@ -1,80 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>net.sourceforge.openutils</groupId>
- <artifactId>openutils</artifactId>
- <version>3</version>
- <relativePath>..</relativePath>
- </parent>
- <artifactId>openutils-tags-spring</artifactId>
- <name>openutils tags for spring MVC</name>
- <version>1.0-SNAPSHOT</version>
- <description />
- <dependencies>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.4</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>jstl</groupId>
- <artifactId>jstl</artifactId>
- <version>1.1.2</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jsp-api</artifactId>
- <version>2.0</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.2</version>
- </dependency>
- <dependency>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
- <version>1.7.0</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- <version>2.0.1</version>
- <optional>true</optional>
- <exclusions>
- <exclusion>
- <groupId>taglibs</groupId>
- <artifactId>standard</artifactId>
- </exclusion>
- <exclusion>
- <groupId>logkit</groupId>
- <artifactId>logkit</artifactId>
- </exclusion>
- <exclusion>
- <groupId>avalon-framework</groupId>
- <artifactId>avalon-framework</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.13</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.0</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
\ No newline at end of file
Copied: tags/openutils-tags-spring-0.2/pom.xml (from rev 227, trunk/openutils-tags-spring/pom.xml)
===================================================================
--- tags/openutils-tags-spring-0.2/pom.xml (rev 0)
+++ tags/openutils-tags-spring-0.2/pom.xml 2007-02-05 23:08:07 UTC (rev 228)
@@ -0,0 +1,85 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>net.sourceforge.openutils</groupId>
+ <artifactId>openutils</artifactId>
+ <version>3</version>
+ <relativePath>..</relativePath>
+ </parent>
+ <artifactId>openutils-tags-spring</artifactId>
+ <name>openutils tags for spring MVC</name>
+ <version>0.2</version>
+ <description />
+ <dependencies>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>jstl</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>2.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.2</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-beanutils</groupId>
+ <artifactId>commons-beanutils</artifactId>
+ <version>1.7.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ <version>2.0.1</version>
+ <optional>true</optional>
+ <exclusions>
+ <exclusion>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>logkit</groupId>
+ <artifactId>logkit</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>avalon-framework</groupId>
+ <artifactId>avalon-framework</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.13</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <scm>
+ <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-tags-spring-0.2</connection>
+ <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-tags-spring-0.2</developerConnection>
+ <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-tags-spring-0.2</url>
+ </scm>
+</project>
\ No newline at end of file
Deleted: tags/openutils-tags-spring-0.2/src/main/resources/META-INF/tags/ou/input.tag
===================================================================
--- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/input.tag 2007-02-05 21:37:30 UTC (rev 208)
+++ tags/openutils-tags-spring-0.2/src/main/resources/META-INF/tags/ou/input.tag 2007-02-05 23:08:07 UTC (rev 228)
@@ -1,136 +0,0 @@
-<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page"
- xmlns:spring="http://www.springframework.org/tags" xmlns:c="http://java.sun.com/jsp/jstl/core"
- xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:su="http://openutils.sourceforge.net/openutils-tags-commonslang" xmlns:ou="http://openutils.sourceforge.net/openutils-tags-spring">
-
- <jsp:directive.attribute name="path" required="true" />
- <jsp:directive.attribute name="name" required="false" />
- <jsp:directive.attribute name="maxlength" required="false" type="java.lang.Integer" />
- <jsp:directive.attribute name="readonly" required="false" type="java.lang.Boolean" />
- <jsp:directive.attribute name="disabled" required="false" type="java.lang.Boolean" />
- <jsp:directive.attribute name="bare" required="false" type="java.lang.Boolean" />
- <jsp:directive.attribute name="type" required="false" />
- <jsp:directive.attribute name="nobind" required="false" type="java.lang.Boolean" />
- <jsp:directive.attribute name="style" required="false" />
- <jsp:directive.attribute name="onkeypress" required="false" />
- <jsp:directive.attribute name="onkeydown" required="false" />
- <jsp:directive.attribute name="onkeyup" required="false" />
- <jsp:directive.attribute name="onchange" required="false" />
- <jsp:directive.attribute name="cssclass" required="false" />
- <jsp:directive.attribute name="key" required="false" />
- <jsp:directive.attribute name="onblur" required="false" />
- <jsp:directive.attribute name="label" required="false" type="java.lang.String" />
-
-
- <c:if test="${empty(key)}">
- <c:set var="key">${path}</c:set>
- </c:if>
- <c:if test="${empty(name)}">
- <c:set var="name">${su:substringAfter(path, ".")}</c:set>
- </c:if>
- <c:if test="${empty(maxlength)}">
- <c:set var="maxlength">30</c:set>
- </c:if>
- <c:if test="${type == 'key' and !empty(status.value)}">
- <c:set var="type">hidden</c:set>
- </c:if>
- <c:if test="${type == 'keyshow' and !empty(status.value)}">
- <c:set var="readonly" value="${true}" />
- </c:if>
- <c:set var="divclass">formelement</c:set>
-
-
- <c:choose>
- <c:when test="${empty(label)}">
- <c:set var="labelmsg"><fmt:message key="${key}" /></c:set>
- </c:when>
- <c:otherwise>
- <c:set var="labelmsg">${label}</c:set>
- </c:otherwise>
- </c:choose>
-
- <c:choose>
- <c:when test="${!nobind}">
- <spring:bind path="${path}">
- <c:set var="divclass">formelement <c:if test="${!empty(status.errorMessage)}"> formelementerror</c:if></c:set>
-
- <c:choose>
- <c:when test="${type == 'hidden'}">
- <input type="hidden" name="${name}" id="${name}" value="${status.value}" />
- </c:when>
- <c:when test="${bare}">
-
- <c:choose>
- <c:when test="${maxlength le 256}">
- <ou:txtinput type="text" name="${name}" value="${status.value}" cssclass="text ${cssclass}" maxlength="${maxlength}" style="${style}" readonly="${readonly}" disabled="${disabled}" onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" onblur="${onblur}"/>
- </c:when>
- <c:otherwise>
- <ou:txttextarea name="${name}" value="${status.value}" style="${style}" cssclass="inputtextarea ${cssclass}" />
- </c:otherwise>
- </c:choose>
- </c:when>
- <c:when test="${type == 'password'}">
- <div class="${divclass}">
- <label for="${name}">${labelmsg}:</label>
-
-
- <ou:txtinput type="password" name="${name}" value="${status.value}" cssclass="text ${cssclass}" maxlength="${maxlength}" style="${style}" readonly="${readonly}" disabled="${disabled}" onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" onblur="${onblur}"/>
-
-
-
-
- <div class="clear"><!-- --></div>
- </div>
- </c:when>
- <c:otherwise>
- <div class="${divclass}">
- <label for="${name}">${labelmsg}:</label>
-
- <c:choose>
- <c:when test="${maxlength le 256}">
- <ou:txtinput type="text" name="${name}" value="${status.value}" cssclass="text ${cssclass}" maxlength="${maxlength}" style="${style}" readonly="${readonly}" disabled="${disabled}" onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" onblur="${onblur}"/>
- </c:when>
- <c:otherwise>
- <ou:txttextarea name="${name}" value="${status.value}" style="${style}" cssclass="inputtextarea ${cssclass}" />
- </c:otherwise>
- </c:choose>
-
-
- <div class="clear"><!-- --></div>
- </div>
- </c:otherwise>
- </c:choose>
- </spring:bind>
- </c:when>
- <c:otherwise>
-
- <c:choose>
- <c:when test="${type == 'hidden'}">
- <input type="hidden" name="${name}" id="${name}" value="${status.value}" />
- </c:when>
- <c:when test="${bare}">
- <ou:txtinput type="text" name="${name}" value="${status.value}" cssclass="text" maxlength="${maxlength}" style="${style}" readonly="${readonly}" disabled="${disabled}" onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" onblur="${onblur}"/>
- </c:when>
- <c:otherwise>
- <div class="${divclass}">
- <label for="${name}">${labelmsg}:</label>
-
- <c:choose>
- <c:when test="${maxlength le 256}">
- <ou:txtinput type="text" name="${name}" value="${status.value}" cssclass="text" maxlength="${maxlength}" style="${style}" readonly="${readonly}" disabled="${disabled}" onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" onblur="${onblur}"/>
- </c:when>
- <c:otherwise>
- <ou:txttextarea name="${name}" value="${status.value}" style="${style}" cssclass="inputtextarea" />
- </c:otherwise>
- </c:choose>
-
-
- <div class="clear"><!-- --></div>
- </div>
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:choose>
-
-
-
-</jsp:root>
Copied: tags/openutils-tags-spring-0.2/src/main/resources/META-INF/tags/ou/input.tag (from rev 226, trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/input.tag)
===================================================================
--- tags/openutils-tags-spring-0.2/src/main/resources/META-INF/tags/ou/input.tag (rev 0)
+++ tags/openutils-tags-spring-0.2/src/main/resources/META-INF/tags/ou/input.tag 2007-02-05 23:08:07 UTC (rev 228)
@@ -0,0 +1,148 @@
+<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page"
+ xmlns:spring="http://www.springframework.org/tags" xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:su="http://openutils.sourceforge.net/openutils-tags-commonslang" xmlns:ou="http://openutils.sourceforge.net/openutils-tags-spring">
+
+ <jsp:directive.attribute name="path" required="true" />
+ <jsp:directive.attribute name="name" required="false" />
+ <jsp:directive.attribute name="maxlength" required="false" type="java.lang.Integer" />
+ <jsp:directive.attribute name="readonly" required="false" type="java.lang.Boolean" />
+ <jsp:directive.attribute name="disabled" required="false" type="java.lang.Boolean" />
+ <jsp:directive.attribute name="bare" required="false" type="java.lang.Boolean" />
+ <jsp:directive.attribute name="type" required="false" />
+ <jsp:directive.attribute name="nobind" required="false" type="java.lang.Boolean" />
+ <jsp:directive.attribute name="style" required="false" />
+ <jsp:directive.attribute name="onkeypress" required="false" />
+ <jsp:directive.attribute name="onkeydown" required="false" />
+ <jsp:directive.attribute name="onkeyup" required="false" />
+ <jsp:directive.attribute name="onchange" required="false" />
+ <jsp:directive.attribute name="cssclass" required="false" />
+ <jsp:directive.attribute name="key" required="false" />
+ <jsp:directive.attribute name="onblur" required="false" />
+ <jsp:directive.attribute name="label" required="false" type="java.lang.String" />
+
+
+ <c:if test="${empty(key)}">
+ <c:set var="key">${path}</c:set>
+ </c:if>
+ <c:if test="${empty(name)}">
+ <c:set var="name">${su:substringAfter(path, ".")}</c:set>
+ </c:if>
+ <c:if test="${empty(maxlength)}">
+ <c:set var="maxlength">30</c:set>
+ </c:if>
+ <c:if test="${type == 'key' and !empty(status.value)}">
+ <c:set var="type">hidden</c:set>
+ </c:if>
+ <c:if test="${type == 'keyshow' and !empty(status.value)}">
+ <c:set var="readonly" value="${true}" />
+ </c:if>
+ <c:if test="${type == 'date'}">
+ <c:set var="type">text</c:set>
+ <c:set var="datepicker" value="${true}" />
+ </c:if>
+ <c:set var="divclass">formelement</c:set>
+
+
+ <c:choose>
+ <c:when test="${empty(label)}">
+ <c:set var="labelmsg"><fmt:message key="${key}" /></c:set>
+ </c:when>
+ <c:otherwise>
+ <c:set var="labelmsg">${label}</c:set>
+ </c:otherwise>
+ </c:choose>
+
+ <c:choose>
+ <c:when test="${!nobind}">
+ <spring:bind path="${path}">
+ <c:set var="divclass">formelement <c:if test="${!empty(status.errorMessage)}"> formelementerror</c:if></c:set>
+
+ <c:choose>
+ <c:when test="${type == 'hidden'}">
+ <input type="hidden" name="${name}" id="${name}" value="${status.value}" />
+ </c:when>
+ <c:when test="${bare}">
+
+ <c:choose>
+ <c:when test="${maxlength le 256}">
+ <ou:txtinput type="text" name="${name}" value="${status.value}" cssclass="text ${cssclass}" maxlength="${maxlength}" style="${style}" readonly="${readonly}" disabled="${disabled}" onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" onblur="${onblur}"/>
+ </c:when>
+ <c:otherwise>
+ <ou:txttextarea name="${name}" value="${status.value}" style="${style}" cssclass="inputtextarea ${cssclass}" />
+ </c:otherwise>
+ </c:choose>
+ </c:when>
+ <c:when test="${type == 'password'}">
+ <div class="${divclass}">
+ <label for="${name}">${labelmsg}:</label>
+
+
+ <ou:txtinput type="password" name="${name}" value="${status.value}" cssclass="text ${cssclass}" maxlength="${maxlength}" style="${style}" readonly="${readonly}" disabled="${disabled}" onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" onblur="${onblur}"/>
+
+
+
+
+ <div class="clear"><!-- --></div>
+ </div>
+ </c:when>
+ <c:otherwise>
+ <div class="${divclass}">
+ <label for="${name}">${labelmsg}:</label>
+
+ <c:choose>
+ <c:when test="${maxlength le 256}">
+ <ou:txtinput type="text" name="${name}" value="${status.value}" cssclass="text ${cssclass}" maxlength="${maxlength}" style="${style}" readonly="${readonly}" disabled="${disabled}" onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" onblur="${onblur}"/>
+ </c:when>
+ <c:otherwise>
+ <ou:txttextarea name="${name}" value="${status.value}" style="${style}" cssclass="inputtextarea ${cssclass}" />
+ </c:otherwise>
+ </c:choose>
+
+ <c:if test="${datepicker}">
+ <a href="javascript:showCal('divdata${name}','${name}')" title="seleziona" class="calbtn">
+ <span>C</span>
+ </a>
+ <div class="calendar" id="divdata${name}" style="display:none"><!-- --></div>
+ <!--[if gte IE 5.5]>
+ <iframe id='divdata${name}iframe' class='calendarIframe' src='javascript:false;' frameBorder='0' scrolling='no'
+ style="display:none;filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)"><!-- x --></iframe>
+ <![endif]-->
+ <script type="text/javascript">createCalendar('${status.value}', 'divdata${name}', '${name}')</script>
+ </c:if>
+
+ <div class="clear"><!-- --></div>
+ </div>
+ </c:otherwise>
+ </c:choose>
+ </spring:bind>
+ </c:when>
+ <c:otherwise>
+
+ <c:choose>
+ <c:when test="${type == 'hidden'}">
+ <input type="hidden" name="${name}" id="${name}" value="${status.value}" />
+ </c:when>
+ <c:when test="${bare}">
+ <ou:txtinput type="text" name="${name}" value="${status.value}" cssclass="text" maxlength="${maxlength}" style="${style}" readonly="${readonly}" disabled="${disabled}" onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" onblur="${onblur}"/>
+ </c:when>
+ <c:otherwise>
+ <div class="${divclass}">
+ <label for="${name}">${labelmsg}:</label>
+
+ <c:choose>
+ <c:when test="${maxlength le 256}">
+ <ou:txtinput type="text" name="${name}" value="${status.value}" cssclass="text" maxlength="${maxlength}" style="${style}" readonly="${readonly}" disabled="${disabled}" onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" onblur="${onblur}"/>
+ </c:when>
+ <c:otherwise>
+ <ou:txttextarea name="${name}" value="${status.value}" style="${style}" cssclass="inputtextarea" />
+ </c:otherwise>
+ </c:choose>
+
+
+ <div class="clear"><!-- --></div>
+ </div>
+ </c:otherwise>
+ </c:choose>
+ </c:otherwise>
+ </c:choose>
+</jsp:root>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|