JBoss Tools SVN: r5589 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test: META-INF and 22 other directories.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2008-01-10 12:40:12 -0500 (Thu, 10 Jan 2008)
New Revision: 5589
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/.classpath
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/.project
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/META-INF/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/META-INF/MANIFEST.MF
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/build.properties
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.classpath
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.project
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jdt.core.prefs
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.common.component
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.jboss.tools.jst.web.xml
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/JavaSource/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GetNameForm.java
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GreetingAction.java
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/META-INF/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/META-INF/MANIFEST.MF
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/.struts-config.xml.strutsdia
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classes/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classes/demo/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classes/demo/GetNameForm.class
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classes/demo/GreetingAction.class
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/common-annotations.jar
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-beanutils.jar
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-collections.jar
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-digester.jar
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-fileupload.jar
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-lang.jar
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-logging.jar
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-validator.jar
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/jakarta-oro.jar
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/jstl.jar
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/standard.jar
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/struts-legacy.jar
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/struts.jar
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/tmp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-bean.tld
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-config.xml
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-html.tld
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-logic.tld
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validation.xml
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validator-rules.xml
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/web.xml
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/index.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/base.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/errors.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/frame.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/html.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/image.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/img.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/link.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/messages.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/rewrite.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/test.gif
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/test.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/greeting.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/inputname.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/ant/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/ant/build.properties
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/ant/build.xml
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsAllTests.java
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsComponentTest.java
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsTestPlugin.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1565
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/.classpath
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/.classpath (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/.classpath 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/.project
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/.project (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/.project 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.struts.vpe.struts.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/META-INF/MANIFEST.MF (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/META-INF/MANIFEST.MF 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,16 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Struts Test Plug-in
+Bundle-SymbolicName: org.jboss.tools.struts.vpe.struts.test
+Bundle-Version: 1.0.0
+Bundle-Activator: org.jboss.tools.struts.vpe.struts.test.StrutsTestPlugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.jsf.vpe.ui.test;visibility:=reexport,
+ org.mozilla.xpcom,
+ org.jboss.tools.common.text.ext,
+ org.jboss.tools.common.model,
+ org.jboss.tools.vpe.xulrunner,
+ org.junit
+Eclipse-LazyStart: true
+Bundle-ClassPath: struts-test.jar
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/build.properties
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/build.properties (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/build.properties 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,10 @@
+bin.includes = META-INF/,\
+ resources/,\
+ struts-test.jar
+jars.compile.order = struts-test.jar
+src.includes = src/,\
+ resources/,\
+ META-INF/,\
+ build.properties
+source.struts-test.jar = src/
+output.struts-test.jar = bin/
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.classpath
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.classpath (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.classpath 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="JavaSource"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre1.5.0_10"/>
+ <classpathentry kind="output" path="WebContent/WEB-INF/classes"/>
+</classpath>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.project
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.project (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.project 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>StrutsTest</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.common.verification.verifybuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.jboss.tools.struts.strutsnature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ </natures>
+</projectDescription>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jdt.core.prefs 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,7 @@
+#Wed Jan 09 19:09:37 MSK 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jst.common.project.facet.core.prefs (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jst.common.project.facet.core.prefs 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,3 @@
+#Wed Jan 09 19:09:39 MSK 2008
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jre1.5.0_10/owners=jst.java\:5.0
+eclipse.preferences.version=1
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.common.component 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="StrutsTest">
+<wb-resource deploy-path="/" source-path="/WebContent"/>
+<wb-resource deploy-path="/WEB-INF/classes" source-path="/JavaSource"/>
+<property name="context-root" value="StrutsTest"/>
+<property name="java-output-path" value="build/classes"/>
+</wb-module>
+</project-modules>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.common.project.facet.core.xml 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 4.0 Runtime"/>
+ <fixed facet="jst.java"/>
+ <fixed facet="jst.web"/>
+ <installed facet="jst.java" version="5.0"/>
+ <installed facet="jst.web" version="2.3"/>
+</faceted-project>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.jboss.tools.jst.web.xml
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.jboss.tools.jst.web.xml (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.jboss.tools.jst.web.xml 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<file-systems VERSION="2.0.0" application-name="StrutsTest"
+ model-entity="FileSystems" workspace-home="./WebContent/WEB-INF">
+ <file-system NAME="WEB-INF" location="%workspace.home%" model-entity="FileSystemFolder"/>
+ <file-system NAME="WEB-ROOT" info="Content-Type=Web"
+ location="%workspace.home%/.." model-entity="FileSystemFolder"/>
+ <file-system NAME="src" location="%workspace.home%/../../JavaSource" model-entity="FileSystemFolder"/>
+ <file-system NAME="classes" location="%workspace.home%/classes" model-entity="FileSystemFolder"/>
+ <file-system NAME="build" location="%workspace.home%/../../ant" model-entity="FileSystemFolder"/>
+ <file-system NAME="lib-common-annotations.jar" info="hidden=yes"
+ location="%workspace.home%/lib/common-annotations.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-commons-beanutils.jar" info="hidden=yes"
+ location="%workspace.home%/lib/commons-beanutils.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-commons-collections.jar" info="hidden=yes"
+ location="%workspace.home%/lib/commons-collections.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-commons-digester.jar" info="hidden=yes"
+ location="%workspace.home%/lib/commons-digester.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-commons-fileupload.jar" info="hidden=yes"
+ location="%workspace.home%/lib/commons-fileupload.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-commons-lang.jar" info="hidden=yes"
+ location="%workspace.home%/lib/commons-lang.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-commons-logging.jar" info="hidden=yes"
+ location="%workspace.home%/lib/commons-logging.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-commons-validator.jar" info="hidden=yes"
+ location="%workspace.home%/lib/commons-validator.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jakarta-oro.jar" info="hidden=yes"
+ location="%workspace.home%/lib/jakarta-oro.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-jstl.jar" info="hidden=yes"
+ location="%workspace.home%/lib/jstl.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-standard.jar" info="hidden=yes"
+ location="%workspace.home%/lib/standard.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-struts-legacy.jar" info="hidden=yes"
+ location="%workspace.home%/lib/struts-legacy.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib-struts.jar" info="hidden=yes"
+ location="%workspace.home%/lib/struts.jar" model-entity="FileSystemJar"/>
+ <file-system NAME="lib" location="%workspace.home%/lib" model-entity="FileSystemFolder"/>
+ <file-system NAME="StrutsTest" location="%eclipse.project%" model-entity="FileSystemFolder"/>
+ <web SERVLET_VERSION="2.3" model-entity="JstWeb" model-path="/web.xml">
+ <module URI="/WEB-INF/struts-config.xml" model-entity="JstWebModule"
+ model-path="/struts-config.xml" root="WEB-ROOT" src="src"/>
+ </web>
+</file-systems>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GetNameForm.java
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GetNameForm.java (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GetNameForm.java 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,40 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package demo;
+
+import javax.servlet.http.HttpServletRequest;
+import org.apache.struts.action.ActionErrors;
+import org.apache.struts.action.ActionMapping;
+import org.apache.struts.action.ActionForm;
+
+public class GetNameForm extends ActionForm {
+ private String name="";
+
+ public GetNameForm() {
+ }
+
+ public void reset(ActionMapping actionMapping, HttpServletRequest request) {
+ this.name="";
+ }
+
+ public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest request) {
+ ActionErrors errs = new ActionErrors();
+ return errs;
+ }
+
+ public String getName(){
+ return this.name;
+ }
+
+ public void setName(String name){
+ this.name = (name==null?"":name);
+ }
+}
\ No newline at end of file
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GreetingAction.java
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GreetingAction.java (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GreetingAction.java 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package demo;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.struts.action.ActionForm;
+import org.apache.struts.action.ActionForward;
+import org.apache.struts.action.ActionMapping;
+
+public class GreetingAction extends org.apache.struts.action.Action {
+
+ // Global Forwards
+ public static final String GLOBAL_FORWARD_getName = "getName";
+
+ // Local Forwards
+ private static final String FORWARD_sayhello = "sayhello";
+
+ public GreetingAction() {
+ }
+
+ public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
+ String name = ((demo.GetNameForm)form).getName();
+ String greeting = "Hello, "+name+"!";
+ request.setAttribute("greeting", greeting);
+ return mapping.findForward(FORWARD_sayhello);
+ }
+}
\ No newline at end of file
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/META-INF/MANIFEST.MF 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/.struts-config.xml.strutsdia
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/.struts-config.xml.strutsdia (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/.struts-config.xml.strutsdia 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PROCESS ENTITY="StrutsProcess">
+ <PROCESS-ITEM ENTITY="StrutsProcessItem" ID="getName" NAME="forward0"
+ PATH="/pages/inputname.jsp" SHAPE="24,41,93,27" TARGET="page0"
+ TITLE="getName" TYPE="forward"/>
+ <PROCESS-ITEM ENTITY="StrutsProcessItem" NAME="page0"
+ PATH="/pages/inputname.jsp" SHAPE="192,42,56,46" SUBTYPE="jsp"
+ TITLE="inputname.jsp" TYPE="page">
+ <PROCESS-ITEM-OUTPUT ENTITY="StrutsProcessItemOutput" NAME="link0"
+ PATH="/greeting.do" SUBTYPE="confirmed" TARGET="action0"
+ TITLE="greeting.do" TYPE="link"/>
+ </PROCESS-ITEM>
+ <PROCESS-ITEM ENTITY="StrutsProcessItem" ID="#greeting" NAME="action0"
+ PATH="/greeting" SHAPE="368,41,123,43" TITLE="GetNameForm" TYPE="action">
+ <PROCESS-ITEM-OUTPUT ENTITY="StrutsProcessItemOutput" ID="sayhello"
+ NAME="forward0" PATH="/pages/greeting.jsp" TARGET="page1"
+ TITLE="sayhello" TYPE="forward"/>
+ </PROCESS-ITEM>
+ <PROCESS-ITEM ENTITY="StrutsProcessItem" NAME="page1"
+ PATH="/pages/greeting.jsp" SHAPE="568,42,56,30" SUBTYPE="jsp"
+ TITLE="greeting.jsp" TYPE="page"/>
+</PROCESS>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classes/demo/GetNameForm.class
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classes/demo/GetNameForm.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classes/demo/GreetingAction.class
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classes/demo/GreetingAction.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/common-annotations.jar
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/common-annotations.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-beanutils.jar
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-beanutils.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-collections.jar
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-collections.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-digester.jar
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-digester.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-fileupload.jar
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-fileupload.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-lang.jar
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-lang.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-logging.jar
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-logging.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-validator.jar
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/commons-validator.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/jakarta-oro.jar
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/jakarta-oro.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/jstl.jar
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/jstl.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/standard.jar
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/standard.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/struts-legacy.jar
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/struts-legacy.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/struts.jar
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/struts.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/tmp
===================================================================
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-bean.tld
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-bean.tld (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-bean.tld 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,382 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+
+
+
+
+<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
+<taglib>
+<tlibversion>1.0</tlibversion>
+<jspversion>1.1</jspversion>
+<shortname>bean</shortname>
+<uri>http://jakarta.apache.org/struts/tags-bean</uri>
+<tag>
+<name>cookie</name>
+<tagclass>org.apache.struts.taglib.bean.CookieTag</tagclass>
+<teiclass>org.apache.struts.taglib.bean.CookieTei</teiclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>id</name>
+<required>true</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>multiple</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>define</name>
+<tagclass>org.apache.struts.taglib.bean.DefineTag</tagclass>
+<teiclass>org.apache.struts.taglib.bean.DefineTei</teiclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>id</name>
+<required>true</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>toScope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>type</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>header</name>
+<tagclass>org.apache.struts.taglib.bean.HeaderTag</tagclass>
+<teiclass>org.apache.struts.taglib.bean.HeaderTei</teiclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>id</name>
+<required>true</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>multiple</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>include</name>
+<tagclass>org.apache.struts.taglib.bean.IncludeTag</tagclass>
+<teiclass>org.apache.struts.taglib.bean.IncludeTei</teiclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>anchor</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>forward</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>href</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>id</name>
+<required>true</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>page</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>transaction</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>message</name>
+<tagclass>org.apache.struts.taglib.bean.MessageTag</tagclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>arg0</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>arg1</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>arg2</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>arg3</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>arg4</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>bundle</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>key</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>locale</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>page</name>
+<tagclass>org.apache.struts.taglib.bean.PageTag</tagclass>
+<teiclass>org.apache.struts.taglib.bean.PageTei</teiclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>id</name>
+<required>true</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>parameter</name>
+<tagclass>org.apache.struts.taglib.bean.ParameterTag</tagclass>
+<teiclass>org.apache.struts.taglib.bean.ParameterTei</teiclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>id</name>
+<required>true</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>multiple</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>resource</name>
+<tagclass>org.apache.struts.taglib.bean.ResourceTag</tagclass>
+<teiclass>org.apache.struts.taglib.bean.ResourceTei</teiclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>id</name>
+<required>true</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>input</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>size</name>
+<tagclass>org.apache.struts.taglib.bean.SizeTag</tagclass>
+<teiclass>org.apache.struts.taglib.bean.SizeTei</teiclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>collection</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>id</name>
+<required>true</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>struts</name>
+<tagclass>org.apache.struts.taglib.bean.StrutsTag</tagclass>
+<teiclass>org.apache.struts.taglib.bean.StrutsTei</teiclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>id</name>
+<required>true</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>formBean</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>forward</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>mapping</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>write</name>
+<tagclass>org.apache.struts.taglib.bean.WriteTag</tagclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>bundle</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>filter</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>format</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>formatKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ignore</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>locale</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+</taglib>
+
+
+
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-config.xml
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-config.xml (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-config.xml 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
+ "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
+<struts-config>
+ <data-sources/>
+ <form-beans>
+ <form-bean name="GetNameForm" type="demo.GetNameForm"/>
+ </form-beans>
+ <global-exceptions/>
+ <global-forwards>
+ <forward name="getName" path="/pages/inputname.jsp"/>
+ </global-forwards>
+ <action-mappings>
+ <action name="GetNameForm" path="/greeting" scope="request" type="demo.GreetingAction">
+ <forward name="sayhello" path="/pages/greeting.jsp"/>
+ </action>
+ </action-mappings>
+ <controller/>
+</struts-config>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-html.tld
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-html.tld (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-html.tld 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,2971 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+
+
+
+
+<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
+<taglib>
+<tlibversion>1.0</tlibversion>
+<jspversion>1.1</jspversion>
+<shortname>html</shortname>
+<uri>http://jakarta.apache.org/struts/tags-html</uri>
+<tag>
+<name>base</name>
+<tagclass>org.apache.struts.taglib.html.BaseTag</tagclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>target</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>server</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>button</name>
+<tagclass>org.apache.struts.taglib.html.ButtonTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexed</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>cancel</name>
+<tagclass>org.apache.struts.taglib.html.CancelTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>checkbox</name>
+<tagclass>org.apache.struts.taglib.html.CheckboxTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexed</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>errors</name>
+<tagclass>org.apache.struts.taglib.html.ErrorsTag</tagclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>bundle</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>locale</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>file</name>
+<tagclass>org.apache.struts.taglib.html.FileTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>accept</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexed</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>maxlength</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>size</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>form</name>
+<tagclass>org.apache.struts.taglib.html.FormTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>action</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>enctype</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>focus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>focusIndex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>method</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onreset</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onsubmit</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>target</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>type</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>frame</name>
+<tagclass>org.apache.struts.taglib.html.FrameTag</tagclass>
+<attribute>
+<name>action</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>anchor</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>forward</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>frameborder</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>frameName</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>href</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>longdesc</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>marginheight</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>marginwidth</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>noresize</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>page</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramName</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramProperty</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramScope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scrolling</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>transaction</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>hidden</name>
+<tagclass>org.apache.struts.taglib.html.HiddenTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexed</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>write</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>html</name>
+<tagclass>org.apache.struts.taglib.html.HtmlTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>locale</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>xhtml</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>image</name>
+<tagclass>org.apache.struts.taglib.html.ImageTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>align</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>border</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>bundle</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexed</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>locale</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>page</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>pageKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>src</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>srcKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>img</name>
+<tagclass>org.apache.struts.taglib.html.ImgTag</tagclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>align</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>border</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>bundle</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>height</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>hspace</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>imageName</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ismap</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>locale</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>lowsrc</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>page</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>pageKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramName</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramProperty</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramScope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>src</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>srcKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>usemap</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>vspace</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>width</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>javascript</name>
+<tagclass>org.apache.struts.taglib.html.JavascriptValidatorTag</tagclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>cdata</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>dynamicJavascript</name>
+<required>false</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>formName</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>method</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>page</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>src</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>staticJavascript</name>
+<required>false</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>htmlComment</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>link</name>
+<tagclass>org.apache.struts.taglib.html.LinkTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>action</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>anchor</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>forward</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>href</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexed</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>linkName</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>page</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramName</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramProperty</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramScope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>target</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>transaction</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>messages</name>
+<tagclass>org.apache.struts.taglib.html.MessagesTag</tagclass>
+<teiclass>org.apache.struts.taglib.html.MessagesTei</teiclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>id</name>
+<required>true</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>bundle</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>locale</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>header</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>footer</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>message</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>multibox</name>
+<tagclass>org.apache.struts.taglib.html.MultiboxTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>option</name>
+<tagclass>org.apache.struts.taglib.html.OptionTag</tagclass>
+<attribute>
+<name>bundle</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>key</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>locale</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>options</name>
+<tagclass>org.apache.struts.taglib.html.OptionsTag</tagclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>collection</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>filter</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>labelName</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>labelProperty</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>optionsCollection</name>
+<tagclass>org.apache.struts.taglib.html.OptionsCollectionTag</tagclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>filter</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>label</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>password</name>
+<tagclass>org.apache.struts.taglib.html.PasswordTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexed</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>maxlength</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>readonly</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>redisplay</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>size</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>radio</name>
+<tagclass>org.apache.struts.taglib.html.RadioTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexed</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>idName</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>reset</name>
+<tagclass>org.apache.struts.taglib.html.ResetTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>rewrite</name>
+<tagclass>org.apache.struts.taglib.html.RewriteTag</tagclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>anchor</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>forward</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>href</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>page</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramName</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramProperty</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramScope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>transaction</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>select</name>
+<tagclass>org.apache.struts.taglib.html.SelectTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexed</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>multiple</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>size</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>submit</name>
+<tagclass>org.apache.struts.taglib.html.SubmitTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexed</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>text</name>
+<tagclass>org.apache.struts.taglib.html.TextTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexed</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>maxlength</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>readonly</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>size</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>textarea</name>
+<tagclass>org.apache.struts.taglib.html.TextareaTag</tagclass>
+<attribute>
+<name>accesskey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>alt</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>altKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>cols</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>disabled</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexed</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onblur</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onchange</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>ondblclick</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onfocus</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeydown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeypress</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onkeyup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousedown</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmousemove</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseout</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseover</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>onmouseup</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>readonly</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>rows</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>style</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleClass</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>styleId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>tabindex</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>title</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>titleKey</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>xhtml</name>
+<tagclass>org.apache.struts.taglib.html.XhtmlTag</tagclass>
+<bodycontent>empty</bodycontent>
+</tag>
+</taglib>
+
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-logic.tld
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-logic.tld (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-logic.tld 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,642 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
+
+
+
+<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
+<taglib>
+<tlibversion>1.0</tlibversion>
+<jspversion>1.1</jspversion>
+<shortname>logic</shortname>
+<uri>http://jakarta.apache.org/struts/tags-logic</uri>
+<tag>
+<name>empty</name>
+<tagclass>org.apache.struts.taglib.logic.EmptyTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>equal</name>
+<tagclass>org.apache.struts.taglib.logic.EqualTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>cookie</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>header</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>parameter</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>forward</name>
+<tagclass>org.apache.struts.taglib.logic.ForwardTag</tagclass>
+<bodycontent>empty</bodycontent>
+<attribute>
+<name>name</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>greaterEqual</name>
+<tagclass>org.apache.struts.taglib.logic.GreaterEqualTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>cookie</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>header</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>parameter</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>greaterThan</name>
+<tagclass>org.apache.struts.taglib.logic.GreaterThanTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>cookie</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>header</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>parameter</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>iterate</name>
+<tagclass>org.apache.struts.taglib.logic.IterateTag</tagclass>
+<teiclass>org.apache.struts.taglib.logic.IterateTei</teiclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>collection</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>id</name>
+<required>true</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>indexId</name>
+<required>false</required>
+<rtexprvalue>false</rtexprvalue>
+</attribute>
+<attribute>
+<name>length</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>offset</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>type</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>lessEqual</name>
+<tagclass>org.apache.struts.taglib.logic.LessEqualTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>cookie</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>header</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>parameter</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>lessThan</name>
+<tagclass>org.apache.struts.taglib.logic.LessThanTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>cookie</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>header</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>parameter</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>match</name>
+<tagclass>org.apache.struts.taglib.logic.MatchTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>cookie</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>header</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>location</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>parameter</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>messagesNotPresent</name>
+<tagclass>org.apache.struts.taglib.logic.MessagesNotPresentTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>message</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>messagesPresent</name>
+<tagclass>org.apache.struts.taglib.logic.MessagesPresentTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>message</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>notEmpty</name>
+<tagclass>org.apache.struts.taglib.logic.NotEmptyTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>notEqual</name>
+<tagclass>org.apache.struts.taglib.logic.NotEqualTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>cookie</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>header</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>parameter</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>notMatch</name>
+<tagclass>org.apache.struts.taglib.logic.NotMatchTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>cookie</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>header</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>location</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>parameter</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>value</name>
+<required>true</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>notPresent</name>
+<tagclass>org.apache.struts.taglib.logic.NotPresentTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>cookie</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>header</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>parameter</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>role</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>user</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>present</name>
+<tagclass>org.apache.struts.taglib.logic.PresentTag</tagclass>
+<bodycontent>JSP</bodycontent>
+<attribute>
+<name>cookie</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>header</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>parameter</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>role</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>user</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+<tag>
+<name>redirect</name>
+<tagclass>org.apache.struts.taglib.logic.RedirectTag</tagclass>
+<attribute>
+<name>anchor</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>forward</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>href</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>name</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>page</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramId</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramName</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramProperty</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>paramScope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>property</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>scope</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+<attribute>
+<name>transaction</name>
+<required>false</required>
+<rtexprvalue>true</rtexprvalue>
+</attribute>
+</tag>
+</taglib>
+
+
+
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validation.xml
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validation.xml (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validation.xml 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+
+<!DOCTYPE form-validation PUBLIC
+ "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
+ "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
+
+<form-validation>
+
+<!--
+ This is a blank Validator form file with a commented examples.
+-->
+
+ <global>
+
+ <!-- An example global constant
+ <constant>
+ <constant-name>postalCode</constant-name>
+ <constant-value>^\d{5}\d*$</constant-value>
+ </constant>
+ end example-->
+
+ </global>
+
+ <!-- An example form
+
+ <formset>
+ <form name="logonForm">
+ <field
+ property="username"
+ depends="required">
+ <arg0 key="logonForm.username"/>
+ </field>
+ <field
+ property="password"
+ depends="required,mask">
+ <arg0 key="logonForm.password"/>
+ <var>
+ <var-name>mask</var-name>
+ <var-value>^[0-9a-zA-Z]*$</var-value>
+ </var>
+ </field>
+ </form>
+ </formset>
+
+ end example form -->
+
+ <!-- An example formset for another locale
+ <formset language="fr">
+
+ <constant>
+ <constant-name>postalCode</constant-name>
+ <constant-value>^[0-9a-zA-Z]*$</constant-value>
+ </constant>
+
+ </formset>
+ -->
+
+</form-validation>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validator-rules.xml
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validator-rules.xml (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validator-rules.xml 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,988 @@
+<!DOCTYPE form-validation PUBLIC
+ "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
+ "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
+<!--
+
+ This file contains the default Struts Validator pluggable validator
+ definitions. It should be placed somewhere under /WEB-INF and
+ referenced in the struts-config.xml under the plug-in element
+ for the ValidatorPlugIn.
+
+ <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
+ <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,
+ /WEB-INF/validation.xml"/>
+ </plug-in>
+
+ These are the default error messages associated with
+ each validator defined in this file. They should be
+ added to your projects ApplicationResources.properties
+ file or you can associate new ones by modifying the
+ pluggable validators msg attributes in this file.
+
+ # Struts Validator Error Messages
+ errors.required={0} is required.
+ errors.minlength={0} can not be less than {1} characters.
+ errors.maxlength={0} can not be greater than {1} characters.
+ errors.invalid={0} is invalid.
+
+ errors.byte={0} must be a byte.
+ errors.short={0} must be a short.
+ errors.integer={0} must be an integer.
+ errors.long={0} must be a long.
+ errors.float={0} must be a float.
+ errors.double={0} must be a double.
+
+ errors.date={0} is not a date.
+ errors.range={0} is not in the range {1} through {2}.
+ errors.creditcard={0} is an invalid credit card number.
+ errors.email={0} is an invalid e-mail address.
+
+-->
+
+<form-validation>
+
+ <global>
+
+ <validator name="required"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateRequired"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ msg="errors.required">
+
+ <javascript><![CDATA[
+ function validateRequired(form) {
+ var bValid = true;
+ var focusField = null;
+ var i = 0;
+ var fields = new Array();
+ oRequired = new required();
+ for (x in oRequired) {
+ var field = form[oRequired[x][0]];
+
+ if (field.type == 'text' ||
+ field.type == 'textarea' ||
+ field.type == 'file' ||
+ field.type == 'select-one' ||
+ field.type == 'radio' ||
+ field.type == 'password') {
+
+ var value = '';
+ // get field's value
+ if (field.type == "select-one") {
+ var si = field.selectedIndex;
+ if (si >= 0) {
+ value = field.options[si].value;
+ }
+ } else {
+ value = field.value;
+ }
+
+ if (value == '') {
+
+ if (i == 0) {
+ focusField = field;
+ }
+ fields[i++] = oRequired[x][1];
+ bValid = false;
+ }
+ }
+ }
+ if (fields.length > 0) {
+ focusField.focus();
+ alert(fields.join('\n'));
+ }
+ return bValid;
+ }]]>
+ </javascript>
+
+ </validator>
+
+ <validator name="requiredif"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateRequiredIf"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ org.apache.commons.validator.Validator,
+ javax.servlet.http.HttpServletRequest"
+ msg="errors.required">
+ </validator>
+
+ <validator name="minlength"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateMinLength"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends=""
+ msg="errors.minlength">
+
+ <javascript><![CDATA[
+ function validateMinLength(form) {
+ var bValid = true;
+ var focusField = null;
+ var i = 0;
+ var fields = new Array();
+ oMinLength = new minlength();
+ for (x in oMinLength) {
+ if (form[oMinLength[x][0]].type == 'text' ||
+ form[oMinLength[x][0]].type == 'textarea') {
+ var iMin = parseInt(oMinLength[x][2]("minlength"));
+ if (form[oMinLength[x][0]].value.length < iMin) {
+ if (i == 0) {
+ focusField = form[oMinLength[x][0]];
+ }
+ fields[i++] = oMinLength[x][1];
+ bValid = false;
+ }
+ }
+ }
+ if (fields.length > 0) {
+ focusField.focus();
+ alert(fields.join('\n'));
+ }
+ return bValid;
+ }]]>
+ </javascript>
+
+ </validator>
+
+
+ <validator name="maxlength"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateMaxLength"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends=""
+ msg="errors.maxlength">
+
+ <javascript><![CDATA[
+ function validateMaxLength(form) {
+ var bValid = true;
+ var focusField = null;
+ var i = 0;
+ var fields = new Array();
+ oMaxLength = new maxlength();
+ for (x in oMaxLength) {
+ if (form[oMaxLength[x][0]].type == 'text' ||
+ form[oMaxLength[x][0]].type == 'textarea') {
+ var iMax = parseInt(oMaxLength[x][2]("maxlength"));
+ if (form[oMaxLength[x][0]].value.length > iMax) {
+ if (i == 0) {
+ focusField = form[oMaxLength[x][0]];
+ }
+ fields[i++] = oMaxLength[x][1];
+ bValid = false;
+ }
+ }
+ }
+ if (fields.length > 0) {
+ focusField.focus();
+ alert(fields.join('\n'));
+ }
+ return bValid;
+ }]]>
+ </javascript>
+
+ </validator>
+
+
+ <validator name="mask"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateMask"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends=""
+ msg="errors.invalid">
+
+ <javascript><![CDATA[
+ function validateMask(form) {
+ var bValid = true;
+ var focusField = null;
+ var i = 0;
+ var fields = new Array();
+ oMasked = new mask();
+ for (x in oMasked) {
+ if ((form[oMasked[x][0]].type == 'text' ||
+ form[oMasked[x][0]].type == 'textarea' ||
+ form[oMasked[x][0]].type == 'password') &&
+ (form[oMasked[x][0]].value.length > 0)) {
+ if (!matchPattern(form[oMasked[x][0]].value, oMasked[x][2]("mask"))) {
+ if (i == 0) {
+ focusField = form[oMasked[x][0]];
+ }
+ fields[i++] = oMasked[x][1];
+ bValid = false;
+ }
+ }
+ }
+ if (fields.length > 0) {
+ focusField.focus();
+ alert(fields.join('\n'));
+ }
+ return bValid;
+ }
+
+ function matchPattern(value, mask) {
+ var bMatched = mask.exec(value);
+ if (!bMatched) {
+ return false;
+ }
+ return true;
+ }]]>
+ </javascript>
+
+ </validator>
+
+
+ <validator name="byte"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateByte"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends=""
+ msg="errors.byte"
+ jsFunctionName="ByteValidations">
+
+ <javascript><![CDATA[
+ function validateByte(form) {
+ var bValid = true;
+ var focusField = null;
+ var i = 0;
+ var fields = new Array();
+ oByte = new ByteValidations();
+ for (x in oByte) {
+ var field = form[oByte[x][0]];
+
+ if (field.type == 'text' ||
+ field.type == 'textarea' ||
+ field.type == 'select-one' ||
+ field.type == 'radio') {
+
+ var value = '';
+ // get field's value
+ if (field.type == "select-one") {
+ var si = field.selectedIndex;
+ if (si >= 0) {
+ value = field.options[si].value;
+ }
+ } else {
+ value = field.value;
+ }
+
+ if (value.length > 0) {
+
+ var iValue = parseInt(value);
+ if (isNaN(iValue) || !(iValue >= -128 && iValue <= 127)) {
+ if (i == 0) {
+ focusField = field;
+ }
+ fields[i++] = oByte[x][1];
+ bValid = false;
+ }
+ }
+
+ }
+ }
+ if (fields.length > 0) {
+ focusField.focus();
+ alert(fields.join('\n'));
+ }
+ return bValid;
+ }]]>
+ </javascript>
+
+ </validator>
+
+
+ <validator name="short"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateShort"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends=""
+ msg="errors.short"
+ jsFunctionName="ShortValidations">
+
+ <javascript><![CDATA[
+ function validateShort(form) {
+ var bValid = true;
+ var focusField = null;
+ var i = 0;
+ var fields = new Array();
+ oShort = new ShortValidations();
+ for (x in oShort) {
+ var field = form[oShort[x][0]];
+
+ if (field.type == 'text' ||
+ field.type == 'textarea' ||
+ field.type == 'select-one' ||
+ field.type == 'radio') {
+
+ var value = '';
+ // get field's value
+ if (field.type == "select-one") {
+ var si = field.selectedIndex;
+ if (si >= 0) {
+ value = field.options[si].value;
+ }
+ } else {
+ value = field.value;
+ }
+
+ if (value.length > 0) {
+
+ var iValue = parseInt(value);
+ if (isNaN(iValue) || !(iValue >= -32768 && iValue <= 32767)) {
+ if (i == 0) {
+ focusField = field;
+ }
+ fields[i++] = oShort[x][1];
+ bValid = false;
+ }
+ }
+ }
+ }
+ if (fields.length > 0) {
+ focusField.focus();
+ alert(fields.join('\n'));
+ }
+ return bValid;
+ }]]>
+ </javascript>
+
+ </validator>
+
+
+ <validator name="integer"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateInteger"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends=""
+ msg="errors.integer"
+ jsFunctionName="IntegerValidations">
+
+ <javascript><![CDATA[
+ function validateInteger(form) {
+ var bValid = true;
+ var focusField = null;
+ var i = 0;
+ var fields = new Array();
+ oInteger = new IntegerValidations();
+ for (x in oInteger) {
+ var field = form[oInteger[x][0]];
+
+ if (field.type == 'text' ||
+ field.type == 'textarea' ||
+ field.type == 'select-one' ||
+ field.type == 'radio') {
+
+ var value = '';
+ // get field's value
+ if (field.type == "select-one") {
+ var si = field.selectedIndex;
+ if (si >= 0) {
+ value = field.options[si].value;
+ }
+ } else {
+ value = field.value;
+ }
+
+ if (value.length > 0) {
+
+ if (!isAllDigits(value)) {
+ bValid = false;
+ } else {
+ var iValue = parseInt(value);
+ if (isNaN(iValue) || !(iValue >= -2147483648 && iValue <= 2147483647)) {
+ if (i == 0) {
+ focusField = field;
+ }
+ fields[i++] = oInteger[x][1];
+ bValid = false;
+ }
+ }
+ }
+ }
+ }
+ if (fields.length > 0) {
+ focusField.focus();
+ alert(fields.join('\n'));
+ }
+ return bValid;
+ }
+
+ function isAllDigits(argvalue) {
+ argvalue = argvalue.toString();
+ var validChars = "0123456789";
+ var startFrom = 0;
+ if (argvalue.substring(0, 2) == "0x") {
+ validChars = "0123456789abcdefABCDEF";
+ startFrom = 2;
+ } else if (argvalue.charAt(0) == "0") {
+ validChars = "01234567";
+ startFrom = 1;
+ }
+ for (var n = 0; n < argvalue.length; n++) {
+ if (validChars.indexOf(argvalue.substring(n, n+1)) == -1) return false;
+ }
+ return true;
+ }]]>
+ </javascript>
+
+ </validator>
+
+
+ <validator name="long"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateLong"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends=""
+ msg="errors.long"/>
+
+
+ <validator name="float"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateFloat"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends=""
+ msg="errors.float"
+ jsFunctionName="FloatValidations">
+
+ <javascript><![CDATA[
+ function validateFloat(form) {
+ var bValid = true;
+ var focusField = null;
+ var i = 0;
+ var fields = new Array();
+ oFloat = new FloatValidations();
+ for (x in oFloat) {
+ var field = form[oFloat[x][0]];
+
+ if (field.type == 'text' ||
+ field.type == 'textarea' ||
+ field.type == 'select-one' ||
+ field.type == 'radio') {
+
+ var value = '';
+ // get field's value
+ if (field.type == "select-one") {
+ var si = field.selectedIndex;
+ if (si >= 0) {
+ value = field.options[si].value;
+ }
+ } else {
+ value = field.value;
+ }
+
+ if (value.length > 0) {
+
+ var iValue = parseFloat(value);
+ if (isNaN(iValue)) {
+ if (i == 0) {
+ focusField = field;
+ }
+ fields[i++] = oFloat[x][1];
+ bValid = false;
+ }
+ }
+ }
+ }
+ if (fields.length > 0) {
+ focusField.focus();
+ alert(fields.join('\n'));
+ }
+ return bValid;
+ }]]>
+ </javascript>
+
+ </validator>
+
+
+ <validator name="double"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateDouble"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends=""
+ msg="errors.double"/>
+
+
+ <validator name="date"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateDate"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends=""
+ msg="errors.date"
+ jsFunctionName="DateValidations">
+
+ <javascript><![CDATA[
+ function validateDate(form) {
+ var bValid = true;
+ var focusField = null;
+ var i = 0;
+ var fields = new Array();
+ oDate = new DateValidations();
+ for (x in oDate) {
+ var value = form[oDate[x][0]].value;
+ var datePattern = oDate[x][2]("datePatternStrict");
+ if ((form[oDate[x][0]].type == 'text' ||
+ form[oDate[x][0]].type == 'textarea') &&
+ (value.length > 0) &&
+ (datePattern.length > 0)) {
+ var MONTH = "MM";
+ var DAY = "dd";
+ var YEAR = "yyyy";
+ var orderMonth = datePattern.indexOf(MONTH);
+ var orderDay = datePattern.indexOf(DAY);
+ var orderYear = datePattern.indexOf(YEAR);
+ if ((orderDay < orderYear && orderDay > orderMonth)) {
+ var iDelim1 = orderMonth + MONTH.length;
+ var iDelim2 = orderDay + DAY.length;
+ var delim1 = datePattern.substring(iDelim1, iDelim1 + 1);
+ var delim2 = datePattern.substring(iDelim2, iDelim2 + 1);
+ if (iDelim1 == orderDay && iDelim2 == orderYear) {
+ dateRegexp = new RegExp("^(\\d{2})(\\d{2})(\\d{4})$");
+ } else if (iDelim1 == orderDay) {
+ dateRegexp = new RegExp("^(\\d{2})(\\d{2})[" + delim2 + "](\\d{4})$");
+ } else if (iDelim2 == orderYear) {
+ dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})(\\d{4})$");
+ } else {
+ dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})[" + delim2 + "](\\d{4})$");
+ }
+ var matched = dateRegexp.exec(value);
+ if(matched != null) {
+ if (!isValidDate(matched[2], matched[1], matched[3])) {
+ if (i == 0) {
+ focusField = form[oDate[x][0]];
+ }
+ fields[i++] = oDate[x][1];
+ bValid = false;
+ }
+ } else {
+ if (i == 0) {
+ focusField = form[oDate[x][0]];
+ }
+ fields[i++] = oDate[x][1];
+ bValid = false;
+ }
+ } else if ((orderMonth < orderYear && orderMonth > orderDay)) {
+ var iDelim1 = orderDay + DAY.length;
+ var iDelim2 = orderMonth + MONTH.length;
+ var delim1 = datePattern.substring(iDelim1, iDelim1 + 1);
+ var delim2 = datePattern.substring(iDelim2, iDelim2 + 1);
+ if (iDelim1 == orderMonth && iDelim2 == orderYear) {
+ dateRegexp = new RegExp("^(\\d{2})(\\d{2})(\\d{4})$");
+ } else if (iDelim1 == orderMonth) {
+ dateRegexp = new RegExp("^(\\d{2})(\\d{2})[" + delim2 + "](\\d{4})$");
+ } else if (iDelim2 == orderYear) {
+ dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})(\\d{4})$");
+ } else {
+ dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})[" + delim2 + "](\\d{4})$");
+ }
+ var matched = dateRegexp.exec(value);
+ if(matched != null) {
+ if (!isValidDate(matched[1], matched[2], matched[3])) {
+ if (i == 0) {
+ focusField = form[oDate[x][0]];
+ }
+ fields[i++] = oDate[x][1];
+ bValid = false;
+ }
+ } else {
+ if (i == 0) {
+ focusField = form[oDate[x][0]];
+ }
+ fields[i++] = oDate[x][1];
+ bValid = false;
+ }
+ } else if ((orderMonth > orderYear && orderMonth < orderDay)) {
+ var iDelim1 = orderYear + YEAR.length;
+ var iDelim2 = orderMonth + MONTH.length;
+ var delim1 = datePattern.substring(iDelim1, iDelim1 + 1);
+ var delim2 = datePattern.substring(iDelim2, iDelim2 + 1);
+ if (iDelim1 == orderMonth && iDelim2 == orderDay) {
+ dateRegexp = new RegExp("^(\\d{4})(\\d{2})(\\d{2})$");
+ } else if (iDelim1 == orderMonth) {
+ dateRegexp = new RegExp("^(\\d{4})(\\d{2})[" + delim2 + "](\\d{2})$");
+ } else if (iDelim2 == orderDay) {
+ dateRegexp = new RegExp("^(\\d{4})[" + delim1 + "](\\d{2})(\\d{2})$");
+ } else {
+ dateRegexp = new RegExp("^(\\d{4})[" + delim1 + "](\\d{2})[" + delim2 + "](\\d{2})$");
+ }
+ var matched = dateRegexp.exec(value);
+ if(matched != null) {
+ if (!isValidDate(matched[3], matched[2], matched[1])) {
+ if (i == 0) {
+ focusField = form[oDate[x][0]];
+ }
+ fields[i++] = oDate[x][1];
+ bValid = false;
+ }
+ } else {
+ if (i == 0) {
+ focusField = form[oDate[x][0]];
+ }
+ fields[i++] = oDate[x][1];
+ bValid = false;
+ }
+ } else {
+ if (i == 0) {
+ focusField = form[oDate[x][0]];
+ }
+ fields[i++] = oDate[x][1];
+ bValid = false;
+ }
+ }
+ }
+ if (fields.length > 0) {
+ focusField.focus();
+ alert(fields.join('\n'));
+ }
+ return bValid;
+ }
+
+ function isValidDate(day, month, year) {
+ if (month < 1 || month > 12) {
+ return false;
+ }
+ if (day < 1 || day > 31) {
+ return false;
+ }
+ if ((month == 4 || month == 6 || month == 9 || month == 11) &&
+ (day == 31)) {
+ return false;
+ }
+ if (month == 2) {
+ var leap = (year % 4 == 0 &&
+ (year % 100 != 0 || year % 400 == 0));
+ if (day>29 || (day == 29 && !leap)) {
+ return false;
+ }
+ }
+ return true;
+ }]]>
+ </javascript>
+
+ </validator>
+
+<!-- range is deprecated use intRange instead -->
+ <validator name="range"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateIntRange"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends="integer"
+ msg="errors.range">
+
+ <javascript><![CDATA[
+ function validateRange(form) {
+ return validateIntRange(form);
+ }]]>
+ </javascript>
+
+ </validator>
+
+ <validator name="intRange"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateIntRange"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends="integer"
+ msg="errors.range">
+
+ <javascript><![CDATA[
+ function validateIntRange(form) {
+ var bValid = true;
+ var focusField = null;
+ var i = 0;
+ var fields = new Array();
+ oRange = new intRange();
+ for (x in oRange) {
+ if ((form[oRange[x][0]].type == 'text' ||
+ form[oRange[x][0]].type == 'textarea') &&
+ (form[oRange[x][0]].value.length > 0)) {
+ var iMin = parseInt(oRange[x][2]("min"));
+ var iMax = parseInt(oRange[x][2]("max"));
+ var iValue = parseInt(form[oRange[x][0]].value);
+ if (!(iValue >= iMin && iValue <= iMax)) {
+ if (i == 0) {
+ focusField = form[oRange[x][0]];
+ }
+ fields[i++] = oRange[x][1];
+ bValid = false;
+ }
+ }
+ }
+ if (fields.length > 0) {
+ focusField.focus();
+ alert(fields.join('\n'));
+ }
+ return bValid;
+ }]]>
+ </javascript>
+
+ </validator>
+
+ <validator name="floatRange"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateFloatRange"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends="float"
+ msg="errors.range">
+
+ <javascript><![CDATA[
+ function validateFloatRange(form) {
+ var bValid = true;
+ var focusField = null;
+ var i = 0;
+ var fields = new Array();
+ oRange = new floatRange();
+ for (x in oRange) {
+ if ((form[oRange[x][0]].type == 'text' ||
+ form[oRange[x][0]].type == 'textarea') &&
+ (form[oRange[x][0]].value.length > 0)) {
+ var fMin = parseFloat(oRange[x][2]("min"));
+ var fMax = parseFloat(oRange[x][2]("max"));
+ var fValue = parseFloat(form[oRange[x][0]].value);
+ if (!(fValue >= fMin && fValue <= fMax)) {
+ if (i == 0) {
+ focusField = form[oRange[x][0]];
+ }
+ fields[i++] = oRange[x][1];
+ bValid = false;
+ }
+ }
+ }
+ if (fields.length > 0) {
+ focusField.focus();
+ alert(fields.join('\n'));
+ }
+ return bValid;
+ }]]>
+ </javascript>
+
+ </validator>
+
+ <validator name="creditCard"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateCreditCard"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends=""
+ msg="errors.creditcard">
+
+ <javascript><![CDATA[
+ function validateCreditCard(form) {
+ var bValid = true;
+ var focusField = null;
+ var i = 0;
+ var fields = new Array();
+ oCreditCard = new creditCard();
+ for (x in oCreditCard) {
+ if ((form[oCreditCard[x][0]].type == 'text' ||
+ form[oCreditCard[x][0]].type == 'textarea') &&
+ (form[oCreditCard[x][0]].value.length > 0)) {
+ if (!luhnCheck(form[oCreditCard[x][0]].value)) {
+ if (i == 0) {
+ focusField = form[oCreditCard[x][0]];
+ }
+ fields[i++] = oCreditCard[x][1];
+ bValid = false;
+ }
+ }
+ }
+ if (fields.length > 0) {
+ focusField.focus();
+ alert(fields.join('\n'));
+ }
+ return bValid;
+ }
+
+ /**
+ * Reference: http://www.ling.nwu.edu/~sburke/pub/luhn_lib.pl
+ */
+ function luhnCheck(cardNumber) {
+ if (isLuhnNum(cardNumber)) {
+ var no_digit = cardNumber.length;
+ var oddoeven = no_digit & 1;
+ var sum = 0;
+ for (var count = 0; count < no_digit; count++) {
+ var digit = parseInt(cardNumber.charAt(count));
+ if (!((count & 1) ^ oddoeven)) {
+ digit *= 2;
+ if (digit > 9) digit -= 9;
+ };
+ sum += digit;
+ };
+ if (sum == 0) return false;
+ if (sum % 10 == 0) return true;
+ };
+ return false;
+ }
+
+ function isLuhnNum(argvalue) {
+ argvalue = argvalue.toString();
+ if (argvalue.length == 0) {
+ return false;
+ }
+ for (var n = 0; n < argvalue.length; n++) {
+ if ((argvalue.substring(n, n+1) < "0") ||
+ (argvalue.substring(n,n+1) > "9")) {
+ return false;
+ }
+ }
+ return true;
+ }]]>
+ </javascript>
+
+ </validator>
+
+
+ <validator name="email"
+ classname="org.apache.struts.validator.FieldChecks"
+ method="validateEmail"
+ methodParams="java.lang.Object,
+ org.apache.commons.validator.ValidatorAction,
+ org.apache.commons.validator.Field,
+ org.apache.struts.action.ActionErrors,
+ javax.servlet.http.HttpServletRequest"
+ depends=""
+ msg="errors.email">
+
+ <javascript><![CDATA[
+ function validateEmail(form) {
+ var bValid = true;
+ var focusField = null;
+ var i = 0;
+ var fields = new Array();
+ oEmail = new email();
+ for (x in oEmail) {
+ if ((form[oEmail[x][0]].type == 'text' ||
+ form[oEmail[x][0]].type == 'textarea') &&
+ (form[oEmail[x][0]].value.length > 0)) {
+ if (!checkEmail(form[oEmail[x][0]].value)) {
+ if (i == 0) {
+ focusField = form[oEmail[x][0]];
+ }
+ fields[i++] = oEmail[x][1];
+ bValid = false;
+ }
+ }
+ }
+ if (fields.length > 0) {
+ focusField.focus();
+ alert(fields.join('\n'));
+ }
+ return bValid;
+ }
+
+ /**
+ * Reference: Sandeep V. Tamhankar (stamhankar(a)hotmail.com),
+ * http://javascript.internet.com
+ */
+ function checkEmail(emailStr) {
+ if (emailStr.length == 0) {
+ return true;
+ }
+ var emailPat=/^(.+)(a)(.+)$/;
+ var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]";
+ var validChars="\[^\\s" + specialChars + "\]";
+ var quotedUser="(\"[^\"]*\")";
+ var ipDomainPat=/^(\d{1,3})[.](\d{1,3})[.](\d{1,3})[.](\d{1,3})$/;
+ var atom=validChars + '+';
+ var word="(" + atom + "|" + quotedUser + ")";
+ var userPat=new RegExp("^" + word + "(\\." + word + ")*$");
+ var domainPat=new RegExp("^" + atom + "(\\." + atom + ")*$");
+ var matchArray=emailStr.match(emailPat);
+ if (matchArray == null) {
+ return false;
+ }
+ var user=matchArray[1];
+ var domain=matchArray[2];
+ if (user.match(userPat) == null) {
+ return false;
+ }
+ var IPArray = domain.match(ipDomainPat);
+ if (IPArray != null) {
+ for (var i = 1; i <= 4; i++) {
+ if (IPArray[i] > 255) {
+ return false;
+ }
+ }
+ return true;
+ }
+ var domainArray=domain.match(domainPat);
+ if (domainArray == null) {
+ return false;
+ }
+ var atomPat=new RegExp(atom,"g");
+ var domArr=domain.match(atomPat);
+ var len=domArr.length;
+ if ((domArr[domArr.length-1].length < 2) ||
+ (domArr[domArr.length-1].length > 3)) {
+ return false;
+ }
+ if (len < 2) {
+ return false;
+ }
+ return true;
+ }]]>
+ </javascript>
+
+ </validator>
+
+ </global>
+
+</form-validation>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/web.xml
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/web.xml (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/web.xml 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+ <display-name>StrutsTest</display-name>
+ <!-- Action Servlet Configuration -->
+ <servlet>
+ <servlet-name>action</servlet-name>
+ <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
+ <init-param>
+ <param-name>config</param-name>
+ <param-value>/WEB-INF/struts-config.xml</param-value>
+ </init-param>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <!-- Action Servlet Mapping -->
+ <servlet-mapping>
+ <servlet-name>action</servlet-name>
+ <url-pattern>*.do</url-pattern>
+ </servlet-mapping>
+ <!-- The Usual Welcome File List -->
+ <welcome-file-list>
+ <welcome-file>index.jsp</welcome-file>
+ </welcome-file-list>
+ <taglib>
+ <taglib-uri>/WEB-INF/struts-bean</taglib-uri>
+ <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
+ </taglib>
+ <taglib>
+ <taglib-uri>/WEB-INF/struts-logic</taglib-uri>
+ <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
+ </taglib>
+ <taglib>
+ <taglib-uri>/WEB-INF/struts-html</taglib-uri>
+ <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
+ </taglib>
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ </login-config>
+</web-app>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/index.jsp
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/index.jsp (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/index.jsp 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,2 @@
+<%@ taglib uri="/WEB-INF/struts-logic" prefix="logic" %>
+<logic:redirect forward="getName"/>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/base.jsp
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/base.jsp (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/base.jsp 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,10 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html>
+<head>
+</head>
+<body>
+
+<html:base />
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/errors.jsp
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/errors.jsp (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/errors.jsp 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,9 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:errors property="org.apache.struts.action.GLOBAL_ERROR"/>
+</body>
+</html:html>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/frame.jsp
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/frame.jsp (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/frame.jsp 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,12 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+
+ <html:frame href="./test.jsp">
+
+ </html:frame>
+</body>
+</html:html>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/html.jsp
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/html.jsp (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/html.jsp 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,9 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+
+</body>
+</html:html>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/image.jsp
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/image.jsp (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/image.jsp 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,9 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:image src="test.gif" />
+</body>
+</html:html>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/img.jsp
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/img.jsp (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/img.jsp 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,9 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:img page="test.gif" style="width:100;height:100"/>
+</body>
+</html:html>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/link.jsp
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/link.jsp (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/link.jsp 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,9 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:link href="test.jsp">test.jsp</html:link>
+</body>
+</html:html>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/messages.jsp
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/messages.jsp (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/messages.jsp 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,13 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:messages id="aa">
+
+
+
+ </html:messages>
+</body>
+</html:html>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/rewrite.jsp
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/rewrite.jsp (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/rewrite.jsp 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,9 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:rewrite href="test.jsp" name="test"/>
+</body>
+</html:html>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/test.gif
===================================================================
(Binary files differ)
Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/test.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/test.jsp
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/test.jsp (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/test.jsp 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,9 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <p>Some text...</p>
+</body>
+</html:html>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/greeting.jsp
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/greeting.jsp (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/greeting.jsp 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,14 @@
+<html>
+<head>
+ <title>KickStart: Greeting</title>
+</head>
+<body>
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td>
+ <h1><%=request.getAttribute("greeting")%></h1>
+ </td>
+ </tr>
+ </table>
+</body>
+</html>
\ No newline at end of file
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/inputname.jsp
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/inputname.jsp (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/inputname.jsp 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,22 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+
+<html:html>
+<head>
+ <title>KickStart: Input name</title>
+</head>
+<body>
+ <html:form action="/greeting.do">
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><b>Input name:</b></td>
+ </tr>
+ <tr>
+ <td>
+ <html:text property="name" />
+ <html:submit value=" Say Hello! " />
+ </td>
+ </tr>
+ </table>
+ </html:form>
+</body>
+</html:html>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/ant/build.properties
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/ant/build.properties (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/ant/build.properties 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,3 @@
+#
+#Wed Jan 09 19:09:36 MSK 2008
+classpath.external=Y\:\\workspaces\\runtime-New_configuration\\.metadata\\.plugins\\org.jboss.tools.common.projecttemplates\\lib\\servlet\\2.3\\servlet.jar;
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/ant/build.xml
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/ant/build.xml (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/ant/build.xml 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,78 @@
+<project name="empty" basedir="../" default="build">
+
+ <!-- Local system paths -->
+ <property file="${basedir}/ant/build.properties"/>
+ <property name="webroot.dir" value="${basedir}/WebContent"/>
+ <property name="webinf.dir" value="${webroot.dir}/WEB-INF"/>
+ <property name="build.dir" value="build"/>
+
+ <!-- Project settings -->
+ <property name="project.distname" value="empty"/>
+
+ <!-- classpath for Struts 1.1 -->
+ <path id="compile.classpath">
+ <pathelement path ="${webinf.dir}/lib/commons-beanutils.jar"/>
+ <pathelement path ="${webinf.dir}/lib/commons-digester.jar"/>
+ <pathelement path ="${webinf.dir}/lib/struts.jar"/>
+ <pathelement path ="${webinf.dir}/classes"/>
+ <pathelement path ="${classpath.external}"/>
+ <pathelement path ="${classpath}"/>
+ </path>
+
+ <!-- Check timestamp on files -->
+ <target name="prepare">
+ <tstamp/>
+ </target>
+
+ <!-- Copy any resource or configuration files -->
+ <target name="resources">
+ <copy todir="${webinf.dir}/classes" includeEmptyDirs="no">
+ <fileset dir="JavaSource">
+ <patternset>
+ <include name="**/*.conf"/>
+ <include name="**/*.properties"/>
+ <include name="**/*.xml"/>
+ </patternset>
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- Normal build of application -->
+ <target name="compile" depends="prepare,resources">
+ <javac srcdir="JavaSource" destdir="${webinf.dir}/classes">
+ <classpath refid="compile.classpath"/>
+ </javac>
+ </target>
+
+ <!-- Remove classes directory for clean build -->
+ <target name="clean"
+ description="Prepare for clean build">
+ <delete dir="${webinf.dir}/classes"/>
+ <mkdir dir="${webinf.dir}/classes"/>
+ </target>
+
+ <!-- Build entire project -->
+ <target name="build" depends="prepare,compile"/>
+ <target name="rebuild" depends="clean,prepare,compile"/>
+
+ <!-- Create binary distribution -->
+ <!--target name="war" depends="build">
+ <mkdir dir="${build.dir}"/>
+ <war
+ basedir="${webroot.dir}"
+ warfile="${build.dir}/${project.distname}.war"
+ webxml="${webinf.dir}/web.xml">
+ <exclude name="WEB-INF/${build.dir}/**"/>
+ <exclude name="WEB-INF/src/**"/>
+ <exclude name="WEB-INF/web.xml"/>
+ </war>
+
+ </target-->
+
+ <!--target name="deploy" depends="war">
+ <delete file="${deploy.dir}/${project.distname}.war"/>
+ <delete dir="${deploy.dir}/${project.distname}"/>
+ <copy file="${build.dir}/${project.distname}.war" todir="${deploy.dir}"/>
+ </target-->
+
+</project>
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsAllTests.java
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsAllTests.java (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsAllTests.java 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.struts.vpe.struts.test;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * Class for testing all RichFaces components
+ *
+ * @author sdzmitrovich
+ *
+ */
+
+public class StrutsAllTests {
+
+ public static Test suite() {
+
+ TestSuite suite = new TestSuite("Tests for Vpe Struts components"); // $NON-NLS-1$
+ // $JUnit-BEGIN$
+ suite.addTestSuite(StrutsComponentTest.class);
+ //cleanUpTests();
+ // $JUnit-END$
+ return suite;
+
+ }
+
+}
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsComponentTest.java
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsComponentTest.java (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsComponentTest.java 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,75 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.struts.vpe.struts.test;
+
+import org.jboss.tools.vpe.ui.test.VpeTest;
+
+/**
+ * Class for testing all struts components
+ *
+ * @author sdzmitrovich
+ *
+ */
+public class StrutsComponentTest extends VpeTest {
+
+ // import project name
+ private static final String IMPORT_PROJECT_NAME = "StrutsTest";
+
+ public StrutsComponentTest(String name) {
+ super(name, IMPORT_PROJECT_NAME, StrutsTestPlugin.getPluginResourcePath());
+ }
+
+ /*
+ * Struts HTML test cases
+ */
+
+ public void testBase() throws Throwable {
+ performTestForJsfComponent("components/base.jsp"); // $NON-NLS-1$
+ }
+
+ public void testErrors() throws Throwable {
+ performTestForJsfComponent("components/errors.jsp"); // $NON-NLS-1$
+ }
+
+ public void testFrame() throws Throwable {
+ performTestForJsfComponent("components/frame.jsp"); // $NON-NLS-1$
+ }
+
+ public void testHtml() throws Throwable {
+ performTestForJsfComponent("components/html.jsp"); // $NON-NLS-1$
+ }
+
+ public void testImage() throws Throwable {
+ performTestForJsfComponent("components/image.jsp"); // $NON-NLS-1$
+ }
+
+ public void testImg() throws Throwable {
+ performTestForJsfComponent("components/img.jsp"); // $NON-NLS-1$
+ }
+
+ public void testLink() throws Throwable {
+ performTestForJsfComponent("components/link.jsp"); // $NON-NLS-1$
+ }
+
+ public void testRewrite() throws Throwable {
+ performTestForJsfComponent("components/rewrite.jsp"); // $NON-NLS-1$
+ }
+
+ public void testMessages() throws Throwable {
+ performTestForJsfComponent("components/messages.jsp"); // $NON-NLS-1$
+ }
+
+
+
+
+
+
+}
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsTestPlugin.java
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsTestPlugin.java (rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsTestPlugin.java 2008-01-10 17:40:12 UTC (rev 5589)
@@ -0,0 +1,85 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+package org.jboss.tools.struts.vpe.struts.test;
+
+import java.net.URL;
+
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.Platform;
+import org.jboss.tools.common.log.BaseUIPlugin;
+import org.jboss.tools.common.log.IPluginLog;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class StrutsTestPlugin extends BaseUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.struts.vpe.struts.test";
+
+ // The shared instance
+ private static StrutsTestPlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public StrutsTestPlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static StrutsTestPlugin getDefault() {
+ return plugin;
+ }
+
+ public static IPluginLog getPluginLog() {
+ return getDefault();
+ }
+
+ public static String getPluginResourcePath() {
+ Bundle bundle = Platform.getBundle(PLUGIN_ID);
+ URL url = null;
+ try {
+ url = bundle == null ? null : FileLocator.resolve(bundle
+ .getEntry("/resources")); // $NON-NLS-1$
+ } catch (Exception e) {
+ url = bundle.getEntry("/resources"); // $NON-NLS-1$
+ }
+ return (url == null) ? null : url.getPath();
+ }
+
+}
16 years, 5 months
JBoss Tools SVN: r5587 - in branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces: resources/orderingList and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2008-01-10 11:49:26 -0500 (Thu, 10 Jan 2008)
New Revision: 5587
Added:
branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/
branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/bottom.gif
branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/down.gif
branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/orderingList.css
branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/top.gif
branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/up.gif
branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java
Modified:
branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/ComponentUtil.java
branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml
Log:
rich faces orderingList template
Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/bottom.gif
===================================================================
(Binary files differ)
Property changes on: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/bottom.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/down.gif
===================================================================
(Binary files differ)
Property changes on: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/down.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/orderingList.css
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/orderingList.css (rev 0)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/orderingList.css 2008-01-10 16:49:26 UTC (rev 5587)
@@ -0,0 +1,123 @@
+.dr-table {
+ border-top: 1px solid;
+ border-left: 1px solid;
+ border-color: #C4C0B9;
+}
+
+.dr-table-cell {
+ border-right: 1px solid;
+ border-bottom: 1px solid;
+ border-color: #C4C0B9;
+ padding: 4px 4px 4px 4px;
+ font-size: 11px;
+ color: #000000;
+ font-family: Arial, Verdana, sans-serif;
+}
+
+.dr-subtable-cell {
+ border-right: 1px solid;
+ border-bottom: 1px solid;
+ border-color: #C4C0B9;
+ padding: 4px 4px 4px 4px;
+ font-size: 11px;
+ color: #000000;
+ font-family: Arial, Verdana, sans-serif;
+}
+
+.dr-table-header {
+ background-color: #D4CFC7;
+ background-position: top left;
+ background-repeat: repeat-x;
+}
+
+.dr-table-header-continue {
+ background-color: #D4CFC7;
+}
+
+.dr-table-headercell {
+ border-right: 1px solid;
+ border-bottom: 1px solid;
+ border-color: #C4C0B9;
+ padding: 4px 4px 4px 4px;
+ color: #000000;
+ text-align: center;
+ font-weight: bold;
+ font-size: 11px;
+ font-family: Arial, Verdana, sans-serif;
+}
+
+.dr-table-subheader {
+ background-color: #F1EEE9;
+}
+
+.dr-table-subheadercell {
+ border-right: 1px solid;
+ border-bottom: 1px solid;
+ border-color: #C4C0B9;
+ padding: 4px 4px 4px 4px;
+ text-align: center;
+ font-size: 11px;
+ font-color: #000000;
+ font-family: Arial, Verdana, sans-serif;
+}
+
+.dr-table-footercell {
+ border-right: 1px solid;
+ border-bottom: 1px solid;
+ border-color: #C4C0B9;
+ padding: 4px 4px 4px 4px;
+ color: #000000;
+ text-align: left;
+ font-weight: bold;
+ font-size: 11px;
+ font-family: Arial, Verdana, sans-serif;
+}
+
+.dr-table-subfootercell {
+ border-right: 1px solid;
+ border-bottom: 1px solid;
+ border-color: #C4C0B9;
+ padding: 4px 4px 4px 4px;
+ text-align: left;
+ font-size: 11px;
+ color: #000000;
+ font-family: Arial, Verdana, sans-serif;
+}
+
+.dr-subtable-header {
+ background-color: #F1EEE9;
+}
+
+.dr-subtable-headercell {
+ border-right: 1px solid;
+ border-bottom: 1px solid;
+ border-color: #C4C0B9;
+ padding: 4px 4px 4px 4px;
+ text-align: center;
+ font-size: 11px;
+ color: #000000;
+ font-family: Arial, Verdana, sans-serif;
+}
+
+.dr-subtable-footercell {
+ border-right: 1px solid;
+ border-bottom: 1px solid;
+ border-color: #C4C0B9;
+ padding: 4px 4px 4px 4px;
+ text-align: left;
+}
+
+.dr-spr {
+ display: block;
+}
+
+.dr-table-hidden {
+ overflow: hidden;
+ border: solid 1px #C4C0C9;
+}
+
+.dr-control-buttons {
+ font-size: 11px;
+ color: #000000;
+ font-family: Arial, Verdana, sans-serif;
+}
Property changes on: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/orderingList.css
___________________________________________________________________
Name: svn:mime-type
+ text/css
Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/top.gif
===================================================================
(Binary files differ)
Property changes on: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/top.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/up.gif
===================================================================
(Binary files differ)
Property changes on: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingList/up.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/ComponentUtil.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/ComponentUtil.java 2008-01-10 16:30:43 UTC (rev 5586)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/ComponentUtil.java 2008-01-10 16:49:26 UTC (rev 5587)
@@ -436,4 +436,24 @@
} else
visualNode.removeAttribute(attrName);
}
+
+ /**
+ * Parses string value retrieved from
+ * sourceElement.getAttribure(..) method
+ * to its boolean value.
+ * <p>
+ * <code>false</code> is returned only if it specified explicitly,
+ * otherwise <code>true</code> is returned.
+ *
+ * @param str the string to parse
+ * @return boolean value from string
+ */
+ public static boolean string2boolean(String str) {
+ if ((str == null) || ("".equals(str))) {
+ return true;
+ } else if (("true".equalsIgnoreCase(str)) || ("false".equalsIgnoreCase(str))) {
+ return new Boolean(str).booleanValue();
+ }
+ return true;
+ }
}
\ No newline at end of file
Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java (rev 0)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java 2008-01-10 16:49:26 UTC (rev 5587)
@@ -0,0 +1,755 @@
+/**
+ *
+ */
+package org.jboss.tools.jsf.vpe.richfaces.template;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.tools.jsf.vpe.richfaces.ComponentUtil;
+import org.jboss.tools.jsf.vpe.richfaces.HtmlComponentUtil;
+import org.jboss.tools.jsf.vpe.richfaces.RichFacesTemplatesActivator;
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+/**
+ * @author dmaliarevich
+ *
+ */
+public class RichFacesOrderingList extends VpeAbstractTemplate {
+
+ final static String DEFAULT_HEIGHT = "200px";
+ final static String DEFAULT_WIDTH = "300px";
+ final static String HEADER = "header";
+ final static String HEADER_CLASS = "headerClass";
+ final static String FOOTER = "footer";
+ final static String FOOTER_CLASS = "footerClass";
+ final static String CAPTION_CLASS = "captionClass";
+ final static String CAPTION_STYLE = "captionStyle";
+ final static String SPACE = " ";
+
+ private static String STYLE_FOR_CAPTOION_LABEL = "white-space: normal; word-wrap: break-word; font-weight: bold; ";
+ private static String STYLE_FOR_LOW_SCROLL = "overflow: scroll; width: 100%; height: 17px;";
+ private static String STYLE_FOR_RIGHT_SCROLL = "overflow: scroll; width: 17px; height: 100%;";
+
+ private static int NUM_ROW = 5;
+
+ private static final String TOP_CONTROL_IMG = "orderingList/top.gif";
+ private static final String UP_CONTROL_IMG = "orderingList/up.gif";
+ private static final String DOWN_CONTROL_IMG = "orderingList/down.gif";
+ private static final String BOTTOM_CONTROL_IMG = "orderingList/bottom.gif";
+
+ private static final String LIST_WIDTH = "listWidth";
+ private static final String LIST_HEIGHT = "listHeight";
+
+ private static final String TOP_CONTROL_LABEL = "topControlLabel";
+ private static final String UP_CONTROL_LABEL = "upControlLabel";
+ private static final String DOWN_CONTROL_LABEL = "downControlLabel";
+ private static final String BOTTOM_CONTROL_LABEL = "bottomControlLabel";
+
+ private static final String TOP_CONTROL_LABEL_DEFAULT = "First";
+ private static final String UP_CONTROL_LABEL_DEFAULT = "Up";
+ private static final String DOWN_CONTROL_LABEL_DEFAULT = "Down";
+ private static final String BOTTOM_CONTROL_LABEL_DEFAULT = "Last";
+
+ private static final String CAPTION_LABEL = "captionLabel";
+ private static final String CONTROLS_VERTICAL_ALIGN = "controlsVerticalAlign";
+ private static final String SHOW_BUTTON_LABELS = "showButtonLabels";
+ private static final String FAST_ORDER_CONTROL_VISIBLE = "fastOrderControlsVisible";
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.tools.vpe.editor.context.VpePageContext,
+ * org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument)
+ */
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+
+ Element sourceElement = (Element) sourceNode;
+
+ String listWidth = sourceElement.getAttribute(LIST_WIDTH);
+ String listHeight = sourceElement.getAttribute(LIST_HEIGHT);
+
+ String topControlLabel = sourceElement.getAttribute(TOP_CONTROL_LABEL);
+ String upControlLabel = sourceElement.getAttribute(UP_CONTROL_LABEL);
+ String downControlLabel = sourceElement
+ .getAttribute(DOWN_CONTROL_LABEL);
+ String bottomControlLabel = sourceElement
+ .getAttribute(BOTTOM_CONTROL_LABEL);
+
+ String showButtonLabelsStr = sourceElement
+ .getAttribute(SHOW_BUTTON_LABELS);
+ String fastOrderControlsVisibleStr = sourceElement
+ .getAttribute(FAST_ORDER_CONTROL_VISIBLE);
+ boolean showButtonLabels = ComponentUtil
+ .string2boolean(showButtonLabelsStr);
+ boolean fastOrderControlsVisible = ComponentUtil
+ .string2boolean(fastOrderControlsVisibleStr);
+
+ String controlsVerticalAlign = sourceElement
+ .getAttribute(CONTROLS_VERTICAL_ALIGN);
+ String captionLabel = sourceElement.getAttribute(CAPTION_LABEL);
+
+ // --------------------- COMMON TABLE ------------------------
+ nsIDOMElement tableCommon = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TABLE);
+
+ VpeCreationData creationData = new VpeCreationData(tableCommon);
+
+ nsIDOMElement row1 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TR);
+ nsIDOMElement row2 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TR);
+
+ tableCommon.appendChild(row1);
+ tableCommon.appendChild(row2);
+
+ // ---------------------row1------------------------
+ nsIDOMElement row1_TD1 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TD);
+ row1.appendChild(row1_TD1);
+
+ nsIDOMElement row1_TD1_DIV = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_DIV);
+ row1_TD1_DIV.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR,
+ STYLE_FOR_CAPTOION_LABEL
+ + "width: " + (listWidth == null ? DEFAULT_WIDTH : listWidth) + "px");
+ row1_TD1_DIV.appendChild(visualDocument
+ .createTextNode(captionLabel));
+ row1_TD1.appendChild(row1_TD1_DIV);
+
+ // ---------------------row2------------------------
+ nsIDOMElement row2_TD1 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TD);
+ row2.appendChild(row2_TD1);
+
+ nsIDOMElement row2_TD2 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TD);
+ row2.appendChild(row2_TD2);
+
+ // ---------------------buttonsTable------------------------
+ nsIDOMElement buttonsTable = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TABLE);
+
+ nsIDOMElement btnRow1 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TR);
+ nsIDOMElement btnRow1_TD = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TD);
+ btnRow1.appendChild(btnRow1_TD);
+
+ nsIDOMElement btnRow2 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TR);
+ nsIDOMElement btnRow2_TD = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TD);
+ btnRow2.appendChild(btnRow2_TD);
+
+ nsIDOMElement btnRow3 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TR);
+ nsIDOMElement btnRow3_TD = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TD);
+ btnRow3.appendChild(btnRow3_TD);
+
+ nsIDOMElement btnRow4 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TR);
+ nsIDOMElement btnRow4_TD = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TD);
+ btnRow4.appendChild(btnRow4_TD);
+
+ nsIDOMElement btnUp = createButton(visualDocument,
+ (null == upControlLabel ? UP_CONTROL_LABEL_DEFAULT
+ : upControlLabel), UP_CONTROL_IMG, new Boolean(
+ showButtonLabels).booleanValue());
+ nsIDOMElement btnDown = createButton(visualDocument,
+ (null == downControlLabel ? DOWN_CONTROL_LABEL_DEFAULT
+ : downControlLabel), DOWN_CONTROL_IMG, new Boolean(
+ showButtonLabels).booleanValue());
+ btnRow2_TD.appendChild(btnUp);
+ btnRow3_TD.appendChild(btnDown);
+
+ if (fastOrderControlsVisible) {
+ nsIDOMElement btnTop = createButton(visualDocument,
+ (null == topControlLabel ? TOP_CONTROL_LABEL_DEFAULT
+ : topControlLabel), TOP_CONTROL_IMG, new Boolean(
+ showButtonLabels).booleanValue());
+ nsIDOMElement btnBottom = createButton(visualDocument,
+ (null == bottomControlLabel ? BOTTOM_CONTROL_LABEL_DEFAULT
+ : bottomControlLabel), BOTTOM_CONTROL_IMG,
+ new Boolean(showButtonLabels).booleanValue());
+ btnRow1_TD.appendChild(btnTop);
+ btnRow4_TD.appendChild(btnBottom);
+ }
+
+ buttonsTable.appendChild(btnRow1);
+ buttonsTable.appendChild(btnRow2);
+ buttonsTable.appendChild(btnRow3);
+ buttonsTable.appendChild(btnRow4);
+
+ row2_TD2.setAttribute(HtmlComponentUtil.HTML_ALIGN_ATTR, "center");
+ row2_TD2.setAttribute(HtmlComponentUtil.HTML_ATTR_VALIGN, ("center".equalsIgnoreCase(controlsVerticalAlign) ? "middle" : controlsVerticalAlign));
+ row2_TD2.appendChild(buttonsTable);
+
+ // --------------------------------------------
+
+ // ---------------------listTable------------------------
+ nsIDOMElement listTable = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TABLE);
+
+ nsIDOMElement tr1 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TR);
+ nsIDOMElement tr2 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TR);
+
+ listTable.appendChild(tr1);
+ listTable.appendChild(tr2);
+
+ row2_TD1.appendChild(listTable);
+
+ // ---------------------tr1------------------------
+ nsIDOMElement tr1_TD1 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TD);
+ tr1.appendChild(tr1_TD1);
+
+ nsIDOMElement tr1_TD2 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TD);
+ tr1.appendChild(tr1_TD2);
+
+ nsIDOMElement tr1_td2_DIV = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_DIV);
+ tr1_td2_DIV.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR,
+ STYLE_FOR_RIGHT_SCROLL);
+ tr1_TD2.appendChild(tr1_td2_DIV);
+
+ // -------------------------------------------------------
+
+ // ---------------------tr2------------------------
+ nsIDOMElement tr2_TD = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TD);
+ tr2.appendChild(tr2_TD);
+
+ nsIDOMElement tr2_td_DIV = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_DIV);
+ tr2_td_DIV.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR,
+ STYLE_FOR_LOW_SCROLL);
+ tr2_TD.appendChild(tr2_td_DIV);
+
+ // --------------------------------------------
+
+ nsIDOMElement div = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_DIV);
+ tr1_TD1.appendChild(div);
+ div.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "dr-table-hidden");
+
+ String divStyle = HtmlComponentUtil.HTML_WIDTH_ATTR + " : "
+ + (listWidth == null ? DEFAULT_WIDTH : listWidth) + ";"
+ + HtmlComponentUtil.HTML_HEIGHT_ATTR + " : "
+ + (listHeight == null ? DEFAULT_HEIGHT : listHeight) + ";";
+
+ div.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, divStyle);
+
+ nsIDOMElement table = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TABLE);
+ ComponentUtil.copyAttributes(sourceNode, table);
+ table.removeAttribute(HtmlComponentUtil.HTML_ATR_HEIGHT);
+ div.appendChild(table);
+
+ ComponentUtil.setCSSLink(pageContext, "orderingList/orderingList.css",
+ "richFacesOrderingList");
+ String tableClass = sourceElement
+ .getAttribute(HtmlComponentUtil.HTML_STYLECLASS_ATTR);
+ table
+ .setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
+ "dr-table rich-table "
+ + (tableClass == null ? "" : tableClass));
+
+ // Encode colgroup definition.
+ ArrayList<Element> columns = getColumns(sourceElement);
+ int columnsLength = getColumnsCount(sourceElement, columns);
+ nsIDOMElement colgroup = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_COLGROUP);
+ colgroup.setAttribute(HtmlComponentUtil.HTML_TAG_SPAN, String
+ .valueOf(columnsLength));
+ table.appendChild(colgroup);
+
+ // Encode Caption
+ encodeCaption(creationData, sourceElement, visualDocument, table);
+
+ // Encode Header
+ Element header = ComponentUtil.getFacet(sourceElement, HEADER);
+ ArrayList<Element> columnsHeaders = getColumnsWithFacet(columns, HEADER);
+ if (header != null || !columnsHeaders.isEmpty()) {
+ nsIDOMElement thead = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_THEAD);
+ table.appendChild(thead);
+ String headerClass = (String) sourceElement
+ .getAttribute(HEADER_CLASS);
+ if (header != null) {
+ encodeTableHeaderFacet(creationData, thead, columnsLength,
+ visualDocument, header,
+ "dr-table-header rich-table-header",
+ "dr-table-header-continue rich-table-header-continue",
+ "dr-table-headercell rich-table-headercell",
+ headerClass, HtmlComponentUtil.HTML_TAG_TD);
+ }
+ if (!columnsHeaders.isEmpty()) {
+ nsIDOMElement tr = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TR);
+ thead.appendChild(tr);
+ String styleClass = encodeStyleClass(null,
+ "dr-table-subheader rich-table-subheader", null,
+ headerClass);
+ if (styleClass != null) {
+ tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
+ styleClass);
+ }
+ encodeHeaderFacets(creationData, tr, visualDocument,
+ columnsHeaders,
+ "dr-table-subheadercell rich-table-subheadercell",
+ headerClass, HEADER, HtmlComponentUtil.HTML_TAG_TD);
+ }
+ }
+
+ nsIDOMElement tbody = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TBODY);
+ table.appendChild(tbody);
+
+ // Create mapping to Encode body
+ for (int i = 0; i < NUM_ROW; i++) {
+ List<Node> children = ComponentUtil.getChildren(sourceElement);
+ boolean firstRow = true;
+ nsIDOMElement tr = null;
+ VpeChildrenInfo trInfo = null;
+ for (Node child : children) {
+ if (child.getNodeName().endsWith(":column")) {
+ String breakBefore = ((Element) child)
+ .getAttribute("breakBefore");
+ if (breakBefore != null
+ && breakBefore.equalsIgnoreCase("true")) {
+ tr = null;
+ }
+ if (tr == null) {
+ tr = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TR);
+ if (firstRow) {
+ tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
+ "dr-table-firstrow rich-table-firstrow");
+ firstRow = false;
+ } else {
+ tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
+ "dr-table-row rich-table-row");
+ }
+ trInfo = new VpeChildrenInfo(tr);
+ tbody.appendChild(tr);
+ creationData.addChildrenInfo(trInfo);
+ }
+ trInfo.addSourceChild(child);
+ } else if (child.getNodeName().endsWith(":columnGroup")) {
+ RichFacesColumnGroupTemplate.DEFAULT_INSTANCE.encode(
+ creationData, (Element) child, visualDocument,
+ tbody);
+ tr = null;
+ } else if (child.getNodeName().endsWith(":subTable")) {
+ RichFacesSubTableTemplate.DEFAULT_INSTANCE.encode(
+ creationData, (Element) child, visualDocument,
+ tbody);
+ tr = null;
+ } else {
+ VpeChildrenInfo childInfo = new VpeChildrenInfo(tbody);
+ childInfo.addSourceChild(child);
+ creationData.addChildrenInfo(childInfo);
+ tr = null;
+ }
+ }
+ }
+
+ return creationData;
+ }
+
+ /**
+ * Creates control button with image and label.
+ *
+ * @param visualDocument
+ * visual document
+ * @param btnName
+ * the button label
+ * @param imgPath
+ * path to the image
+ * @param showButtonLabels
+ * show button label flag
+ *
+ * @return the button
+ */
+ private nsIDOMElement createButton(nsIDOMDocument visualDocument,
+ String btnName, String imgPath, boolean showButtonLabels) {
+ nsIDOMElement btn = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_BUTTON);
+ btn.setAttribute(HtmlComponentUtil.HTML_TYPE_ATTR,
+ HtmlComponentUtil.HTML_TYPE_ATTR_BUTTON_VALUE);
+
+ nsIDOMElement btnImg = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_IMG);
+
+
+ String path = RichFacesTemplatesActivator.getPluginResourcePath()
+ + imgPath;
+ btnImg.setAttribute("src", "file://" + path);
+ if (showButtonLabels) {
+ nsIDOMElement table = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TABLE);
+
+ nsIDOMElement row1 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TR);
+ nsIDOMElement row1_TD1 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TD);
+ nsIDOMElement row1_TD2 = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TD);
+
+ row1_TD1.appendChild(btnImg);
+ row1_TD2.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "dr-control-buttons");
+ row1_TD2.appendChild(visualDocument.createTextNode(btnName));
+
+ row1.appendChild(row1_TD1);
+ row1.appendChild(row1_TD2);
+ table.appendChild(row1);
+ btn.appendChild(table);
+
+ } else {
+ btn.appendChild(btnImg);
+ }
+
+ return btn;
+ }
+
+ /**
+ *
+ * @param creationData
+ * @param sourceElement
+ * @param visualDocument
+ * @param table
+ */
+ protected void encodeCaption(VpeCreationData creationData,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMElement table) {
+ // Encode caption
+ Element captionFromFacet = ComponentUtil.getFacet(sourceElement,
+ HtmlComponentUtil.HTML_TAG_CAPTION);
+ if (captionFromFacet != null) {
+ String captionClass = (String) table.getAttribute(CAPTION_CLASS);
+ String captionStyle = (String) table.getAttribute(CAPTION_STYLE);
+
+ nsIDOMElement caption = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_CAPTION);
+ table.appendChild(caption);
+ if (captionClass != null && captionClass.length() > 0) {
+ captionClass = "dr-table-caption rich-table-caption "
+ + captionClass;
+ } else {
+ captionClass = "dr-table-caption rich-table-caption";
+ }
+ caption.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
+ captionClass);
+ if (captionStyle != null && captionStyle.length() > 0) {
+ caption.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR,
+ captionStyle);
+ }
+
+ VpeChildrenInfo cap = new VpeChildrenInfo(caption);
+ cap.addSourceChild(captionFromFacet);
+ creationData.addChildrenInfo(cap);
+ }
+
+ }
+
+ /**
+ *
+ * @param creationData
+ * @param parentTr
+ * @param visualDocument
+ * @param headersOrFooters
+ * @param skinCellClass
+ * @param headerClass
+ * @param facetName
+ * @param element
+ */
+ public static void encodeHeaderFacets(VpeCreationData creationData,
+ nsIDOMElement parentTr, nsIDOMDocument visualDocument,
+ ArrayList<Element> headersOrFooters, String skinCellClass,
+ String headerClass, String facetName, String element) {
+ for (Element column : headersOrFooters) {
+ String classAttribute = facetName + "Class";
+ String columnHeaderClass = column.getAttribute(classAttribute);
+ nsIDOMElement td = visualDocument.createElement(element);
+ parentTr.appendChild(td);
+ String styleClass = encodeStyleClass(null, skinCellClass,
+ headerClass, columnHeaderClass);
+ td.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass);
+ td.setAttribute("scop", "col");
+ String colspan = column
+ .getAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN);
+ if (colspan != null && colspan.length() > 0) {
+ td.setAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN, colspan);
+ }
+ Element facetBody = ComponentUtil.getFacet(column, facetName);
+
+ VpeChildrenInfo child = new VpeChildrenInfo(td);
+ child.addSourceChild(facetBody);
+ creationData.addChildrenInfo(child);
+ }
+ }
+
+ /**
+ *
+ * @param creationData
+ * @param parentTheadOrTfood
+ * @param columns
+ * @param visualDocument
+ * @param facetBody
+ * @param skinFirstRowClass
+ * @param skinRowClass
+ * @param skinCellClass
+ * @param facetBodyClass
+ * @param element
+ */
+ protected void encodeTableHeaderFacet(VpeCreationData creationData,
+ nsIDOMElement parentTheadOrTfood, int columns,
+ nsIDOMDocument visualDocument, Element facetBody,
+ String skinFirstRowClass, String skinRowClass,
+ String skinCellClass, String facetBodyClass, String element) {
+ boolean isColumnGroup = facetBody.getNodeName()
+ .endsWith(":columnGroup");
+ boolean isSubTable = facetBody.getNodeName().endsWith(":subTable");
+ if (isColumnGroup) {
+ RichFacesColumnGroupTemplate.DEFAULT_INSTANCE.encode(creationData,
+ facetBody, visualDocument, parentTheadOrTfood);
+ } else if (isSubTable) {
+ RichFacesSubTableTemplate.DEFAULT_INSTANCE.encode(creationData,
+ facetBody, visualDocument, parentTheadOrTfood);
+ } else {
+ nsIDOMElement tr = visualDocument
+ .createElement(HtmlComponentUtil.HTML_TAG_TR);
+ parentTheadOrTfood.appendChild(tr);
+
+ String styleClass = encodeStyleClass(null, skinFirstRowClass,
+ facetBodyClass, null);
+ if (styleClass != null) {
+ tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass);
+ }
+ String style = ComponentUtil.getHeaderBackgoundImgStyle();
+ tr.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, style);
+
+ nsIDOMElement td = visualDocument.createElement(element);
+ tr.appendChild(td);
+
+ styleClass = encodeStyleClass(null, skinCellClass, facetBodyClass,
+ null);
+ if (styleClass != null) {
+ td.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass);
+ }
+
+ if (columns > 0) {
+ td.setAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN, String
+ .valueOf(columns));
+ }
+ td.setAttribute(HtmlComponentUtil.HTML_SCOPE_ATTR,
+ HtmlComponentUtil.HTML_TAG_COLGROUP);
+
+ VpeChildrenInfo child = new VpeChildrenInfo(td);
+ child.addSourceChild(facetBody);
+ creationData.addChildrenInfo(child);
+ }
+ }
+
+ /**
+ *
+ * @param parentSourceElement
+ * @return list of columns
+ */
+ public static ArrayList<Element> getColumns(Element parentSourceElement) {
+ ArrayList<Element> columns = new ArrayList<Element>();
+ NodeList children = parentSourceElement.getChildNodes();
+ for (int i = 0; i < children.getLength(); i++) {
+ Node child = children.item(i);
+ if ((child instanceof Element)
+ && child.getNodeName().endsWith(":column")) {
+ columns.add((Element) child);
+ }
+ }
+ return columns;
+ }
+
+ /**
+ *
+ * @param columns
+ * @param facetName
+ * @return list of columns with facet
+ */
+ public static ArrayList<Element> getColumnsWithFacet(
+ ArrayList<Element> columns, String facetName) {
+ ArrayList<Element> columnsWithFacet = new ArrayList<Element>();
+ for (Element column : columns) {
+ Element body = ComponentUtil.getFacet(column, facetName);
+ if (body != null) {
+ columnsWithFacet.add(column);
+ }
+ }
+ return columnsWithFacet;
+ }
+
+ /**
+ *
+ * @param parentPredefined
+ * @param predefined
+ * @param parent
+ * @param custom
+ * @return
+ */
+ public static String encodeStyleClass(Object parentPredefined,
+ Object predefined, Object parent, Object custom) {
+ StringBuffer styleClass = new StringBuffer();
+ // Construct predefined classes
+ if (null != parentPredefined) {
+ styleClass.append(parentPredefined).append(SPACE);
+ } else if (null != predefined) {
+ styleClass.append(predefined).append(SPACE);
+ }
+ // Append class from parent component.
+ if (null != parent) {
+ styleClass.append(parent).append(SPACE);
+ }
+ if (null != custom) {
+ styleClass.append(custom);
+ }
+ if (styleClass.length() > 0) {
+ return styleClass.toString();
+ }
+ return null;
+ }
+
+ /**
+ *
+ * @param sourceElement
+ * @param columns
+ * @return
+ */
+ protected int getColumnsCount(Element sourceElement,
+ ArrayList<Element> columns) {
+ int count = 0;
+ // check for exact value in component
+ Integer span = null;
+ try {
+ span = Integer.valueOf(sourceElement.getAttribute("columns"));
+ } catch (Exception e) {
+ // Ignore bad attribute
+ }
+ if (null != span && span.intValue() != Integer.MIN_VALUE) {
+ count = span.intValue();
+ } else {
+ // calculate max html columns count for all columns/rows children.
+ count = calculateRowColumns(sourceElement, columns);
+ }
+ return count;
+ }
+
+ /*
+ * Calculate max number of columns per row. For rows, recursive calculate
+ * max length.
+ */
+ private int calculateRowColumns(Element sourceElement,
+ ArrayList<Element> columns) {
+ int count = 0;
+ int currentLength = 0;
+ for (Element column : columns) {
+ if (ComponentUtil.isRendered(column)) {
+ if (column.getNodeName().endsWith(":columnGroup")) {
+ // Store max calculated value of previous rows.
+ if (currentLength > count) {
+ count = currentLength;
+ }
+ // Calculate number of columns in row.
+ currentLength = calculateRowColumns(sourceElement,
+ getColumns(column));
+ // Store max calculated value
+ if (currentLength > count) {
+ count = currentLength;
+ }
+ currentLength = 0;
+ } else if (column.getNodeName().equals(
+ sourceElement.getPrefix() + ":column")) {
+ String breakBeforeStr = column.getAttribute("breakBefore");
+ boolean breakBefore = false;
+ if (breakBeforeStr != null) {
+ try {
+ breakBefore = Boolean.getBoolean(breakBeforeStr);
+ } catch (Exception e) {
+ // Ignore bad attribute
+ }
+ }
+ // For new row, save length of previous.
+ if (breakBefore) {
+ if (currentLength > count) {
+ count = currentLength;
+ }
+ currentLength = 0;
+ }
+ String colspanStr = column
+ .getAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN);
+ Integer colspan = null;
+ try {
+ colspan = Integer.valueOf(colspanStr);
+ } catch (Exception e) {
+ // Ignore
+ }
+ // Append colspan of this column
+ if (null != colspan
+ && colspan.intValue() != Integer.MIN_VALUE) {
+ currentLength += colspan.intValue();
+ } else {
+ currentLength++;
+ }
+ } else if (column.getNodeName().endsWith(":column")) {
+ // UIColumn always have colspan == 1.
+ currentLength++;
+ }
+
+ }
+ }
+ if (currentLength > count) {
+ count = currentLength;
+ }
+ return count;
+ }
+
+ /**
+ * Checks, whether it is necessary to re-create an element at change of
+ * attribute
+ *
+ * @param pageContext
+ * Contains the information on edited page.
+ * @param sourceElement
+ * The current element of the source tree.
+ * @param visualDocument
+ * The document of the visual tree.
+ * @param visualNode
+ * The current node of the visual tree.
+ * @param data
+ * The arbitrary data, built by a method <code>create</code>
+ * @param name
+ * Attribute name
+ * @param value
+ * Attribute value
+ * @return <code>true</code> if it is required to re-create an element at
+ * a modification of attribute, <code>false</code> otherwise.
+ */
+ public boolean isRecreateAtAttrChange(VpePageContext pageContext,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMElement visualNode, Object data, String name, String value) {
+ return true;
+ }
+}
Property changes on: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml 2008-01-10 16:30:43 UTC (rev 5586)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml 2008-01-10 16:49:26 UTC (rev 5587)
@@ -339,6 +339,46 @@
</vpe:template>
</vpe:tag>
+ <vpe:tag name="rich:orderingList" case-sensitive="yes">
+ <vpe:template children="yes" modify="no" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesOrderingList">
+ <vpe:resize>
+ <vpe:width width-attr="listWidth" />
+ <vpe:height height-attr="listHeight" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="column"/>
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" addChildren="deny"/>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ <vpe:pseudoContent defaultText="yes"/>
+ </vpe:template>
+ </vpe:tag>
+
<vpe:tag name="rich:column" case-sensitive="yes">
<vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesColumnTemplate">
16 years, 5 months
JBoss Tools SVN: r5586 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test: META-INF and 28 other directories.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-01-10 11:30:43 -0500 (Thu, 10 Jan 2008)
New Revision: 5586
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.classpath
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.project
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.classpath
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.project
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.jdt.core.prefs
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.wst.common.component
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.jboss.tools.jst.web.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/JavaSource/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/META-INF/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/META-INF/MANIFEST.MF
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/classes/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/faces-config.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/common-annotations.jar
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/commons-beanutils.jar
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/commons-collections.jar
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/commons-digester.jar
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/commons-logging.jar
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/jsf-tlds.jar
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/jstl.jar
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/standard.jar
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/web.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/css/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/css/stylesheet.css
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/img/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/img/image.jpeg
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/index.jsp
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/div.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dl.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/lists.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/span.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/a.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/address.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/basic.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/link.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/style.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/title.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/button.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/fieldset.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/form.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/input.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/label.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/select.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/textArea.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frameset.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/iframe.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/temp/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/temp/ifr.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/temp/left.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/temp/right.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/scripts/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/scripts/script.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/complex_table.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/table.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/ins.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/kbd.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/p.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/pre.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/q.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/samp.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/small.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/strong.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sub.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sup.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/tt.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/var.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/ant/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/ant/build.properties
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/ant/build.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlAllTests.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlComponentTest.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlTestPlugin.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1566
added junit tests for html tags
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.classpath
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.classpath (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.classpath 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.project
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.project (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.project 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.jsf.vpe.html.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,20 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Test Html Plug-in
+Bundle-SymbolicName: org.jboss.tools.jsf.vpe.html.test
+Bundle-Version: 1.0.0
+Bundle-Activator: org.jboss.tools.jsf.vpe.html.test.HtmlTestPlugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.vpe,
+ org.junit,
+ org.eclipse.core.resources,
+ org.eclipse.ui.ide,
+ org.jboss.tools.common,
+ org.jboss.tools.jst.jsp,
+ org.jboss.tools.common.text.ext,
+ org.jboss.tools.common.model,
+ org.jboss.tools.vpe.xulrunner,
+ org.mozilla.xpcom,
+ org.jboss.tools.jsf.vpe.ui.test
+Eclipse-LazyStart: true
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,8 @@
+bin.includes = META-INF/,\
+ html-test.jar
+src.includes = META-INF/,\
+ build.properties,\
+ src/
+jars.compile.order = html-test.jar
+source.html-test.jar = src/
+output.html-test.jar = bin/
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.classpath
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.classpath (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.classpath 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="JavaSource"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.5.0_13"/>
+ <classpathentry kind="con" path="org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer/JBoss 4.2 Runtime"/>
+ <classpathentry kind="output" path="WebContent/WEB-INF/classes"/>
+</classpath>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.project
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.project (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.project 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>htmlTest</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.common.verification.verifybuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.jboss.tools.jsf.jsfnature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ </natures>
+</projectDescription>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.jdt.core.prefs 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,7 @@
+#Tue Jan 08 11:51:26 GMT+02:00 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.jst.common.project.facet.core.prefs (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.jst.common.project.facet.core.prefs 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,4 @@
+#Tue Jan 08 11:51:27 GMT+02:00 2008
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_13/owners=jst.java\:5.0
+classpath.helper/org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer\:\:JBoss\ 4.2\ Runtime/owners=jst.web\:2.4
+eclipse.preferences.version=1
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.wst.common.component 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="htmlTest">
+<wb-resource deploy-path="/" source-path="/WebContent"/>
+<wb-resource deploy-path="/WEB-INF/classes" source-path="/JavaSource"/>
+<property name="context-root" value="htmlTest"/>
+<property name="java-output-path" value="build/classes"/>
+</wb-module>
+</project-modules>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.eclipse.wst.common.project.facet.core.xml 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 4.2 Runtime"/>
+ <fixed facet="jst.web"/>
+ <fixed facet="jst.java"/>
+ <installed facet="jst.java" version="5.0"/>
+ <installed facet="jst.web" version="2.4"/>
+</faceted-project>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.jboss.tools.jst.web.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.jboss.tools.jst.web.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.settings/org.jboss.tools.jst.web.xml 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FILESYSTEMS APPLICATION_NAME="htmlTest" ENTITY="FileSystems"
+ VERSION="2.0.0.GA" WORKSPACE_HOME="./WebContent/WEB-INF">
+ <FILESYSTEM ENTITY="FileSystemFolder" LOCATION="%workspace.home%" NAME="WEB-INF"/>
+ <FILESYSTEM ENTITY="FileSystemFolder" INFO="Content-Type=Web"
+ LOCATION="%workspace.home%/.." NAME="WEB-ROOT"/>
+ <FILESYSTEM ENTITY="FileSystemFolder"
+ LOCATION="%workspace.home%/../../JavaSource" NAME="src"/>
+ <FILESYSTEM ENTITY="FileSystemFolder" LOCATION="%workspace.home%/lib" NAME="lib"/>
+ <FILESYSTEM ENTITY="FileSystemFolder"
+ LOCATION="%workspace.home%/classes" NAME="classes"/>
+ <FILESYSTEM ENTITY="FileSystemFolder"
+ LOCATION="%workspace.home%/../../ant" NAME="build"/>
+ <FILESYSTEM ENTITY="FileSystemJar" INFO="hidden=yes"
+ LOCATION="%workspace.home%/lib/jsf-tlds.jar" NAME="lib-jsf-tlds.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar" INFO="hidden=yes"
+ LOCATION="%workspace.home%/lib/commons-collections.jar" NAME="lib-commons-collections.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar" INFO="hidden=yes"
+ LOCATION="%workspace.home%/lib/commons-digester.jar" NAME="lib-commons-digester.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar" INFO="hidden=yes"
+ LOCATION="%workspace.home%/lib/common-annotations.jar" NAME="lib-common-annotations.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar" INFO="hidden=yes"
+ LOCATION="%workspace.home%/lib/standard.jar" NAME="lib-standard.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar" INFO="hidden=yes"
+ LOCATION="%workspace.home%/lib/jstl.jar" NAME="lib-jstl.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar" INFO="hidden=yes"
+ LOCATION="%workspace.home%/lib/commons-logging.jar" NAME="lib-commons-logging.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar" INFO="hidden=yes"
+ LOCATION="%workspace.home%/lib/commons-beanutils.jar" NAME="lib-commons-beanutils.jar"/>
+ <WEB ENTITY="JstWeb" MODEL_PATH="/web.xml" SERVLET_VERSION="2.4">
+ <MODULE ENTITY="WebJSFModule" MODEL_PATH="/faces-config.xml"
+ ROOT="WEB-ROOT" SRC="src" URI="/WEB-INF/faces-config.xml"/>
+ </WEB>
+</FILESYSTEMS>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/META-INF/MANIFEST.MF 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/faces-config.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/faces-config.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/faces-config.xml 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+<faces-config>
+
+</faces-config>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/common-annotations.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/common-annotations.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/commons-beanutils.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/commons-beanutils.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/commons-collections.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/commons-collections.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/commons-digester.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/commons-digester.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/commons-logging.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/commons-logging.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/jsf-tlds.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/jsf-tlds.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/jstl.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/jstl.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/standard.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/lib/standard.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/web.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/web.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/WEB-INF/web.xml 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ <display-name>htmlTest</display-name>
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>server</param-value>
+ </context-param>
+ <listener>
+ <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
+ </listener>
+ <!-- Faces Servlet -->
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <!-- Faces Servlet Mapping -->
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ </login-config>
+</web-app>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/css/stylesheet.css
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/css/stylesheet.css (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/css/stylesheet.css 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,3 @@
+H1 {
+ color: red
+}
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/img/image.jpeg
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/img/image.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/index.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/index.jsp (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/index.jsp 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,7 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+
+<html>
+ <body>
+ <jsp:forward page="/pages/html/frames/iframe.html" />
+ </body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/div.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/div.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/div.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,12 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>div</h1>
+
+<div style="background: grey; color: white" title="title">some
+text</div>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dl.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dl.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dl.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,18 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>dl,dt,dd</h1>
+
+<dl>
+ <dt>some term 1</dt>
+ <dd>some definition 1</dd>
+
+ <dt>some term 2</dt>
+ <dd>some definition 2</dd>
+
+</dl>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/lists.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/lists.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/lists.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,21 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>ul,ol,li</h1>
+
+<ul>
+ <li>text 1</li>
+ <li>text 2</li>
+ <li>text 3</li>
+</ul>
+
+<ol>
+ <li>text 1</li>
+ <li>text 2</li>
+ <li>text 3</li>
+</ol>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/span.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/span.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/span.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>span</h1>
+
+<span style="color: red">S</span>ome text
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/a.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/a.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/a.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>a</h1>
+
+<a href="http://www.jboss.org">link </a>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/address.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/address.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/address.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>address</h1>
+
+<address>address</address>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/basic.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/basic.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/basic.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,9 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>html,head,body,h1</h1>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>img</h1>
+
+<img alt="img" src="/img/image.jpeg">
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/link.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/link.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/link.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head>
+<link rel="stylesheet" type="text/css" href="/css/stylesheet.css">
+</head>
+
+<body class="someStyle">
+
+<h1>link</h1>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,14 @@
+<html>
+<head></head>
+
+<body>
+<h1>map,area</h1>
+
+<img src="/img/image.jpeg" usemap="#map">
+
+<map name="map">
+ <area href="/">
+</map>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,13 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>object,param</h1>
+
+<object classid="someClass" width="500" height="200">
+ <param name="someParam" value="5">
+</object>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/style.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/style.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/style.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,19 @@
+<html>
+<head>
+
+<style type="text/css">
+
+H1 {
+ font-size: 120%;
+ color: red
+}
+
+</style>
+
+</head>
+
+<body >
+<h1>style</h1>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/title.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/title.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/title.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,12 @@
+<html>
+<head>
+
+<title>title</title>
+
+</head>
+
+<body>
+<h1>title</h1>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/button.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/button.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/button.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>button</h1>
+
+<button>button</button>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/fieldset.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/fieldset.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/fieldset.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,16 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>fieldset,legend</h1>
+
+<fieldset>
+ <legend>legend</legend>
+ <input type="checkbox"> one <br>
+ <input type="checkbox"> two<br>
+ <input type="submit" value="submit">
+</fieldset>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/form.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/form.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/form.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,15 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>form</h1>
+
+<form>
+
+<button>button</button>
+
+</form>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/input.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/input.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/input.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,53 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>input</h1>
+
+<h4>input</h4>
+
+<input name="unput" value="input">
+
+<h4>checkbox</h4>
+
+<input type="checkbox" name="" value="">
+
+<h4>file</h4>
+
+<input type="file" name="">
+
+<h4>hidden</h4>
+
+<input type="hidden" name="someName" value="somevalue">
+
+<h4>input button</h4>
+
+<input type="button" value="input button">
+
+<h4>input image</h4>
+
+<input type=image src="img/image.jpeg">
+
+<h4>password</h4>
+
+<input type="password" name="someName" value="password">
+
+<h4>radio</h4>
+
+<input type="radio" name="someName" value="someValue">
+
+<h4>reset</h4>
+
+<input type="reset">
+
+<h4>submit</h4>
+
+<input type="submit" value="submit">
+
+<h4>text</h4>
+
+<input type="text" name="someName" value="value">
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/label.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/label.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/label.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>label</h1>
+
+<label> label Value </label>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/select.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/select.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/select.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,22 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>select,optgroup,option</h1>
+
+<select>
+ <optgroup label="color">
+ <option value="c1">orange</option>
+ <option value="c2">lemon</option>
+ </optgroup>
+
+ <optgroup label="tone">
+ <option value="s1">light</option>
+ <option value="s2">normal</option>
+ <option value="s3">deep</option>
+ </optgroup>
+</select>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/textArea.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/textArea.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/form/textArea.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,13 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>textArea</h1>
+
+<textarea cols="10" rows="2">
+
+</textarea>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frameset.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frameset.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/frameset.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,13 @@
+<html>
+<head></head>
+
+<frameset cols="100,*,20%">
+ <frame src="pages/html/frames/temp/left.html" name="leftFrame">
+ <frame src="pages/html/frames/temp/right.html" name="mainFrame"
+ frameborder="0">
+ <noframes>
+ your browser don't support frames
+ </noframes>
+</frameset>
+
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/iframe.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/iframe.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/iframe.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,12 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>iframe</h1>
+
+<iframe src="pages/html/frames/temp/ifr.html" width="468" height="60"
+ align="left"> your browser doesn't support iframes </iframe>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/temp/ifr.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/temp/ifr.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/temp/ifr.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,7 @@
+<html>
+<body>
+
+<h1>iframe page</h1>
+
+</body>
+</html>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/temp/left.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/temp/left.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/temp/left.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,7 @@
+<html>
+<body>
+
+<h1>left</h1>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/temp/right.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/temp/right.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/frames/temp/right.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,7 @@
+<html>
+<body>
+
+<h1>right</h1>
+
+</body>
+</html>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/scripts/script.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/scripts/script.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/scripts/script.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,17 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>script,noscript</h1>
+
+<script type="text/javascript">
+ alert("Hello, world!")
+</script>
+<noscript>
+<p>Your browser doesn't support scripts</p>
+</noscript>
+
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/complex_table.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/complex_table.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/complex_table.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,36 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>tcaption,th,thead,tbody,tfoot</h1>
+
+<table width="600" border="1">
+ <caption>caption of a table</caption>
+ <thead>
+ <tr>
+ <td>heading 1</td>
+ <td>heading 2</td>
+ </tr>
+ </thead>
+ <tr>
+ <th>head 1</th>
+ <th>head 2</th>
+ </tr>
+ <tfoot>
+ <tr>
+ <td>foot text 1</td>
+ <td>foot text 2</td>
+ </tr>
+ </tfoot>
+ <tbody align="right">
+ <tr>
+ <td>body text 1</td>
+ <td>body text 2</td>
+ </tr>
+ </tbody>
+
+</table>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/table.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/table.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/table/table.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,22 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>table,colgroup,col,tr,td</h1>
+
+<table width="400" border="0" cellpadding="5" cellspacing="0">
+ <colgroup width="150">
+ <colgroup span="9" align="center" width="50">
+ <col span="5">
+ <col span="4">
+ <tr>
+ <td style="background: #B0B28E">Some Text</td>
+ <td style="background: #CCCCCC">Some Text</td>
+ <td style="background: #B0B28E">Some Text</td>
+ <td style="background: #CCCCCC">Some Text</td>
+ </tr>
+</table>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>abbr</h1>
+
+<abbr title="defenition">abbreviation</abbr>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>acronym</h1>
+
+<acronym title="acronym">acronym</acronym>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,12 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>b</h1>
+
+<b>some bold text</b>
+some general text
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,12 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>big</h1>
+
+<big><big> big text</big> big text</big>
+normal text
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>blockquote</h1>
+
+<blockquote>Some Text</blockquote>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>br</h1>
+
+text 1 <br> text 2
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>cite</h1>
+
+<cite>some text</cite>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,19 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>code</h1>
+
+<code>
+ function checkParent (src, dest) {<br>
+ while (src != null) {<br>
+ if (src.tagName == dest) return src<br>
+ src = src.parentElement<br>
+ }<br>
+ return null<br>
+ }
+</code>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>del</h1>
+
+<del>Some Text</del>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>dfn</h1>
+
+<dfn>Some Text</dfn>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>em</h1>
+
+<em>Some Text</em>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,13 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>hr</h1>
+
+String 1
+<hr>
+String 2
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>i</h1>
+
+<i> Some Text </i>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/ins.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/ins.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/ins.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,12 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>ins</h1>
+
+<del>Old Text</del>
+<ins>New Text</ins>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/kbd.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/kbd.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/kbd.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,12 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>kbd</h1>
+
+<kbd><Ctrl>+<Backspace></kbd>
+or
+<kbd><Ctrl>+<Delete></kbd>
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/p.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/p.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/p.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>p</h1>
+
+Some text 1
+<p>Some text 2
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/pre.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/pre.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/pre.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,16 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>pre</h1>
+
+ string 1
+ string 2
+<pre>
+ string 1
+ string 2
+</pre>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/q.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/q.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/q.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>q</h1>
+
+<q>Some Text</q>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/samp.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/samp.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/samp.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>samp</h1>
+
+<samp> Some Text </samp>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/small.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/small.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/small.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>small</h1>
+
+<small> <small> very small text </small> small text </small>
+normal text
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/strong.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/strong.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/strong.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,12 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>strong</h1>
+
+<strong>Some strong text</strong>
+some text
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sub.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sub.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sub.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,14 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>sub</h1>
+
+H
+<sub><small>2</small></sub>
+SO
+<sub><small>4</small></sub>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sup.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sup.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sup.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,15 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>sup</h1>
+
+X
+<sup><small>n</small></sup>
++ Y
+<sup><small>n</small></sup>
+= Z
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/tt.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/tt.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/tt.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>tt</h1>
+
+<tt>some text</tt>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/var.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/var.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/var.html 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,11 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>var</h1>
+
+<var>someVariable</var>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/ant/build.properties
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/ant/build.properties (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/ant/build.properties 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,3 @@
+#
+#Tue Jan 08 11:51:26 GMT+02:00 2008
+classpath.external=/home/transfer/work/testing/test-workspace6/.metadata/.plugins/org.jboss.tools.common.projecttemplates/lib/servlet/2.4/jsp-api.jar;/home/transfer/work/testing/test-workspace6/.metadata/.plugins/org.jboss.tools.common.projecttemplates/lib/servlet/2.4/servlet-api.jar;
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/ant/build.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/ant/build.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/ant/build.xml 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,74 @@
+<project name="KickStart" default="deploy" basedir="../">
+
+ <!-- Project settings -->
+ <property file="${basedir}/ant/build.properties" />
+
+ <property name="project.name" value="KickStart" />
+ <property name="web.content.dir" value="${basedir}/WebContent" />
+ <property name="web-inf.dir" value="${web.content.dir}/WEB-INF" />
+ <property name="build.dir" value="build" />
+ <property name="war.name" value="${build.dir}/${project.name}.war" />
+
+ <!-- Define a folder for deployment -->
+ <property name="deploy.dir" value="deploy" />
+
+ <!-- Compile classpath -->
+ <path id="compile.classpath">
+ <fileset dir="${webinf.dir}/lib">
+ <include name="**/*.jar" />
+ </fileset>
+ <pathelement path="${classpath}" />
+ <pathelement path="${classpath.external}" />
+ <pathelement path="${webinf.dir}/classes" />
+ </path>
+
+ <!-- Copy any resource or configuration files -->
+ <target name="copyResources">
+ <copy todir="${web-inf.dir}/classes" includeEmptyDirs="no">
+ <fileset dir="JavaSource">
+ <patternset>
+ <include name="**/*.*" />
+ <exclude name="**/*.java" />
+ </patternset>
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- Check timestamp on files -->
+ <target name="prepare">
+ <tstamp />
+ </target>
+
+ <!-- Remove classes directory for clean build -->
+ <target name="clean" description="Prepare for clean build">
+ <delete dir="${web-inf.dir}/classes" failonerror="false"/>
+ <mkdir dir="${web-inf.dir}/classes" />
+ </target>
+
+ <!-- Normal build of application -->
+ <target name="compile" depends="prepare, copyResources">
+ <javac srcdir="JavaSource" destdir="${web-inf.dir}/classes">
+ <classpath refid="compile.classpath" />
+ </javac>
+ </target>
+
+ <!-- Build Project -->
+ <target name="build" depends="prepare, compile" />
+
+ <!-- Rebuild Project -->
+ <target name="rebuild" depends="clean, prepare, compile" />
+
+ <!-- Build WAR -->
+ <target name="war" depends="build">
+ <mkdir dir="${build.dir}" />
+ <war warfile="${war.name}" basedir="${web.content.dir}" webxml="${web-inf.dir}/web.xml">
+ <exclude name="WEB-INF/web.xml" />
+ </war>
+ </target>
+
+ <target name="deploy" depends="war">
+ <delete dir="${deploy.dir}/${project.name}" failonerror="false"/>
+ <copy file="${war.name}" todir="${deploy.dir}" />
+ </target>
+
+</project>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlAllTests.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlAllTests.java 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,49 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jsf.vpe.html.test;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.jboss.tools.vpe.ui.test.VpeTestSetup;
+import org.jboss.tools.vpe.ui.test.beans.ImportBean;
+
+/**
+ * Class for testing all RichFaces components
+ *
+ * @author sdzmitrovich
+ *
+ */
+
+public class HtmlAllTests {
+
+ public static Test suite() {
+
+ TestSuite suite = new TestSuite("Tests for Vpe Jsf components"); // $NON-NLS-1$
+ // $JUnit-BEGIN$
+ suite.addTestSuite(HtmlComponentTest.class);
+
+ // $JUnit-END$
+ // added by Max Areshkau
+ // add here projects which should be imported for junit tests
+ List<ImportBean> projectToImport = new ArrayList<ImportBean>();
+ ImportBean importBean = new ImportBean();
+ importBean.setImportProjectName(HtmlComponentTest.IMPORT_PROJECT_NAME);
+ importBean.setImportProjectPath(HtmlTestPlugin.getPluginResourcePath());
+ projectToImport.add(importBean);
+ return new VpeTestSetup(suite, projectToImport);
+
+ }
+
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlAllTests.java
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlComponentTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlComponentTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlComponentTest.java 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,311 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jsf.vpe.html.test;
+
+import org.eclipse.core.resources.IFile;
+import org.jboss.tools.vpe.ui.test.TestUtil;
+import org.jboss.tools.vpe.ui.test.VpeTest;
+
+/**
+ * Class for testing all html components
+ *
+ * @author Sergey Dzmitrovich
+ *
+ */
+public class HtmlComponentTest extends VpeTest {
+
+ // import project name
+ public static final String IMPORT_PROJECT_NAME = "htmlTest";
+
+ public HtmlComponentTest(String name) {
+ super(name);
+ setCheckWarning(false);
+ }
+
+ /*
+ * test for block html tags
+ */
+
+ public void testDiv() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/block/div.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testDl() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/block/dl.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testLists() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/block/lists.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testSpan() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/block/span.html", IMPORT_PROJECT_NAME));
+ }
+
+ /*
+ * test for core html tags
+ */
+
+ public void testA() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/core/a.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testAddress() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/core/address.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testBasic() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/core/basic.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testImg() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/core/img.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testLink() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/core/link.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testMap() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/core/map.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testObject() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/core/object.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testStyle() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/core/style.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testTitle() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/core/title.html", IMPORT_PROJECT_NAME));
+ }
+
+ /*
+ * test for form html tags
+ */
+
+ public void testButton() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/form/button.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testFieldset() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/form/fieldset.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testForm() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/form/form.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testInput() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/form/input.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testLabel() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/form/label.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testSelect() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/form/select.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testTextArea() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/form/textArea.html", IMPORT_PROJECT_NAME));
+ }
+
+ /*
+ * test for frames html tags
+ */
+
+ public void testFrameset() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/frames/frameset.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testIframe() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/frames/iframe.html", IMPORT_PROJECT_NAME));
+ }
+
+ /*
+ * test for scripts html tags
+ */
+
+ public void testScript() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/scripts/script.html", IMPORT_PROJECT_NAME));
+ }
+
+ /*
+ * test for table html tags
+ */
+
+ public void testComplexTable() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/table/complex_table.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testTable() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/table/table.html", IMPORT_PROJECT_NAME));
+ }
+
+ /*
+ * test for text html tags
+ */
+
+ public void testAbbr() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/abbr.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testAcronym() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/acronym.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testB() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/b.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testBig() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/big.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testBlockquote() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/blockquote.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testBr() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/br.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testCite() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/cite.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testCode() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/code.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testDel() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/del.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testDfn() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/dfn.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testEm() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/em.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testHr() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/hr.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testI() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/i.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testIns() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/ins.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testKbd() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/kbd.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testP() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/p.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testPre() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/pre.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testQ() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/q.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testSamp() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/samp.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testSmall() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/small.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testStrong() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/strong.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testSub() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/sub.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testSup() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/sup.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testTt() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/tt.html", IMPORT_PROJECT_NAME));
+ }
+
+ public void testVar() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/text/var.html", IMPORT_PROJECT_NAME));
+ }
+
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlComponentTest.java
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlTestPlugin.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlTestPlugin.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test/HtmlTestPlugin.java 2008-01-10 16:30:43 UTC (rev 5586)
@@ -0,0 +1,69 @@
+package org.jboss.tools.jsf.vpe.html.test;
+
+import java.net.URL;
+
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.core.runtime.Plugin;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class HtmlTestPlugin extends Plugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.jsf.vpe.html.test";
+
+ // The shared instance
+ private static HtmlTestPlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public HtmlTestPlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static HtmlTestPlugin getDefault() {
+ return plugin;
+ }
+
+ public static String getPluginResourcePath() {
+ Bundle bundle = Platform.getBundle(PLUGIN_ID);
+ URL url = null;
+ try {
+ url = bundle == null ? null : FileLocator.resolve(bundle
+ .getEntry("/resources")); // $NON-NLS-1$
+ } catch (Exception e) {
+ url = bundle.getEntry("/resources"); // $NON-NLS-1$
+ }
+ return (url == null) ? null : url.getPath();
+ }
+
+}
16 years, 5 months
JBoss Tools SVN: r5584 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-01-10 11:03:06 -0500 (Thu, 10 Jan 2008)
New Revision: 5584
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java
Log:
JBIDE-1573
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java 2008-01-10 15:14:39 UTC (rev 5583)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java 2008-01-10 16:03:06 UTC (rev 5584)
@@ -12,18 +12,24 @@
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
+import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
+import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ProjectScope;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jface.dialogs.IMessageProvider;
import org.eclipse.jface.preference.PreferenceDialog;
import org.eclipse.jface.wizard.Wizard;
@@ -45,6 +51,7 @@
import org.jboss.tools.seam.core.SeamPreferences;
import org.jboss.tools.seam.core.project.facet.SeamRuntime;
import org.jboss.tools.seam.core.project.facet.SeamRuntimeManager;
+import org.jboss.tools.seam.core.project.facet.SeamVersion;
import org.jboss.tools.seam.ui.SeamGuiPlugin;
import org.jboss.tools.seam.ui.internal.project.facet.IValidator;
import org.jboss.tools.seam.ui.widget.editor.ButtonFieldEditor;
@@ -53,6 +60,7 @@
import org.jboss.tools.seam.ui.widget.editor.IFieldEditorFactory;
import org.jboss.tools.seam.ui.widget.editor.ITaggedFieldEditor;
import org.jboss.tools.seam.ui.widget.editor.LabelFieldEditor;
+import org.jboss.tools.seam.ui.widget.editor.SeamRuntimeListFieldEditor;
import org.jboss.tools.seam.ui.widget.editor.ButtonFieldEditor.ButtonPressedAction;
import org.jboss.tools.seam.ui.widget.editor.SeamRuntimeListFieldEditor.SeamRuntimeNewWizard;
@@ -375,9 +383,32 @@
&& !hasNature("org.eclipse.wst.common.project.facet.core.nature")) {
return SeamRuntimeManager.getInstance().getAllRuntimeNames();
}
+ if(seamProject != null) {
+ SeamRuntime r = seamProject.getRuntime();
+ if(r != null) {
+ SeamRuntime[] rs = SeamRuntimeManager.getInstance().getRuntimes(r.getVersion());
+ return toNames(rs);
+ }
+ String jarLocation = getJBossSeamJarLocation();
+ if(jarLocation != null) {
+ String folder = new File(jarLocation).getParent();
+ String vs = SeamRuntimeListFieldEditor.SeamRuntimeWizardPage.getSeamVersion(folder);
+ SeamVersion v = findMatchingVersion(vs);
+ if(v != null) {
+ SeamRuntime[] rs = SeamRuntimeManager.getInstance().getRuntimes(v);
+ return toNames(rs);
+ }
+ }
+ }
return SeamRuntimeManager.getInstance().getRuntimeNames();
}
+ private List<String> toNames(SeamRuntime[] rs) {
+ List<String> list = new ArrayList<String>();
+ if(rs != null) for (int i = 0; i < rs.length; i++) list.add(rs[i].getName());
+ return list;
+ }
+
private boolean hasNature(String natureId) {
try {
return project != null && project.isAccessible() && project.hasNature(natureId);
@@ -385,4 +416,37 @@
return false;
}
}
+
+ private String getJBossSeamJarLocation() {
+ IJavaProject jp = EclipseResourceUtil.getJavaProject(project);
+ if(jp == null) return null;
+ IClasspathEntry[] es = null;
+ try {
+ es = jp.getResolvedClasspath(true);
+ } catch (JavaModelException e) {
+ //ignore
+ return null;
+ }
+ if(es == null) return null;
+ for (int i = 0; i < es.length; i++) {
+ IPath p = es[i].getPath();
+ if(p != null && p.lastSegment().equalsIgnoreCase("jboss-seam.jar")) {
+ IFile f = ResourcesPlugin.getWorkspace().getRoot().getFile(p);
+ if(f != null && f.exists()) return f.getLocation().toString();
+ }
+ }
+ return null;
+ }
+
+ private SeamVersion findMatchingVersion(String vs) {
+ if(vs == null) return null;
+ if(vs.matches(SeamVersion.SEAM_1_2.toString().replace(".", "\\.") + ".*")) {
+ return SeamVersion.SEAM_1_2;
+ }
+ if(vs.matches(SeamVersion.SEAM_2_0.toString().replace(".", "\\.") + ".*")) {
+ return SeamVersion.SEAM_2_0;
+ }
+ return null;
+ }
+
}
16 years, 5 months
JBoss Tools SVN: r5583 - trunk/hibernatetools/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-01-10 10:14:39 -0500 (Thu, 10 Jan 2008)
New Revision: 5583
Modified:
trunk/hibernatetools/docs/reference/en/modules/ant.xml
trunk/hibernatetools/docs/reference/en/modules/codegenarchitecture.xml
trunk/hibernatetools/docs/reference/en/modules/plugins.xml
trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml
trunk/hibernatetools/docs/reference/en/modules/setup.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-238 - correcting the chapters according to the Svetlana Mukhina remarks
Modified: trunk/hibernatetools/docs/reference/en/modules/ant.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/ant.xml 2008-01-10 13:31:52 UTC (rev 5582)
+++ trunk/hibernatetools/docs/reference/en/modules/ant.xml 2008-01-10 15:14:39 UTC (rev 5583)
@@ -17,7 +17,7 @@
of eclipse.</para>
<note>
- <para>There might be incapabilities with respect to the Hibernate3.jar bundled with the tools
+ <para>There might be incompatibilities with respect to the Hibernate3.jar bundled with the tools
and your own jar. Thus to avoid any confusion it is recommended to use the hibernate3.jar
and hibernate-annotations.jar bundled with the tools when you want to use the Ant tasks. Do
not worry about using e.g. Hibernate 3.2 jar's with e.g. a Hibernate 3.1 project since the
Modified: trunk/hibernatetools/docs/reference/en/modules/codegenarchitecture.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/codegenarchitecture.xml 2008-01-10 13:31:52 UTC (rev 5582)
+++ trunk/hibernatetools/docs/reference/en/modules/codegenarchitecture.xml 2008-01-10 15:14:39 UTC (rev 5583)
@@ -62,8 +62,10 @@
<para>In most projects you will normally use only one of the Core, Annotation or JPA
configuration and possibly the JDBC configuration if you are using the reverse engineering
- facilities of <property>Hibernate Tools</property>. The important thing to note is that no matter which Hibernate
- Configuration type you are using <property>Hibernate Tools</property> supports them.</para>
+ facilities of <property>Hibernate Tools</property>. </para>
+
+ <note><para>No matter which Hibernate
+ Configuration type you are using <property>Hibernate Tools</property> supports them.</para></note>
<para>The following drawing illustrates the core concepts:</para>
Modified: trunk/hibernatetools/docs/reference/en/modules/plugins.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2008-01-10 13:31:52 UTC (rev 5582)
+++ trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2008-01-10 15:14:39 UTC (rev 5583)
@@ -80,7 +80,8 @@
</note>
<para>Enter your configuration information in this dialog. Details about the configuration
- options can be found in <property>Hibernate reference documentation</property>.</para>
+ options can be found in <ulink url="http://docs.jboss.org/ejb3/app-server/Hibernate3/reference/en/html_single"
+ >Hibernate Reference Documentation</ulink>.</para>
<para>Press <emphasis>
<property>Finish</property>
@@ -89,7 +90,7 @@
<property>hibernate.cfg.xml</property>
</emphasis> will be automatically opened in an editor. The last option <emphasis>
<property>Create Console Configuration</property>
- </emphasis> is enabled by default and when enabled i will automatically use the <emphasis>
+ </emphasis> is enabled by default and when enabled it will automatically use the <emphasis>
<property>hibernate.cfg.xml</property>
</emphasis> for the basis of a Console Configuration.</para>
</section>
@@ -97,9 +98,9 @@
<section>
<title>Creating a Hibernate Console configuration</title>
- <para>A Console Configuration describes to the <property>Hibernate</property> plugin how it
+ <para>A Console Configuration describes how the <property>Hibernate</property> plugin
should configure <property>Hibernate</property> and what configuration files, including which
- classpath is needed to load the POJO's, JDBC drivers etc. It is required to make usage of
+ classpath are needed to load the POJO's, JDBC drivers etc. It is required to make usage of
query prototyping, reverse engineering and code generation. You can have multiple named
console configurations. Normally you would just need one per project, but more is definitely
possible.</para>
@@ -930,14 +931,14 @@
</section>
</section>
- <section>
+ <section id="map_config_editor">
<title>Hibernate Mapping and Configuration File Editor</title>
<para>The Hibernate Mapping file editor provides XML editing functionality for the <emphasis>
<property>hbm.xml </property>
</emphasis> and <emphasis>
<property>cfg.xml</property>
- </emphasis> files. The editor is based on the Eclipse WTP tools and extend its functionality
+ </emphasis> files. The editor is based on the Eclipse WTP tools and extends its functionality
to provide Hibernate specific code completion.</para>
<figure>
Modified: trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml 2008-01-10 13:31:52 UTC (rev 5582)
+++ trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml 2008-01-10 15:14:39 UTC (rev 5583)
@@ -96,8 +96,7 @@
</hibernate-reverse-engineering>]]></programlisting>
- <para></para>
-
+
<section>
<title>Schema Selection (<schema-selection>)</title>
@@ -148,7 +147,8 @@
<property>"MY_SCHEMA"</property></emphasis>, a specific <emphasis>
<property>"CITY"</property></emphasis>
table plus all tables that starts with <emphasis>
- <property>"CODES_ in COMMON_SCHEMA"</property></emphasis>.</para>
+ <property>"CODES_"</property></emphasis> in <emphasis>
+ <property>COMMON_SCHEMA"</property></emphasis>.</para>
<programlisting><![CDATA[<schema-selection match-schema="MY_SCHEMA"/>
<schema-selection match-schema="COMMON_SCHEMA" match-table="CITY"/>
Modified: trunk/hibernatetools/docs/reference/en/modules/setup.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/setup.xml 2008-01-10 13:31:52 UTC (rev 5582)
+++ trunk/hibernatetools/docs/reference/en/modules/setup.xml 2008-01-10 15:14:39 UTC (rev 5583)
@@ -47,7 +47,7 @@
<section>
<title>Usage of Eclipse WTP</title>
- <para>The <property>Hibernate Tools</property> plugins currently uses <property>WTP
+ <para>The <property>Hibernate Tools</property> plugins currently use <property>WTP
2.x</property> which at this time is the latest stable release from the Eclipse Webtools
project.</para>
16 years, 5 months
JBoss Tools SVN: r5582 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test: jbide and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-01-10 08:31:52 -0500 (Thu, 10 Jan 2008)
New Revision: 5582
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE1484Test.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1562, junit code adjustment
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2008-01-10 13:15:28 UTC (rev 5581)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2008-01-10 13:31:52 UTC (rev 5582)
@@ -43,9 +43,9 @@
//add here projects which should be imported for junit tests
List<ImportBean> projectToImport = new ArrayList<ImportBean>();
ImportBean importBean = new ImportBean();
- importBean.setImportProjectName("jsfTest");
+ importBean.setImportProjectName(JsfComponentTest.IMPORT_PROJECT_NAME);
importBean.setImportProjectPath(JsfTestPlugin.getPluginResourcePath());
-
+ projectToImport.add(importBean);
return new VpeTestSetup(suite,projectToImport);
}
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE1484Test.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE1484Test.java 2008-01-10 13:15:28 UTC (rev 5581)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE1484Test.java 2008-01-10 13:31:52 UTC (rev 5582)
@@ -82,8 +82,8 @@
nsIDOMElement elementInput2 = (nsIDOMElement) elements.get(2).queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
assertEquals(elementInput0.getAttribute("value"),"");
- assertNotNull(elementInput1.getAttribute("value"),"");
- assertNotNull(elementInput2.getAttribute("value"),"test");
+ assertEquals(elementInput1.getAttribute("value"),"");
+ assertEquals(elementInput2.getAttribute("value"),"test");
if(getException()!=null) {
throw getException();
}
16 years, 5 months