From: <fg...@us...> - 2007-02-14 21:38:53
|
Revision: 259 http://svn.sourceforge.net/openutils/?rev=259&view=rev Author: fgiust Date: 2007-02-14 13:38:49 -0800 (Wed, 14 Feb 2007) Log Message: ----------- [maven-scm] copy for tag openutils-tags-spring-0.3 Added Paths: ----------- tags/openutils-tags-spring-0.3/ tags/openutils-tags-spring-0.3/pom.xml tags/openutils-tags-spring-0.3/src/main/java/it/openutils/web/tag/ tags/openutils-tags-spring-0.3/src/main/java/it/openutils/web/tag/debug/DebugAttributesTag.java tags/openutils-tags-spring-0.3/src/main/resources/META-INF/openutils-tags-debug.tld tags/openutils-tags-spring-0.3/src/main/resources/META-INF/openutils-tags-spring.tld tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/checkbox.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/date.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/debug.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/input.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/li.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/messages.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/select.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/txtinput.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/txtoption.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/txtselect.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/txttextarea.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/url.tag Removed Paths: ------------- tags/openutils-tags-spring-0.3/pom.xml tags/openutils-tags-spring-0.3/src/main/java/it/openutils/web/tag/debug/DebugAttributesTag.java tags/openutils-tags-spring-0.3/src/main/resources/META-INF/openutils-tags-spring.tld tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/checkbox.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/date.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/daterange.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/debug.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/docbutton.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/docframe.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/docprintbutton.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/docsvg.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/input.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/li.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/messages.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/na.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/select.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/text.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/txtinput.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/txtoption.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/txtselect.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/txttextarea.tag tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/url.tag Copied: tags/openutils-tags-spring-0.3 (from rev 244, trunk/openutils-tags-spring) Deleted: tags/openutils-tags-spring-0.3/pom.xml =================================================================== --- trunk/openutils-tags-spring/pom.xml 2007-02-12 16:15:02 UTC (rev 244) +++ tags/openutils-tags-spring-0.3/pom.xml 2007-02-14 21:38:49 UTC (rev 259) @@ -1,79 +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.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> -</project> \ No newline at end of file Copied: tags/openutils-tags-spring-0.3/pom.xml (from rev 258, trunk/openutils-tags-spring/pom.xml) =================================================================== --- tags/openutils-tags-spring-0.3/pom.xml (rev 0) +++ tags/openutils-tags-spring-0.3/pom.xml 2007-02-14 21:38:49 UTC (rev 259) @@ -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.3</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.3</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-tags-spring-0.3</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-tags-spring-0.3</url> + </scm> +</project> \ No newline at end of file Copied: tags/openutils-tags-spring-0.3/src/main/java/it/openutils/web/tag (from rev 253, trunk/openutils-tags-spring/src/main/java/it/openutils/web/tag) Deleted: tags/openutils-tags-spring-0.3/src/main/java/it/openutils/web/tag/debug/DebugAttributesTag.java =================================================================== --- trunk/openutils-tags-spring/src/main/java/it/openutils/web/tag/debug/DebugAttributesTag.java 2007-02-13 21:21:37 UTC (rev 253) +++ tags/openutils-tags-spring-0.3/src/main/java/it/openutils/web/tag/debug/DebugAttributesTag.java 2007-02-14 21:38:49 UTC (rev 259) @@ -1,114 +0,0 @@ -package it.openutils.web.tag.debug; - -import java.util.Enumeration; -import java.util.HashMap; - -import javax.servlet.jsp.JspException; -import javax.servlet.jsp.PageContext; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - - -/** - * @author fgiust - * @version $Revision$ ($Author$) - */ -public class DebugAttributesTag extends BaseDebugTag -{ - - /** - * Stable <code>serialVersionUID</code> - */ - private static final long serialVersionUID = 222; - - /** - * riferimento al Logger - */ - private static Log log = LogFactory.getLog(DebugAttributesTag.class); - - /** - * Scope. Pu� assumere i valori: - * <ul> - * <li>PageContext.PAGE_SCOPE</li> - * <li>PageContext.REQUEST_SCOPE</li> - * <li>PageContext.SESSION_SCOPE</li> - * <li>PageContext.APPLICATION_SCOPE</li> - * </ul> - * Corrispondenti alle stringhe settate tramite l'attributo "scope" del tag: - * <ul> - * <li>page</li> - * <li>request</li> - * <li>session</li> - * <li>application</li> - * </ul> - */ - private int scope = PageContext.PAGE_SCOPE; - - /** - * Setta lo scope in cui recuperare la collezione su cui iterare - * @param scopeString Scope dell'oggetto collection - * @throws JspException se il valore passato non � tra: "page", "request", "session", "application" - */ - public void setScope(String scopeString) throws JspException - { - - if (scopeString.equalsIgnoreCase("page")) - { - scope = PageContext.PAGE_SCOPE; - } - else if (scopeString.equalsIgnoreCase("request")) - { - scope = PageContext.REQUEST_SCOPE; - } - else if (scopeString.equalsIgnoreCase("session")) - { - scope = PageContext.SESSION_SCOPE; - } - else if (scopeString.equalsIgnoreCase("application")) - { - scope = PageContext.APPLICATION_SCOPE; - } - else - { - log.error("Attributo \"scope\" non valido. Valore fornito= [" - + scopeString - + "]; valori ammessi: page, request, session, application"); - throw new JspException("Attributo \"scope\" non valido. Valore fornito= [" - + scopeString - + "]; valori ammessi: page, request, session, application"); - } - } - - /** - * crea l'HashMap che evrr� stampata nel metodo doEndTag() - * @return int - * @throws JspException eccezione generica - * @see javax.servlet.jsp.tagext.Tag#doStartTag() - */ - @Override - public int doStartTag() throws JspException - { - - HashMap map = new HashMap(); - - Enumeration enm = pageContext.getAttributeNamesInScope(scope); - - while (enm.hasMoreElements()) - { - String key = enm.nextElement().toString(); - - if (!(scope == PageContext.PAGE_SCOPE && key.startsWith("javax.servlet"))) - { - Object value = pageContext.getAttribute(key, scope); - map.put(key, value); - } - } - - setOutputClassName(true); - setDebugMap(map); - - return super.doStartTag(); - } - -} \ No newline at end of file Copied: tags/openutils-tags-spring-0.3/src/main/java/it/openutils/web/tag/debug/DebugAttributesTag.java (from rev 257, trunk/openutils-tags-spring/src/main/java/it/openutils/web/tag/debug/DebugAttributesTag.java) =================================================================== --- tags/openutils-tags-spring-0.3/src/main/java/it/openutils/web/tag/debug/DebugAttributesTag.java (rev 0) +++ tags/openutils-tags-spring-0.3/src/main/java/it/openutils/web/tag/debug/DebugAttributesTag.java 2007-02-14 21:38:49 UTC (rev 259) @@ -0,0 +1,120 @@ +package it.openutils.web.tag.debug; + +import java.util.Enumeration; +import java.util.HashMap; + +import javax.servlet.jsp.JspException; +import javax.servlet.jsp.PageContext; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; + + +/** + * @author fgiust + * @version $Revision$ ($Author$) + */ +public class DebugAttributesTag extends BaseDebugTag +{ + + /** + * Stable <code>serialVersionUID</code> + */ + private static final long serialVersionUID = 222; + + /** + * riferimento al Logger + */ + private static Log log = LogFactory.getLog(DebugAttributesTag.class); + + /** + * Scope. Pu� assumere i valori: + * <ul> + * <li>PageContext.PAGE_SCOPE</li> + * <li>PageContext.REQUEST_SCOPE</li> + * <li>PageContext.SESSION_SCOPE</li> + * <li>PageContext.APPLICATION_SCOPE</li> + * </ul> + * Corrispondenti alle stringhe settate tramite l'attributo "scope" del tag: + * <ul> + * <li>page</li> + * <li>request</li> + * <li>session</li> + * <li>application</li> + * </ul> + */ + private int scope = PageContext.PAGE_SCOPE; + + /** + * Setta lo scope in cui recuperare la collezione su cui iterare + * @param scopeString Scope dell'oggetto collection + * @throws JspException se il valore passato non � tra: "page", "request", "session", "application" + */ + public void setScope(String scopeString) throws JspException + { + + if (scopeString.equalsIgnoreCase("page")) + { + scope = PageContext.PAGE_SCOPE; + } + else if (scopeString.equalsIgnoreCase("request")) + { + scope = PageContext.REQUEST_SCOPE; + } + else if (scopeString.equalsIgnoreCase("session")) + { + scope = PageContext.SESSION_SCOPE; + } + else if (scopeString.equalsIgnoreCase("application")) + { + scope = PageContext.APPLICATION_SCOPE; + } + else + { + log.error("Attributo \"scope\" non valido. Valore fornito= [" + + scopeString + + "]; valori ammessi: page, request, session, application"); + throw new JspException("Attributo \"scope\" non valido. Valore fornito= [" + + scopeString + + "]; valori ammessi: page, request, session, application"); + } + } + + /** + * crea l'HashMap che evrr� stampata nel metodo doEndTag() + * @return int + * @throws JspException eccezione generica + * @see javax.servlet.jsp.tagext.Tag#doStartTag() + */ + @Override + public int doStartTag() throws JspException + { + + HashMap map = new HashMap(); + try + { + Enumeration enm = pageContext.getAttributeNamesInScope(scope); + + while (enm.hasMoreElements()) + { + String key = enm.nextElement().toString(); + + if (!(scope == PageContext.PAGE_SCOPE && key.startsWith("javax.servlet"))) + { + Object value = pageContext.getAttribute(key, scope); + map.put(key, value); + } + } + } + catch (IllegalStateException e) + { + // ignore, no attributes available + } + + setOutputClassName(true); + setDebugMap(map); + + return super.doStartTag(); + } + +} \ No newline at end of file Copied: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/openutils-tags-debug.tld (from rev 253, trunk/openutils-tags-spring/src/main/resources/META-INF/openutils-tags-debug.tld) =================================================================== --- tags/openutils-tags-spring-0.3/src/main/resources/META-INF/openutils-tags-debug.tld (rev 0) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/openutils-tags-debug.tld 2007-02-14 21:38:49 UTC (rev 259) @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" + "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> +<taglib> + <tlib-version>1.1</tlib-version> + <jsp-version>1.2</jsp-version> + <short-name>debug</short-name> + <uri>http://openutils.sourceforge.net/openutils-tags-debug</uri> + <description>Debug tag library</description> + <tag> + <name>attributes</name> + <tag-class>it.openutils.web.tag.debug.DebugAttributesTag</tag-class> + <body-content>empty</body-content> + <attribute> + <name>scope</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + </tag> + <tag> + <name>parameters</name> + <tag-class>it.openutils.web.tag.debug.DebugParametersTag</tag-class> + <body-content>empty</body-content> + </tag> + <tag> + <name>execution</name> + <tag-class>it.openutils.web.tag.debug.DebugExecutionTag</tag-class> + <body-content>empty</body-content> + </tag> + <tag> + <name>headers</name> + <tag-class>it.openutils.web.tag.debug.DebugHeadersTag</tag-class> + <body-content>empty</body-content> + </tag> +</taglib> \ No newline at end of file Deleted: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/openutils-tags-spring.tld =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/openutils-tags-spring.tld 2007-02-12 16:15:02 UTC (rev 244) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/openutils-tags-spring.tld 2007-02-14 21:38:49 UTC (rev 259) @@ -1,109 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<taglib xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.1" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"> - <description>Tag library for tag file directory /META-INF/tags/ou/</description> - <tlib-version>1.0</tlib-version> - <short-name>openutils-tags-spring</short-name> - <uri>http://openutils.sourceforge.net/openutils-tags-spring</uri> - <!-- generated using mvn net.sourceforge.maven-taglib:maven-taglib-plugin:tldgenerate --> - <tag-file> - <name>button</name> - <path>/META-INF/tags/ou/button.tag</path> - </tag-file> - <tag-file> - <name>buttons</name> - <path>/META-INF/tags/ou/buttons.tag</path> - </tag-file> - <tag-file> - <name>checkbox</name> - <path>/META-INF/tags/ou/checkbox.tag</path> - </tag-file> - <tag-file> - <name>compositeproperty</name> - <path>/META-INF/tags/ou/compositeproperty.tag</path> - </tag-file> - <tag-file> - <name>date</name> - <path>/META-INF/tags/ou/date.tag</path> - </tag-file> - <tag-file> - <name>daterange</name> - <path>/META-INF/tags/ou/daterange.tag</path> - </tag-file> - <tag-file> - <name>debug</name> - <path>/META-INF/tags/ou/debug.tag</path> - </tag-file> - <tag-file> - <name>docbutton</name> - <path>/META-INF/tags/ou/docbutton.tag</path> - </tag-file> - <tag-file> - <name>docframe</name> - <path>/META-INF/tags/ou/docframe.tag</path> - </tag-file> - <tag-file> - <name>docprintbutton</name> - <path>/META-INF/tags/ou/docprintbutton.tag</path> - </tag-file> - <tag-file> - <name>docsvg</name> - <path>/META-INF/tags/ou/docsvg.tag</path> - </tag-file> - <tag-file> - <name>errorbox</name> - <path>/META-INF/tags/ou/errorbox.tag</path> - </tag-file> - <tag-file> - <name>input</name> - <path>/META-INF/tags/ou/input.tag</path> - </tag-file> - <tag-file> - <name>li</name> - <path>/META-INF/tags/ou/li.tag</path> - </tag-file> - <tag-file> - <name>messages</name> - <path>/META-INF/tags/ou/messages.tag</path> - </tag-file> - <tag-file> - <name>na</name> - <path>/META-INF/tags/ou/na.tag</path> - </tag-file> - <tag-file> - <name>select</name> - <path>/META-INF/tags/ou/select.tag</path> - </tag-file> - <tag-file> - <name>tablelang</name> - <path>/META-INF/tags/ou/tablelang.tag</path> - </tag-file> - <tag-file> - <name>text</name> - <path>/META-INF/tags/ou/text.tag</path> - </tag-file> - <tag-file> - <name>txtinput</name> - <path>/META-INF/tags/ou/txtinput.tag</path> - </tag-file> - <tag-file> - <name>txtoption</name> - <path>/META-INF/tags/ou/txtoption.tag</path> - </tag-file> - <tag-file> - <name>txtselect</name> - <path>/META-INF/tags/ou/txtselect.tag</path> - </tag-file> - <tag-file> - <name>txttextarea</name> - <path>/META-INF/tags/ou/txttextarea.tag</path> - </tag-file> - <tag-file> - <name>ul</name> - <path>/META-INF/tags/ou/ul.tag</path> - </tag-file> - <tag-file> - <name>url</name> - <path>/META-INF/tags/ou/url.tag</path> - </tag-file> -</taglib> Copied: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/openutils-tags-spring.tld (from rev 256, trunk/openutils-tags-spring/src/main/resources/META-INF/openutils-tags-spring.tld) =================================================================== --- tags/openutils-tags-spring-0.3/src/main/resources/META-INF/openutils-tags-spring.tld (rev 0) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/openutils-tags-spring.tld 2007-02-14 21:38:49 UTC (rev 259) @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="UTF-8"?> +<taglib xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.1" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"> + <description>Tag library for tag file directory /META-INF/tags/ou/</description> + <tlib-version>1.0</tlib-version> + <short-name>openutils-tags-spring</short-name> + <uri>http://openutils.sourceforge.net/openutils-tags-spring</uri> + <!-- generated using mvn net.sourceforge.maven-taglib:maven-taglib-plugin:tldgenerate --> + <tag-file> + <name>button</name> + <path>/META-INF/tags/ou/button.tag</path> + </tag-file> + <tag-file> + <name>buttons</name> + <path>/META-INF/tags/ou/buttons.tag</path> + </tag-file> + <tag-file> + <name>checkbox</name> + <path>/META-INF/tags/ou/checkbox.tag</path> + </tag-file> + <tag-file> + <name>compositeproperty</name> + <path>/META-INF/tags/ou/compositeproperty.tag</path> + </tag-file> + <tag-file> + <name>date</name> + <path>/META-INF/tags/ou/date.tag</path> + </tag-file> + <tag-file> + <name>debug</name> + <path>/META-INF/tags/ou/debug.tag</path> + </tag-file> + <tag-file> + <name>errorbox</name> + <path>/META-INF/tags/ou/errorbox.tag</path> + </tag-file> + <tag-file> + <name>input</name> + <path>/META-INF/tags/ou/input.tag</path> + </tag-file> + <tag-file> + <name>li</name> + <path>/META-INF/tags/ou/li.tag</path> + </tag-file> + <tag-file> + <name>messages</name> + <path>/META-INF/tags/ou/messages.tag</path> + </tag-file> + <tag-file> + <name>select</name> + <path>/META-INF/tags/ou/select.tag</path> + </tag-file> + <tag-file> + <name>tablelang</name> + <path>/META-INF/tags/ou/tablelang.tag</path> + </tag-file> + <tag-file> + <name>txtinput</name> + <path>/META-INF/tags/ou/txtinput.tag</path> + </tag-file> + <tag-file> + <name>txtoption</name> + <path>/META-INF/tags/ou/txtoption.tag</path> + </tag-file> + <tag-file> + <name>txtselect</name> + <path>/META-INF/tags/ou/txtselect.tag</path> + </tag-file> + <tag-file> + <name>txttextarea</name> + <path>/META-INF/tags/ou/txttextarea.tag</path> + </tag-file> + <tag-file> + <name>ul</name> + <path>/META-INF/tags/ou/ul.tag</path> + </tag-file> + <tag-file> + <name>url</name> + <path>/META-INF/tags/ou/url.tag</path> + </tag-file> +</taglib> Deleted: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/checkbox.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/checkbox.tag 2007-02-12 16:15:02 UTC (rev 244) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/checkbox.tag 2007-02-14 21:38:49 UTC (rev 259) @@ -1,68 +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="bare" required="false" type="java.lang.Boolean" /> - <jsp:directive.attribute name="multiline" required="false" type="java.lang.Boolean" /> - <jsp:directive.attribute name="style" required="false" /> - - <spring:bind path="${path}"> - <c:if test="${empty(name)}"> - <c:set var="name">${su:substringAfter(path, ".")}</c:set> - </c:if> - - - <c:choose> - <c:when test="${bare}"> - <c:choose> - <c:when test="${status.value}"> - <input type="checkbox" name="${name}" id="${name}" value="true" class="checkbox" checked="checked" /> - </c:when> - <c:otherwise> - <input type="checkbox" name="${name}" id="${name}" value="true" class="checkbox" /> - </c:otherwise> - </c:choose> - <input type="hidden" name="_${name}" /> - </c:when> - <c:when test="${multiline}"> - <c:set var="divclass">formelement <c:if test="${!empty(status.errorMessage)}"> formelementerror</c:if></c:set> - - <div class="${divclass}" style="${style}"> - <label for="${name}"><fmt:message key="${path}" />:</label> - <c:choose> - <c:when test="${status.value}"> - <input type="checkbox" name="${name}" id="${name}" value="true" class="checkbox" checked="checked" /> - </c:when> - <c:otherwise> - <input type="checkbox" name="${name}" id="${name}" value="true" class="checkbox" /> - </c:otherwise> - </c:choose> - <input type="hidden" name="_${name}" /> - <div class="clear"><!-- --></div> - </div> - </c:when> - <c:otherwise> - <c:set var="divclass">formelementch<c:if test="${!empty(status.errorMessage)}"><![CDATA[ ]]>formelementerror</c:if></c:set> - <span class="${divclass}" style="${style}"> - <c:choose> - <c:when test="${status.value}"> - <input type="checkbox" name="${name}" id="${name}" value="true" class="checkbox" checked="checked" /> - </c:when> - <c:otherwise> - <input type="checkbox" name="${name}" id="${name}" value="true" class="checkbox" /> - </c:otherwise> - </c:choose> - <input type="hidden" name="_${name}" /> - <jsp:text><![CDATA[ ]]></jsp:text> - <span class="chlabel"><fmt:message key="${path}" /></span> - </span> - </c:otherwise> - </c:choose> - - - </spring:bind> - -</jsp:root> Copied: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/checkbox.tag (from rev 251, trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/checkbox.tag) =================================================================== --- tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/checkbox.tag (rev 0) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/checkbox.tag 2007-02-14 21:38:49 UTC (rev 259) @@ -0,0 +1,72 @@ +<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="bare" required="false" type="java.lang.Boolean" /> + <jsp:directive.attribute name="multiline" required="false" type="java.lang.Boolean" /> + <jsp:directive.attribute name="style" required="false" /> + + <jsp:scriptlet> + System.err.println("Warning ou:checkbox is deprecated, please use ou:input type=\"checkbox\" instead "); + </jsp:scriptlet> + + <spring:bind path="${path}"> + <c:if test="${empty(name)}"> + <c:set var="name">${su:substringAfter(path, ".")}</c:set> + </c:if> + + + <c:choose> + <c:when test="${bare}"> + <c:choose> + <c:when test="${status.value}"> + <input type="checkbox" name="${name}" id="${name}" value="true" class="checkbox" checked="checked" /> + </c:when> + <c:otherwise> + <input type="checkbox" name="${name}" id="${name}" value="true" class="checkbox" /> + </c:otherwise> + </c:choose> + <input type="hidden" name="_${name}" /> + </c:when> + <c:when test="${multiline}"> + <c:set var="divclass">formelement <c:if test="${!empty(status.errorMessage)}"> formelementerror</c:if></c:set> + + <div class="${divclass}" style="${style}"> + <label for="${name}"><fmt:message key="${path}" />:</label> + <c:choose> + <c:when test="${status.value}"> + <input type="checkbox" name="${name}" id="${name}" value="true" class="checkbox" checked="checked" /> + </c:when> + <c:otherwise> + <input type="checkbox" name="${name}" id="${name}" value="true" class="checkbox" /> + </c:otherwise> + </c:choose> + <input type="hidden" name="_${name}" /> + <div class="clear"><!-- --></div> + </div> + </c:when> + <c:otherwise> + <c:set var="divclass">formelementch<c:if test="${!empty(status.errorMessage)}"><![CDATA[ ]]>formelementerror</c:if></c:set> + <span class="${divclass}" style="${style}"> + <c:choose> + <c:when test="${status.value}"> + <input type="checkbox" name="${name}" id="${name}" value="true" class="checkbox" checked="checked" /> + </c:when> + <c:otherwise> + <input type="checkbox" name="${name}" id="${name}" value="true" class="checkbox" /> + </c:otherwise> + </c:choose> + <input type="hidden" name="_${name}" /> + <jsp:text><![CDATA[ ]]></jsp:text> + <span class="chlabel"><fmt:message key="${path}" /></span> + </span> + </c:otherwise> + </c:choose> + + + </spring:bind> + +</jsp:root> Deleted: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/date.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/date.tag 2007-02-12 16:15:02 UTC (rev 244) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/date.tag 2007-02-14 21:38:49 UTC (rev 259) @@ -1,100 +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="readonly" required="false" type="java.lang.Boolean" /> - <jsp:directive.attribute name="disabled" 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="${empty(style)}"> - <c:set var="style">width: 75px</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> - - - <div class="${divclass}"> - <label for="${name}">${labelmsg}:</label> - - <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}"/> - - <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]--> - <div class="clear"><!-- --></div> - </div> - <script type="text/javascript"> - createCalendar('${status.value}', 'divdata${name}', '${name}') - </script> - - - </spring:bind> - </c:when> - <c:otherwise> - - - <div class="${divclass}"> - <label for="${name}">${labelmsg}:</label> - - <ou:txtinput type="text" name="${name}" value="${status.value}" cssclass="text" maxlength="10" style="${style}" readonly="${readonly}" disabled="${disabled}" onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" onblur="${onblur}"/> - - - </div> - - - - <div class="clear"><!-- --></div> - - - </c:otherwise> - </c:choose> - - - -</jsp:root> Copied: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/date.tag (from rev 251, trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/date.tag) =================================================================== --- tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/date.tag (rev 0) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/date.tag 2007-02-14 21:38:49 UTC (rev 259) @@ -0,0 +1,104 @@ +<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="readonly" required="false" type="java.lang.Boolean" /> + <jsp:directive.attribute name="disabled" 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" /> + + + <jsp:scriptlet> + System.err.println("Warning ou:date is deprecated, please use ou:input type=\"date\" instead "); + </jsp:scriptlet> + + <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="${empty(style)}"> + <c:set var="style">width: 75px</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> + + + <div class="${divclass}"> + <label for="${name}">${labelmsg}:</label> + + <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}"/> + + <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]--> + <div class="clear"><!-- --></div> + </div> + <script type="text/javascript"> + createCalendar('${status.value}', 'divdata${name}', '${name}') + </script> + + + </spring:bind> + </c:when> + <c:otherwise> + + + <div class="${divclass}"> + <label for="${name}">${labelmsg}:</label> + + <ou:txtinput type="text" name="${name}" value="${status.value}" cssclass="text" maxlength="10" style="${style}" readonly="${readonly}" disabled="${disabled}" onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" onblur="${onblur}"/> + + + </div> + + + + <div class="clear"><!-- --></div> + + + </c:otherwise> + </c:choose> + + + +</jsp:root> Deleted: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/daterange.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/daterange.tag 2007-02-12 16:15:02 UTC (rev 244) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/daterange.tag 2007-02-14 21:38:49 UTC (rev 259) @@ -1,30 +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:elx="http://openutils.sourceforge.net/openutils-tags-elx"> - <jsp:directive.attribute name="from" required="true" type="java.util.Date" /> - <jsp:directive.attribute name="to" required="true" type="java.util.Date" /> - <!-- elimina date anteriori al 1970 --> - <c:if test="${from.time le 0}"> - <c:remove var="from" /> - </c:if> - <c:if test="${to.time le 0}"> - <c:remove var="to" /> - </c:if> - <c:if test="${(from != null) or (to != null)}"> - <jsp:text> (</jsp:text> - <c:if test="${from != null}"> - <fmt:message key="daterange.from" /> - <jsp:text> </jsp:text> - <fmt:formatDate value="${from}" type="date" pattern="dd/MM/yyyy" /> - <c:if test="${to != null}"> - <jsp:text> </jsp:text> - </c:if> - </c:if> - - <c:if test="${to != null}"> - <fmt:message key="daterange.to" /> - <jsp:text> </jsp:text> - <fmt:formatDate value="${to}" type="date" pattern="dd/MM/yyyy" /> - </c:if> - <jsp:text>) </jsp:text> - </c:if> -</jsp:root> Deleted: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/debug.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/debug.tag 2007-02-12 16:15:02 UTC (rev 244) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/debug.tag 2007-02-14 21:38:49 UTC (rev 259) @@ -1,47 +0,0 @@ -<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" - xmlns:debug="urn:jsptld:debug" xmlns:c="http://java.sun.com/jsp/jstl/core"> - - <script type="text/javascript"> - <![CDATA[ - function showDebug(pId) { - lDebugDiv = document.getElementById(pId); - if (lDebugDiv.style.display == "block") { - lDebugDiv.style.display="none"; - } - else - { - lDebugDiv.style.display="block"; - } - } - ]]> - </script> - <div class="debugtabs"><a href="javascript:showDebug('debug')">&raquo; debug</a></div> - <div id="debug" class="debug" style="display:none"> - <table> - <tr> - <th onclick="showDebug('parameters')">Parameters</th> - <td id="parameters" style="display:none"><debug:parameters /></td> - </tr> - <tr> - <th onclick="showDebug('request')">Request</th> - <td id="request" style="display:none"><debug:attributes scope="request" /></td> - </tr> - <tr> - <th onclick="showDebug('session')">Session</th> - <td id="session" style="display:none"><debug:attributes scope="session" /></td> - </tr> - <tr> - <th onclick="showDebug('page')">Page</th> - <td id="page" style="display:none"><debug:attributes scope="page" /></td> - </tr> - <tr> - <th onclick="showDebug('application')">Application</th> - <td id="application" style="display:none"><debug:attributes scope="application" /></td> - </tr> - <tr> - <th onclick="showDebug('headers')">Request headers</th> - <td id="headers" style="display:none"><debug:headers /></td> - </tr> - </table> - </div> -</jsp:root> Copied: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/debug.tag (from rev 253, trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/debug.tag) =================================================================== --- tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/debug.tag (rev 0) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/debug.tag 2007-02-14 21:38:49 UTC (rev 259) @@ -0,0 +1,60 @@ +<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" + xmlns:debug="http://openutils.sourceforge.net/openutils-tags-debug" xmlns:c="http://java.sun.com/jsp/jstl/core"> + <script type="text/javascript"> + <![CDATA[ + function showDebug(pId) { + lDebugDiv = document.getElementById(pId); + if (lDebugDiv.style.display == "block") { + lDebugDiv.style.display="none"; + } + else + { + lDebugDiv.style.display="block"; + } + } + ]]> + </script> + <div class="debugtabs"> + <a href="javascript:showDebug('debug')">&raquo; debug</a> + </div> + <div id="debug" class="debug" style="display:none"> + <table> + <tr> + <th onclick="showDebug('parameters')">Parameters</th> + <td id="parameters" style="display:none"> + <debug:parameters /> + </td> + </tr> + <tr> + <th onclick="showDebug('request')">Request</th> + <td id="request" style="display:none"> + <debug:attributes scope="request" /> + </td> + </tr> + <tr> + <th onclick="showDebug('session')">Session</th> + <td id="session" style="display:none"> + <debug:attributes scope="session" /> + </td> + </tr> + <tr> + <th onclick="showDebug('page')">Page</th> + <td id="page" style="display:none"> + <debug:attributes scope="page" /> + </td> + </tr> + <tr> + <th onclick="showDebug('application')">Application</th> + <td id="application" style="display:none"> + <debug:attributes scope="application" /> + </td> + </tr> + <tr> + <th onclick="showDebug('headers')">Request headers</th> + <td id="headers" style="display:none"> + <debug:headers /> + </td> + </tr> + </table> + </div> +</jsp:root> Deleted: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/docbutton.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docbutton.tag 2007-02-12 16:15:02 UTC (rev 244) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/docbutton.tag 2007-02-14 21:38:49 UTC (rev 259) @@ -1,24 +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:elx="http://openutils.sourceforge.net/openutils-tags-elx"> - - - <jsp:directive.attribute name="type" required="true" /> - <jsp:directive.attribute name="href" required="true" /> - <jsp:directive.attribute name="disabled" required="false" type="java.lang.Boolean" /> - - - <c:set var="message"><fmt:message key="btn.${type}" /></c:set> - - <c:choose> - <c:when test="${disabled}"> - <img src="${pageContext.request.contextPath}/docroot/img/btn-${type}_false.gif" alt="${message}" title="${message}"/> - </c:when> - <c:otherwise> - <a href="${href}&amp;page=full" title="${message}" target="_blank"> - <img src="${pageContext.request.contextPath}/docroot/img/btn-${type}.gif" alt="${message}" /> - </a> - </c:otherwise> - </c:choose> - -</jsp:root> Deleted: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/docframe.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docframe.tag 2007-02-12 16:15:02 UTC (rev 244) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/docframe.tag 2007-02-14 21:38:49 UTC (rev 259) @@ -1,19 +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:elx="http://openutils.sourceforge.net/openutils-tags-elx"> - <jsp:directive.attribute name="width" required="false" /> - <jsp:directive.attribute name="height" required="false" /> - <jsp:directive.attribute name="doc" required="true" /> - <jsp:directive.attribute name="id" required="false" /> - <c:choose> - <c:when test="${!empty(doc)}"> - <iframe src="${jspContext.request.contextPath}/docs/pdf/${doc}" width="${width}" height="${height}" id="${id}"> - <!-- a --> - </iframe> - </c:when> - <c:otherwise> - <![CDATA[ <!-- doc is empty --> ]]> - </c:otherwise> - </c:choose> -</jsp:root> Deleted: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/docprintbutton.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docprintbutton.tag 2007-02-12 16:15:02 UTC (rev 244) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/docprintbutton.tag 2007-02-14 21:38:49 UTC (rev 259) @@ -1,13 +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:elx="http://openutils.sourceforge.net/openutils-tags-elx"> - - - <jsp:directive.attribute name="href" required="true" /> - - <c:set var="message"><fmt:message key="btn.stampa" /></c:set> - - <a href="${href}&amp;page=full&amp;print=print" title="${message}" target="_blank"> - <img src="${pageContext.request.contextPath}/docroot/img/btn-stampa.gif" alt="${message}" /> - </a> -</jsp:root> Deleted: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/docsvg.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docsvg.tag 2007-02-12 16:15:02 UTC (rev 244) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/docsvg.tag 2007-02-14 21:38:49 UTC (rev 259) @@ -1,13 +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:elx="http://openutils.sourceforge.net/openutils-tags-elx"> - - <jsp:directive.attribute name="modello" required="true" /> - - <object class="svg" data="${jspContext.request.contextPath}/docs/svg/ES_${prodotto.seriemodello.id}.svg" type="image/svg+xml"> - <!-- <embed src="${jspContext.request.contextPath}/docs/svg/ES_${prodotto.seriemodello.id}.svg" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/" /> --> - </object> - - - -</jsp:root> Deleted: tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/input.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/input.tag 2007-02-12 16:15:02 UTC (rev 244) +++ tags/openutils-tags-spring-0.3/src/main/resources/META-INF/tags/ou/input.tag 2007-02-14 21:38:49 UTC (rev 259) @@ -1,131 +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" - xmlns:elx="http://openutils.sourceforge.net/openutils-tags-elx"> - <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' || type == 'keyshow'}"> - <c:choose> - <c:when test="${type == 'key' and !empty(status.value)}"> - <c:set var="type" value="hidden" /> - </c:when> - <c:when test="${type == 'keyshow' and !empty(status.value)}"> - <c:set var="type" value="text" /> - <c:set var="readonly" value="${true}" /> - </c:when> - <c:otherwise> - <c:set var="type" value="text" /> - </c:otherwise> - </c:choose> - </c:if> - <c:if test="${type == 'date'}"> - <c:set var="type" value="text" /> - <c:set var="datepicker" value="${true}" /> - </c:if> - <c:if test="${maxlength ge 256}"> - <c:set var="type" value="textarea" /> - </c:if> - <c:set var="divclass"> - <jsp:text>formelement formelement${type}</jsp:text> - </c:set> - <c:set var="cssclass"> - <jsp:text>${type} ${cssclass}</jsp:text> - <c:if test="${readonly}">${elx:space()}readonly</c:if> - </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> - <!-- stampa campi --> - <c:choose> - <c:when test="${!nobind}"> - <spring:bind path="${path}"> - <c:set var="divclass"> - <jsp:text>${divclass}</jsp:text> - <c:if test="${!empty(status.errorMessage)}">${elx:space()}formelementerror</c:if> - </c:set> - <c:choose> - <c:when test="${bare}"> - <ou:txtinput type="${type}" name="${name}" value="${status.value}" cssclass="${cssclass}" - maxlength="${maxlength}" style="${style}" readonly="${readonly}" disabled="${disabled}" - onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" - onblur="${onblur}" checked="${status.value}" /> - </c:when> - <c:otherwise> - <div class="${divclass}"> - <label for="${name}">${labelmsg}:</label> - <ou:txtinput type="${type}" name="${name}" value="${status.value}" cssclass="${cssclass}" - maxlength="${maxlength}" style="${style}" readonly="${readonly}" disabled="${disabled}" - onkeypress="${onkeypress}" onkeydown="${onkeydown}" onkeyup="${onkeyup}" onchange="${onchange}" - onblur="${onblur}" /> - <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><!-- no spring binding --> - <c:choose> - <c:when test="${bare}"> - <ou:txtinput type="... [truncated message content] |