Author: yzhishko
Date: 2010-02-08 12:31:54 -0500 (Mon, 08 Feb 2010)
New Revision: 20183
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.classpath
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.metadata/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.metadata/WebContent/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.metadata/WebContent/WEB-INF/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.metadata/WebContent/WEB-INF/faces-config.pageflow
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.project
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.jdt.core.prefs
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.jdt.ui.prefs
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.wst.common.component
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.wst.validation.prefs
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.maven.ide.eclipse.prefs
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/META-INF/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/META-INF/MANIFEST.MF
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/WEB-INF/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/WEB-INF/classes/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/WEB-INF/faces-config.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/WEB-INF/lib/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/WEB-INF/web.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/html/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/html/tableBasic/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/html/tableBasic/tableBasic.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/as_lib/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/maven-settings.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/pom.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/src/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/src/log4j.dtd
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/src/log4j.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/src/npedemoResources.properties
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/classes/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/classes/log4j.dtd
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/classes/log4j.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/classes/npedemoResources.properties
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/test/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/test/src/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/RefreshBundles_JBIDE5460.java
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/i18n/JsfLocaleProvider.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/NaturesChecker_JBIDE5701.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/bundle/BundleMap.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5460 - fixed
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/i18n/JsfLocaleProvider.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/i18n/JsfLocaleProvider.java 2010-02-08
15:49:52 UTC (rev 20182)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/i18n/JsfLocaleProvider.java 2010-02-08
17:31:54 UTC (rev 20183)
@@ -17,6 +17,7 @@
import org.eclipse.ui.IFileEditorInput;
import org.eclipse.wst.sse.ui.StructuredTextEditor;
import org.jboss.tools.common.model.XModel;
+import org.jboss.tools.common.model.project.IModelNature;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.jsf.model.helpers.converter.OpenKeyHelper;
import org.jboss.tools.vpe.editor.i18n.ILocaleProvider;
@@ -42,8 +43,11 @@
if (editorInput instanceof IFileEditorInput) {
IProject project = ((IFileEditorInput)editorInput)
.getFile().getProject();
- XModel model = EclipseResourceUtil.getModelNature(project)
- .getModel();
+ IModelNature modelNature = EclipseResourceUtil.getModelNature(project);
+ if (modelNature == null) {
+ return null;
+ }
+ XModel model = modelNature.getModel();
localeString = OpenKeyHelper.getDeafultLocaleFromFacesConfig(model);
return new Locale(localeString);
} else {
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.classpath
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.classpath
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.classpath 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="test/src"/>
+ <classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry exported="true" kind="con"
path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency"
value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con"
path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache
Tomcat v6.0"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.metadata/WebContent/WEB-INF/faces-config.pageflow
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.metadata/WebContent/WEB-INF/faces-config.pageflow
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.metadata/WebContent/WEB-INF/faces-config.pageflow 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pageflow:Pageflow
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:pageflow="http://www.sybase.com/suade/pageflow"
id="pf12015070253210"
configfile="/calypso-showcase/WebContent/WEB-INF/faces-config.xml">
+ <nodes xsi:type="pageflow:PFPage"
name="html/basicWizard/basicWizardPage1" id="pf12337618848080"
referenceLink="//@navigationRule.6/@navigationCase.0/(a)toViewId|"
outlinks="pf12337618848081 pf12337618848082" inlinks="pf12337618848083
pf12337618848084" path="/html/basicWizard/basicWizardPage1.xhtml"/>
+ <nodes xsi:type="pageflow:PFPage"
name="html/basicWizard/basicWizardPage2" id="pf12337618848085"
referenceLink="//@navigationRule.4/(a)fromViewId|" outlinks="pf12337618848086
pf12337618848083" inlinks="pf12337618848081 pf12337618848087"
path="/html/basicWizard/basicWizardPage2.xhtml"/>
+ <nodes xsi:type="pageflow:PFPage"
name="html/basicWizard/basicWizardPage3" id="pf12337618848088"
referenceLink="//@navigationRule.6/(a)fromViewId|" outlinks="pf12337618848089
pf12337618848087 pf12337618848084" inlinks="pf12337618848086
pf12337618848082" path="/html/basicWizard/basicWizardPage3.xhtml"/>
+ <nodes xsi:type="pageflow:PFPage"
name="html/basicWizard/summary.xhtml" id="pf123376188480810"
referenceLink="//@navigationRule.2/@navigationCase.0/(a)toViewId|"
inlinks="pf12337618848089"
path="/html/basicWizard/summary.xhtml"/>
+ <nodes xsi:type="pageflow:PFPage" name="*"
id="pf123376188480811" outlinks="pf123376188480812"
path="*"/>
+ <nodes xsi:type="pageflow:PFPage"
name="html/tableCreate/details.xhtml" id="pf123376188480813"
referenceLink="//@navigationRule.7/@navigationCase.0/(a)toViewId|"
inlinks="pf123376188480812"
path="/html/tableCreate/details.xhtml"/>
+ <nodes xsi:type="pageflow:PFPage"
name="html/components/navigationModel/navigationModel.xhtml"
id="pf123376188480814"
referenceLink="//@navigationRule.9/(a)fromViewId|"
outlinks="pf123376188480815 pf123376188480816"
path="/html/components/navigationModel/navigationModel.xhtml"/>
+ <nodes xsi:type="pageflow:PFPage"
name="html/components/navigationModel/navigationModel2.xhtml"
id="pf123376188480817"
referenceLink="//@navigationRule.9/@navigationCase.0/(a)toViewId|"
inlinks="pf123376188480815 pf123376188480816"
path="/html/components/navigationModel/navigationModel2.xhtml"/>
+ <nodes xsi:type="pageflow:PFPage"
name="html/tableForm/tableForm.xhtml" id="pf123376188480818"
referenceLink="//@navigationRule.10/(a)fromViewId|"
outlinks="pf123376188480819"
path="/html/tableForm/tableForm.xhtml"/>
+ <nodes xsi:type="pageflow:PFPage"
name="html/tableForm/tableShow.xhtml" id="pf123376188480820"
referenceLink="//@navigationRule.10/@navigationCase.0/(a)toViewId|"
inlinks="pf123376188480819"
path="/html/tableForm/tableShow.xhtml"/>
+ <links id="pf12337618848081" target="pf12337618848085"
source="pf12337618848080" outcome="toPage2"/>
+ <links id="pf12337618848086" target="pf12337618848088"
source="pf12337618848085" outcome="toPage3"/>
+ <links id="pf12337618848089" target="pf123376188480810"
source="pf12337618848088" outcome="toSummary"/>
+ <links id="pf12337618848087" target="pf12337618848085"
source="pf12337618848088" outcome="toPage2"/>
+ <links id="pf12337618848083" target="pf12337618848080"
source="pf12337618848085" outcome="toPage1"/>
+ <links id="pf12337618848082" target="pf12337618848088"
source="pf12337618848080" outcome="toPage3"/>
+ <links id="pf12337618848084" target="pf12337618848080"
source="pf12337618848088" outcome="toPage1"/>
+ <links id="pf123376188480812" target="pf123376188480813"
source="pf123376188480811" outcome="tablecreate_detail"/>
+ <links id="pf123376188480815" target="pf123376188480817"
source="pf123376188480814" outcome="success"
fromaction="#{navigationModelBean.submit}"/>
+ <links id="pf123376188480816" target="pf123376188480817"
source="pf123376188480814" outcome="success"/>
+ <links id="pf123376188480819" target="pf123376188480820"
source="pf123376188480818" outcome="showTable"/>
+</pageflow:Pageflow>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.project
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.project
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.project 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>JBIDE5460TestProject</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.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.common.verification.verifybuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.jst.web.kb.kbbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</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.jst.web.kb.kbnature</nature>
+ </natures>
+</projectDescription>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.jdt.core.prefs 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,12 @@
+#Mon Mar 09 10:27:04 CET 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.jdt.ui.prefs
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.jdt.ui.prefs
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.jdt.ui.prefs 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,3 @@
+#Thu Feb 14 10:14:27 EET 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0"
encoding\="UTF-8" standalone\="no"?><templates/>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.jst.common.project.facet.core.prefs
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.jst.common.project.facet.core.prefs 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,5 @@
+#Mon Mar 09 10:27:21 CET 2009
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER/owners=jst.java\:5.0
+classpath.helper/org.eclipse.jst.server.core.container\:\:org.eclipse.jst.server.tomcat.runtimeTarget\:\:Apache\
Tomcat\ v5.5/owners=jst.web\:2.4
+eclipse.preferences.version=1
+instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.wst.common.component
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.wst.common.component
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.wst.common.component 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="JBIDE5460TestProject">
+ <wb-resource deploy-path="/"
source-path="/WebContent"/>
+ <wb-resource deploy-path="/WEB-INF/classes"
source-path="/src"/>
+ <wb-resource deploy-path="/WEB-INF/classes"
source-path="/test/src"/>
+ <property name="java-output-path"
value="target/classes"/>
+<property name="context-root" value="JBIDE5460TestProject"/>
+ </wb-module>
+</project-modules>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.wst.common.project.facet.core.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.wst.common.project.facet.core.xml 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="Apache Tomcat v5.5"/>
+ <fixed facet="jst.web"/>
+ <fixed facet="jst.java"/>
+ <installed facet="jst.web" version="2.4"/>
+ <installed facet="jst.jsf" version="1.1"/>
+ <installed facet="jst.java" version="5.0"/>
+</faceted-project>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.wst.validation.prefs
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.wst.validation.prefs
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.eclipse.wst.validation.prefs 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,9 @@
+#Fri Jan 23 17:06:31 CET 2009
+DELEGATES_PREFERENCE=delegateValidatorList
+USER_BUILD_PREFERENCE=enabledBuildValidatorListorg.eclipse.wst.wsi.ui.internal.WSIMessageValidator;org.eclipse.jst.j2ee.internal.web.validation.UIWarValidator;org.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;org.eclipse.wst.common.componentcore.internal.ModuleCoreValidator;
+USER_MANUAL_PREFERENCE=enabledManualValidatorListorg.eclipse.wst.wsi.ui.internal.WSIMessageValidator;org.eclipse.jst.j2ee.internal.web.validation.UIWarValidator;org.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;org.eclipse.wst.common.componentcore.internal.ModuleCoreValidator;
+USER_PREFERENCE=overrideGlobalPreferencestruedisableAllValidationtrueversion1.2.2.v200809050219
+eclipse.preferences.version=1
+override=true
+suspend=true
+vf.version=3
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.maven.ide.eclipse.prefs
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.maven.ide.eclipse.prefs
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/.settings/org.maven.ide.eclipse.prefs 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,8 @@
+#Wed Jun 25 10:16:08 CEST 2008
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+version=1
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/META-INF/MANIFEST.MF
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/META-INF/MANIFEST.MF
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/META-INF/MANIFEST.MF 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,6 @@
+Manifest-Version: 1.0
+Archiver-Version: Plexus Archiver
+Created-By: Apache Maven
+Built-By: 811054
+Build-Jdk: 1.5.0_19
+
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/WEB-INF/faces-config.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/WEB-INF/faces-config.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/WEB-INF/faces-config.xml 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE faces-config PUBLIC
+ "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+
+<faces-config>
+
+</faces-config>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/WEB-INF/web.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/WEB-INF/web.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/WEB-INF/web.xml 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,189 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app id="WebApp_ID" version="2.4"
+
xmlns="http://java.sun.com/xml/ns/j2ee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ <display-name>JBIDE5460TestProject</display-name>
+ <context-param>
+ <param-name>CombineApplication</param-name>
+ <param-value>false</param-value>
+ </context-param>
+ <context-param>
+ <param-name>ApplicationGroupName</param-name>
+ <param-value></param-value>
+ </context-param>
+ <context-param>
+ <param-name>NavigationStyle</param-name>
+ <param-value>menu</param-value>
+ </context-param>
+ <context-param>
+ <param-name>HelpStyle</param-name>
+ <param-value>
+ %context%/help/%language%/%help_id%.htm#%key%
+ </param-value>
+ </context-param>
+ <context-param>
+ <param-name>SupportedLocales</param-name>
+ <param-value>en_GB,fi_FI</param-value>
+ </context-param>
+ <context-param>
+ <param-name>DefaultHelpId</param-name>
+ <param-value>sample_help_page</param-value>
+ </context-param>
+ <context-param>
+ <param-name>DefaultHelpKey</param-name>
+ <param-value></param-value>
+ </context-param>
+ <context-param>
+ <param-name>LoginScreenStyle</param-name>
+ <!-- <param-value>small</param-value> -->
+ <param-value>normal</param-value>
+ </context-param>
+ <context-param>
+ <param-name>EnableSecurity</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
+ <param-value>com.sun.facelets.FaceletViewHandler</param-value>
+ </context-param>
+ <context-param>
+ <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
+ <param-value>false</param-value>
+ </context-param>
+<context-param>
+ <param-name>org.richfaces.ExcludeScripts</param-name>
+ <param-value>Prototype,PrototypeScript</param-value>
+</context-param> <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+ <context-param>
+ <param-name>
+ org.apache.myfaces.RESOURCE_VIRTUAL_PATH
+ </param-name>
+ <param-value>/faces/extensionResource</param-value>
+ </context-param>
+ <context-param>
+ <param-name>org.richfaces.SKIN</param-name>
+ <param-value>DEFAULT</param-value>
+ </context-param>
+ <context-param>
+ <param-name>
+ net.sf.jsfcomp.chartcreator.USE_CHARTLET
+ </param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>
+ org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL
+ </param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>contextConfigLocation</param-name>
+ <param-value>/WEB-INF/spring-config.xml</param-value>
+ </context-param>
+ <context-param>
+ <param-name>onload-listener-config</param-name>
+ <param-value>/WEB-INF/onload-config.xml</param-value>
+ </context-param>
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>protected pages</web-resource-name>
+ <url-pattern>*.html</url-pattern>
+ <url-pattern>*.htm</url-pattern>
+ <url-pattern>*.jsp</url-pattern>
+ <url-pattern>*.jsf</url-pattern>
+ <url-pattern>*.xml</url-pattern>
+ <url-pattern>*.js</url-pattern>
+ <http-method>GET</http-method>
+ <http-method>PUT</http-method>
+ <http-method>HEAD</http-method>
+ <http-method>TRACE</http-method>
+ <http-method>POST</http-method>
+ <http-method>DELETE</http-method>
+ <http-method>OPTIONS</http-method>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>tomcat</role-name>
+ </auth-constraint>
+ </security-constraint>
+ <security-role>
+ <role-name>tomcat</role-name>
+ </security-role>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+ <listener>
+ <listener-class>
+ org.springframework.web.context.ContextLoaderListener
+ </listener-class>
+ </listener>
+ <filter>
+ <filter-name>ajax4jsf</filter-name>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
+ </filter>
+ <filter-mapping>
+ <filter-name>ajax4jsf</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+ <filter>
+ <filter-name>extensionsFilter</filter-name>
+ <filter-class>
+ org.apache.myfaces.webapp.filter.ExtensionsFilter
+ </filter-class>
+ <init-param>
+ <param-name>uploadMaxFileSize</param-name>
+ <param-value>100m</param-value>
+ </init-param>
+ <init-param>
+ <param-name>uploadThresholdSize</param-name>
+ <param-value>100k</param-value>
+ </init-param>
+ </filter>
+ <filter-mapping>
+ <filter-name>extensionsFilter</filter-name>
+ <url-pattern>*.jsf</url-pattern>
+ </filter-mapping>
+ <filter-mapping>
+ <filter-name>extensionsFilter</filter-name>
+ <url-pattern>/faces/extensionResource/*</url-pattern>
+ </filter-mapping>
+ <filter>
+ <filter-name>sitemesh</filter-name>
+ <filter-class>
+ com.opensymphony.module.sitemesh.filter.PageFilter
+ </filter-class>
+ </filter>
+ <filter-mapping>
+ <filter-name>sitemesh</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+ <servlet>
+ <servlet-name>facesServlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>facesServlet</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
+
+
+ <resource-ref>
+ <description>Derby Datasource example</description>
+ <res-ref-name>jdbc/derby</res-ref-name>
+ <res-type>javax.sql.DataSource</res-type>
+ <res-auth>Container</res-auth>
+ </resource-ref>
+ <error-page>
+ <error-code>500</error-code>
+ <location>/error.jsp</location>
+ </error-page>
+ <error-page>
+ <error-code>408</error-code>
+ <location>/logon.jsp</location>
+ </error-page>
+
+</web-app>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/html/tableBasic/tableBasic.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/html/tableBasic/tableBasic.xhtml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/WebContent/html/tableBasic/tableBasic.xhtml 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,45 @@
+<!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:a4j="https://ajax4jsf.dev.java.net/ajax"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:t="http://myfaces.apache.org/tomahawk"
+
xmlns:c="http://java.sun.com/jstl/core" >
+<ui:composition>
+
+<f:view locale="#{sessionScope.WW_TRANS_I18N_LOCALE}">
+ <f:loadBundle basename="npedemoResources" var="bundle" />
+
+ <h:panelGrid columns="1">
+ <h:outputText value="#{bundle.tableBasic_title}"
styleClass="applicationTitle" />
+ <h:outputText value="#{bundle.tableBasic_description}" />
+ </h:panelGrid>
+
+ <h:form>
+ <h:panelGrid columns="1" width="600">
+ <h:dataTable id="dataTable" var="user"
+ value="#{tableBasicBean.tableModel.wrappedData}">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{bundle.user_firstName}" />
+ </f:facet>
+ <h:outputText value="#{user.firstName}" />
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{bundle.user_lastName}" />
+ </f:facet>
+ <h:outputText value="#{user.lastName}" />
+ </h:column>
+ </h:dataTable>
+ </h:panelGrid>
+ </h:form>
+
+</f:view>
+
+
+</ui:composition>
+</html>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/maven-settings.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/maven-settings.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/maven-settings.xml 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,15 @@
+<settings
xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
+
http://maven.apache.org/xsd/settings-1.0.0.xsd">
+ <localRepository>C:\caltools\repository</localRepository>
+ <proxies>
+ <proxy><active>true</active>
+ <protocol>http</protocol>
+ <host>10.102.8.5</host>
+ <port>8080</port>
+ </proxy>
+ </proxies>
+ <mirrors>
+ </mirrors>
+</settings>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/pom.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/pom.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/pom.xml 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,539 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>npedemo</artifactId>
+ <packaging>war</packaging>
+ <name>NPE application</name>
+ <groupId>com.demo.npe</groupId>
+ <version>2.7.0</version>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>net.sf.jsf-comp</groupId>
+ <artifactId>chartcreator</artifactId>
+ <version>2.7.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-impl</artifactId>
+ <version>1.2.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-api</artifactId>
+ <version>1.2.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.myfaces.tomahawk</groupId>
+ <artifactId>tomahawk</artifactId>
+ <version>1.1.8</version>
+ <exclusions>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xmlParserAPIs</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ <version>1.1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>2.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-fileupload</groupId>
+ <artifactId>commons-fileupload</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-digester</groupId>
+ <artifactId>commons-digester</artifactId>
+ <version>1.8</version>
+ </dependency>
+ <dependency>
+ <groupId>opensymphony</groupId>
+ <artifactId>sitemesh</artifactId>
+ <version>2.4.1</version>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.cobertura</groupId>
+ <artifactId>cobertura</artifactId>
+ <version>1.9rc1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shale</groupId>
+ <artifactId>shale-test</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.openqa.selenium.client-drivers</groupId>
+ <artifactId>selenium-java-client-driver</artifactId>
+ <version>0.9.2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring</artifactId>
+ <version>2.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-taglibs</artifactId>
+ <version>2.0.2</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-beans</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-jdbc</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-dao</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-aop</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-support</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-core</artifactId>
+ <version>2.0.2</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-beans</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-jdbc</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-dao</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-aop</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-support</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>aspectjrt</artifactId>
+ <version>1.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.ehcache</groupId>
+ <artifactId>ehcache</artifactId>
+ <version>1.4.1</version>
+ </dependency>
+ <dependency>
+ <groupId>jfree</groupId>
+ <artifactId>jfreechart</artifactId>
+ <version>1.0.13</version>
+ </dependency>
+ <dependency>
+ <groupId>batik</groupId>
+ <artifactId>batik-xml</artifactId>
+ <version>1.6-1</version>
+ </dependency>
+ <dependency>
+ <groupId>batik</groupId>
+ <artifactId>batik-awt-util</artifactId>
+ <version>1.6-1</version>
+ </dependency>
+ <dependency>
+ <groupId>batik</groupId>
+ <artifactId>batik-svggen</artifactId>
+ <version>1.6-1</version>
+ </dependency>
+ <dependency>
+ <groupId>batik</groupId>
+ <artifactId>batik-dom</artifactId>
+ <version>1.6-1</version>
+ </dependency>
+ <dependency>
+ <groupId>batik</groupId>
+ <artifactId>batik-util</artifactId>
+ <version>1.6-1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xmlParserAPIs</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>batik</groupId>
+ <artifactId>batik-ext</artifactId>
+ <version>1.6-1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xmlParserAPIs</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>cewolf</groupId>
+ <artifactId>cewolf</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>log</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui</artifactId>
+ <version>3.3.1.GA</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shale</groupId>
+ <artifactId>shale-test</artifactId>
+ <version>1.0.4</version>
+ <type>test</type>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jexcelapi</groupId>
+ <artifactId>jxl</artifactId>
+ <version>2.6</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.web</groupId>
+ <artifactId>el-impl</artifactId>
+ <version>1.1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.facelets</groupId>
+ <artifactId>jsf-facelets</artifactId>
+ <version>1.1.14</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.poi</groupId>
+ <artifactId>poi</artifactId>
+ <version>3.2-FINAL</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.portletbridge</groupId>
+ <artifactId>portletbridge-impl</artifactId>
+ <version>2.0.0.BETA</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.portletbridge</groupId>
+ <artifactId>portletbridge-api</artifactId>
+ <version>2.0.0.BETA</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.myfaces.tomahawk</groupId>
+ <artifactId>tomahawk</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui</artifactId>
+ </dependency>
+ <!-- needed for Tomcat5 -->
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-fileupload</groupId>
+ <artifactId>commons-fileupload</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.openqa.selenium.client-drivers</groupId>
+ <artifactId>selenium-java-client-driver</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-taglibs</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>aspectjrt</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.ehcache</groupId>
+ <artifactId>ehcache</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.jsf-comp</groupId>
+ <artifactId>chartcreator</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>log</artifactId>
+ </dependency>
+ </dependencies>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>2.0</version>
+ </plugin>
+ </plugins>
+ </reporting>
+ <build>
+ <finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <id>RemoveSVN</id>
+ <phase>compile</phase>
+ <configuration>
+ <tasks>
+ <echo message="Removing SVN from output" />
+ <delete includeemptydirs="true">
+ <fileset dir="target" defaultexcludes="false">
+ <include name="**/*svn*/**" />
+ </fileset>
+ </delete>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>RemoveTestSVN</id>
+ <phase>test-compile</phase>
+ <configuration>
+ <tasks>
+ <echo message="Removing SVN from output" />
+ <delete includeemptydirs="true">
+ <fileset dir="target" defaultexcludes="false">
+ <include name="**/*svn*/**" />
+ </fileset>
+ </delete>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>RemoveMAVEN</id>
+ <phase>package</phase>
+ <configuration>
+ <tasks>
+ <echo message="Removing unwanted elements from WAR" />
+ <unzip src="target/${artifactId}.war"
dest="target/${artifactId}"
+ overwrite="false">
+ <patternset>
+ <exclude name="**/*.jar" />
+ </patternset>
+ </unzip>
+
+ <delete dir="target/${artifactId}/META-INF/maven" />
+ <zip destfile="target/${artifactId}_filtered.war"
+ basedir="target/${artifactId}" includes="**/*">
+ </zip>
+ <delete file="target/${artifactId}.war" />
+ <move file="target/${artifactId}_filtered.war"
tofile="target/${artifactId}.war" />
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+
+ <repositories>
+ <repository>
+ <!-- org.openqa.selenium.client-drivers is not in central repository -->
+ <id>openqa</id>
+ <name>OpenQA Repository</name>
+ <
url>http://nexus.openqa.org/content/repositories/releases</url>
+ <layout>default</layout>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>repository.jboss.com</id>
+ <name>Jboss Repository for Maven</name>
+ <
url>http://repository.jboss.com/maven2/</url>
+ </repository>
+ <repository>
+ <id>download.java.net</id>
+ <name>Sun repository for Glassfish components</name>
+ <
url>http://download.java.net/maven/glassfish</url>
+ </repository>
+ <repository>
+ <id>maven2-repository.dev.java.net</id>
+ <
name>Java.net Repository for Maven</name>
+ <
url>http://download.java.net/maven/1</url>
+ <layout>legacy</layout>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>maven.jboss.org</id>
+ <name>JBoss Repository for Maven Snapshots</name>
+ <
url>http://snapshots.jboss.org/maven2/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>always</updatePolicy>
+ </snapshots>
+ </pluginRepository>
+ <pluginRepository>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ <id>repository.jboss.com</id>
+ <name>Jboss Repository for Maven</name>
+ <
url>http://repository.jboss.com/maven2/ </url>
+ <layout>default</layout>
+ </pluginRepository>
+ </pluginRepositories>
+
+</project>
+
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/src/log4j.dtd
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/src/log4j.dtd
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/src/log4j.dtd 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!-- Authors: Chris Taylor, Ceki Gulcu. -->
+
+<!-- Version: 1.2 -->
+
+<!-- A configuration element consists of optional renderer
+elements,appender elements, categories and an optional root
+element. -->
+
+<!ELEMENT log4j:configuration (renderer*, appender*,(category|logger)*,root?,
+ categoryFactory?)>
+
+<!-- The "threshold" attribute takes a level value such that all -->
+<!-- logging statements with a level equal or below this value are -->
+<!-- disabled. -->
+
+<!-- Setting the "debug" enable the printing of internal log4j logging
-->
+<!-- statements. -->
+
+<!-- By default, debug attribute is "null", meaning that we not do touch
-->
+<!-- internal log4j logging settings. The "null" value for the threshold
-->
+<!-- attribute can be misleading. The threshold field of a repository -->
+<!-- cannot be set to null. The "null" value for the threshold attribute
-->
+<!-- simply means don't touch the threshold field, the threshold field -->
+<!-- keeps its old value. -->
+
+<!ATTLIST log4j:configuration
+ xmlns:log4j CDATA #FIXED "http://jakarta.apache.org/log4j/"
+ threshold (all|debug|info|warn|error|fatal|off|null) "null"
+ debug (true|false|null) "null"
+>
+
+<!-- renderer elements allow the user to customize the conversion of -->
+<!-- message objects to String. -->
+
+<!ELEMENT renderer EMPTY>
+<!ATTLIST renderer
+ renderedClass CDATA #REQUIRED
+ renderingClass CDATA #REQUIRED
+>
+
+<!-- Appenders must have a name and a class. -->
+<!-- Appenders may contain an error handler, a layout, optional parameters -->
+<!-- and filters. They may also reference (or include) other appenders. -->
+<!ELEMENT appender (errorHandler?, param*, layout?, filter*, appender-ref*)>
+<!ATTLIST appender
+ name ID #REQUIRED
+ class CDATA #REQUIRED
+>
+
+<!ELEMENT layout (param*)>
+<!ATTLIST layout
+ class CDATA #REQUIRED
+>
+
+<!ELEMENT filter (param*)>
+<!ATTLIST filter
+ class CDATA #REQUIRED
+>
+
+<!-- ErrorHandlers can be of any class. They can admit any number of -->
+<!-- parameters. -->
+
+<!ELEMENT errorHandler (param*, root-ref?, logger-ref*, appender-ref?)>
+<!ATTLIST errorHandler
+ class CDATA #REQUIRED
+>
+
+<!ELEMENT root-ref EMPTY>
+
+<!ELEMENT logger-ref EMPTY>
+<!ATTLIST logger-ref
+ ref IDREF #REQUIRED
+>
+
+<!ELEMENT param EMPTY>
+<!ATTLIST param
+ name CDATA #REQUIRED
+ value CDATA #REQUIRED
+>
+
+
+<!-- The priority class is org.apache.log4j.Level by default -->
+<!ELEMENT priority (param*)>
+<!ATTLIST priority
+ class CDATA #IMPLIED
+ value CDATA #REQUIRED
+>
+
+<!-- The level class is org.apache.log4j.Level by default -->
+<!ELEMENT level (param*)>
+<!ATTLIST level
+ class CDATA #IMPLIED
+ value CDATA #REQUIRED
+>
+
+
+<!-- If no level element is specified, then the configurator MUST not -->
+<!-- touch the level of the named category. -->
+<!ELEMENT category (param*,(priority|level)?,appender-ref*)>
+<!ATTLIST category
+ class CDATA #IMPLIED
+ name CDATA #REQUIRED
+ additivity (true|false) "true"
+>
+
+<!-- If no level element is specified, then the configurator MUST not -->
+<!-- touch the level of the named logger. -->
+<!ELEMENT logger (level?,appender-ref*)>
+<!ATTLIST logger
+ name ID #REQUIRED
+ additivity (true|false) "true"
+>
+
+
+<!ELEMENT categoryFactory (param*)>
+<!ATTLIST categoryFactory
+ class CDATA #REQUIRED>
+
+<!ELEMENT appender-ref EMPTY>
+<!ATTLIST appender-ref
+ ref IDREF #REQUIRED
+>
+
+<!-- If no priority element is specified, then the configurator MUST not -->
+<!-- touch the priority of root. -->
+<!-- The root category always exists and cannot be subclassed. -->
+<!ELEMENT root (param*, (priority|level)?, appender-ref*)>
+
+
+<!-- ==================================================================== -->
+<!-- A logging event -->
+<!-- ==================================================================== -->
+<!ELEMENT log4j:eventSet (log4j:event*)>
+<!ATTLIST log4j:eventSet
+ xmlns:log4j CDATA #FIXED "http://jakarta.apache.org/log4j/"
+ version (1.1|1.2) "1.2"
+ includesLocationInfo (true|false) "true"
+>
+
+
+
+<!ELEMENT log4j:event (log4j:message, log4j:NDC?, log4j:throwable?,
+ log4j:locationInfo?) >
+
+<!-- The timestamp format is application dependent. -->
+<!ATTLIST log4j:event
+ logger CDATA #REQUIRED
+ level CDATA #REQUIRED
+ thread CDATA #REQUIRED
+ timestamp CDATA #REQUIRED
+>
+
+<!ELEMENT log4j:message (#PCDATA)>
+<!ELEMENT log4j:NDC (#PCDATA)>
+
+<!ELEMENT log4j:throwable (#PCDATA)>
+
+<!ELEMENT log4j:locationInfo EMPTY>
+<!ATTLIST log4j:locationInfo
+ class CDATA #REQUIRED
+ method CDATA #REQUIRED
+ file CDATA #REQUIRED
+ line CDATA #REQUIRED
+>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/src/log4j.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/src/log4j.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/src/log4j.xml 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<log4j:configuration
xmlns:log4j="http://jakarta.apache.org/log4j/">
+ <appender name="ConsoleAppender"
class="org.apache.log4j.ConsoleAppender">
+ <layout class="org.apache.log4j.SimpleLayout" />
+ </appender>
+ <category name="com.nsn" additivity="false">
+ <priority value="debug" />
+ <appender-ref ref="ConsoleAppender" />
+ </category>
+ <root>
+ <priority value="warn" />
+ <appender-ref ref="ConsoleAppender" />
+ </root>
+</log4j:configuration>
\ No newline at end of file
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/src/npedemoResources.properties
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/src/npedemoResources.properties
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/src/npedemoResources.properties 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,522 @@
+#Generated by Eclipse Messages Editor (Eclipse Babel)
+#Tue Jun 10 15:53:48 EEST 2008
+
+ajaxGetTime_description =
+
+ajaxGetTime_title = Automatic Refresh (ajaxGetTime)
+
+ajax_menu = AJAX
+
+alarm_msg = Alarm Message
+
+alarm_type = Alarm Type
+
+basicPopup_btn = Button (text from the page)
+
+basicPopup_btn2 = Button (text from a resource file)
+
+basicPopup_btn_tt1 = Button with tooltip (text from the page)
+
+basicPopup_btn_tt2 = Button with tooltip (text from a resource file)
+
+basicPopup_btnpopup = Show Popup
+
+basicPopup_description =
+
+basicPopup_firstName = FirstName
+
+basicPopup_image1 = Image (default)
+
+basicPopup_image2 = Image (custom)
+
+basicPopup_image_tt1 = Image with tooltip (text from the page)
+
+basicPopup_image_tt2 = Image with tooltip (text from a resource file)
+
+basicPopup_ink2 =
+
+basicPopup_ink_tt1 =
+
+basicPopup_lastName = LastName
+
+basicPopup_lesssize = Decrease Size
+
+basicPopup_link = Link (text from the page)
+
+basicPopup_link2 = Link (text from a resource file)
+
+basicPopup_link_tt1 = Link with tooltip (text from the page)
+
+basicPopup_link_tt2 = Link with tooltip (text from a resource file)
+
+basicPopup_location = Show location bar
+
+basicPopup_moresize = Increase size
+
+basicPopup_msg_close = Press Ok to close this dialog.
+
+basicPopup_res = Resizable
+
+basicPopup_scroll = Show scrollbars
+
+basicPopup_status = Show status bar
+
+basicPopup_title = Creating basic popup (basicPopup)
+
+basicPopup_toolbar = Show toolbar
+
+basicTree_description = Sample of basic JSF tree
+
+basicTree_title = Tree
+
+basicWizard_breadCrumbPage1 = Basic Information
+
+basicWizard_breadCrumbPage2 = Delivery Address
+
+basicWizard_breadCrumbPage3 = Payment Method
+
+basicWizard_button_finish = Finish
+
+basicWizard_button_next = Next >
+
+basicWizard_button_previous = < Previous
+
+basicWizard_city = City:
+
+basicWizard_description =
+
+basicWizard_firstName = Firstname:
+
+basicWizard_lastName = Lastname:
+
+basicWizard_paymentMethod = Payment Method:
+
+basicWizard_postalCode = Postalcode:
+
+basicWizard_street = Street:
+
+basicWizard_title = Creating basic wizard (basicWizard)
+
+button_ok = Ok
+
+button_text = Say Hello
+
+calendarCreate_dateseparator = /
+
+calendarCreate_description =
+
+calendarCreate_head1 = Default calendar
+
+calendarCreate_head10 = Year-select calendar
+
+calendarCreate_head11 = Default calendar, but results are split into multiple fields
(m/d/yyyy)
+
+calendarCreate_head12 = Calendar with popup pre-selected to be January 29, 1974 (EU style
on the page)
+
+calendarCreate_head13 = Calendar with popup pre-selected to be August 1, 1969 (US style
on the page)
+
+calendarCreate_head14 = Calendar with tooltip on image (from a resource bundle)
+
+calendarCreate_head15 = Calendar with tooltip on image (from the page)
+
+calendarCreate_head16 = Calendar opening from button
+
+calendarCreate_head17 = Calendar opening from link
+
+calendarCreate_head18 = Submitting calendar value
+
+calendarCreate_head19 = Changing the inputfield size
+
+calendarCreate_head2 = Default calendar with navigation drop-downs enabled
+
+calendarCreate_head3 = Some dates manually disabled from selection
+
+calendarCreate_head4 = Weekend select
+
+calendarCreate_head5 = Calendar with year navigation enabled
+
+calendarCreate_head6 = Calendar with year navigation enabled and year navigation input
enabled to allow manual entering of years
+
+calendarCreate_head7 = Calendar with only Saturdays allowed to be selected
+
+calendarCreate_head8 = Month-select calendar
+
+calendarCreate_head9 = Quarter-select calendar
+
+calendarCreate_title = Creating calendar (calendarCreate)
+
+calendarCreate_tooltip = Open Calendar
+
+calendarScheduling_description =
+
+calendarScheduling_label_end = Choose end time
+
+calendarScheduling_label_start = Choose start time
+
+calendarScheduling_title = Scheduling (calendarScheduling)
+
+calendar_menu = Calendar
+
+collapsible_panel_description = Example page that demonstrates the use of the collapsible
panel.
+
+collapsible_panel_menu = Collapsible Panel
+
+collapsible_panel_title = Collapsible Panel
+
+components_menu = JSF Components
+
+dataScroller_pages = {0} Cars found, displaying {1} cars, from {2} to {3}. Page {4} /
{5}
+
+dynamicList_description =
+
+dynamicList_label1 = Role
+
+dynamicList_label2 = Actor
+
+dynamicList_label3 = Movie
+
+dynamicList_menu = Dynamic List
+
+dynamicList_title = Creating dynamic list (dynamicList)
+
+errorValidation_age = Age (number field with range validator)
+
+errorValidation_description = Validation with standard JSF components using custom
message component and calypso.css
+
+errorValidation_email = E-mail (field with custom validator)
+
+errorValidation_error = Generate error on server
+
+errorValidation_firstName = First name (required field with minimum 5 character length)
+
+errorValidation_lastName = Last name (required field)
+
+errorValidation_password = Password (required field)
+
+errorValidation_submitLabel = Submit
+
+errorValidation_title = Error Validation (errorValidation)
+
+errorValidation_type = Type (required select field)
+
+event_actionListenerLabel = Proper ActionListener
+
+event_actionMethodLabel = Action listener using method
+
+event_chainedActionListener = Chained ActionListener
+
+event_description = Sample of event usage
+
+event_submitLabel = Submit method
+
+event_title = Events
+
+extendedTable_title = A JSF Table with hide/show columns support
+
+filter = Filter:
+
+form_comment = Comment (h:inputTextArea)
+
+form_description = Sample of JSF form and basic form components
+
+form_menu = Form
+
+form_name = Name (h:inputText)
+
+form_password = Password (h:inputSecret)
+
+form_submitLabel = Submit (h:commandButton)
+
+form_title = h:form sample
+
+form_username = Username (h:inputText)
+
+graphCreate_description =
+
+graphCreate_title = Creating graph (graphCreate)
+
+graphXYCreate_description =
+
+graphXYCreate_title = Creating XY graph (graphXYCreate)
+
+graphs_menu = Graphs
+
+groupCreate_description = Layout using the standard panelGrid and panelGroup tags
+
+groupCreate_title = Creating Group (groupCreate)
+
+group_menu = Group
+
+gthen = >
+
+helpCreate_autohide = Automatic Hide
+
+helpCreate_btn = Button (text from the page)
+
+helpCreate_btn2 = Button (text from a resource file)
+
+helpCreate_btn_tt1 = Button with tooltip (text from the page)
+
+helpCreate_btn_tt2 = Button with tooltip (text from a resource file)
+
+helpCreate_btnpopup = Show Help
+
+helpCreate_description = Help dialog box example page
+
+helpCreate_image1 = Image (default)
+
+helpCreate_image2 = Image (custom)
+
+helpCreate_image_tt1 = Image with tooltip (text from the page)
+
+helpCreate_image_tt2 = Image with tooltip (text from a resource file)
+
+helpCreate_lesssize = Decrease Size
+
+helpCreate_link = Link (text from the page)
+
+helpCreate_link2 = Link (text from a resource file)
+
+helpCreate_link_tt1 = Link with tooltip (text from the page)
+
+helpCreate_link_tt2 = Link with tooltip (text from a resource file)
+
+helpCreate_location = Show location bar
+
+helpCreate_moresize = Increase size
+
+helpCreate_res = Resizable
+
+helpCreate_scroll = Show scrollbars
+
+helpCreate_status = Show status bar
+
+helpCreate_title = Create Help for Page (helpCreate)
+
+helpCreate_toolbar = Show toolbar
+
+help_menu = Help
+
+lthen = <
+
+menuitem_restrictedaccess = Restricted Acess
+
+menuitem_restrictedfunctionality = Restricted Functionality
+
+menuitem_security = Security
+
+navigationModel_description = Sample of JSF Navigation Model and commandLink
+
+navigationModel_linkLabel = Link to page2
+
+navigationModel_submitLabel = Submit
+
+navigationModel_title = Navigation Model
+
+onload_phase_listener = Onload Phase Listener Action
+
+onload_phase_listener_view1 = No Navigation
+
+onload_phase_listener_view2 = Navigate to view3
+
+onload_phase_listener_view4 = Invoke for Ajax requests
+
+outputText_description = This is a sample of h:outputText component
+
+outputText_message = This is a localized message from OutputTextBean
+
+outputText_title = h:outputText sample
+
+popupPickingValue_description =
+
+popupPickingValue_title = Picking Values from Popup
+
+popup_menu = Popup
+
+prompt = Tell us your name:
+
+restrictedFunctionality_adminButton = ROLE_ADMIN only
+
+restrictedFunctionality_adminText = This text can be only seen by user with role
ROLE_ADMIN.
+
+restrictedFunctionality_description = It is possible to hide some content on the page. It
is possible to have a single JSP page that for example shows some items to all users, but
allows editing of items only for admins.
+
+restrictedFunctionality_description2 = Spring security framework also allows restricting
access to some Spring beans. This button, although visible to all users, tries to access a
Spring bean which is accessible to admins only.
+
+restrictedFunctionality_title = Restricted functionality
+
+restrictedaccess_description = Only users that have a role ROLE_ADMIN can access this
page. Also, the link in menu that leads to this page is not shown to other users. To
demonstrate this, logout and login as user. The menu link will not be shown and this page
cannot be accessed by typing the URL to browser.
+
+restrictedaccess_title = Restricted Access
+
+richTable_description = Sample of how to filter data in table using a RichFaces table
instead
+
+richTable_title = Rich Table Filter
+
+richTreeMulti_title = RichTree Multiple Selection
+
+richTreeSimple_title = RichTree simple example
+
+sample_menu = Samples
+
+scrollableDataTable_description = Sample of basic JSF Table with Scrolling Support
+
+scrollableDataTable_title = Basic JSF Table with Scrolling Support
+
+select_description = Sample of differenct select components in JSF
+
+select_menu = Select
+
+select_selectBooleanCheckbox = selectBooleanCheckbox
+
+select_selectManyCheckbox = selectManyCheckbox
+
+select_selectManyListbox = selectManyListbox
+
+select_selectOneListbox = selectOneListbox
+
+select_selectOneMenu = selectOneMenu
+
+select_selectOneRadio = selectOneRadio
+
+select_submitLabel = Submit
+
+select_title = Select components
+
+shuttleSelect_description = ShuttleSelect with selectOneListbox
+
+shuttleSelect_submit = Submit
+
+shuttleSelect_title = Creating shuttle select (shuttleSelect)
+
+tabbedPane_description = Tabbed pane using Tomahawk panelTabbedPane and server side tab
switching. Tomahawk tabbed pane does not support Ajax components or MyFaces table or
Tomahawk tree2.
+
+tabbedPane_menu = Tabbed pane
+
+tabbedPane_title = Server side tabbed pane (tabbedPane)
+
+tableAjax_description = This table is refreshed using AJAX.
+
+tableAjax_title = Automatically refreshing table (tableAjax)
+
+tableBasicTooltip_description = Sample of basic JSF table without paging or sorting,
using tooltips
+
+tableBasicTooltip_title = Basic JSF Table with Tooltips Support
+
+tableBasic_description = Sample of basic JSF table without paging or sorting
+
+tableBasic_title = Basic JSF Table
+
+tableComplete_title = Table Filtering with Autocomplete
+
+tableCreate_description =
+
+tableCreate_title = Creating Table (tableCreate)
+
+tableEdit_description =
+
+tableEdit_title = Editable Table (tableEdit)
+
+tableExport_description = Sample of JSF table that offers Excel and CVS export
+
+tableExport_title = JSF Table with Excel Export Support
+
+tableFilterAJAX_description = Sample of how to filter data in table, now an AJAX call
refreshes only the form and table
+
+tableFilterAJAX_title = Refreshing by user action (tableFilter)
+
+tableFilter_description = Sample of how to filter data in table
+
+tableFilter_title = Filtering Table (tableFilter)
+
+tableForm_description = Sample of basic JSF table using form components
+
+tableForm_form_changes = Confirm Changes
+
+tableForm_form_enabled = Enabled
+
+tableForm_form_id = Id
+
+tableForm_form_locations = Locations
+
+tableForm_form_name = Name
+
+tableForm_form_save = Save
+
+tableForm_form_state = Working Mode
+
+tableForm_form_url = Module Description
+
+tableForm_title = Basic JSF Table with Form Elements Support
+
+tableLazyLoad_description = Creating the table with paging support which provides
lazyLoading
+
+tableLazyLoad_title = Create Table (lazyLoading)
+
+tablePage_description = Sample of basic JSF table using paging
+
+tablePage_title = Basic JSF Table with Paging Support
+
+table_menu = Table
+
+timeTicker_title = ATimeTickerDemo
+
+tooltipTable_title = Tooltips in a Table
+
+tooltipTree_description = This sample shows how to create NSN Look&Feel compliant
tree with tooltips, using Tomahawk tree2 component. Facet name is 'document' and
it renders all nodes that have 'document' as their type. Calypso tree already
contains this facet. Calypso and Tomahawk trees can be customized and extended by adding
facets. More information about tree2 in
http://wiki.apache.org/myfaces/Tree2
+
+tooltipTree_title = Custom Tree with Tooltips
+
+tooltip_menu = Tooltip
+
+tooltip_title = Tooltips in Form Components
+
+tooltips_form_button_tooltip = Submit data into the system.
+
+tooltips_form_name = Network Element:
+
+tooltips_form_name_tooltip = Provide the network element's name.
+
+tooltips_form_state = State:
+
+tooltips_form_state_tooltip = Current working state.
+
+tooltips_form_title = Form with Tooltips
+
+tooltips_form_type = Type:
+
+tooltips_form_type_tooltip = The network element type deployed.
+
+tooltips_sample_title = Tooltips Form Example
+
+treeCreate_description = This sample shows how to use Calypso tree. It extends Tomahawk
tree2 component, but contains NSN Look&Feel compliant rendering by default.
+
+treeCreate_title = Creating Tree (treeCreate)
+
+treeCustom_description = This sample shows how to create NSN Look&Feel compliant tree
using Tomahawk tree2 component. Facet name is 'document' and it renders all nodes
that have 'document' as their type. Calypso tree already contains this facet.
Calypso and Tomahawk trees can be customized and extended by adding facets. More
information about tree2 in
http://wiki.apache.org/myfaces/Tree2
+
+treeCustom_selected = Selected:
+
+treeCustom_title = Custom Tree (treeCustom)
+
+treeSort_description =
+
+treeSort_label1 = Sort continents by
+
+treeSort_label2 = Sort countries by
+
+treeSort_title = Sorted Tree (treeSort)
+
+tree_menu = Tree
+
+user_firstName = First Name
+
+user_group = Group
+
+user_id = username
+
+user_lastName = Last Name
+
+validation_firstname = First name:
+
+wizards_menu = Wizards
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/classes/log4j.dtd
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/classes/log4j.dtd
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/classes/log4j.dtd 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!-- Authors: Chris Taylor, Ceki Gulcu. -->
+
+<!-- Version: 1.2 -->
+
+<!-- A configuration element consists of optional renderer
+elements,appender elements, categories and an optional root
+element. -->
+
+<!ELEMENT log4j:configuration (renderer*, appender*,(category|logger)*,root?,
+ categoryFactory?)>
+
+<!-- The "threshold" attribute takes a level value such that all -->
+<!-- logging statements with a level equal or below this value are -->
+<!-- disabled. -->
+
+<!-- Setting the "debug" enable the printing of internal log4j logging
-->
+<!-- statements. -->
+
+<!-- By default, debug attribute is "null", meaning that we not do touch
-->
+<!-- internal log4j logging settings. The "null" value for the threshold
-->
+<!-- attribute can be misleading. The threshold field of a repository -->
+<!-- cannot be set to null. The "null" value for the threshold attribute
-->
+<!-- simply means don't touch the threshold field, the threshold field -->
+<!-- keeps its old value. -->
+
+<!ATTLIST log4j:configuration
+ xmlns:log4j CDATA #FIXED "http://jakarta.apache.org/log4j/"
+ threshold (all|debug|info|warn|error|fatal|off|null) "null"
+ debug (true|false|null) "null"
+>
+
+<!-- renderer elements allow the user to customize the conversion of -->
+<!-- message objects to String. -->
+
+<!ELEMENT renderer EMPTY>
+<!ATTLIST renderer
+ renderedClass CDATA #REQUIRED
+ renderingClass CDATA #REQUIRED
+>
+
+<!-- Appenders must have a name and a class. -->
+<!-- Appenders may contain an error handler, a layout, optional parameters -->
+<!-- and filters. They may also reference (or include) other appenders. -->
+<!ELEMENT appender (errorHandler?, param*, layout?, filter*, appender-ref*)>
+<!ATTLIST appender
+ name ID #REQUIRED
+ class CDATA #REQUIRED
+>
+
+<!ELEMENT layout (param*)>
+<!ATTLIST layout
+ class CDATA #REQUIRED
+>
+
+<!ELEMENT filter (param*)>
+<!ATTLIST filter
+ class CDATA #REQUIRED
+>
+
+<!-- ErrorHandlers can be of any class. They can admit any number of -->
+<!-- parameters. -->
+
+<!ELEMENT errorHandler (param*, root-ref?, logger-ref*, appender-ref?)>
+<!ATTLIST errorHandler
+ class CDATA #REQUIRED
+>
+
+<!ELEMENT root-ref EMPTY>
+
+<!ELEMENT logger-ref EMPTY>
+<!ATTLIST logger-ref
+ ref IDREF #REQUIRED
+>
+
+<!ELEMENT param EMPTY>
+<!ATTLIST param
+ name CDATA #REQUIRED
+ value CDATA #REQUIRED
+>
+
+
+<!-- The priority class is org.apache.log4j.Level by default -->
+<!ELEMENT priority (param*)>
+<!ATTLIST priority
+ class CDATA #IMPLIED
+ value CDATA #REQUIRED
+>
+
+<!-- The level class is org.apache.log4j.Level by default -->
+<!ELEMENT level (param*)>
+<!ATTLIST level
+ class CDATA #IMPLIED
+ value CDATA #REQUIRED
+>
+
+
+<!-- If no level element is specified, then the configurator MUST not -->
+<!-- touch the level of the named category. -->
+<!ELEMENT category (param*,(priority|level)?,appender-ref*)>
+<!ATTLIST category
+ class CDATA #IMPLIED
+ name CDATA #REQUIRED
+ additivity (true|false) "true"
+>
+
+<!-- If no level element is specified, then the configurator MUST not -->
+<!-- touch the level of the named logger. -->
+<!ELEMENT logger (level?,appender-ref*)>
+<!ATTLIST logger
+ name ID #REQUIRED
+ additivity (true|false) "true"
+>
+
+
+<!ELEMENT categoryFactory (param*)>
+<!ATTLIST categoryFactory
+ class CDATA #REQUIRED>
+
+<!ELEMENT appender-ref EMPTY>
+<!ATTLIST appender-ref
+ ref IDREF #REQUIRED
+>
+
+<!-- If no priority element is specified, then the configurator MUST not -->
+<!-- touch the priority of root. -->
+<!-- The root category always exists and cannot be subclassed. -->
+<!ELEMENT root (param*, (priority|level)?, appender-ref*)>
+
+
+<!-- ==================================================================== -->
+<!-- A logging event -->
+<!-- ==================================================================== -->
+<!ELEMENT log4j:eventSet (log4j:event*)>
+<!ATTLIST log4j:eventSet
+ xmlns:log4j CDATA #FIXED "http://jakarta.apache.org/log4j/"
+ version (1.1|1.2) "1.2"
+ includesLocationInfo (true|false) "true"
+>
+
+
+
+<!ELEMENT log4j:event (log4j:message, log4j:NDC?, log4j:throwable?,
+ log4j:locationInfo?) >
+
+<!-- The timestamp format is application dependent. -->
+<!ATTLIST log4j:event
+ logger CDATA #REQUIRED
+ level CDATA #REQUIRED
+ thread CDATA #REQUIRED
+ timestamp CDATA #REQUIRED
+>
+
+<!ELEMENT log4j:message (#PCDATA)>
+<!ELEMENT log4j:NDC (#PCDATA)>
+
+<!ELEMENT log4j:throwable (#PCDATA)>
+
+<!ELEMENT log4j:locationInfo EMPTY>
+<!ATTLIST log4j:locationInfo
+ class CDATA #REQUIRED
+ method CDATA #REQUIRED
+ file CDATA #REQUIRED
+ line CDATA #REQUIRED
+>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/classes/log4j.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/classes/log4j.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/classes/log4j.xml 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<log4j:configuration
xmlns:log4j="http://jakarta.apache.org/log4j/">
+ <appender name="ConsoleAppender"
class="org.apache.log4j.ConsoleAppender">
+ <layout class="org.apache.log4j.SimpleLayout" />
+ </appender>
+ <category name="com.nsn" additivity="false">
+ <priority value="debug" />
+ <appender-ref ref="ConsoleAppender" />
+ </category>
+ <root>
+ <priority value="warn" />
+ <appender-ref ref="ConsoleAppender" />
+ </root>
+</log4j:configuration>
\ No newline at end of file
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/classes/npedemoResources.properties
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/classes/npedemoResources.properties
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/target/classes/npedemoResources.properties 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,522 @@
+#Generated by Eclipse Messages Editor (Eclipse Babel)
+#Tue Jun 10 15:53:48 EEST 2008
+
+ajaxGetTime_description =
+
+ajaxGetTime_title = Automatic Refresh (ajaxGetTime)
+
+ajax_menu = AJAX
+
+alarm_msg = Alarm Message
+
+alarm_type = Alarm Type
+
+basicPopup_btn = Button (text from the page)
+
+basicPopup_btn2 = Button (text from a resource file)
+
+basicPopup_btn_tt1 = Button with tooltip (text from the page)
+
+basicPopup_btn_tt2 = Button with tooltip (text from a resource file)
+
+basicPopup_btnpopup = Show Popup
+
+basicPopup_description =
+
+basicPopup_firstName = FirstName
+
+basicPopup_image1 = Image (default)
+
+basicPopup_image2 = Image (custom)
+
+basicPopup_image_tt1 = Image with tooltip (text from the page)
+
+basicPopup_image_tt2 = Image with tooltip (text from a resource file)
+
+basicPopup_ink2 =
+
+basicPopup_ink_tt1 =
+
+basicPopup_lastName = LastName
+
+basicPopup_lesssize = Decrease Size
+
+basicPopup_link = Link (text from the page)
+
+basicPopup_link2 = Link (text from a resource file)
+
+basicPopup_link_tt1 = Link with tooltip (text from the page)
+
+basicPopup_link_tt2 = Link with tooltip (text from a resource file)
+
+basicPopup_location = Show location bar
+
+basicPopup_moresize = Increase size
+
+basicPopup_msg_close = Press Ok to close this dialog.
+
+basicPopup_res = Resizable
+
+basicPopup_scroll = Show scrollbars
+
+basicPopup_status = Show status bar
+
+basicPopup_title = Creating basic popup (basicPopup)
+
+basicPopup_toolbar = Show toolbar
+
+basicTree_description = Sample of basic JSF tree
+
+basicTree_title = Tree
+
+basicWizard_breadCrumbPage1 = Basic Information
+
+basicWizard_breadCrumbPage2 = Delivery Address
+
+basicWizard_breadCrumbPage3 = Payment Method
+
+basicWizard_button_finish = Finish
+
+basicWizard_button_next = Next >
+
+basicWizard_button_previous = < Previous
+
+basicWizard_city = City:
+
+basicWizard_description =
+
+basicWizard_firstName = Firstname:
+
+basicWizard_lastName = Lastname:
+
+basicWizard_paymentMethod = Payment Method:
+
+basicWizard_postalCode = Postalcode:
+
+basicWizard_street = Street:
+
+basicWizard_title = Creating basic wizard (basicWizard)
+
+button_ok = Ok
+
+button_text = Say Hello
+
+calendarCreate_dateseparator = /
+
+calendarCreate_description =
+
+calendarCreate_head1 = Default calendar
+
+calendarCreate_head10 = Year-select calendar
+
+calendarCreate_head11 = Default calendar, but results are split into multiple fields
(m/d/yyyy)
+
+calendarCreate_head12 = Calendar with popup pre-selected to be January 29, 1974 (EU style
on the page)
+
+calendarCreate_head13 = Calendar with popup pre-selected to be August 1, 1969 (US style
on the page)
+
+calendarCreate_head14 = Calendar with tooltip on image (from a resource bundle)
+
+calendarCreate_head15 = Calendar with tooltip on image (from the page)
+
+calendarCreate_head16 = Calendar opening from button
+
+calendarCreate_head17 = Calendar opening from link
+
+calendarCreate_head18 = Submitting calendar value
+
+calendarCreate_head19 = Changing the inputfield size
+
+calendarCreate_head2 = Default calendar with navigation drop-downs enabled
+
+calendarCreate_head3 = Some dates manually disabled from selection
+
+calendarCreate_head4 = Weekend select
+
+calendarCreate_head5 = Calendar with year navigation enabled
+
+calendarCreate_head6 = Calendar with year navigation enabled and year navigation input
enabled to allow manual entering of years
+
+calendarCreate_head7 = Calendar with only Saturdays allowed to be selected
+
+calendarCreate_head8 = Month-select calendar
+
+calendarCreate_head9 = Quarter-select calendar
+
+calendarCreate_title = Creating calendar (calendarCreate)
+
+calendarCreate_tooltip = Open Calendar
+
+calendarScheduling_description =
+
+calendarScheduling_label_end = Choose end time
+
+calendarScheduling_label_start = Choose start time
+
+calendarScheduling_title = Scheduling (calendarScheduling)
+
+calendar_menu = Calendar
+
+collapsible_panel_description = Example page that demonstrates the use of the collapsible
panel.
+
+collapsible_panel_menu = Collapsible Panel
+
+collapsible_panel_title = Collapsible Panel
+
+components_menu = JSF Components
+
+dataScroller_pages = {0} Cars found, displaying {1} cars, from {2} to {3}. Page {4} /
{5}
+
+dynamicList_description =
+
+dynamicList_label1 = Role
+
+dynamicList_label2 = Actor
+
+dynamicList_label3 = Movie
+
+dynamicList_menu = Dynamic List
+
+dynamicList_title = Creating dynamic list (dynamicList)
+
+errorValidation_age = Age (number field with range validator)
+
+errorValidation_description = Validation with standard JSF components using custom
message component and calypso.css
+
+errorValidation_email = E-mail (field with custom validator)
+
+errorValidation_error = Generate error on server
+
+errorValidation_firstName = First name (required field with minimum 5 character length)
+
+errorValidation_lastName = Last name (required field)
+
+errorValidation_password = Password (required field)
+
+errorValidation_submitLabel = Submit
+
+errorValidation_title = Error Validation (errorValidation)
+
+errorValidation_type = Type (required select field)
+
+event_actionListenerLabel = Proper ActionListener
+
+event_actionMethodLabel = Action listener using method
+
+event_chainedActionListener = Chained ActionListener
+
+event_description = Sample of event usage
+
+event_submitLabel = Submit method
+
+event_title = Events
+
+extendedTable_title = A JSF Table with hide/show columns support
+
+filter = Filter:
+
+form_comment = Comment (h:inputTextArea)
+
+form_description = Sample of JSF form and basic form components
+
+form_menu = Form
+
+form_name = Name (h:inputText)
+
+form_password = Password (h:inputSecret)
+
+form_submitLabel = Submit (h:commandButton)
+
+form_title = h:form sample
+
+form_username = Username (h:inputText)
+
+graphCreate_description =
+
+graphCreate_title = Creating graph (graphCreate)
+
+graphXYCreate_description =
+
+graphXYCreate_title = Creating XY graph (graphXYCreate)
+
+graphs_menu = Graphs
+
+groupCreate_description = Layout using the standard panelGrid and panelGroup tags
+
+groupCreate_title = Creating Group (groupCreate)
+
+group_menu = Group
+
+gthen = >
+
+helpCreate_autohide = Automatic Hide
+
+helpCreate_btn = Button (text from the page)
+
+helpCreate_btn2 = Button (text from a resource file)
+
+helpCreate_btn_tt1 = Button with tooltip (text from the page)
+
+helpCreate_btn_tt2 = Button with tooltip (text from a resource file)
+
+helpCreate_btnpopup = Show Help
+
+helpCreate_description = Help dialog box example page
+
+helpCreate_image1 = Image (default)
+
+helpCreate_image2 = Image (custom)
+
+helpCreate_image_tt1 = Image with tooltip (text from the page)
+
+helpCreate_image_tt2 = Image with tooltip (text from a resource file)
+
+helpCreate_lesssize = Decrease Size
+
+helpCreate_link = Link (text from the page)
+
+helpCreate_link2 = Link (text from a resource file)
+
+helpCreate_link_tt1 = Link with tooltip (text from the page)
+
+helpCreate_link_tt2 = Link with tooltip (text from a resource file)
+
+helpCreate_location = Show location bar
+
+helpCreate_moresize = Increase size
+
+helpCreate_res = Resizable
+
+helpCreate_scroll = Show scrollbars
+
+helpCreate_status = Show status bar
+
+helpCreate_title = Create Help for Page (helpCreate)
+
+helpCreate_toolbar = Show toolbar
+
+help_menu = Help
+
+lthen = <
+
+menuitem_restrictedaccess = Restricted Acess
+
+menuitem_restrictedfunctionality = Restricted Functionality
+
+menuitem_security = Security
+
+navigationModel_description = Sample of JSF Navigation Model and commandLink
+
+navigationModel_linkLabel = Link to page2
+
+navigationModel_submitLabel = Submit
+
+navigationModel_title = Navigation Model
+
+onload_phase_listener = Onload Phase Listener Action
+
+onload_phase_listener_view1 = No Navigation
+
+onload_phase_listener_view2 = Navigate to view3
+
+onload_phase_listener_view4 = Invoke for Ajax requests
+
+outputText_description = This is a sample of h:outputText component
+
+outputText_message = This is a localized message from OutputTextBean
+
+outputText_title = h:outputText sample
+
+popupPickingValue_description =
+
+popupPickingValue_title = Picking Values from Popup
+
+popup_menu = Popup
+
+prompt = Tell us your name:
+
+restrictedFunctionality_adminButton = ROLE_ADMIN only
+
+restrictedFunctionality_adminText = This text can be only seen by user with role
ROLE_ADMIN.
+
+restrictedFunctionality_description = It is possible to hide some content on the page. It
is possible to have a single JSP page that for example shows some items to all users, but
allows editing of items only for admins.
+
+restrictedFunctionality_description2 = Spring security framework also allows restricting
access to some Spring beans. This button, although visible to all users, tries to access a
Spring bean which is accessible to admins only.
+
+restrictedFunctionality_title = Restricted functionality
+
+restrictedaccess_description = Only users that have a role ROLE_ADMIN can access this
page. Also, the link in menu that leads to this page is not shown to other users. To
demonstrate this, logout and login as user. The menu link will not be shown and this page
cannot be accessed by typing the URL to browser.
+
+restrictedaccess_title = Restricted Access
+
+richTable_description = Sample of how to filter data in table using a RichFaces table
instead
+
+richTable_title = Rich Table Filter
+
+richTreeMulti_title = RichTree Multiple Selection
+
+richTreeSimple_title = RichTree simple example
+
+sample_menu = Samples
+
+scrollableDataTable_description = Sample of basic JSF Table with Scrolling Support
+
+scrollableDataTable_title = Basic JSF Table with Scrolling Support
+
+select_description = Sample of differenct select components in JSF
+
+select_menu = Select
+
+select_selectBooleanCheckbox = selectBooleanCheckbox
+
+select_selectManyCheckbox = selectManyCheckbox
+
+select_selectManyListbox = selectManyListbox
+
+select_selectOneListbox = selectOneListbox
+
+select_selectOneMenu = selectOneMenu
+
+select_selectOneRadio = selectOneRadio
+
+select_submitLabel = Submit
+
+select_title = Select components
+
+shuttleSelect_description = ShuttleSelect with selectOneListbox
+
+shuttleSelect_submit = Submit
+
+shuttleSelect_title = Creating shuttle select (shuttleSelect)
+
+tabbedPane_description = Tabbed pane using Tomahawk panelTabbedPane and server side tab
switching. Tomahawk tabbed pane does not support Ajax components or MyFaces table or
Tomahawk tree2.
+
+tabbedPane_menu = Tabbed pane
+
+tabbedPane_title = Server side tabbed pane (tabbedPane)
+
+tableAjax_description = This table is refreshed using AJAX.
+
+tableAjax_title = Automatically refreshing table (tableAjax)
+
+tableBasicTooltip_description = Sample of basic JSF table without paging or sorting,
using tooltips
+
+tableBasicTooltip_title = Basic JSF Table with Tooltips Support
+
+tableBasic_description = Sample of basic JSF table without paging or sorting
+
+tableBasic_title = Basic JSF Table
+
+tableComplete_title = Table Filtering with Autocomplete
+
+tableCreate_description =
+
+tableCreate_title = Creating Table (tableCreate)
+
+tableEdit_description =
+
+tableEdit_title = Editable Table (tableEdit)
+
+tableExport_description = Sample of JSF table that offers Excel and CVS export
+
+tableExport_title = JSF Table with Excel Export Support
+
+tableFilterAJAX_description = Sample of how to filter data in table, now an AJAX call
refreshes only the form and table
+
+tableFilterAJAX_title = Refreshing by user action (tableFilter)
+
+tableFilter_description = Sample of how to filter data in table
+
+tableFilter_title = Filtering Table (tableFilter)
+
+tableForm_description = Sample of basic JSF table using form components
+
+tableForm_form_changes = Confirm Changes
+
+tableForm_form_enabled = Enabled
+
+tableForm_form_id = Id
+
+tableForm_form_locations = Locations
+
+tableForm_form_name = Name
+
+tableForm_form_save = Save
+
+tableForm_form_state = Working Mode
+
+tableForm_form_url = Module Description
+
+tableForm_title = Basic JSF Table with Form Elements Support
+
+tableLazyLoad_description = Creating the table with paging support which provides
lazyLoading
+
+tableLazyLoad_title = Create Table (lazyLoading)
+
+tablePage_description = Sample of basic JSF table using paging
+
+tablePage_title = Basic JSF Table with Paging Support
+
+table_menu = Table
+
+timeTicker_title = ATimeTickerDemo
+
+tooltipTable_title = Tooltips in a Table
+
+tooltipTree_description = This sample shows how to create NSN Look&Feel compliant
tree with tooltips, using Tomahawk tree2 component. Facet name is 'document' and
it renders all nodes that have 'document' as their type. Calypso tree already
contains this facet. Calypso and Tomahawk trees can be customized and extended by adding
facets. More information about tree2 in
http://wiki.apache.org/myfaces/Tree2
+
+tooltipTree_title = Custom Tree with Tooltips
+
+tooltip_menu = Tooltip
+
+tooltip_title = Tooltips in Form Components
+
+tooltips_form_button_tooltip = Submit data into the system.
+
+tooltips_form_name = Network Element:
+
+tooltips_form_name_tooltip = Provide the network element's name.
+
+tooltips_form_state = State:
+
+tooltips_form_state_tooltip = Current working state.
+
+tooltips_form_title = Form with Tooltips
+
+tooltips_form_type = Type:
+
+tooltips_form_type_tooltip = The network element type deployed.
+
+tooltips_sample_title = Tooltips Form Example
+
+treeCreate_description = This sample shows how to use Calypso tree. It extends Tomahawk
tree2 component, but contains NSN Look&Feel compliant rendering by default.
+
+treeCreate_title = Creating Tree (treeCreate)
+
+treeCustom_description = This sample shows how to create NSN Look&Feel compliant tree
using Tomahawk tree2 component. Facet name is 'document' and it renders all nodes
that have 'document' as their type. Calypso tree already contains this facet.
Calypso and Tomahawk trees can be customized and extended by adding facets. More
information about tree2 in
http://wiki.apache.org/myfaces/Tree2
+
+treeCustom_selected = Selected:
+
+treeCustom_title = Custom Tree (treeCustom)
+
+treeSort_description =
+
+treeSort_label1 = Sort continents by
+
+treeSort_label2 = Sort countries by
+
+treeSort_title = Sorted Tree (treeSort)
+
+tree_menu = Tree
+
+user_firstName = First Name
+
+user_group = Group
+
+user_id = username
+
+user_lastName = Last Name
+
+validation_firstname = First name:
+
+wizards_menu = Wizards
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2010-02-08
15:49:52 UTC (rev 20182)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2010-02-08
17:31:54 UTC (rev 20183)
@@ -74,6 +74,7 @@
import org.jboss.tools.jsf.vpe.jsf.test.jbide.OpenOnJsf20Test_JBIDE5382;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.OpenOnTLDPackedInJar_JBIDE5693;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.PreferencesForEditors_JBIDE5692;
+import org.jboss.tools.jsf.vpe.jsf.test.jbide.RefreshBundles_JBIDE5460;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.TaglibXMLUnformatedDTD_JBIDE5642;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.TestFViewLocaleAttribute_JBIDE5218;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE675Test;
@@ -114,6 +115,7 @@
public static final String IMPORT_I18N_PROJECT_NAME = "i18nTest";
//$NON-NLS-1$
public static final String IMPORT_NATURES_CHECKER_PROJECT =
"naturesCheckTest"; //$NON-NLS-1$
public static final String IMPORT_JSF_LOCALES_PROJECT_NAME = "jsfLocales";
//$NON-NLS-1$
+ public static final String IMPORT_JBIDE5460_PROJECT_NAME =
"JBIDE5460TestProject"; //$NON-NLS-1$
public static Test suite() {
@@ -202,6 +204,7 @@
suite.addTestSuite(PreferencesForEditors_JBIDE5692.class);
suite.addTestSuite(NaturesChecker_JBIDE5701.class);
suite.addTestSuite(FacetProcessingTest.class);
+ suite.addTestSuite(RefreshBundles_JBIDE5460.class);
// $JUnit-END$
// added by Max Areshkau
@@ -212,6 +215,11 @@
importBeanJsf1.setImportProjectPath(JsfTestPlugin.getPluginResourcePath());
projectToImport.add(importBeanJsf1);
+ ImportBean importBeanJBIDE5460 = new ImportBean();
+ importBeanJBIDE5460.setImportProjectName(JsfAllTests.IMPORT_JBIDE5460_PROJECT_NAME);
+ importBeanJBIDE5460.setImportProjectPath(JsfTestPlugin.getPluginResourcePath());
+ projectToImport.add(importBeanJBIDE5460);
+
ImportBean importBeanJsf20 = new ImportBean();
importBeanJsf20.setImportProjectName(JsfAllTests.IMPORT_JSF_20_PROJECT_NAME);
importBeanJsf20.setImportProjectPath(JsfTestPlugin.getPluginResourcePath());
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/NaturesChecker_JBIDE5701.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/NaturesChecker_JBIDE5701.java 2010-02-08
15:49:52 UTC (rev 20182)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/NaturesChecker_JBIDE5701.java 2010-02-08
17:31:54 UTC (rev 20183)
@@ -1,3 +1,14 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 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.jsf.test.jbide;
import org.eclipse.core.resources.IFile;
@@ -13,6 +24,12 @@
import org.jboss.tools.vpe.ui.test.TestUtil;
import org.jboss.tools.vpe.ui.test.VpeTest;
+/**
+ *
+ * @author yzhishko
+ *
+ */
+
public class NaturesChecker_JBIDE5701 extends VpeTest {
private static final String FIRST_TEST_PAGE_NAME = "inputUserName.jsp";
//$NON-NLS-1$
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/RefreshBundles_JBIDE5460.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/RefreshBundles_JBIDE5460.java
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/RefreshBundles_JBIDE5460.java 2010-02-08
17:31:54 UTC (rev 20183)
@@ -0,0 +1,69 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 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.jsf.test.jbide;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.part.FileEditorInput;
+import org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests;
+import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor;
+import org.jboss.tools.vpe.ui.test.TestUtil;
+import org.jboss.tools.vpe.ui.test.VpeTest;
+
+/**
+ *
+ * @author yzhishko
+ *
+ */
+
+public class RefreshBundles_JBIDE5460 extends VpeTest {
+
+ private static String TEST_PAGE = "tableBasic/tableBasic.xhtml";
//$NON-NLS-1$
+
+ public RefreshBundles_JBIDE5460(String name) {
+ super(name);
+ }
+
+ public void testRefreshBundles() throws Throwable{
+ IFile file = (IFile) getFile(TEST_PAGE, JsfAllTests.IMPORT_JBIDE5460_PROJECT_NAME);
+
+ assertNotNull("Could not open specified file. componentPage = "
//$NON-NLS-1$
+ + TEST_PAGE
+ + ";projectName = " + JsfAllTests.IMPORT_JBIDE5460_PROJECT_NAME,
file);//$NON-NLS-1$
+
+ IEditorInput input = new FileEditorInput(file);
+
+ assertNotNull("Editor input is null", input); //$NON-NLS-1$
+ // open and get editor
+
+ JSPMultiPageEditor part = openEditor(input);
+
+ assertNotNull("Editor is not opened", part); //$NON-NLS-1$
+
+ TestUtil.delay(2000);
+ }
+
+ private IResource getFile(String pagePath, String projectName) throws CoreException{
+ IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(
+ projectName);
+ if (project != null) {
+ return project.getFolder("WebContent/html").findMember(pagePath);
+
+ }
+ return null;
+ }
+
+}
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/bundle/BundleMap.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/bundle/BundleMap.java 2010-02-08
15:49:52 UTC (rev 20182)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/bundle/BundleMap.java 2010-02-08
17:31:54 UTC (rev 20183)
@@ -97,7 +97,11 @@
}
IProject project = ((IFileEditorInput) editor.getEditorInput())
.getFile().getProject();
- XModel model = EclipseResourceUtil.getModelNature(project).getModel();
+ IModelNature modelNature = EclipseResourceUtil.getModelNature(project);
+ if (modelNature == null) {
+ return;
+ }
+ XModel model = modelNature.getModel();
List<Object> l = WebPromptingProvider.getInstance().getList(model,
WebPromptingProvider.JSF_REGISTERED_BUNDLES, null, null);
if (l == null || l.size() < 2 || !(l.get(1) instanceof Map)) {