JBoss Tools SVN: r16868 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/drop/treeviewer/model.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-07-29 08:41:41 -0400 (Wed, 29 Jul 2009)
New Revision: 16868
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/drop/treeviewer/model/SeamVariablesResourceElement.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4675
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/drop/treeviewer/model/SeamVariablesResourceElement.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/drop/treeviewer/model/SeamVariablesResourceElement.java 2009-07-29 12:31:13 UTC (rev 16867)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/drop/treeviewer/model/SeamVariablesResourceElement.java 2009-07-29 12:41:41 UTC (rev 16868)
@@ -10,6 +10,7 @@
******************************************************************************/
package org.jboss.tools.jst.jsp.drop.treeviewer.model;
+import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
@@ -39,11 +40,15 @@
p.put("file", valueHelper.getFile()); //$NON-NLS-1$
List list = ValueHelper.seamPromptingProvider.getList(null, "seam.variables", "", p); //$NON-NLS-1$ //$NON-NLS-2$
if(list == null) return EMPTY_LIST;
- SeamVariableElement[] es = new SeamVariableElement[list.size()];
- for (int i = 0; i < es.length; i++) {
- es[i] = new SeamVariableElement(list.get(i).toString(), this);
+ List<SeamVariableElement> es = new ArrayList<SeamVariableElement>();
+ for (int i = 0; i < list.size(); i++) {
+ String s = list.get(i).toString();
+ if(s.length() == 0) {
+ continue;
+ }
+ es.add(new SeamVariableElement(s, this));
}
- return elements = es;
+ return elements = es.toArray(new SeamVariableElement[es.size()]);
}
public String getName() {
14 years, 9 months
JBoss Tools SVN: r16867 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-07-29 08:31:13 -0400 (Wed, 29 Jul 2009)
New Revision: 16867
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamPromptingProvider.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4675
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamPromptingProvider.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamPromptingProvider.java 2009-07-29 11:49:48 UTC (rev 16866)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamPromptingProvider.java 2009-07-29 12:31:13 UTC (rev 16867)
@@ -18,8 +18,10 @@
import org.eclipse.core.resources.IFile;
import org.eclipse.jface.text.BadLocationException;
+import org.jboss.tools.common.el.core.resolver.Var;
import org.jboss.tools.common.model.XModel;
import org.jboss.tools.common.model.project.IPromptingProvider;
+import org.jboss.tools.common.text.TextProposal;
import org.jboss.tools.seam.core.ISeamContextVariable;
import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.SeamCorePlugin;
@@ -29,7 +31,7 @@
public static String VARIABLES = "seam.variables"; //$NON-NLS-1$
public static String MEMBERS = "seam.members"; //$NON-NLS-1$
-// SeamELCompletionEngine engine= new SeamELCompletionEngine();
+ SeamELCompletionEngine engine = new SeamELCompletionEngine();
public SeamPromptingProvider() {}
@@ -47,7 +49,7 @@
return list;
} else if(VARIABLES.equals(id)) {
p.resolve();
- Set<ISeamContextVariable> vs = p.getVariables();
+ Set<ISeamContextVariable> vs = p.getVariables(true);
Set<Object> set = new TreeSet<Object>();
for (ISeamContextVariable v : vs) {
set.add(v.getName());
@@ -57,14 +59,16 @@
return list;
} else if(MEMBERS.equals(id)) {
//TODO either refactor or remove this class
-// try {
-// String prefix2 = SeamELCompletionEngine.getPrefix(prefix, prefix.length());
-// List<String> suggestions = engine.getCompletions(p, f, prefix, prefix2, 2, true, null);
-// return suggestions;
-// } catch (BadLocationException e) {
-// return EMPTY_LIST;
-// }
- return EMPTY_LIST;
+ try {
+ List<TextProposal> proposals = engine.getCompletions(f, null, prefix, prefix.length(), false, new ArrayList<Var>());
+ List<String> suggestions = new ArrayList<String>();
+ if(proposals != null) for (TextProposal proposal: proposals) {
+ suggestions.add(proposal.getReplacementString());
+ }
+ return suggestions;
+ } catch (BadLocationException e) {
+ return EMPTY_LIST;
+ }
}
return null;
}
14 years, 9 months
JBoss Tools SVN: r16866 - trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/model/handlers.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-07-29 07:49:48 -0400 (Wed, 29 Jul 2009)
New Revision: 16866
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/model/handlers/ImportTLDToPaletteSupport.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4667
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/model/handlers/ImportTLDToPaletteSupport.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/model/handlers/ImportTLDToPaletteSupport.java 2009-07-29 11:48:11 UTC (rev 16865)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/model/handlers/ImportTLDToPaletteSupport.java 2009-07-29 11:49:48 UTC (rev 16866)
@@ -47,8 +47,11 @@
tree.getChildren(tree.getRoot());
selectedFile = (XModelObject)getProperties().get("initialSelection"); //$NON-NLS-1$
if(selectedFile != null) {
+ this.path = tree.getValue(selectedFile);
setAttributeValue(0, TLD, "" + tree.getValue(selectedFile)); //$NON-NLS-1$
onPathModified();
+ } else {
+ this.path = null;
}
}
14 years, 9 months
JBoss Tools SVN: r16865 - trunk/seam/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-07-29 07:48:11 -0400 (Wed, 29 Jul 2009)
New Revision: 16865
Added:
trunk/seam/docs/reference/en/modules/creating_mavenized_seam.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-806 - adding a new chapter;
Added: trunk/seam/docs/reference/en/modules/creating_mavenized_seam.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/creating_mavenized_seam.xml (rev 0)
+++ trunk/seam/docs/reference/en/modules/creating_mavenized_seam.xml 2009-07-29 11:48:11 UTC (rev 16865)
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="create_mavenized_seam" xreflabel="create_mavenized_seam">
+ <?dbhtml filename="create_mavenized_seam.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>JBoss Tools</keyword>
+ <keyword>Seam</keyword>
+ <keyword>JBDS</keyword>
+ </keywordset>
+ </chapterinfo>
+ <title>Creating Maven ready Seam project</title>
+
+ <para><property>JBoss Tools 3.1 M2</property> comes with new Jboss Maven Integration plug-in. It makes the Seam Wizard capable of creating
+ Maven ready projects to let Maven get the libraries instead of using the Seam runtime. The Jboss Maven Integration requires <ulink url="http://m2eclipse.sonatype.org/"
+ >m2eclipse</ulink> to be installed.</para>
+
+ <note>
+ <title>Note:</title>
+ <para>For M2 release of <property>Jboss Tools</property> it is important to use m2eclipse <ulink
+ url="http://m2eclipse.sonatype.org/update/">stable updatesite</ulink> or the <ulink url="http://m2eclipse.sonatype.org/releases/0.9.9.200906081351">latest integration build</ulink> that M2 was
+ developed against. If you want to use the latest development release of m2eclipse you need to use the <ulink url="http://download.jboss.org/jbosstools/updates/nightly/trunk/">nightly builds</ulink> of
+ <property>JBoss Tools</property>.</para>
+ </note>
+
+ <para>To create a mavenized Seam project you should perform the following steps:</para>
+
+ <itemizedlist>
+ <listitem>
+ <para>Navigate to <emphasis>
+ <property>File > New Seam Project</property>.</emphasis> Give the project a meaningful name, specify a target runtime and server
+ and select the proper configuration for your Seam project:</para>
+
+ <figure>
+ <title>Starting the Mavenized Seam Project</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/create_mavenized_seam/createMavenizedSeamProject.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+
+ <listitem>
+ <para>Click the <emphasis>
+ <property>Modify</property></emphasis> button to enable the <emphasis>
+ <property>Jboss Maven Integration</property></emphasis> facet:</para>
+
+ <figure>
+ <title>Enabling the Jboss Maven Integration Facet</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/create_mavenized_seam/jbossMavenIntegrationFacet.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+
+ <listitem>
+ <para>On the <property>JBoss M2 capabilities</property> page you'll be prompted to add the following maven properties:
+ groupId, artifactId, version, packaging, name and description. Here it's possible to set a maven version of Seam
+ and also decide whether to remove WTP classpath containers (where the path starts with org.eclipse.jst).
+ </para>
+
+ <figure>
+ <title>Adjusting JBoss M2 Capabilities</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/create_mavenized_seam/jbossM2capabilities.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+
+ <listitem>
+ <para>On the <property>Seam Facet</property> page configure the Seam Facet settings and click <emphasis>
+ <property>Finish</property>:</emphasis></para>
+
+ <figure>
+ <title>Seam Facet Settings</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/create_mavenized_seam/seamFacetPage.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ </itemizedlist>
+
+ <para>The organized Seam project contains five projects with the Maven nature, builder, Maven classpath and the <emphasis>
+ <property>pom.xml</property></emphasis> files added:
+ projectname, projectname-ear, projectname-ejb, projectname-parent and projectname-test.</para>
+
+ <figure>
+ <title>Mavenized Seam Project</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/create_mavenized_seam/mavenizedProjectStructure.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+</chapter>
14 years, 9 months
JBoss Tools SVN: r16864 - trunk/seam/docs/reference/en.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-07-29 07:45:51 -0400 (Wed, 29 Jul 2009)
New Revision: 16864
Modified:
trunk/seam/docs/reference/en/master.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-806 - adding new chapter "Creating Maven ready Seam project";
Modified: trunk/seam/docs/reference/en/master.xml
===================================================================
--- trunk/seam/docs/reference/en/master.xml 2009-07-29 11:44:08 UTC (rev 16863)
+++ trunk/seam/docs/reference/en/master.xml 2009-07-29 11:45:51 UTC (rev 16864)
@@ -4,6 +4,7 @@
[<!ENTITY intro SYSTEM "modules/intro.xml">
<!ENTITY creating_new_seam SYSTEM "modules/creating_new_seam.xml">
+<!ENTITY creating_mavenized_seam SYSTEM "modules/creating_mavenized_seam.xml">
<!ENTITY directory_structure SYSTEM "modules/directory_structure.xml">
<!ENTITY menus_and_actions SYSTEM "modules/seam_menus_and_actions.xml">
<!ENTITY seam_wizards SYSTEM "modules/seam_wizards.xml">
@@ -76,6 +77,7 @@
&intro;
&creating_new_seam;
+&creating_mavenized_seam;
&directory_structure;
&menus_and_actions;
&seam_wizards;
14 years, 9 months
JBoss Tools SVN: r16863 - in trunk/seam/docs/reference/en/images: create_mavenized_seam and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-07-29 07:44:08 -0400 (Wed, 29 Jul 2009)
New Revision: 16863
Added:
trunk/seam/docs/reference/en/images/create_mavenized_seam/
trunk/seam/docs/reference/en/images/create_mavenized_seam/createMavenizedSeamProject.png
trunk/seam/docs/reference/en/images/create_mavenized_seam/jbossM2capabilities.png
trunk/seam/docs/reference/en/images/create_mavenized_seam/jbossMavenIntegrationFacet.png
trunk/seam/docs/reference/en/images/create_mavenized_seam/mavenizedProjectStructure.png
trunk/seam/docs/reference/en/images/create_mavenized_seam/seamFacetPage.png
Log:
https://jira.jboss.org/jira/browse/JBDS-806 - adding new images for new chapter "Creating Maven ready Seam project";
Added: trunk/seam/docs/reference/en/images/create_mavenized_seam/createMavenizedSeamProject.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/create_mavenized_seam/createMavenizedSeamProject.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/create_mavenized_seam/jbossM2capabilities.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/create_mavenized_seam/jbossM2capabilities.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/create_mavenized_seam/jbossMavenIntegrationFacet.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/create_mavenized_seam/jbossMavenIntegrationFacet.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/create_mavenized_seam/mavenizedProjectStructure.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/create_mavenized_seam/mavenizedProjectStructure.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/create_mavenized_seam/seamFacetPage.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/create_mavenized_seam/seamFacetPage.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
14 years, 9 months
JBoss Tools SVN: r16862 - workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor.
by jbosstools-commits@lists.jboss.org
Author: yzhishko
Date: 2009-07-29 07:23:41 -0400 (Wed, 29 Jul 2009)
New Revision: 16862
Modified:
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/BlockCommentTest.java
Log:
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/BlockCommentTest.java
===================================================================
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/BlockCommentTest.java 2009-07-29 11:21:25 UTC (rev 16861)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/BlockCommentTest.java 2009-07-29 11:23:41 UTC (rev 16862)
@@ -49,7 +49,7 @@
//Test remove block comment from Source menu
editor.navigateTo(22,22);
- bot.menu("Source").menu("Add Block Comment").click();
+ bot.menu("Source").menu("Remove Block Comment").click();
waitForJobs();
checkVPE("CommentTestUntoggle.xml");
14 years, 9 months
JBoss Tools SVN: r16861 - workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor.
by jbosstools-commits@lists.jboss.org
Author: yzhishko
Date: 2009-07-29 07:21:25 -0400 (Wed, 29 Jul 2009)
New Revision: 16861
Modified:
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/BlockCommentTest.java
Log:
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/BlockCommentTest.java
===================================================================
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/BlockCommentTest.java 2009-07-29 11:21:16 UTC (rev 16860)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/BlockCommentTest.java 2009-07-29 11:21:25 UTC (rev 16861)
@@ -46,6 +46,14 @@
waitForJobs();
checkVPE("BlockCommentTestToggle.xml");
+ //Test remove block comment from Source menu
+
+ editor.navigateTo(22,22);
+ bot.menu("Source").menu("Add Block Comment").click();
+ waitForJobs();
+ checkVPE("CommentTestUntoggle.xml");
+
+
//Test add block comment with CTRL+SHIFT+/ hot keys
editor.navigateTo(22,22);
14 years, 9 months
JBoss Tools SVN: r16860 - in trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects: JsfJbide1704Test/WebContent/WEB-INF and 9 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-07-29 07:21:16 -0400 (Wed, 29 Jul 2009)
New Revision: 16860
Added:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/JavaSource/demo/Person.java
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.jdt.core.prefs
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.wst.common.component
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/demo/
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/demo/MyBean.java
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/demo/User.java
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/resources.properties
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/faces-config.xml
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/lib/
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/lib/jsf-api.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/lib/jsf-impl.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/web.xml
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/pages/
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/pages/greeting.jsp
Removed:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/JavaSource/demo/MyBean.java
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/JavaSource/demo/User.java
Modified:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/WebContent/WEB-INF/faces-config.xml
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/WebContent/pages/greeting.jsp
Log:
https://jira.jboss.org/jira/browse/JBIDE-2016
Test created.
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/JavaSource/demo/MyBean.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/JavaSource/demo/MyBean.java 2009-07-29 10:52:16 UTC (rev 16859)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/JavaSource/demo/MyBean.java 2009-07-29 11:21:16 UTC (rev 16860)
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package demo;
-
-import java.util.List;
-
-/**
- * Created by JBoss Developer Studio
- *
- */
-public class MyBean {
- private List<User> users;
-
- public MyBean() {
- }
-
- public List<User> getUsers() {
- return users;
- }
-
-}
\ No newline at end of file
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/JavaSource/demo/Person.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/JavaSource/demo/Person.java (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/JavaSource/demo/Person.java 2009-07-29 11:21:16 UTC (rev 16860)
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package demo;
+
+/**
+ * Created by JBoss Developer Studio
+*
+ */
+public class Person {
+ private String name;
+
+ public Person() {
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+}
\ No newline at end of file
Property changes on: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/JavaSource/demo/Person.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/JavaSource/demo/User.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/JavaSource/demo/User.java 2009-07-29 10:52:16 UTC (rev 16859)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/JavaSource/demo/User.java 2009-07-29 11:21:16 UTC (rev 16860)
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package demo;
-
-public class User {
- private MyBean name;
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-}
\ No newline at end of file
Modified: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/WebContent/WEB-INF/faces-config.xml
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/WebContent/WEB-INF/faces-config.xml 2009-07-29 10:52:16 UTC (rev 16859)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/WebContent/WEB-INF/faces-config.xml 2009-07-29 11:21:16 UTC (rev 16860)
@@ -3,9 +3,13 @@
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
<managed-bean>
- <managed-bean-name>myBean</managed-bean-name>
- <managed-bean-class>demo.MyBean</managed-bean-class>
+ <managed-bean-name>person</managed-bean-name>
+ <managed-bean-class>demo.Person</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>name</property-name>
+ <value/>
+ </managed-property>
</managed-bean>
<navigation-rule>
<from-view-id>/pages/greeting.jsp</from-view-id>
Modified: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/WebContent/pages/greeting.jsp
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/WebContent/pages/greeting.jsp 2009-07-29 10:52:16 UTC (rev 16859)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/WebContent/pages/greeting.jsp 2009-07-29 11:21:16 UTC (rev 16860)
@@ -1,18 +1,20 @@
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-
-<html>
-<head>
- <title>Facelets Greeting Page</title>
-</head>
-<body>
- <f:view>
- <h:dataTable value="#{myBean.users}" var="user">
- <h:column>
- <h:outputText value="#{user.}" />
- </h:column>
- </h:dataTable>
-
- </f:view>
-</body>
+
+<html>
+<head>
+ <title>Facelets Greeting Page</title>
+</head>
+<body>
+ <f:view>
+ <f:loadBundle basename="resources" var="msg" />
+
+ <strong>
+ <h:outputText value="#{msg.greeting}" />
+
+ <h:outputText value="#{person.name}" />
+ <h:outputText value="!" />
+ </strong>
+ </f:view>
+</body>
</html>
\ No newline at end of file
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.jdt.core.prefs 2009-07-29 11:21:16 UTC (rev 16860)
@@ -0,0 +1,7 @@
+#Wed Jan 30 17:08:49 MSK 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.jst.common.project.facet.core.prefs (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.jst.common.project.facet.core.prefs 2009-07-29 11:21:16 UTC (rev 16860)
@@ -0,0 +1,4 @@
+#Wed Jan 30 17:08:50 MSK 2008
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_07/owners=jst.java\:5.0
+classpath.helper/org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer\:\:JBoss\ 4.2\ Runtime/owners=jst.web\:2.4
+eclipse.preferences.version=1
Property changes on: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.jst.common.project.facet.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.wst.common.component 2009-07-29 11:21:16 UTC (rev 16860)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="JsfJbide1704Test">
+<wb-resource deploy-path="/" source-path="/WebContent"/>
+<wb-resource deploy-path="/WEB-INF/classes" source-path="/JavaSource"/>
+<property name="context-root" value="JsfJbide1704Test"/>
+<property name="java-output-path" value="build/classes"/>
+</wb-module>
+</project-modules>
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.wst.common.project.facet.core.xml 2009-07-29 11:21:16 UTC (rev 16860)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 4.2 Runtime"/>
+ <fixed facet="jst.java"/>
+ <fixed facet="jst.web"/>
+ <installed facet="jst.java" version="5.0"/>
+ <installed facet="jst.web" version="2.4"/>
+</faceted-project>
Property changes on: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/demo/MyBean.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/demo/MyBean.java (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/demo/MyBean.java 2009-07-29 11:21:16 UTC (rev 16860)
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package demo;
+
+import java.util.List;
+
+/**
+ * Created by JBoss Developer Studio
+ *
+ */
+public class MyBean {
+ private List<User> users;
+
+ public MyBean() {
+ }
+
+ public List<User> getUsers() {
+ return users;
+ }
+
+}
\ No newline at end of file
Property changes on: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/demo/MyBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/demo/User.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/demo/User.java (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/demo/User.java 2009-07-29 11:21:16 UTC (rev 16860)
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package demo;
+
+public class User {
+ private MyBean name;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+}
\ No newline at end of file
Property changes on: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/demo/User.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/resources.properties
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/resources.properties (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/resources.properties 2009-07-29 11:21:16 UTC (rev 16860)
@@ -0,0 +1,2 @@
+prompt=Your Name\:
+greeting=Hello
Property changes on: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/JavaSource/resources.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/faces-config.xml
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/faces-config.xml (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/faces-config.xml 2009-07-29 11:21:16 UTC (rev 16860)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
+ <managed-bean>
+ <managed-bean-name>myBean</managed-bean-name>
+ <managed-bean-class>demo.MyBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <navigation-rule>
+ <from-view-id>/pages/greeting.jsp</from-view-id>
+ <navigation-case>
+ <from-outcome>greeting</from-outcome>
+ <to-view-id>/pages/greeting.xhtml</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <application>
+ <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
+ </application>
+</faces-config>
Property changes on: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/faces-config.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/lib/jsf-api.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/lib/jsf-api.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/lib/jsf-impl.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/lib/jsf-impl.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/web.xml
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/web.xml (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/web.xml 2009-07-29 11:21:16 UTC (rev 16860)
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+ <description>Facelets StarterKit</description>
+ <display-name>JsfJbide1704Test</display-name>
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+ <context-param>
+ <param-name>facelets.REFRESH_PERIOD</param-name>
+ <param-value>2</param-value>
+ </context-param>
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>client</param-value>
+ </context-param>
+ <context-param>
+ <param-name>com.sun.faces.validateXml</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>com.sun.faces.verifyObjects</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ </login-config>
+</web-app>
Property changes on: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/WEB-INF/web.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/pages/greeting.jsp
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/pages/greeting.jsp (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/pages/greeting.jsp 2009-07-29 11:21:16 UTC (rev 16860)
@@ -0,0 +1,18 @@
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+
+<html>
+<head>
+ <title>Facelets Greeting Page</title>
+</head>
+<body>
+ <f:view>
+ <h:dataTable value="#{myBean.users}" var="user">
+ <h:column>
+ <h:outputText value="#{user.}" />
+ </h:column>
+ </h:dataTable>
+
+ </f:view>
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide2016Test/WebContent/pages/greeting.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 9 months
JBoss Tools SVN: r16859 - workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test.
by jbosstools-commits@lists.jboss.org
Author: yzhishko
Date: 2009-07-29 06:52:16 -0400 (Wed, 29 Jul 2009)
New Revision: 16859
Modified:
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllTests.java
Log:
Block Comment Tests were added
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllTests.java
===================================================================
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllTests.java 2009-07-29 10:51:16 UTC (rev 16858)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllTests.java 2009-07-29 10:52:16 UTC (rev 16859)
@@ -4,6 +4,7 @@
import junit.framework.Test;
import junit.framework.TestSuite;
import org.eclipse.swtbot.swt.finder.SWTBotTestCase;
+import org.jboss.tools.vpe.ui.bot.test.editor.BlockCommentTest;
import org.jboss.tools.vpe.ui.bot.test.editor.ToggleCommentTest;
import org.jboss.tools.vpe.ui.bot.test.jbide.JBIDE4306Test;
import org.jboss.tools.vpe.ui.bot.test.jbide.JBIDE4556Test;
@@ -16,6 +17,7 @@
suite.addTestSuite(CancelTagLibDefenitionTest.class);
suite.addTestSuite(ImportTagsFromTLDFileTest.class);
suite.addTestSuite(ToggleCommentTest.class);
+ suite.addTestSuite(BlockCommentTest.class);
suite.addTestSuite(JBIDE4306Test.class);
suite.addTestSuite(JBIDE4556Test.class);
return new TestSetup(suite);
14 years, 9 months