Author: vrubezhny
Date: 2008-01-22 11:13:10 -0500 (Tue, 22 Jan 2008)
New Revision: 5872
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/.classpath
trunk/jst/test/org.jboss.tools.jst.jsp.test/.project
trunk/jst/test/org.jboss.tools.jst.jsp.test/META-INF/
trunk/jst/test/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF
trunk/jst/test/org.jboss.tools.jst.jsp.test/build.properties
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.classpath
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.project
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.jdt.core.prefs
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.wst.common.component
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.hibernate.eclipse.console.prefs
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.jboss.tools.jst.web.xml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.jboss.tools.seam.core.prefs
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/Jbide1585Test.launch
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/META-INF/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/META-INF/MANIFEST.MF
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/components.xml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/faces-config.xml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/jboss-web.xml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/ajax4jsf-1.1.1-SNAPSHOT.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/antlr-2.7.6.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/antlr-3.0ea8.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-collections-3.1.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-digester-1.6.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-jci-core-1.0-406301.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-jci-janino-2.4.3.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/drools-compiler-3.0.5.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/drools-core-3.0.5.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/el-ri.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/janino-2.4.3.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-debug.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-ioc.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-mail.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-pdf.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-remoting.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-ui.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jbpm-3.1.4.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jsf-facelets.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/oscache-2.3.2.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/richfaces-3.0.1-SNAPSHOT.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/stringtemplate-2.3b6.jar
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/pages.xml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/web.xml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/error.xhtml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/home.xhtml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/img/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/img/cal-next.png
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/img/cal-prev.png
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/img/dtpick.gif
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/index.html
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/display.xhtml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/edit.xhtml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/loginout.xhtml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/menu.xhtml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/template.xhtml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/login.page.xml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/login.xhtml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/stylesheet/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/stylesheet/theme.css
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/hibernate-console.properties
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/resources/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/resources/Jbide1585Test-ds.xml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/action/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/action/org/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/action/org/domain/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/action/org/domain/Jbide1585Test/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/action/org/domain/Jbide1585Test/session/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/action/org/domain/Jbide1585Test/session/Authenticator.java
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/META-INF/
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/META-INF/persistence.xml
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/components.properties
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/import.sql
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/messages_en.properties
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/seam.properties
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/security.drl
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JstJspAllTests.java
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/JstJspJbide1585Test.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1585 Proposal list is not filtered by current
input if there is no blank symbol between new entered tag and next tag, and new tag has no
'>'
JUnit test for the issue
Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/.classpath
===================================================================
--- trunk/jst/test/org.jboss.tools.jst.jsp.test/.classpath (rev
0)
+++ trunk/jst/test/org.jboss.tools.jst.jsp.test/.classpath 2008-01-22 16:13:10 UTC (rev
5872)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/.project
===================================================================
--- trunk/jst/test/org.jboss.tools.jst.jsp.test/.project (rev 0)
+++ trunk/jst/test/org.jboss.tools.jst.jsp.test/.project 2008-01-22 16:13:10 UTC (rev
5872)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.jst.jsp.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.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/test/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF
(rev 0)
+++ trunk/jst/test/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF 2008-01-22 16:13:10
UTC (rev 5872)
@@ -0,0 +1,18 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Test
+Bundle-SymbolicName: org.jboss.tools.jst.jsp.test
+Bundle-Version: 1.0.0
+Require-Bundle: org.junit,
+ org.jboss.tools.common.test,
+ org.jboss.tools.tests,
+ org.eclipse.core.resources,
+ org.eclipse.core.runtime,
+ org.eclipse.ui,
+ org.eclipse.jface.text,
+ org.eclipse.wst.sse.ui,
+ org.eclipse.ui.ide,
+ org.eclipse.wst.sse.core,
+ org.jboss.tools.jst.jsp,
+ org.jboss.tools.common.text.ext,
+ org.jboss.tools.jst.web
Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/build.properties
===================================================================
--- trunk/jst/test/org.jboss.tools.jst.jsp.test/build.properties
(rev 0)
+++ trunk/jst/test/org.jboss.tools.jst.jsp.test/build.properties 2008-01-22 16:13:10 UTC
(rev 5872)
@@ -0,0 +1,3 @@
+source.. = src/
+bin.includes = META-INF/,\
+ .
Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.classpath
===================================================================
--- trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.classpath
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.classpath 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="WebContent/WEB-INF/dev"
path="src/action"/>
+ <classpathentry kind="src" path="src/model"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.5.0_07"/>
+ <classpathentry kind="con"
path="org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer/JBoss
4.2 Runtime"/>
+ <classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry exported="true" kind="con"
path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.project
===================================================================
--- trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.project
(rev 0)
+++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.project 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>Jbide1585Test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</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>
+ <buildCommand>
+ <name>org.jboss.tools.seam.core.seambuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.hibernate.eclipse.console.hibernateBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.jboss.tools.jsf.jsfnature</nature>
+ <nature>org.jboss.tools.seam.core.seamnature</nature>
+ <nature>org.hibernate.eclipse.console.hibernateNature</nature>
+ </natures>
+</projectDescription>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.jdt.core.prefs 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,7 @@
+#Tue Jan 22 16:19:35 MSK 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.jst.common.project.facet.core.prefs
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.jst.common.project.facet.core.prefs 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,4 @@
+#Tue Jan 22 16:19:48 MSK 2008
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_07/owners=jst.java\:5.0
+classpath.helper/org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer\:\:JBoss\
4.2\ Runtime/owners=jst.seam\:1.2;jst.web\:2.5;jst.jsf\:1.2
+eclipse.preferences.version=1
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.jst.common.project.facet.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.wst.common.component
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.wst.common.component
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.wst.common.component 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="Jbide1585Test">
+<wb-resource deploy-path="/" source-path="/WebContent"/>
+<wb-resource deploy-path="/WEB-INF/classes"
source-path="/src/action"/>
+<wb-resource deploy-path="/WEB-INF/classes"
source-path="/src/model"/>
+<property name="context-root" value="Jbide1585Test"/>
+<property name="java-output-path" value="build/classes"/>
+</wb-module>
+</project-modules>
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.wst.common.project.facet.core.xml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.wst.common.project.facet.core.xml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 4.2 Runtime"/>
+ <fixed facet="jst.jsf"/>
+ <fixed facet="jst.seam"/>
+ <fixed facet="jst.java"/>
+ <fixed facet="jst.web"/>
+ <installed facet="jst.java" version="5.0"/>
+ <installed facet="jst.web" version="2.5"/>
+ <installed facet="jst.jsf" version="1.2"/>
+ <installed facet="jst.seam" version="1.2"/>
+</faceted-project>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.hibernate.eclipse.console.prefs
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.hibernate.eclipse.console.prefs
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.hibernate.eclipse.console.prefs 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,4 @@
+#Tue Jan 22 16:19:49 MSK 2008
+default.configuration=Jbide1585Test
+eclipse.preferences.version=1
+hibernate3.enabled=true
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.hibernate.eclipse.console.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.jboss.tools.jst.web.xml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.jboss.tools.jst.web.xml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.jboss.tools.jst.web.xml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><file-systems
application-name="Jbide1585Test" model-entity="FileSystems"
VERSION="2.0.0"
workspace-home="./WebContent/WEB-INF"><file-system
model-entity="FileSystemFolder" location="%workspace.home%"
NAME="WEB-INF"/><file-system model-entity="FileSystemFolder"
info="Content-Type=Web" location="%workspace.home%/.."
NAME="WEB-ROOT"/><file-system model-entity="FileSystemFolder"
location="%workspace.home%/../../src" NAME="src"/><file-system
model-entity="FileSystemFolder" location="%workspace.home%/lib"
NAME="lib"/><file-system model-entity="FileSystemFolder"
location="%workspace.home%/classes" NAME="classes"/><web
model-entity="JstWeb" model-path="/web.xml"
SERVLET_VERSION="2.4"> <module model-entity="WebJSFModule"
model-path="/faces-config.xml" root="WEB-ROOT" src="src"
URI="/WEB-INF/faces-config.xml"/></web></file-systems>
\ No newline at end of file
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.jboss.tools.jst.web.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.jboss.tools.seam.core.prefs
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.jboss.tools.seam.core.prefs
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.jboss.tools.seam.core.prefs 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,9 @@
+#Tue Jan 22 16:19:48 MSK 2008
+action.package=org.domain.Jbide1585Test.session
+eclipse.preferences.version=1
+model.package=org.domain.Jbide1585Test.entity
+seam.project.connection.profile=DefaultDS
+seam.project.deployment.type=war
+seam.runtime.name=Seam12RT
+seam.test.project=Jbide1585Test-test
+test.package=org.domain.Jbide1585Test.test
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.settings/org.jboss.tools.seam.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/Jbide1585Test.launch
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/Jbide1585Test.launch
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/Jbide1585Test.launch 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Hibernate Console launch configuration -->
+<launchConfiguration
type="org.hibernate.eclipse.launch.ConsoleConfigurationLaunchConfigurationType">
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR"
value="Jbide1585Test"/>
+<stringAttribute key="org.hibernate.eclipse.launch.PROPERTY_FILE"
value="/Jbide1585Test/hibernate-console.properties"/>
+<stringAttribute key="org.hibernate.eclipse.launch.CONFIGURATION_FACTORY"
value="JPA"/>
+</launchConfiguration>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/Jbide1585Test.launch
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/META-INF/MANIFEST.MF
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/META-INF/MANIFEST.MF
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/META-INF/MANIFEST.MF 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/components.xml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/components.xml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/components.xml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<components
xmlns="http://jboss.com/products/seam/components"
+
xmlns:core="http://jboss.com/products/seam/core"
+
xmlns:drools="http://jboss.com/products/seam/drools"
+
xmlns:security="http://jboss.com/products/seam/security"
+
xmlns:mail="http://jboss.com/products/seam/mail"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation=
+ "http://jboss.com/products/seam/core
http://jboss.com/products/seam/core-1.1.xsd
+
http://jboss.com/products/seam/drools
http://jboss.com/products/seam/drools-1.1.xsd
+
http://jboss.com/products/seam/security
http://jboss.com/products/seam/security-1.1.xsd
+
http://jboss.com/products/seam/mail
http://jboss.com/products/seam/mail-1.2.xsd
+
http://jboss.com/products/seam/components
http://jboss.com/products/seam/components-1.1.xsd">
+
+ <core:init debug="true" jndi-pattern="@jndiPattern@"/>
+
+ <core:manager concurrent-request-timeout="500"
+ conversation-timeout="120000"
+ conversation-id-parameter="cid"
+ conversation-is-long-running-parameter="clr"/>
+
+ <core:managed-persistence-context name="entityManager"
+ auto-create="true"
+
entity-manager-factory="#{Jbide1585TestEntityManagerFactory}"/>
+
+ <core:entity-manager-factory name="Jbide1585TestEntityManagerFactory"
+ persistence-unit-name="Jbide1585Test"/>
+
+ <core:ejb installed="@embeddedEjb@"/>
+
+ <drools:rule-base name="securityRules">
+
<drools:rule-files><value>/security.drl</value></drools:rule-files>
+ </drools:rule-base>
+
+ <security:identity authenticate-method="#{authenticator.authenticate}"
+ security-rules="#{securityRules}"
+ remember-me="true"/>
+
+ <event type="org.jboss.seam.notLoggedIn">
+ <action expression="#{redirect.captureCurrentView}"/>
+ </event>
+ <event type="org.jboss.seam.postAuthenticate">
+ <action expression="#{redirect.returnToCapturedView}"/>
+ </event>
+
+ <mail:mail-session host="localhost" port="2525"
username="test" password="test" />
+
+ <!-- For use with jBPM pageflow or process management -->
+ <!--
+ <core:jbpm>
+ <core:process-definitions></core:process-definitions>
+ <core:pageflow-definitions></core:pageflow-definitions>
+ </core:jbpm>
+ -->
+
+</components>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/components.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/faces-config.xml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/faces-config.xml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/faces-config.xml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,27 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<faces-config version="1.2"
+
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-facesconfig_1_2.xsd">
+
+ <application>
+ <message-bundle>messages</message-bundle>
+ <!-- Disabled when using Ajax4JSF -->
+ <!--
+
<view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler>
+ -->
+ </application>
+
+ <!-- Seam transaction management -->
+ <lifecycle>
+
<phase-listener>org.jboss.seam.jsf.TransactionalSeamPhaseListener</phase-listener>
+ </lifecycle>
+
+ <!-- No Seam transaction management -->
+ <!--
+ <lifecycle>
+ <phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
+ </lifecycle>
+ -->
+
+</faces-config>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/faces-config.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/jboss-web.xml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/jboss-web.xml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/jboss-web.xml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,8 @@
+<jboss-web>
+ <class-loading java2ClassLoadingCompliance="false">
+ <loader-repository>
+ seam.jboss.org:loader=Jbide1585Test
+
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
+ </loader-repository>
+ </class-loading>
+</jboss-web>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/ajax4jsf-1.1.1-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/ajax4jsf-1.1.1-SNAPSHOT.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/antlr-2.7.6.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/antlr-2.7.6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/antlr-3.0ea8.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/antlr-3.0ea8.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-collections-3.1.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-collections-3.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-digester-1.6.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-digester-1.6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-jci-core-1.0-406301.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-jci-core-1.0-406301.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-jci-janino-2.4.3.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/commons-jci-janino-2.4.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/drools-compiler-3.0.5.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/drools-compiler-3.0.5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/drools-core-3.0.5.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/drools-core-3.0.5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/el-ri.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/el-ri.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/janino-2.4.3.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/janino-2.4.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-debug.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-debug.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-ioc.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-ioc.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-mail.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-mail.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-pdf.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-pdf.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-remoting.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-remoting.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-ui.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam-ui.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jboss-seam.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jbpm-3.1.4.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jbpm-3.1.4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jsf-facelets.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/jsf-facelets.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/oscache-2.3.2.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/oscache-2.3.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/richfaces-3.0.1-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/richfaces-3.0.1-SNAPSHOT.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/stringtemplate-2.3b6.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/lib/stringtemplate-2.3b6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/pages.xml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/pages.xml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/pages.xml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,53 @@
+<!DOCTYPE pages PUBLIC
+ "-//JBoss/Seam Pages Configuration DTD 1.2//EN"
+ "http://jboss.com/products/seam/pages-1.2.dtd">
+
+<pages no-conversation-view-id="/home.xhtml"
+ login-view-id="/login.xhtml">
+
+ <page view-id="*">
+ <navigation>
+ <rule if-outcome="home">
+ <redirect view-id="/home.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <exception class="org.jboss.seam.framework.EntityNotFoundException">
+ <redirect view-id="/error.xhtml">
+ <message>Not found</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.persistence.EntityNotFoundException">
+ <redirect view-id="/error.xhtml">
+ <message>Not found</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.persistence.OptimisticLockException">
+ <end-conversation/>
+ <redirect view-id="/error.xhtml">
+ <message>Another user changed the same data, please try
again</message>
+ </redirect>
+ </exception>
+
+ <exception class="org.jboss.seam.security.AuthorizationException">
+ <redirect>
+ <message>You don't have permission to do this</message>
+ </redirect>
+ </exception>
+
+ <exception class="org.jboss.seam.security.NotLoggedInException">
+ <redirect view-id="/login.xhtml">
+ <message>Please log in first</message>
+ </redirect>
+ </exception>
+
+ <exception>
+ <redirect view-id="/error.xhtml">
+ <message>Unexpected error, please try again</message>
+ </redirect>
+ </exception>
+
+</pages>
\ No newline at end of file
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/pages.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/web.xml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/web.xml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/web.xml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,95 @@
+<?xml version="1.0" ?>
+<web-app
xmlns="http://java.sun.com/xml/ns/j2ee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <!-- Ajax4jsf (must come first!) -->
+
+ <filter>
+ <display-name>Ajax4jsf Filter</display-name>
+ <filter-name>ajax4jsf</filter-name>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>ajax4jsf</filter-name>
+ <url-pattern>*.seam</url-pattern>
+ </filter-mapping>
+
+ <context-param>
+ <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
+
<param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>org.ajax4jsf.SKIN</param-name>
+ <param-value>blueSky</param-value>
+ </context-param>
+
+ <!-- Seam -->
+
+ <listener>
+ <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
+ </listener>
+
+ <filter>
+ <filter-name>Seam Filter</filter-name>
+ <filter-class>org.jboss.seam.web.SeamFilter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>Seam Filter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <servlet>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <url-pattern>/seam/resource/*</url-pattern>
+ </servlet-mapping>
+
+ <!-- Facelets development mode (disable in production) -->
+
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <!-- JSF -->
+
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>client</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.seam</url-pattern>
+ </servlet-mapping>
+
+ <security-constraint>
+ <display-name>Restrict raw XHTML Documents</display-name>
+ <web-resource-collection>
+ <web-resource-name>XHTML</web-resource-name>
+ <url-pattern>*.xhtml</url-pattern>
+ </web-resource-collection>
+ <auth-constraint/>
+ </security-constraint>
+
+</web-app>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/WEB-INF/web.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/error.xhtml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/error.xhtml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/error.xhtml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,18 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h1>Error</h1>
+ <p>Something bad happened :-(</p>
+
+ <h:messages styleClass="message"/>
+
+</ui:define>
+</ui:composition>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/error.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/home.xhtml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/home.xhtml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/home.xhtml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,31 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.ajax4jsf.org/rich"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <rich:panel>
+ <f:facet name="header">Welcome!</f:facet>
+ <p>This empty shell application includes:</p>
+ <ul>
+ <li>Ant build script</li>
+ <li>Deployment to JBoss AS</li>
+ <li>Integration testing using TestNG and JBoss Embeddable EJB3</li>
+ <li>EJB 3.0 Seam components</li>
+ <li>Templated Facelets views</li>
+ <li>HSQL (or MySQL) Datasource</li>
+ <li>Default CSS stylesheet</li>
+ <li>Internationalization support</li>
+ </ul>
+ </rich:panel>
+
+</ui:define>
+</ui:composition>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/home.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/img/cal-next.png
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/img/cal-next.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/img/cal-prev.png
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/img/cal-prev.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/img/dtpick.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/img/dtpick.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/index.html
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/index.html
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/index.html 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,5 @@
+<html>
+<head>
+ <meta http-equiv="Refresh" content="0; URL=home.seam">
+</head>
+</html>
\ No newline at end of file
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/index.html
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/display.xhtml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/display.xhtml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/display.xhtml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,16 @@
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:s="http://jboss.com/products/seam/taglib">
+
+ <div class="prop">
+ <span class="name">
+ <ui:insert name="label"/>
+ </span>
+ <span class="value">
+ <ui:insert/>
+ </span>
+ </div>
+
+</ui:composition>
\ No newline at end of file
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/display.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/edit.xhtml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/edit.xhtml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/edit.xhtml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,24 @@
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:s="http://jboss.com/products/seam/taglib">
+
+ <div class="prop">
+
+ <s:label styleClass="name
#{invalid?'errors':''}">
+ <ui:insert name="label"/>
+ <s:span styleClass="required"
rendered="#{required}">*</s:span>
+ </s:label>
+
+ <span class="value #{invalid?'errors':''}">
+ <s:validateAll>
+ <ui:insert/>
+ </s:validateAll>
+ </span>
+
+ <s:message styleClass="error errors"/>
+
+ </div>
+
+</ui:composition>
\ No newline at end of file
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/edit.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/loginout.xhtml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/loginout.xhtml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/loginout.xhtml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,12 @@
+<div class="loginout"
+
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:s="http://jboss.com/products/seam/taglib">
+ <h:outputText value="Welcome, #{identity.username}"
rendered="#{identity.loggedIn}"/>
+  | 
+ <s:link view="/login.xhtml" value="Login"
rendered="#{not identity.loggedIn}"/>
+ <s:link view="/home.xhtml" action="#{identity.logout}"
value="Logout" rendered="#{identity.loggedIn}"/>
+ |
+</div>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/loginout.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/menu.xhtml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/menu.xhtml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/menu.xhtml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,17 @@
+<rich:toolBar
+
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:rich="http://richfaces.ajax4jsf.org/rich">
+ <rich:toolBarGroup>
+ <h:outputText value="#{projectName}:"/>
+ <s:link view="/home.xhtml" value="Home"/>
+ </rich:toolBarGroup>
+ <rich:toolBarGroup location="right">
+ <h:outputText value="Welcome, #{identity.username}"
rendered="#{identity.loggedIn}"/>
+ <s:link view="/login.xhtml" value="Login"
rendered="#{not identity.loggedIn}"/>
+ <s:link view="/home.xhtml" action="#{identity.logout}"
value="Logout" rendered="#{identity.loggedIn}"/>
+ </rich:toolBarGroup>
+</rich:toolBar>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/menu.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/template.xhtml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/template.xhtml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/template.xhtml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:s="http://jboss.com/products/seam/taglib">
+<head>
+ <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />
+ <title>Jbide1585Test</title>
+ <link href="stylesheet/theme.css" rel="stylesheet"
type="text/css" />
+</head>
+
+<body>
+
+ <ui:include src="menu.xhtml">
+ <ui:param name="projectName" value="Jbide1585Test"/>
+ </ui:include>
+
+ <div class="body">
+ <ui:insert name="body"/>
+ </div>
+
+ <div class="footer">
+ Powered by <a
href="http://jboss.com/products/seam">Seam</a>.
+ Generated by seam-gen.
+ </div>
+
+</body>
+</html>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/layout/template.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/login.page.xml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/login.page.xml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/login.page.xml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,11 @@
+<!DOCTYPE page PUBLIC
+ "-//JBoss/Seam Pages Configuration DTD 1.2//EN"
+ "http://jboss.com/products/seam/pages-1.2.dtd">
+
+<page>
+ <navigation from-action="#{identity.login}">
+ <rule if="#{identity.loggedIn}">
+ <redirect view-id="/home.xhtml"/>
+ </rule>
+ </navigation>
+</page>
\ No newline at end of file
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/login.page.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/login.xhtml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/login.xhtml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/login.xhtml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,45 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.ajax4jsf.org/rich"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h:messages styleClass="message"/>
+
+ <h:form id="login">
+
+ <rich:panel>
+ <f:facet name="header">Login</f:facet>
+
+ <p>Please login using any username and password</p>
+
+ <div class="dialog">
+ <h:panelGrid columns="2" rowClasses="prop"
columnClasses="name,value">
+ <h:outputLabel
for="username">Username</h:outputLabel>
+ <h:inputText id="username"
+ value="#{identity.username}"/>
+ <h:outputLabel
for="password">Password</h:outputLabel>
+ <h:inputSecret id="password"
+ value="#{identity.password}"/>
+ <h:outputLabel for="rememberMe">Remember
me</h:outputLabel>
+ <h:selectBooleanCheckbox id="rememberMe"
+ value="#{identity.rememberMe}"/>
+ </h:panelGrid>
+ </div>
+
+ </rich:panel>
+
+ <div class="actionButtons">
+ <h:commandButton value="Login"
action="#{identity.login}"/>
+ </div>
+
+ </h:form>
+
+ </ui:define>
+</ui:composition>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/login.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/stylesheet/theme.css
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/stylesheet/theme.css
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/stylesheet/theme.css 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,289 @@
+a:active, a:link, a:visited {
+ color: #0D5798;
+}
+a:hover {
+ color: #8CAFCD;
+}
+
+input, textarea {
+ border: 1px solid #BBBBBB;
+ font-size: 10px;
+ background: #F0F8FF;
+ color: black;
+}
+
+input[type='submit'], input[type='button'] {
+ background: #4477AA;
+ color: white;
+ margin: 5px;
+ border-color: gray;
+}
+
+.tableControl, .actionButtons {
+ width: 100%;
+}
+
+.tableControl {
+ text-align: right;
+}
+
+.footer {
+ text-align: center;
+ font-size: 10px;
+}
+
+.rich-table {
+ width:100%;
+}
+
+h1 {
+ font-family: Arial,sans-serif;
+ color: #578BB8;
+ font-size: 1.6em;
+ margin-top: 0;
+}
+
+body {
+ margin: 0px;
+ font-family: Arial,sans-serif;
+ color: #616161;
+}
+
+.body {
+ padding: 30px;
+}
+
+.columnHeader:hover
+{
+ color: #FF6600;
+}
+
+.message {
+ border: 1px solid #FFCC00;
+ padding: 5px;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ background-color: #F0F8FF;
+ font-size: 12px;
+}
+
+.name {
+ vertical-align: top;
+ font-weight: bold;
+ width: 115px;
+ float: left;
+ padding: 5px;
+ margin-top: 3px;
+ clear: left;
+}
+.value {
+ float: left;
+ padding: 5px;
+}
+.error {
+ margin-left: 20px;
+ margin-top: 5px;
+ float: left;
+ padding: 5px;
+ border: 1px solid red;
+}
+
+.errors {
+ color: red;
+}
+.errors input {
+ border: 1px solid red;
+}
+.errors textarea {
+ border: 1px solid red;
+}
+.required {
+ color: red;
+ padding-left: 2px;
+}
+
+/* date picker style */
+div.seam-date
+{
+ margin-top: 5px;
+ border: 1px solid #AAAAAA;
+ background-color: #FFFFFF;
+ color: #505050;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-size: 12px;
+}
+
+table.seam-date td {
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-weight: 12px;
+}
+
+.seam-date-monthNames
+{
+ width: 70px;
+ border: 1px solid #dddddd;
+ border-right: 3px solid #444444;
+ border-bottom: 3px solid #444444;
+ background-color: #ffffff;
+ font-size: 12px;
+ cursor: pointer;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-weight: normal;
+}
+
+a.seam-date-monthNameLink, a.seam-date-monthNameLink:visited
+{
+ text-align: center;
+ display: block;
+ color: #555555;
+}
+
+a.seam-date-monthNameLink:hover
+{
+ background-color: #CCCCCC;
+ color: red;
+}
+
+.seam-date-years
+{
+ height: 10em;
+ overflow: auto;
+ width: 60px;
+ border: 1px solid #dddddd;
+ border-right: 3px solid #444444;
+ border-bottom: 3px solid #444444;
+ background-color: #ffffff;
+ font-size: 12px;
+ cursor: pointer;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-weight: normal;
+}
+
+a.seam-date-yearLink, a.seam-date-yearLink:visited
+{
+ text-align: center;
+ display: block;
+ color: #555555;
+}
+
+a.seam-date-yearLink:hover
+{
+ background-color: #CCCCCC;
+ color: red;
+}
+
+tr.seam-date-header
+{
+ padding: 2px 0px 2px 0px;
+}
+
+td.seam-date-header
+{
+ padding: 0px 8px 0px 8px;
+ text-align: center;
+ color: gray;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-weight: bold;
+ font-size: 12px;
+}
+
+td.seam-date-header-prevMonth
+{
+ background-image: url("../img/cal-prev.png");
+ background-repeat: no-repeat;
+ background-position: center;
+ padding: 0px 2px 0px 2px;
+ width: 17px;
+ height: 16px;
+ margin-left: 2px;
+}
+
+td.seam-date-header-nextMonth
+{
+ background-image: url("../img/cal-next.png");
+ background-repeat: no-repeat;
+ background-position: center;
+ padding: 0px 2px 0px 2px;
+ width: 17px;
+ height: 16px;
+ margin-right: 2px;
+}
+
+tr.seam-date-headerDays
+{
+ color: white;
+ font-weight: normal;
+}
+
+tr.seam-date-headerDays > td
+{
+ background-color: #CCCCCC;
+ border: 1px solid #AAAAAA;
+ color: white;
+ text-align: center;
+ width: 26px;
+}
+
+tr.seam-date-footer
+{
+ background-color: white;
+ color: #505050;
+ font-weight: bold;
+}
+
+tr.seam-date-footer > td
+{
+ text-align: center;
+}
+
+td.seam-date-inMonth
+{
+ background-color: white;
+ color: black;
+ font-weight: normal;
+ cursor: pointer;
+ border: 1px solid #ece9d8;
+}
+
+td.seam-date-outMonth
+{
+ background-color: white;
+ color: #999999;
+ font-weight: normal;
+ cursor: pointer;
+ border: 1px solid #ece9d8;
+}
+
+td.seam-date-selected
+{
+ background-color: #CCCCCC;
+ border: 1px solid #AAAAAA;
+ color: black;
+ font-weight: normal;
+}
+
+td.seam-date-dayOff-inMonth
+{
+ background-color: #efefef;
+ color: black;
+ font-weight: normal;
+ cursor: pointer;
+ border: 1px solid #ece9d8;
+}
+
+td.seam-date-dayOff-outMonth
+{
+ background-color: #efefef;
+ color: #999999;
+ font-weight: normal;
+ cursor: pointer;
+ border: 1px solid #ece9d8;
+}
+
+td.seam-date-hover
+{
+ background-color: #CCCCCC;
+ border: 1px solid #AAAAAA;
+ cursor: pointer;
+ color: red;
+}
\ No newline at end of file
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebContent/stylesheet/theme.css
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/hibernate-console.properties
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/hibernate-console.properties
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/hibernate-console.properties 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,10 @@
+#File used by hibernate tools to override <datasource> and other container specific
settings in persistence.xml
+hibernate.connection.password=
+hibernate.connection.username=sa
+hibernate.connection.driver_class=org.hsqldb.jdbcDriver
+hibernate.dialect=org.hibernate.dialect.HSQLDialect
+hibernate.connection.url=jdbc:hsqldb:.
+
+hibernate.connection.provider_class
org.hibernate.connection.DriverManagerConnectionProvider
+hibernate.datasource=
+hibernate.transaction.manager_lookup_class=
\ No newline at end of file
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/hibernate-console.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/resources/Jbide1585Test-ds.xml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/resources/Jbide1585Test-ds.xml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/resources/Jbide1585Test-ds.xml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<datasources>
+
+ <local-tx-datasource>
+ <jndi-name>Jbide1585TestDatasource</jndi-name>
+ <connection-url>jdbc:hsqldb:.</connection-url>
+ <driver-class>org.hsqldb.jdbcDriver</driver-class>
+ <user-name>sa</user-name>
+ <password></password>
+<!--
+ <exception-sorter-class-name>
+ org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
+ </exception-sorter-class-name>
+ <metadata>
+ <type-mapping>mySQL</type-mapping>
+ </metadata>
+-->
+ </local-tx-datasource>
+
+</datasources>
+
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/resources/Jbide1585Test-ds.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/action/org/domain/Jbide1585Test/session/Authenticator.java
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/action/org/domain/Jbide1585Test/session/Authenticator.java
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/action/org/domain/Jbide1585Test/session/Authenticator.java 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,26 @@
+package org.domain.Jbide1585Test.session;
+
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.security.Identity;
+
+
+@Name("authenticator")
+public class Authenticator
+{
+ @Logger Log log;
+
+ @In Identity identity;
+
+ public boolean authenticate()
+ {
+ log.info("authenticating #0", identity.getUsername());
+ //write your authentication logic here,
+ //return true if the authentication was
+ //successful, false otherwise
+ identity.addRole("admin");
+ return true;
+ }
+}
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/action/org/domain/Jbide1585Test/session/Authenticator.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/META-INF/persistence.xml
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/META-INF/persistence.xml
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/META-INF/persistence.xml 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Persistence deployment descriptor for dev profile -->
+<persistence
xmlns="http://java.sun.com/xml/ns/persistence"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+
+ <persistence-unit name="Jbide1585Test"
transaction-type="JTA">
+ <provider>org.hibernate.ejb.HibernatePersistence</provider>
+ <jta-data-source>java:/Jbide1585TestDatasource</jta-data-source>
+ <properties>
+ <property name="hibernate.hbm2ddl.auto"
value="update"/>
+ <property name="hibernate.show_sql" value="true"/>
+ <property name="hibernate.cache.use_second_level_cache"
value="false"/>
+ <property name="hibernate.transaction.manager_lookup_class"
value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
+ </properties>
+ </persistence-unit>
+
+</persistence>
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/META-INF/persistence.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/components.properties
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/components.properties
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/components.properties 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,4 @@
+#
+#Tue Jan 22 16:19:44 MSK 2008
+jndiPattern=\#{ejbName}/local
+embeddedEjb=false
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/components.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/import.sql
===================================================================
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/messages_en.properties
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/messages_en.properties
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/messages_en.properties 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,115 @@
+up=\u2191
+down=\u2193
+left=\u2039
+right=\u203A
+
+validator.assertFalse=validation failed
+validator.assertTrue=validation failed
+validator.future=must be a future date
+validator.length=length must be between {min} and {max}
+validator.max=must be less than or equal to {value}
+validator.min=must be greater than or equal to {value}
+validator.notNull=may not be null
+validator.past=must be a past date
+validator.pattern=must match "{regex}"
+validator.range=must be between {min} and {max}
+validator.size=size must be between {min} and {max}
+validator.email=must be a well-formed email address
+
+org.jboss.seam.loginFailed=Login failed
+org.jboss.seam.loginSuccessful=Welcome, #0
+
+org.jboss.seam.TransactionFailed=Transaction failed
+org.jboss.seam.NoConversation=The conversation ended, timed out or was processing another
request
+org.jboss.seam.IllegalNavigation=Illegal navigation
+org.jboss.seam.ProcessEnded=Process #0 already ended
+org.jboss.seam.ProcessNotFound=Process #0 not found
+org.jboss.seam.TaskEnded=Task #0 already ended
+org.jboss.seam.TaskNotFound=Task #0 not found
+org.jboss.seam.NotLoggedIn=Please log in first
+
+javax.faces.component.UIInput.CONVERSION=value could not be converted to the expected
type
+javax.faces.component.UIInput.REQUIRED=value is required
+javax.faces.component.UIInput.UPDATE=an error occurred when processing your submitted
information
+javax.faces.component.UISelectOne.INVALID=value is not valid
+javax.faces.component.UISelectMany.INVALID=value is not valid
+
+javax.faces.converter.BigDecimalConverter.DECIMAL=value must be a number
+javax.faces.converter.BigDecimalConverter.DECIMAL_detail=value must be a signed decimal
number consisting of zero or more digits, optionally followed by a decimal point and
fraction, eg. {1}
+javax.faces.converter.BigIntegerConverter.BIGINTEGER=value must be an integer
+javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=value must be a signed
integer number consisting of zero or more digits
+javax.faces.converter.BooleanConverter.BOOLEAN=value must be true or false
+javax.faces.converter.BooleanConverter.BOOLEAN_detail=value must be true or false (any
value other than true will evaluate to false)
+javax.faces.converter.ByteConverter.BYTE=value must be a number between 0 and 255
+javax.faces.converter.ByteConverter.BYTE_detail=value must be a number between 0 and 255
+javax.faces.converter.CharacterConverter.CHARACTER=value must be a character
+javax.faces.converter.CharacterConverter.CHARACTER_detail=value must be a valid ASCII
character
+javax.faces.converter.DateTimeConverter.DATE=value must be a date
+javax.faces.converter.DateTimeConverter.DATE_detail=value must be a date, eg. {1}
+javax.faces.converter.DateTimeConverter.TIME=value must be a time
+javax.faces.converter.DateTimeConverter.TIME_detail=value must be a time, eg. {1}
+javax.faces.converter.DateTimeConverter.DATETIME=value must be a date and time
+javax.faces.converter.DateTimeConverter.DATETIME_detail=value must be a date and time,
eg. {1}
+javax.faces.converter.DateTimeConverter.PATTERN_TYPE=a pattern or type attribute must be
specified to convert the value
+javax.faces.converter.DoubleConverter.DOUBLE=value must be a number
+javax.faces.converter.DoubleConverter.DOUBLE_detail=value must be a number between
4.9E-324 and 1.7976931348623157E308
+javax.faces.converter.EnumConverter.ENUM=value must be convertible to an enum
+javax.faces.converter.EnumConverter.ENUM_detail=value must be convertible to an enum or
from the enum that contains the constant {1}
+javax.faces.converter.EnumConverter.ENUM_NO_CLASS=value must be convertible to an enum or
from the enum, but no enum class provided
+javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=value must be convertible to an
enum or from the enum, but no enum class provided
+javax.faces.converter.FloatConverter.FLOAT=value must be a number
+javax.faces.converter.FloatConverter.FLOAT_detail=value must be a number between 1.4E-45
and 3.4028235E38
+javax.faces.converter.IntegerConverter.INTEGER=value must be an integer
+javax.faces.converter.IntegerConverter.INTEGER_detail=value must be an integer number
between -2147483648 and 2147483647
+javax.faces.converter.LongConverter.LONG=value must be an integer
+javax.faces.converter.LongConverter.LONG_detail=must be an integer number between
-9223372036854775808 and 9223372036854775807
+javax.faces.converter.NumberConverter.CURRENCY=value must be a currency amount
+javax.faces.converter.NumberConverter.CURRENCY_detail=value must be a currency amount,
eg. {1}
+javax.faces.converter.NumberConverter.PERCENT=value must be a percentage amount
+javax.faces.converter.NumberConverter.PERCENT_detail=value must be a percentage amount,
eg. {1}
+javax.faces.converter.NumberConverter.NUMBER=value must be a number
+javax.faces.converter.NumberConverter.NUMBER_detail=value must be a number
+javax.faces.converter.NumberConverter.PATTERN=value must be a number
+javax.faces.converter.NumberConverter.PATTERN_detail=value must be a number
+javax.faces.converter.ShortConverter.SHORT=value must be an integer
+javax.faces.converter.ShortConverter.SHORT_detail=value must be an integer number between
-32768 and 32767
+
+javax.faces.validator.DoubleRangeValidator.MAXIMUM=value must be less than or equal to
{0}
+javax.faces.validator.DoubleRangeValidator.MINIMUM=value must be greater than or equal to
{0}
+javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE=value must be between {0} and
{1}
+javax.faces.validator.DoubleRangeValidator.TYPE=value is not of the correct type
+javax.faces.validator.LengthValidator.MAXIMUM=value is must be shorter than or equal to
{0} characters
+javax.faces.validator.LengthValidator.MINIMUM=value is must be longer than or equal to
{0} characters
+javax.faces.validator.LongRangeValidator.MAXIMUM=value must be less than or equal to {0}
+javax.faces.validator.LongRangeValidator.MINIMUM=value must be greater than or equal to
{0}
+javax.faces.validator.LongRangeValidator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.validator.LongRangeValidator.TYPE=value is not of the correct type
+
+javax.faces.validator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.converter.STRING=value could not be converted to a string
+
+#JSF 1.1:
+javax.faces.convert.BigDecimalConverter.CONVERSION value must be a number
+javax.faces.convert.BigDecimalConverter.CONVERSION_detail value must be a number
+javax.faces.convert.BigIntegerConverter.CONVERSION value must be an integre
+javax.faces.convert.BigIntegerConverter.CONVERSION_detail value must be a number
+javax.faces.convert.BooleanConverter.CONVERSION value must be true or false
+javax.faces.convert.BooleanConverter.CONVERSION_detail value must be true or false
+javax.faces.convert.ByteConverter.CONVERSION value must be a byte
+javax.faces.convert.ByteConverter.CONVERSION_detail value must be a byte
+javax.faces.convert.CharacterConverter.CONVERSION value must be a character
+javax.faces.convert.CharacterConverter.CONVERSION_detail value must be a character
+javax.faces.convert.DateTimeConverter.CONVERSION value must be a datetime
+javax.faces.convert.DateTimeConverter.CONVERSION_detail value must be a datetime
+javax.faces.convert.DoubleConverter.CONVERSION value must be a number
+javax.faces.convert.DoubleConverter.CONVERSION_detail value must be a number
+javax.faces.convert.FloatConverter.CONVERSION value must be a number
+javax.faces.convert.FloatConverter.CONVERSION_detail value must be a number
+javax.faces.convert.IntegerConverter.CONVERSION value must be an integer
+javax.faces.convert.IntegerConverter.CONVERSION_detail value must be an integer
+javax.faces.convert.LongConverter.CONVERSION value must be an integer
+javax.faces.convert.LongConverter.CONVERSION_detail value must be a long integer
+javax.faces.convert.NumberConverter.CONVERSION value must be a number
+javax.faces.convert.NumberConverter.CONVERSION_detail value must be a number
+javax.faces.convert.ShortConverter.CONVERSION value must be an integer
+javax.faces.convert.ShortConverter.CONVERSION_detail value must be a short integer
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/messages_en.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/seam.properties
===================================================================
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/seam.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/security.drl
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/security.drl
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/model/security.drl 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,6 @@
+package Permissions;
+
+import java.security.Principal;
+
+import org.jboss.seam.security.PermissionCheck;
+import org.jboss.seam.security.Role;
\ No newline at end of file
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JstJspAllTests.java
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JstJspAllTests.java
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JstJspAllTests.java 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,16 @@
+package org.jboss.tools.jst.jsp.test;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class JstJspAllTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Test for org.jboss.tools.jst.jsp.test");
+ //$JUnit-BEGIN$
+
+ //$JUnit-END$
+ return suite;
+ }
+
+}
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/JstJspAllTests.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/JstJspJbide1585Test.java
===================================================================
---
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/JstJspJbide1585Test.java
(rev 0)
+++
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/JstJspJbide1585Test.java 2008-01-22
16:13:10 UTC (rev 5872)
@@ -0,0 +1,203 @@
+package org.jboss.tools.jst.jsp.test.ca;
+
+import java.util.List;
+import java.util.Set;
+import java.util.TreeSet;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.jface.text.BadLocationException;
+import org.eclipse.jface.text.IDocument;
+import org.eclipse.jface.text.IRegion;
+import org.eclipse.jface.text.ITextViewer;
+import org.eclipse.jface.text.TextUtilities;
+import org.eclipse.jface.text.contentassist.ICompletionProposal;
+import org.eclipse.jface.text.contentassist.IContentAssistProcessor;
+import org.eclipse.jface.text.contentassist.IContentAssistant;
+import org.eclipse.jface.text.contentassist.IContentAssistantExtension;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.part.FileEditorInput;
+import org.eclipse.wst.sse.ui.internal.StructuredTextViewer;
+import org.jboss.tools.common.test.util.TestProjectProvider;
+import org.jboss.tools.jst.jsp.contentassist.RedHatCustomCompletionProposal;
+import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor;
+import org.jboss.tools.jst.jsp.jspeditor.JSPTextEditor;
+import org.jboss.tools.test.util.xpl.EditorTestHelper;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+public class JstJspJbide1585Test extends TestCase {
+ TestProjectProvider provider = null;
+ IProject project = null;
+ boolean makeCopy = false;
+ private static final String PROJECT_NAME = "Jbide1585Test";
+ private static final String PAGE_NAME = "/WebContent/login.xhtml";
+ private static final String TAG_OPEN_STRING = "<";
+ private static final String PREFIX_STRING = "ui:in";
+ private static final String INSERTION_STRING = TAG_OPEN_STRING + PREFIX_STRING;
+
+ public static Test suite() {
+ return new TestSuite(JstJspJbide1585Test.class);
+ }
+
+ public void setUp() throws Exception {
+ provider = new TestProjectProvider("org.jboss.tools.jst.jsp.test", null,
PROJECT_NAME, makeCopy);
+ project = provider.getProject();
+ Throwable exception = null;
+ try {
+ project.refreshLocal(IResource.DEPTH_INFINITE, null);
+ } catch (Exception x) {
+ exception = x;
+ x.printStackTrace();
+ }
+ assertNull("An exception caught: " + (exception != null?
exception.getMessage() : ""), exception);
+ }
+
+ protected void tearDown() throws Exception {
+ if(provider != null) {
+ provider.dispose();
+ }
+ }
+
+ public void testJstJspJbide1585() {
+ try {
+ EditorTestHelper.joinBackgroundActivities();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ assertTrue("Test project \"" + PROJECT_NAME + "\" is not
loaded", (project != null));
+
+ IFile jspFile = project.getFile(PAGE_NAME);
+
+ assertTrue("The file \"" + PAGE_NAME + "\" is not found",
(jspFile != null));
+ assertTrue("The file \"" + PAGE_NAME + "\" is not found",
(jspFile.exists()));
+
+ FileEditorInput editorInput = new FileEditorInput(jspFile);
+ Throwable exception = null;
+ IEditorPart editorPart = null;
+ try {
+ editorPart =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().openEditor(editorInput,
"org.jboss.tools.jst.jsp.jspeditor.JSPTextEditor");
+ } catch (PartInitException ex) {
+ exception = ex;
+ ex.printStackTrace();
+ assertTrue("The JSP Visual Editor couln'd be initialized.", false);
+ }
+
+ JSPMultiPageEditor jspEditor = null;
+
+ if (editorPart instanceof JSPMultiPageEditor)
+ jspEditor = (JSPMultiPageEditor)editorPart;
+
+ // Delay for 3 seconds so that
+ // the Favorites view can be seen.
+ try {
+ EditorTestHelper.joinBackgroundActivities();
+ } catch (Exception e) {
+ e.printStackTrace();
+ assertTrue("Waiting for the jobs to complete has failed.", false);
+ }
+ delay(3000);
+
+ JSPTextEditor jspTextEditor = jspEditor.getJspEditor();
+ StructuredTextViewer viewer = jspTextEditor.getTextViewer();
+ IDocument document = viewer.getDocument();
+ IContentAssistant contentAssistant =
jspTextEditor.getSVConfiguration().getContentAssistant(viewer);
+
+
+ // Find start of <ui:define> tag
+ String documentContent = document.get();
+ int start = (documentContent == null ? -1 :
documentContent.indexOf("<ui:define"));
+ int offsetToTest = start + INSERTION_STRING.length();
+
+ assertTrue("Cannot find the starting point in the test file \"" +
PAGE_NAME + "\"", (start != -1));
+
+ String documentContentModified = documentContent.substring(0, start) +
+ INSERTION_STRING + documentContent.substring(start);
+
+ jspTextEditor.setText(documentContentModified);
+
+ ICompletionProposal[] result= null;
+ String errorMessage = null;
+
+ IContentAssistProcessor p= getProcessor(viewer, offsetToTest, contentAssistant);
+ if (p != null) {
+ try {
+ result= p.computeCompletionProposals(viewer, offsetToTest);
+ } catch (Throwable x) {
+ x.printStackTrace();
+ }
+ errorMessage= p.getErrorMessage();
+ }
+
+// if (errorMessage != null && errorMessage.trim().length() > 0) {
+// System.out.println("#" + offsetToTest + ": ERROR MESSAGE: " +
errorMessage);
+// }
+
+ assertTrue("Content Assistant peturned no proposals", (result != null
&& result.length > 0));
+
+ for (int i = 0; i < result.length; i++) {
+ assertTrue("Content Assistant peturned proposals which type (" +
result[i].getClass().getName() + ") differs from
RedHatCustomCompletionProposal", (result[i] instanceof
RedHatCustomCompletionProposal));
+ RedHatCustomCompletionProposal proposal = (RedHatCustomCompletionProposal)result[i];
+ String proposalString = proposal.getReplacementString();
+ int proposalReplacementOffset = proposal.getReplacementOffset();
+ int proposalReplacementLength = proposal.getReplacementLength();
+// try {
+// System.out.println("Result#" + i + " ==> Offs: " +
offsetToTest + " RedHatCustomCompletionProposal[" + proposalString + "],
Offs: " + proposalReplacementOffset + ", Len: " + proposalReplacementLength
+ ", Doc: [" + document.get(proposalReplacementOffset,
proposalReplacementLength));
+// } catch (BadLocationException e) {
+// }
+ assertTrue("The proposal replacement Offset is not correct.",
proposalReplacementOffset == start + TAG_OPEN_STRING.length());
+ assertTrue("The proposal replacement Length is not correct.",
proposalReplacementLength == PREFIX_STRING.length());
+ assertTrue("The proposal isn\'t filtered properly in the Content
Assistant.", proposalString.startsWith(PREFIX_STRING));
+ }
+
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
+ .closeEditor(editorPart, false);
+ }
+
+ private IContentAssistProcessor getProcessor(ITextViewer viewer, int offset,
IContentAssistant ca) {
+ try {
+ IDocument document= viewer.getDocument();
+ String type= TextUtilities.getContentType(document,
((IContentAssistantExtension)ca).getDocumentPartitioning(), offset, true);
+
+ return ca.getContentAssistProcessor(type);
+ } catch (BadLocationException x) {
+ }
+
+ return null;
+ }
+
+ /**
+ * Process UI input but do not return for the specified time interval.
+ *
+ * @param waitTimeMillis
+ * the number of milliseconds
+ */
+ protected void delay(long waitTimeMillis) {
+ Display display = Display.getCurrent();
+
+ // If this is the UI thread,
+ // then process input.
+ if (display != null) {
+ long endTimeMillis = System.currentTimeMillis() + waitTimeMillis;
+ while (System.currentTimeMillis() < endTimeMillis) {
+ if (!display.readAndDispatch())
+ display.sleep();
+ }
+ display.update();
+ }
+ // Otherwise, perform a simple sleep.
+ else {
+ try {
+ Thread.sleep(waitTimeMillis);
+ } catch (InterruptedException e) {
+ // Ignored.
+ }
+ }
+ }
+}
Property changes on:
trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/JstJspJbide1585Test.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain