Author: dmaliarevich
Date: 2009-04-01 10:10:24 -0400 (Wed, 01 Apr 2009)
New Revision: 14401
Added:
trunk/jsf/tests/.classpath
trunk/jsf/tests/.project
trunk/jsf/tests/.settings/
trunk/jsf/tests/.settings/org.eclipse.jdt.core.prefs
trunk/jsf/tests/META-INF/
trunk/jsf/tests/META-INF/MANIFEST.MF
trunk/jsf/tests/about.html
trunk/jsf/tests/build.properties
trunk/jsf/tests/plugin.properties
trunk/jsf/tests/plugin.xml
trunk/jsf/tests/resources/
trunk/jsf/tests/resources/jstlTests/
trunk/jsf/tests/resources/jstlTests/.classpath
trunk/jsf/tests/resources/jstlTests/.project
trunk/jsf/tests/resources/jstlTests/.settings/
trunk/jsf/tests/resources/jstlTests/.settings/.jsdtscope
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.jdt.core.prefs
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.common.component
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.jsdt.ui.superType.name
trunk/jsf/tests/resources/jstlTests/JavaSource/
trunk/jsf/tests/resources/jstlTests/JavaSource/demo/
trunk/jsf/tests/resources/jstlTests/JavaSource/demo/Messages.properties
trunk/jsf/tests/resources/jstlTests/JavaSource/demo/User.java
trunk/jsf/tests/resources/jstlTests/WebContent/
trunk/jsf/tests/resources/jstlTests/WebContent/META-INF/
trunk/jsf/tests/resources/jstlTests/WebContent/META-INF/MANIFEST.MF
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/classes/
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/classes/demo/
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/classes/demo/Messages.properties
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/classes/demo/User.class
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/faces-config.xml
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/common-annotations.jar
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/commons-beanutils.jar
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/commons-collections.jar
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/commons-digester.jar
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/commons-logging.jar
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/jsf-api.jar
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/jsf-impl.jar
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/jsf-tlds.jar
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/jstl.jar
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/standard.jar
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/web.xml
trunk/jsf/tests/resources/jstlTests/WebContent/index.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/books.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/bundle.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/bundle.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/catch.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/catch.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/choose.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/choose.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/dateParam.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/fmtParam.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forEach.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forEach.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forTokens.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forTokens.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/formatDate.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/formatNumber.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/if.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/if.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.html
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/message.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/message.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/otherwise.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/otherwise.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/out.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/out.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/param.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/parseDate.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/parseNumber.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/query.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/redirect.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/remove.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/requestEncoding.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/set.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setBundle.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setDataSource.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setLocale.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setTimeZone.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/sqlParam.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/students.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/timeZone.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/timeZone.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transaction.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transaction.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transform.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/update.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/url.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/url.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/when.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/when.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xChoose.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xChoose.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xForEach.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xForEach.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xIf.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xIf.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOtherwise.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOtherwise.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOut.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOut.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xParam.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xParse.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xSet.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xWhen.jsp
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xWhen.jsp.xml
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xsl1.xsl
trunk/jsf/tests/resources/jstlTests/ant/
trunk/jsf/tests/resources/jstlTests/ant/build.properties
trunk/jsf/tests/resources/jstlTests/ant/build.xml
trunk/jsf/tests/src/
trunk/jsf/tests/src/org/
trunk/jsf/tests/src/org/jboss/
trunk/jsf/tests/src/org/jboss/tools/
trunk/jsf/tests/src/org/jboss/tools/jsf/
trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/
trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/
trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/
trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlAllTests.java
trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlComponentContentTest.java
trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlTestPlugin.java
Log:
Test plugin for JSTL templates
Added: trunk/jsf/tests/.classpath
===================================================================
--- trunk/jsf/tests/.classpath (rev 0)
+++ trunk/jsf/tests/.classpath 2009-04-01 14:10:24 UTC (rev 14401)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/jsf/tests/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/.project
===================================================================
--- trunk/jsf/tests/.project (rev 0)
+++ trunk/jsf/tests/.project 2009-04-01 14:10:24 UTC (rev 14401)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.jsf.vpe.jstl.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>
Property changes on: trunk/jsf/tests/.project
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/jsf/tests/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/jsf/tests/.settings/org.eclipse.jdt.core.prefs 2009-04-01 14:10:24 UTC (rev
14401)
@@ -0,0 +1,7 @@
+#Tue Mar 31 11:51:22 EEST 2009
+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
Property changes on: trunk/jsf/tests/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/META-INF/MANIFEST.MF (rev 0)
+++ trunk/jsf/tests/META-INF/MANIFEST.MF 2009-04-01 14:10:24 UTC (rev 14401)
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %PluginName
+Bundle-SymbolicName: org.jboss.tools.jsf.vpe.jstl.test;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Activator: org.jboss.tools.jsf.vpe.jstl.test.JstlTestPlugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.junit;bundle-version="3.8.2"
+Bundle-ActivationPolicy: lazy
+Bundle-ClassPath: vpe-jstl-test.jar
+Import-Package: org.jboss.tools.tests,
+ org.jboss.tools.vpe.ui.test
Property changes on: trunk/jsf/tests/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/about.html
===================================================================
--- trunk/jsf/tests/about.html (rev 0)
+++ trunk/jsf/tests/about.html 2009-04-01 14:10:24 UTC (rev 14401)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this
plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A
href="http://www.eclipse.org/org/documents/epl-v10.php">http...;.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A
href="http://www.jboss.org/tools">http://www.jboss.org/tools...
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/jsf/tests/about.html
___________________________________________________________________
Name: svn:mime-type
+ text/html
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/build.properties
===================================================================
--- trunk/jsf/tests/build.properties (rev 0)
+++ trunk/jsf/tests/build.properties 2009-04-01 14:10:24 UTC (rev 14401)
@@ -0,0 +1,16 @@
+bin.includes = META-INF/,\
+ plugin.properties,\
+ plugin.xml,\
+ resources/,\
+ vpe-jstl-test.jar,\
+ about.html
+src.includes = META-INF/,\
+ build.properties,\
+ plugin.properties,\
+ resources/,\
+ plugin.xml,\
+ src/,\
+ about.html
+jars.compile.order = vpe-jstl-test.jar
+source.vpe-jstl-test.jar = src/
+output.vpe-jstl-test.jar = bin/
Property changes on: trunk/jsf/tests/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/plugin.properties
===================================================================
--- trunk/jsf/tests/plugin.properties (rev 0)
+++ trunk/jsf/tests/plugin.properties 2009-04-01 14:10:24 UTC (rev 14401)
@@ -0,0 +1 @@
+PluginName=JstlTestPlugin
\ No newline at end of file
Property changes on: trunk/jsf/tests/plugin.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/plugin.xml
===================================================================
--- trunk/jsf/tests/plugin.xml (rev 0)
+++ trunk/jsf/tests/plugin.xml 2009-04-01 14:10:24 UTC (rev 14401)
@@ -0,0 +1,7 @@
+<plugin>
+ <extension
+ point="org.jboss.tools.vpe.ui.tests">
+ <tests
testSuite="org.jboss.tools.jsf.vpe.jstl.test.JstlAllTests" name="Tests For
Jstl Components"/>
+ </extension>
+
+</plugin>
\ No newline at end of file
Property changes on: trunk/jsf/tests/plugin.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/.classpath
===================================================================
--- trunk/jsf/tests/resources/jstlTests/.classpath (rev 0)
+++ trunk/jsf/tests/resources/jstlTests/.classpath 2009-04-01 14:10:24 UTC (rev 14401)
@@ -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.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache
Tomcat v6.0"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.5.0_16"/>
+ <classpathentry kind="output"
path="WebContent/WEB-INF/classes"/>
+</classpath>
Property changes on: trunk/jsf/tests/resources/jstlTests/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/.project
===================================================================
--- trunk/jsf/tests/resources/jstlTests/.project (rev 0)
+++ trunk/jsf/tests/resources/jstlTests/.project 2009-04-01 14:10:24 UTC (rev 14401)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jstlTests</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <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>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/jsf/tests/resources/jstlTests/.project
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/.settings/.jsdtscope
===================================================================
--- trunk/jsf/tests/resources/jstlTests/.settings/.jsdtscope (rev
0)
+++ trunk/jsf/tests/resources/jstlTests/.settings/.jsdtscope 2009-04-01 14:10:24 UTC (rev
14401)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con"
path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con"
path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con"
path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
Added: trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.jdt.core.prefs 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,7 @@
+#Tue Mar 31 12:33:14 EEST 2009
+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
Property changes on:
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
---
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.jst.common.project.facet.core.prefs
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.jst.common.project.facet.core.prefs 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,4 @@
+#Tue Mar 31 12:33:15 EEST 2009
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_16/owners=jst.java\:5.0
+classpath.helper/org.eclipse.jst.server.core.container\:\:org.eclipse.jst.server.tomcat.runtimeTarget\:\:Apache\
Tomcat\ v6.0/owners=jst.web\:2.5
+eclipse.preferences.version=1
Property changes on:
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.jst.common.project.facet.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.common.component
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.common.component 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="jstlTests">
+<wb-resource deploy-path="/" source-path="/WebContent"/>
+<wb-resource deploy-path="/WEB-INF/classes"
source-path="/JavaSource"/>
+<property name="context-root" value="jstlTests"/>
+<property name="java-output-path"/>
+</wb-module>
+</project-modules>
Added:
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
---
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.common.project.facet.core.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.common.project.facet.core.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="Apache Tomcat v6.0"/>
+ <fixed facet="jst.web"/>
+ <fixed facet="jst.java"/>
+ <installed facet="jst.java" version="5.0"/>
+ <installed facet="jst.web" version="2.5"/>
+</faceted-project>
Property changes on:
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
---
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.jsdt.ui.superType.container
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.jsdt.ui.superType.container 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added:
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.jsdt.ui.superType.name
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/.settings/org.eclipse.wst.jsdt.ui.superType.name 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: trunk/jsf/tests/resources/jstlTests/JavaSource/demo/Messages.properties
===================================================================
--- trunk/jsf/tests/resources/jstlTests/JavaSource/demo/Messages.properties
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/JavaSource/demo/Messages.properties 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,3 @@
+header=Hello Demo Application
+prompt_message=Name:
+hello_message=Hello
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/JavaSource/demo/Messages.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/JavaSource/demo/User.java
===================================================================
--- trunk/jsf/tests/resources/jstlTests/JavaSource/demo/User.java
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/JavaSource/demo/User.java 2009-04-01 14:10:24 UTC
(rev 14401)
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * 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;
+
+/**
+ * Created by JBoss Developer Studio
+ */
+public class User {
+
+ private String name;
+
+ /**
+ * @return User Name
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * @param User Name
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+}
\ No newline at end of file
Property changes on: trunk/jsf/tests/resources/jstlTests/JavaSource/demo/User.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/META-INF/MANIFEST.MF
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/META-INF/MANIFEST.MF 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Property changes on: trunk/jsf/tests/resources/jstlTests/WebContent/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/classes/demo/Messages.properties
===================================================================
---
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/classes/demo/Messages.properties
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/classes/demo/Messages.properties 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,3 @@
+header=Hello Demo Application
+prompt_message=Name:
+hello_message=Hello
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/classes/demo/Messages.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/classes/demo/User.class
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/classes/demo/User.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/faces-config.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/faces-config.xml
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/faces-config.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faces-config version="1.2"
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xi="http://www.w3.org/2001/XInclude"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
+ <managed-bean>
+ <description>User Name Bean</description>
+ <managed-bean-name>user</managed-bean-name>
+ <managed-bean-class>demo.User</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>name</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
+ <navigation-rule>
+ <from-view-id>/pages/inputUserName.jsp</from-view-id>
+ <navigation-case>
+ <from-outcome>hello</from-outcome>
+ <to-view-id>/pages/hello.jsp</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <application>
+ <locale-config/>
+ </application>
+ <factory/>
+ <lifecycle/>
+</faces-config>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/faces-config.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/common-annotations.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/common-annotations.jar
___________________________________________________________________
Name: svn:mime-type
+ application/x-jar
Added: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/commons-beanutils.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/commons-beanutils.jar
___________________________________________________________________
Name: svn:mime-type
+ application/x-jar
Added: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/commons-collections.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/commons-collections.jar
___________________________________________________________________
Name: svn:mime-type
+ application/x-jar
Added: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/commons-digester.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/commons-digester.jar
___________________________________________________________________
Name: svn:mime-type
+ application/x-jar
Added: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/commons-logging.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/commons-logging.jar
___________________________________________________________________
Name: svn:mime-type
+ application/x-jar
Added: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/jsf-api.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/jsf-api.jar
___________________________________________________________________
Name: svn:mime-type
+ application/x-jar
Added: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/jsf-impl.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/jsf-impl.jar
___________________________________________________________________
Name: svn:mime-type
+ application/x-jar
Added: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/jsf-tlds.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/jsf-tlds.jar
___________________________________________________________________
Name: svn:mime-type
+ application/x-jar
Added: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/jstl.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/jstl.jar
___________________________________________________________________
Name: svn:mime-type
+ application/x-jar
Added: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/standard.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/lib/standard.jar
___________________________________________________________________
Name: svn:mime-type
+ application/x-jar
Added: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/web.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/web.xml
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/web.xml 2009-04-01 14:10:24 UTC
(rev 14401)
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+ <display-name>jstlTests</display-name>
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>server</param-value>
+ </context-param>
+ <context-param>
+ <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
+ <param-value>demo.Messages</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>
Property changes on: trunk/jsf/tests/resources/jstlTests/WebContent/WEB-INF/web.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/index.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/index.jsp (rev
0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/index.jsp 2009-04-01 14:10:24 UTC (rev
14401)
@@ -0,0 +1,7 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+
+<html>
+ <body>
+ <jsp:forward page="/pages/components/catch.jsf" />
+ </body>
+</html>
\ No newline at end of file
Property changes on: trunk/jsf/tests/resources/jstlTests/WebContent/index.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/books.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/books.xml
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/books.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,27 @@
+<?xml version="1.0" ?>
+<books>
+ <book>
+ <title>cobol</title>
+ <author>roy</author>
+ </book>
+ <book>
+ <title>java</title>
+ <author>herbert</author>
+ </book>
+ <book>
+ <title>c++</title>
+ <author>robert</author>
+ </book>
+ <book>
+ <title>coldfusion</title>
+ <author>allaire</author>
+ </book>
+ <book>
+ <title>xml unleashed</title>
+ <author>morrison</author>
+ </book>
+ <book>
+ <title>jrun</title>
+ <author>allaire</author>
+ </book>
+</books>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/books.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/bundle.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/bundle.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/bundle.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,17 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>fmt:bundle</h1>
+ <fmt:bundle basename="demo.Messages" id="id1">
+ Use message "<fmt:message key="header" />" in a JSP.
+ </fmt:bundle>
+
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/bundle.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/bundle.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/bundle.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/bundle.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,13 @@
+<tests>
+ <test id="id1">
+
+<DIV STYLE="-moz-user-modify: read-only;">
+<SPAN CLASS="vpe-text">
+Use message "
+</SPAN>
+<SPAN CLASS="vpe-text">
+" in a JSP.
+</SPAN>
+</DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/bundle.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/catch.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/catch.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/catch.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,17 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:catch</h1>
+ <c:catch id="id1">
+ some errors
+ </c:catch>
+
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/catch.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/catch.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/catch.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/catch.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ some errors
+ </SPAN>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/catch.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/choose.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/choose.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/choose.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,21 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:choose c:when c: otherwise</h1>
+ <c:choose id="id1">
+ <c:when test="${mister}">
+ Mr.
+ </c:when>
+ <c:otherwise>
+ Ms.
+ </c:otherwise>
+ </c:choose>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/choose.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/choose.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/choose.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/choose.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,16 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ Mr.
+ </SPAN>
+ </DIV>
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ Ms.
+ </SPAN>
+ </DIV>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/choose.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/dateParam.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/dateParam.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/dateParam.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,17 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>sql:dateParam</h1>
+ <sql:query dataSource="someDataSource" var="queryResults"
maxRows="10"
+ scope="session" sql="SELECT * FROM customers">
+ <sql:dateParam value="${user.date}" id="id1"/>
+ </sql:query>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/dateParam.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/fmtParam.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/fmtParam.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/fmtParam.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,22 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>fmt:param</h1>
+ <fmt:bundle basename="demo.Messages">
+ <fmt:message key="header">
+ <fmt:param value="YourName" id="id1"/>
+ </fmt:message>
+ <br>
+ <br>
+ <center><a href="<c:url
value='/index.jsp'/>"><fmt:message
+ key="com.taglib.weblog.Greeting.return" /></a></center>
+ </fmt:bundle>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/fmtParam.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forEach.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forEach.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forEach.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,16 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:forEach</h1>
+ <c:forEach items="${user.list}" var="ailment"
id="id1">
+ Some ${ailment}
+ </c:forEach>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forEach.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forEach.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forEach.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forEach.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,15 @@
+<tests>
+ <test id="id1">
+ <SPAN CLASS="vpe-text">
+ <SPAN CLASS="vpe-text">
+ Some ${ailment}
+ </SPAN>
+ <SPAN CLASS="vpe-text">
+ Some ${ailment}
+ </SPAN>
+ <SPAN CLASS="vpe-text">
+ Some ${ailment}
+ </SPAN>
+ </SPAN>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forEach.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forTokens.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forTokens.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forTokens.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,16 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:forTokens</h1>
+ <c:forTokens items="a;b;c;d" delims=";" var="current"
id="id1">
+ (${current})
+ </c:forTokens>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forTokens.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forTokens.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forTokens.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forTokens.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,15 @@
+<tests>
+ <test id="id1">
+ <SPAN CLASS="vpe-text">
+ <SPAN CLASS="vpe-text">
+ (${current})
+ </SPAN>
+ <SPAN CLASS="vpe-text">
+ (${current})
+ </SPAN>
+ <SPAN CLASS="vpe-text">
+ (${current})
+ </SPAN>
+ </SPAN>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/forTokens.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/formatDate.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/formatDate.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/formatDate.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,14 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>fmt:formatDate</h1>
+ <fmt:formatDate value="${user.date}" id="id1"/>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/formatDate.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/formatNumber.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/formatNumber.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/formatNumber.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,16 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>fmt:formatNumber</h1>
+ <fmt:formatNumber value="12" scope="session"
var="num1"
+ maxIntegerDigits="4" groupingUsed="true" id="id1">
+ </fmt:formatNumber>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/formatNumber.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/if.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/if.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/if.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,16 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:if</h1>
+ <c:if test="${mister}" id="id1">
+ Mister
+ </c:if>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/if.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/if.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/if.jsp.xml
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/if.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ Mister
+ </SPAN>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/if.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.html
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.html
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.html 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,9 @@
+<html>
+<body>
+<ol>
+<li> first </li>
+<li> second </li>
+<li> third </li>
+</ol>
+</body>
+</html>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.html
___________________________________________________________________
Name: svn:mime-type
+ text/html
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,15 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:import</h1>
+ <c:import url="import.html" id="id1">
+ </c:import>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,27 @@
+<tests>
+ <test id="id1">
+ <DIV VPE:INCLUDE-ELEMENT="yes" STYLE="-moz-user-modify:
read-only;">
+ <DIV STYLE="-moz-user-modify: read-only;">
+ <DIV STYLE="-moz-user-modify: read-only;">
+ <OL STYLE="-moz-user-modify: read-only;">
+ <LI STYLE="-moz-user-modify: read-only;">
+ <SPAN CLASS="vpe-text" STYLE="-moz-user-modify:
read-only;">
+ first
+ </SPAN>
+ </LI>
+ <LI STYLE="-moz-user-modify: read-only;">
+ <SPAN CLASS="vpe-text" STYLE="-moz-user-modify:
read-only;">
+ second
+ </SPAN>
+ </LI>
+ <LI STYLE="-moz-user-modify: read-only;">
+ <SPAN CLASS="vpe-text" STYLE="-moz-user-modify:
read-only;">
+ third
+ </SPAN>
+ </LI>
+ </OL>
+ </DIV>
+ </DIV>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/import.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/message.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/message.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/message.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,17 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>fmt:message</h1>
+ <fmt:message
+ key="header" scope="session" var="bundleMessageVar"
id="id1">
+ Use ${bundleMessageVar} in the JSP.
+ </fmt:message>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/message.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/message.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/message.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/message.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,5 @@
+<tests>
+ <test id="id1">
+
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/message.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/otherwise.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/otherwise.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/otherwise.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,21 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:choose c:when c: otherwise</h1>
+ <c:choose>
+ <c:when test="${mister}">
+ Mr.
+ </c:when>
+ <c:otherwise id="id1">
+ Ms.
+ </c:otherwise>
+ </c:choose>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/otherwise.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/otherwise.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/otherwise.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/otherwise.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ Ms.
+ </SPAN>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/otherwise.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/out.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/out.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/out.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,16 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:out</h1>
+ <c:out value="cout_value" id="id1">
+ some out
+ </c:out>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/out.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/out.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/out.jsp.xml
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/out.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="id1">
+ <SPAN CLASS="vpe-text">
+ cout_value
+ </SPAN>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/out.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/param.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/param.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/param.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,15 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:param</h1>
+ <c:param name="quarter" value="25" id="id1"/>
+
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/param.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/parseDate.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/parseDate.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/parseDate.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,16 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>fmt:parseDate</h1>
+ <fmt:parseDate value="03/30/2009 15:30:00"
+ pattern="MM/dd/yyyy HH:mm:ss" id="id1">
+ </fmt:parseDate>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/parseDate.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/parseNumber.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/parseNumber.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/parseNumber.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,15 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>fmt:parseNumber</h1>
+ <fmt:parseNumber value="123" integerOnly="true"
id="id1">
+ </fmt:parseNumber>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/parseNumber.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/query.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/query.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/query.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,17 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>sql:query</h1>
+ <sql:query dataSource="someDataSource" var="queryResults"
maxRows="10"
+ scope="session" id="id1">
+ SELECT * FROM customers
+ </sql:query>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/query.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/redirect.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/redirect.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/redirect.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,14 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:redirect</h1>
+ <c:redirect url="import.html" id="id1"/>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/redirect.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/remove.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/remove.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/remove.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,14 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:remove</h1>
+ <c:remove var="variable" scope="session" id="id1"/>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/remove.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/requestEncoding.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/requestEncoding.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/requestEncoding.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,14 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>fmt:requestEncoding</h1>
+ <fmt:requestEncoding value="utf-8" id="id1"/>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/requestEncoding.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/set.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/set.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/set.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,14 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:set</h1>
+ <c:set var="four" scope="session" value="${3 + 1}"
id="id1"/>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/set.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setBundle.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setBundle.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setBundle.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,16 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>fmt:setBundle</h1>
+ <fmt:setBundle basename="demo.Messages"
+ scope="session" var="bundleVar" id="id1"/>
+
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setBundle.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setDataSource.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setDataSource.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setDataSource.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,18 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>sql:setDataSource</h1>
+ <sql:setDataSource var="example"
+ driver="oracle.jdbc.driver.OracleDriver"
+ url="jdbc:oracle:thin:@insn104a.idc.oracle.com:1522:ora9idb"
+ user="scott" password="tiger"
+ id="id1"/>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setDataSource.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setLocale.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setLocale.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setLocale.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,14 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>fmt:setLocale</h1>
+ <fmt:setLocale value="en_US" id="id1"/>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setLocale.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setTimeZone.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setTimeZone.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setTimeZone.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,14 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>fmt:setTimeZone</h1>
+ <fmt:setTimeZone value="Australia/Brisbane" var="timeZoneVar"
id="id1"/>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/setTimeZone.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/sqlParam.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/sqlParam.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/sqlParam.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,17 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>sql:param</h1>
+ <sql:query dataSource="someDataSource" var="queryResults"
maxRows="10"
+ scope="session" sql="SELECT * FROM customers">
+ <sql:param value="paramValue" id="id1"></sql:param>
+ </sql:query>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/sqlParam.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/students.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/students.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/students.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+
+<students>
+ <student>
+ <name>Thomas</name>
+ <place>Delhi</place>
+ <number>1111</number>
+ <mark>78</mark>
+ </student>
+
+ <student>
+ <name>David</name>
+ <place>Bombay</place>
+ <number>4444</number>
+ <mark>90</mark>
+ </student>
+
+ <student>
+ <name>Mathew</name>
+ <place>Bangalore</place>
+ <number>5555</number>
+ <mark>92</mark>
+ </student>
+
+ <student>
+ <name>John</name>
+ <place>Hyderabad</place>
+ <number>6666</number>
+ <mark>72</mark>
+ </student>
+
+</students>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/students.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/timeZone.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/timeZone.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/timeZone.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,15 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>fmt:timeZone</h1>
+ <fmt:timeZone value="EST" id="id1"> Some text
</fmt:timeZone>
+
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/timeZone.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/timeZone.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/timeZone.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/timeZone.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="id1">
+
+ <DIV STYLE="-moz-user-modify: read-only;">
+ <SPAN CLASS="vpe-text">
+ Some text
+ </SPAN>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/timeZone.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transaction.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transaction.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transaction.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,40 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>sql:transaction & sql:update</h1>
+ <sql:transaction dataSource="${example}" id="id1">
+ <sql:update var="newTable">
+ create table mytable (
+ nameid int primary key,
+ name varchar(80)
+ )
+ </sql:update>
+
+ <h2>Inserting three rows into table</h2>
+ <sql:update var="updateCount">
+ INSERT INTO mytable VALUES (1,'Paul Oakenfold')
+ </sql:update>
+ <sql:update var="updateCount">
+ INSERT INTO mytable VALUES (2,'Timo Maas')
+ </sql:update>
+ <sql:update var="updateCount">
+ INSERT INTO mytable VALUES (3,'Paul Adam')
+ </sql:update>
+
+ <p>DONE: Inserting three rows into table</p>
+
+ <sql:query var="deejays">
+ SELECT * FROM mytable
+ </sql:query>
+
+ </sql:transaction>
+
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transaction.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transaction.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transaction.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transaction.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,17 @@
+<tests>
+ <test id="id1">
+
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <H2 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ Inserting three rows into table
+ </SPAN>
+ </H2>
+ <P STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ DONE: Inserting three rows into table
+ </SPAN>
+ </P>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transaction.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transform.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transform.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transform.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,17 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>x:transform</h1>
+ <c:import url="students.xml" var="url" />
+ <c:import url="xsl1.xsl" var="xsl" />
+ <x:transform xml="${url}" xslt="${xsl}" id="id1"/>
+
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/transform.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/update.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/update.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/update.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,40 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+h1>sql:transaction & sql:update</h1>
+ <sql:transaction dataSource="${example}">
+ <sql:update var="newTable" id="id1">
+ create table mytable (
+ nameid int primary key,
+ name varchar(80)
+ )
+ </sql:update>
+
+ <h2>Inserting three rows into table</h2>
+ <sql:update var="updateCount">
+ INSERT INTO mytable VALUES (1,'Paul Oakenfold')
+ </sql:update>
+ <sql:update var="updateCount">
+ INSERT INTO mytable VALUES (2,'Timo Maas')
+ </sql:update>
+ <sql:update var="updateCount">
+ INSERT INTO mytable VALUES (3,'Paul Adam')
+ </sql:update>
+
+ <p>DONE: Inserting three rows into table</p>
+
+ <sql:query var="deejays">
+ SELECT * FROM mytable
+ </sql:query>
+
+ </sql:transaction>
+
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/update.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/url.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/url.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/url.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,15 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:url</h1>
+ <c:url value="/ssssssss" id="id1">
+ </c:url>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/url.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/url.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/url.jsp.xml
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/url.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="id1">
+ <SPAN CLASS="vpe-text">
+ /ssssssss
+ </SPAN>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/url.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/when.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/when.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/when.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,21 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+<h1>c:choose c:when c: otherwise</h1>
+ <c:choose>
+ <c:when test="${mister}" id="id1">
+ Mr.
+ </c:when>
+ <c:otherwise>
+ Ms.
+ </c:otherwise>
+ </c:choose>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/when.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/when.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/when.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/when.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ Mr.
+ </SPAN>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/when.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xChoose.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xChoose.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xChoose.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,27 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:import</h1>
+ <c:import url="books.xml" var="url" />
+ -----------------------------------------------<br>
+ <h1>x:parse</h1>
+ <x:parse xml="${url}" var="doc" />
+
+ <h1>x:choose & x:when & x:otherwise</h1>
+ <x:choose id="id1">
+ <x:when select="$doc/books/book/title=selection2">
+ When condition is true
+ </x:when>
+ <x:otherwise>
+ Otherwise
+ </x:otherwise>
+ </x:choose>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xChoose.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xChoose.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xChoose.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xChoose.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,16 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ When condition is true
+ </SPAN>
+ </DIV>
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ Otherwise
+ </SPAN>
+ </DIV>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xChoose.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xForEach.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xForEach.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xForEach.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,27 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:import</h1>
+ <c:import url="books.xml" var="url" />
+ -----------------------------------------------<br>
+ <h1>x:parse</h1>
+ <x:parse xml="${url}" var="doc" />
+
+ <h1>x:forEach & x:out</h1>
+ <x:forEach var="n" select="$doc/books/book"
id="id1">
+ <x:out select="$n/title" />
+ <br>
+ <x:out select="$n/author" />
+ <br>
+ ========
+ <br>
+ </x:forEach>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xForEach.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xForEach.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xForEach.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xForEach.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,45 @@
+<tests>
+ <test id="id1">
+ <SPAN CLASS="vpe-text">
+ <SPAN CLASS="vpe-text">
+ </SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN CLASS="vpe-text">
+ </SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN CLASS="vpe-text">
+ ========
+ </SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN CLASS="vpe-text">
+ </SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN CLASS="vpe-text">
+ </SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN CLASS="vpe-text">
+ ========
+ </SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN CLASS="vpe-text">
+ </SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN CLASS="vpe-text">
+ </SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN CLASS="vpe-text">
+ ========
+ </SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ </SPAN>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xForEach.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xIf.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xIf.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xIf.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,17 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>x:if</h1>
+ <x:if select="$n/title=selection1" id="id1">
+ Some Text
+ </x:if>
+
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xIf.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xIf.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xIf.jsp.xml
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xIf.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ Some Text
+ </SPAN>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xIf.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOtherwise.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOtherwise.jsp
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOtherwise.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,27 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:import</h1>
+ <c:import url="books.xml" var="url" />
+ -----------------------------------------------<br>
+ <h1>x:parse</h1>
+ <x:parse xml="${url}" var="doc" />
+
+ <h1>x:choose & x:when & x:otherwise</h1>
+ <x:choose>
+ <x:when select="$doc/books/book/title=selection2">
+ When condition is true
+ </x:when>
+ <x:otherwise id="id1">
+ Otherwise
+ </x:otherwise>
+ </x:choose>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOtherwise.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOtherwise.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOtherwise.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOtherwise.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ Otherwise
+ </SPAN>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOtherwise.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOut.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOut.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOut.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,30 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:import</h1>
+ <c:import url="books.xml" var="url" />
+ -----------------------------------------------<br>
+ <h1>x:parse</h1>
+ <x:parse xml="${url}" var="doc" />
+
+ <h1>x:forEach & x:out</h1>
+ <x:forEach var="n" select="$doc/books/book">
+ <x:out select="$n/title" id="id1"/>
+ <br>
+ <x:out select="$n/author" />
+ <br>
+ ========
+ <br>
+ </x:forEach>
+
+ <h1>x:out</h1>
+ <x:out select="$doc/books" id="id2"/>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOut.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOut.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOut.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOut.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,6 @@
+<tests>
+ <test id="id1">
+ <SPAN CLASS="vpe-text">
+ </SPAN>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xOut.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xParam.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xParam.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xParam.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,60 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+<h1>x:param</h1>
+ <c:set var="doc1">
+ <document>
+ <description>This is first document.</description>
+ </document>
+ </c:set>
+
+ <x:parse varDom="doc2">
+ <document>
+ <description>This is second document.</description>
+ </document>
+ </x:parse>
+
+ <x:parse varDom="doc3">
+ <document>
+ <description>This is third document.</description>
+ </document>
+ </x:parse>
+
+ <c:set var="xslt">
+ <?xml version="1.0"?>
+ <xsl:stylesheet version="1.0"
+
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="xml" omit-xml-declaration="yes"
indent="yes" />
+ <xsl:param name="doc2" />
+ <xsl:param name="doc3" />
+
+
+ <xsl:template match="/">
+ <xsl:value-of select="/document/description" />
+ <br />
+ <xsl:value-of select="$doc2/document/description" />
+ <br />
+ <xsl:value-of select="$doc3/document/description" />
+ <br />
+ </xsl:template>
+
+
+ </xsl:stylesheet>
+ </c:set>
+
+ <x:transform xml="${doc1}" xslt="${xslt}">
+ <x:param name="doc2" value="${doc2}" id="id1"/>
+ <x:param name="doc3" value="${doc3}" />
+ </x:transform>
+
+ <h1>End</h1>
+
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xParam.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xParse.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xParse.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xParse.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,17 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:import</h1>
+ <c:import url="books.xml" var="url" />
+ -----------------------------------------------<br>
+ <h1>x:parse</h1>
+ <x:parse xml="${url}" var="doc" id="id1"/>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xParse.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xSet.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xSet.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xSet.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,14 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>x:set</h1>
+ <x:set var="name" scope="request" select="$doc/books"
id="id1"/>
+</body>
+</html>
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xSet.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xWhen.jsp
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xWhen.jsp
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xWhen.jsp 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,27 @@
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/core"
prefix="c"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/sql"
prefix="sql"%>
+<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
+
+<html>
+<head>
+<title>JSTL</title>
+</head>
+<body>
+ <h1>c:import</h1>
+ <c:import url="books.xml" var="url" />
+ -----------------------------------------------<br>
+ <h1>x:parse</h1>
+ <x:parse xml="${url}" var="doc" />
+
+ <h1>x:choose & x:when & x:otherwise</h1>
+ <x:choose>
+ <x:when select="$doc/books/book/title=selection2"
id="id1">
+ When condition is true
+ </x:when>
+ <x:otherwise>
+ Otherwise
+ </x:otherwise>
+ </x:choose>
+</body>
+</html>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xWhen.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xWhen.jsp.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xWhen.jsp.xml
(rev 0)
+++
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xWhen.jsp.xml 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ When condition is true
+ </SPAN>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xWhen.jsp.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xsl1.xsl
===================================================================
--- trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xsl1.xsl
(rev 0)
+++ trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xsl1.xsl 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+ <xsl:template match="/">
+ <html>
+ <body>
+ <table border="2" bgcolor="yellow">
+ <tr>
+ <th>Name</th>
+ <th>Place</th>
+ <th>Number</th>
+ <th>Mark</th>
+ </tr>
+
+ <xsl:for-each select="students/student">
+ <tr>
+ <td>
+ <xsl:value-of select="name" />
+ </td>
+ <td>
+ <xsl:value-of select="place" />
+ </td>
+ <td>
+ <xsl:value-of select="number" />
+ </td>
+ <td>
+ <xsl:value-of select="mark" />
+ </td>
+ </tr>
+ </xsl:for-each>
+
+ </table>
+ </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/resources/jstlTests/WebContent/pages/components/xsl1.xsl
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/ant/build.properties
===================================================================
--- trunk/jsf/tests/resources/jstlTests/ant/build.properties (rev
0)
+++ trunk/jsf/tests/resources/jstlTests/ant/build.properties 2009-04-01 14:10:24 UTC (rev
14401)
@@ -0,0 +1,3 @@
+#
+#Tue Mar 31 12:33:13 EEST 2009
+classpath.external=
Property changes on: trunk/jsf/tests/resources/jstlTests/ant/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/resources/jstlTests/ant/build.xml
===================================================================
--- trunk/jsf/tests/resources/jstlTests/ant/build.xml (rev 0)
+++ trunk/jsf/tests/resources/jstlTests/ant/build.xml 2009-04-01 14:10:24 UTC (rev 14401)
@@ -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
Property changes on: trunk/jsf/tests/resources/jstlTests/ant/build.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlAllTests.java
===================================================================
--- trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlAllTests.java
(rev 0)
+++ trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlAllTests.java 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,40 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jsf.vpe.jstl.test;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.tools.tests.ImportBean;
+import org.jboss.tools.vpe.ui.test.VpeTestSetup;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class JstlAllTests {
+
+ public static final String IMPORT_PROJECT_NAME = "jstlTests";
//$NON-NLS-1$
+
+ public static Test suite() {
+
+ TestSuite suite = new TestSuite("Tests for Vpe JSTL components");
//$NON-NLS-1$
+
+ suite.addTestSuite(JstlComponentContentTest.class);
+
+ List<ImportBean> projectToImport = new ArrayList<ImportBean>();
+ ImportBean importBean = new ImportBean();
+ importBean.setImportProjectName(JstlAllTests.IMPORT_PROJECT_NAME);
+ importBean.setImportProjectPath(JstlTestPlugin.getPluginResourcePath());
+ projectToImport.add(importBean);
+
+ return new VpeTestSetup(suite, projectToImport);
+ }
+}
Property changes on:
trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlAllTests.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlComponentContentTest.java
===================================================================
--- trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlComponentContentTest.java
(rev 0)
+++
trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlComponentContentTest.java 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,186 @@
+package org.jboss.tools.jsf.vpe.jstl.test;
+
+import org.jboss.tools.vpe.ui.test.ComponentContentTest;
+
+public class JstlComponentContentTest extends ComponentContentTest {
+
+ public JstlComponentContentTest(String name) {
+ super(name);
+ setCheckWarning(false);
+ }
+
+ public void testCatch() throws Throwable {
+ performContentTest("components/catch.jsp");//$NON-NLS-1$
+ }
+
+ public void testChoose() throws Throwable {
+ performContentTest("components/choose.jsp");//$NON-NLS-1$
+ }
+
+ public void testOtherwise() throws Throwable {
+ performContentTest("components/otherwise.jsp");//$NON-NLS-1$
+ }
+
+ public void testOut() throws Throwable {
+ performContentTest("components/out.jsp");//$NON-NLS-1$
+ }
+
+ public void testWhen() throws Throwable {
+ performContentTest("components/when.jsp");//$NON-NLS-1$
+ }
+
+ public void testIf() throws Throwable {
+ performContentTest("components/if.jsp");//$NON-NLS-1$
+ }
+
+ public void testImport() throws Throwable {
+ performContentTest("components/import.jsp");//$NON-NLS-1$
+ }
+
+ public void testForEach() throws Throwable {
+ performContentTest("components/forEach.jsp");//$NON-NLS-1$
+ }
+
+ public void testForTokens() throws Throwable {
+ performContentTest("components/forTokens.jsp");//$NON-NLS-1$
+ }
+
+ public void testParam() throws Throwable {
+ performInvisibleTagTest("components/param.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testRemove() throws Throwable {
+ performInvisibleTagTest("components/remove.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testRedirect() throws Throwable {
+ performInvisibleTagTest("components/redirect.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testSet() throws Throwable {
+ performInvisibleTagTest("components/set.jsp", "id1"); //$NON-NLS-1$
//$NON-NLS-2$
+ }
+
+ public void testUrl() throws Throwable {
+ performContentTest("components/url.jsp");//$NON-NLS-1$
+ }
+
+ public void testRequestEncoding() throws Throwable {
+ performInvisibleTagTest("components/requestEncoding.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testSetLocale() throws Throwable {
+ performInvisibleTagTest("components/setLocale.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testTimeZone() throws Throwable {
+ performContentTest("components/timeZone.jsp"); //$NON-NLS-1$
+ }
+
+ public void testSetTimeZone() throws Throwable {
+ performInvisibleTagTest("components/setTimeZone.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testBundle() throws Throwable {
+ performContentTest("components/bundle.jsp");//$NON-NLS-1$
+ }
+
+ public void testSetBundle() throws Throwable {
+ performInvisibleTagTest("components/setBundle.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testMessage() throws Throwable {
+ performInvisibleTagTest("components/message.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testFmtParam() throws Throwable {
+ performInvisibleTagTest("components/fmtParam.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testFormatNumber() throws Throwable {
+ performInvisibleTagTest("components/formatNumber.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testParseNumber() throws Throwable {
+ performInvisibleTagTest("components/parseNumber.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testFormatDate() throws Throwable {
+ performInvisibleTagTest("components/formatDate.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testParseDate() throws Throwable {
+ performInvisibleTagTest("components/parseDate.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testTransaction() throws Throwable {
+ performContentTest("components/transaction.jsp");//$NON-NLS-1$
+ }
+
+ public void testUpdate() throws Throwable {
+ performInvisibleTagTest("components/update.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testQuery() throws Throwable {
+ performInvisibleTagTest("components/query.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testSqlParam() throws Throwable {
+ performInvisibleTagTest("components/sqlParam.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testDateParam() throws Throwable {
+ performInvisibleTagTest("components/dateParam.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testSetDataSource() throws Throwable {
+ performInvisibleTagTest("components/setDataSource.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testXParse() throws Throwable {
+ performInvisibleTagTest("components/xParse.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testTransform() throws Throwable {
+ performInvisibleTagTest("components/transform.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testXForEach() throws Throwable {
+ performContentTest("components/xForEach.jsp");//$NON-NLS-1$
+ }
+
+ public void testXIf() throws Throwable {
+ performContentTest("components/xIf.jsp");//$NON-NLS-1$
+ }
+
+ public void testXChoose() throws Throwable {
+ performContentTest("components/xChoose.jsp");//$NON-NLS-1$
+ }
+
+ public void testXWhen() throws Throwable {
+ performContentTest("components/xWhen.jsp");//$NON-NLS-1$
+ }
+
+ public void testXOtherwise() throws Throwable {
+ performContentTest("components/xOtherwise.jsp");//$NON-NLS-1$
+ }
+
+ public void testXOut() throws Throwable {
+ performContentTest("components/xOut.jsp");//$NON-NLS-1$
+ }
+
+
+ public void testXSet() throws Throwable {
+ performInvisibleTagTest("components/xSet.jsp", "id1"); //$NON-NLS-1$
//$NON-NLS-2$
+ }
+
+ public void testXParam() throws Throwable {
+ performInvisibleTagTest("components/xParam.jsp", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ @Override
+ protected String getTestProjectName() {
+ return JstlAllTests.IMPORT_PROJECT_NAME;
+ }
+
+}
Property changes on:
trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlComponentContentTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlTestPlugin.java
===================================================================
--- trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlTestPlugin.java
(rev 0)
+++ trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlTestPlugin.java 2009-04-01
14:10:24 UTC (rev 14401)
@@ -0,0 +1,72 @@
+package org.jboss.tools.jsf.vpe.jstl.test;
+
+import java.net.URL;
+
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class JstlTestPlugin extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.jsf.vpe.jstl.test";
//$NON-NLS-1$
+
+ // The shared instance
+ private static JstlTestPlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public JstlTestPlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#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 JstlTestPlugin getDefault() {
+ return plugin;
+ }
+
+ /**
+ * Gets the path to the "resources" folder.
+ *
+ * @return the path string
+ */
+ 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$ //$NON-NLS-1$
+ } catch (Exception e) {
+ url = bundle.getEntry("/resources"); // $NON-NLS-1$ //$NON-NLS-1$
+ }
+ return (url == null) ? null : url.getPath();
+ }
+
+}
Property changes on:
trunk/jsf/tests/src/org/jboss/tools/jsf/vpe/jstl/test/JstlTestPlugin.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native