JBoss Tools SVN: r11260 - trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2008-10-28 16:55:47 -0400 (Tue, 28 Oct 2008)
New Revision: 11260
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-3034
main menu contribution commented to avoid double Source menu items in main menu
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.xml 2008-10-28 19:53:45 UTC (rev 11259)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.xml 2008-10-28 20:55:47 UTC (rev 11260)
@@ -38,8 +38,7 @@
<super type="org.eclipse.core.resources.textmarker"/>
<persistent value="true"/>
</extension>
- <extension point="org.eclipse.ui.actionSets">
- <!-- main menu -->
+ <!--extension point="org.eclipse.ui.actionSets">
<actionSet label="Java Coding" description="Action set containing coding related Java actions"
visible="true" id="org.eclipse.jdt.ui.CodingActionSet3">
<menu label="&Source" path="edit" id="org.eclipse.jdt.ui.source.menu">
@@ -59,7 +58,7 @@
style="push">
</action>
</actionSet>
- </extension>
+ </extension-->
<extension point="org.eclipse.ui.popupMenus">
<!-- java editor context menu -->
<viewerContribution
16 years, 2 months
JBoss Tools SVN: r11258 - in trunk/documentation/whatsnew: esb and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2008-10-28 15:41:03 -0400 (Tue, 28 Oct 2008)
New Revision: 11258
Added:
trunk/documentation/whatsnew/esb/esb-news-1.1.0.Beta1.html
trunk/documentation/whatsnew/images/bpmn2jpdl_exportwiz.png
trunk/documentation/whatsnew/images/esb_projwiz.png
trunk/documentation/whatsnew/images/smooks_editor.png
trunk/documentation/whatsnew/smooks/
trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.Beta1.html
Modified:
trunk/documentation/whatsnew/images/esbxmleditor.png
trunk/documentation/whatsnew/index.html
Log:
added smooks and esb
Added: trunk/documentation/whatsnew/esb/esb-news-1.1.0.Beta1.html
===================================================================
--- trunk/documentation/whatsnew/esb/esb-news-1.1.0.Beta1.html (rev 0)
+++ trunk/documentation/whatsnew/esb/esb-news-1.1.0.Beta1.html 2008-10-28 19:41:03 UTC (rev 11258)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!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">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css"/>
+<title>ESB tools 3.0.0.Beta1 What's New</title>
+</head>
+<body>
+<h1>ESB tools 3.0.0.Beta1 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a href="../as/as-news-1.1.0.beta1.html">JBoss AS Tools News ></a></p>
+
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>ESB</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>BPMN to jPDL Export Wizard</b></td>
+ <td valign="top">
+ <p>We added an export wizard for translating BPMN to jPDL.</p>
+ <p><img src="../images/bpmn2jpdl_exportwiz.png"/></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>ESB Project Wizard</b></td>
+ <td valign="top">
+ <p>We added a project wizard for JBoss ESB development, including integrated deployment.</p>
+ <p><img src="../images/esb_projwiz.png"/></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>jboss-esb.xml editor</b></td>
+ <td valign="top">
+ <p>We added an structured xml editor for the jboss-esb.xml file used in JBoss ESB archives.</p>
+ <p><img src="../images/esbxmleditor.png"/></p>
+ </td>
+ </tr>
+</table>
+
+</body>
+
+</html>
+
+
Added: trunk/documentation/whatsnew/images/bpmn2jpdl_exportwiz.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/bpmn2jpdl_exportwiz.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/esb_projwiz.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/esb_projwiz.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/whatsnew/images/esbxmleditor.png
===================================================================
(Binary files differ)
Added: trunk/documentation/whatsnew/images/smooks_editor.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/smooks_editor.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/whatsnew/index.html
===================================================================
--- trunk/documentation/whatsnew/index.html 2008-10-28 19:14:50 UTC (rev 11257)
+++ trunk/documentation/whatsnew/index.html 2008-10-28 19:41:03 UTC (rev 11258)
@@ -27,6 +27,8 @@
<p><a href="hibernate/hibernate-news-3.2.4.Beta1.html">Hibernate Tools</a></p>
<p><a href="as/as-news-2.0.0.Beta1.html">JBoss AS Tools</a></p>
<p><a href="vpe/vpe-news-3.0.0.Beta1.html">Visual Page Editor</a></p>
+ <p><a href="esb/esb-news-1.1.0.beta1.html">JBoss ESB Tools</a></p>
+ <p><a href="smooks/smooks-news-1.0.0.beta1.html">Smooks Tools</a></p>
</td>
</tr>
Added: trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.Beta1.html
===================================================================
--- trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.Beta1.html (rev 0)
+++ trunk/documentation/whatsnew/smooks/smooks-news-1.0.0.Beta1.html 2008-10-28 19:41:03 UTC (rev 11258)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!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">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css"/>
+<title>Smooks tools 3.0.0.Beta1 What's New</title>
+</head>
+<body>
+<h1>Smooks tools 3.0.0.Beta1 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a href="../as/as-news-1.1.0.beta1.html">JBoss AS Tools News ></a></p>
+
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Smooks</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Smooks Configuration File Editor</b></td>
+ <td valign="top">
+ <p>We added an editor for Smooks configuration files.</p>
+ <p><img src="../images/smooks_editor.png"/></p>
+ </td>
+ </tr>
+</table>
+
+</body>
+
+</html>
+
+
16 years, 2 months
JBoss Tools SVN: r11257 - trunk/documentation/whatsnew.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2008-10-28 15:14:50 -0400 (Tue, 28 Oct 2008)
New Revision: 11257
Modified:
trunk/documentation/whatsnew/index.html
Log:
fixed title
Modified: trunk/documentation/whatsnew/index.html
===================================================================
--- trunk/documentation/whatsnew/index.html 2008-10-28 19:13:57 UTC (rev 11256)
+++ trunk/documentation/whatsnew/index.html 2008-10-28 19:14:50 UTC (rev 11257)
@@ -21,7 +21,7 @@
</tr>
<tr>
<td valign="top" align="left">
- <p align="right"><b>3.0.0.Alpha1</b>
+ <p align="right"><b>3.0.0.Beta1</b>
<td valign="top">
<p><a href="seam/seam-news-2.0.0.Beta1.html">Seam Tools</a></p>
<p><a href="hibernate/hibernate-news-3.2.4.Beta1.html">Hibernate Tools</a></p>
16 years, 2 months
JBoss Tools SVN: r11256 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2008-10-28 15:13:57 -0400 (Tue, 28 Oct 2008)
New Revision: 11256
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesComboBoxTemplateHelper.java
Log:
RESOLVED - issue JBIDE-2977: Incorrect definition of "width" attribute of <rich:comboBox> in VPE.
https://jira.jboss.org/jira/browse/JBIDE-2977
Now if it is impossible to parse the value of 'width' attribute of <rich:comboBox>, VPE renders a comboBox with default width.
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesComboBoxTemplateHelper.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesComboBoxTemplateHelper.java 2008-10-28 19:12:06 UTC (rev 11255)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesComboBoxTemplateHelper.java 2008-10-28 19:13:57 UTC (rev 11256)
@@ -494,6 +494,7 @@
final int intValue = Integer.parseInt(sourceWidth);
sourceWidth = String.valueOf(intValue)+Constants.PIXEL;
} catch (final NumberFormatException e) {
+ sourceWidth = DEFAULT_LIST_WIDTH;
sourceListWidth = DEFAULT_LIST_WIDTH;
}
}
16 years, 2 months
JBoss Tools SVN: r11254 - in trunk/documentation/whatsnew: as and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2008-10-28 15:08:34 -0400 (Tue, 28 Oct 2008)
New Revision: 11254
Added:
trunk/documentation/whatsnew/as/as-news-2.0.0.Beta1.html
trunk/documentation/whatsnew/hibernate/hibernate-news-3.2.4.Beta1.html
trunk/documentation/whatsnew/images/as_serverports.png
trunk/documentation/whatsnew/images/enhance_pagesxmleditor.png
trunk/documentation/whatsnew/images/exporter_property_editor.png
trunk/documentation/whatsnew/images/hibernate_dtp_connection.png
trunk/documentation/whatsnew/images/jsfcompletions.png
trunk/documentation/whatsnew/images/richfaces_openon.png
trunk/documentation/whatsnew/images/richfaces_palette_icons.png
trunk/documentation/whatsnew/images/seamfacet_warning.png
trunk/documentation/whatsnew/images/step1_generate_jpa.png
trunk/documentation/whatsnew/images/step2_generatejpa.png
trunk/documentation/whatsnew/seam/seam-news-2.0.0.Beta1.html
trunk/documentation/whatsnew/vpe/vpe-news-3.0.0.Beta1.html
Modified:
trunk/documentation/whatsnew/index.html
Log:
first iteration of whats new
Added: trunk/documentation/whatsnew/as/as-news-2.0.0.Beta1.html
===================================================================
--- trunk/documentation/whatsnew/as/as-news-2.0.0.Beta1.html (rev 0)
+++ trunk/documentation/whatsnew/as/as-news-2.0.0.Beta1.html 2008-10-28 19:08:34 UTC (rev 11254)
@@ -0,0 +1,38 @@
+<html>
+
+<head>
+<link rel="stylesheet" href="../whatsnew.css">
+<title>JBoss AS Tools 2.0.0.Alpha1 News</title>
+</head>
+
+<body>
+
+<h1>JBoss AS Tools 2.0.0.Alpha1 - New and Noteworthy</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a href="../portlet/portlet-news-1.0.0.Alpha1.html">Portlet Tools News ></a></p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr>
+ <h3>Servers</h3>
+ <hr>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Port preferences UI improvements</b></td>
+ <td valign="top">
+ <p>The UI for configuring port preferences have been simplified.</p>
+
+ <p><img src="../images/as_serverports.png"/></p>
+ </td>
+ </tr>
+
+</table>
+
+</body>
+
+</html>
+
+
Added: trunk/documentation/whatsnew/hibernate/hibernate-news-3.2.4.Beta1.html
===================================================================
--- trunk/documentation/whatsnew/hibernate/hibernate-news-3.2.4.Beta1.html (rev 0)
+++ trunk/documentation/whatsnew/hibernate/hibernate-news-3.2.4.Beta1.html 2008-10-28 19:08:34 UTC (rev 11254)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!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">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css"/>
+<title>Hibernate tools 3.2.4.Beta1 What's New</title>
+</head>
+<body>
+<h1>Hibernate tools 3.2.4.Beta1 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a href="../as/as-news-2.0.0.Alpha1.html">JBoss AS Tools News ></a></p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Wizards</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Generate JPA/Hibernate Annotations</b></td>
+ <td valign="top">
+ <p>We added a "Generate JPA/Hibernate Annotations" entry in the
+ Source menu of java elements (classes, packages, source
+ directories etc.). This menu will analyze the source code and do a
+ best-guess on how to enable persistence for you model.</p>
+
+ <p><img src="../images/step1_generate_jpa.png"/></p>
+
+<p>Here we have chosen to Generate JPA/Hibernate Annotations on single class and the list of classes that will touched to make this model persistent is shown.</p>
+
+<p><img src="../images/step2_generatejpa.png"/></p>
+
+<p>Users can press Preview... to see which changes will be done. Notice that bi-directional assocations is mapped automatically.</p>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Improved Exporter property editor</b></td>
+ <td valign="top">
+ <p>Exporter properties now have type specific input fields instead of just a simple text field.</p>
+
+ <p><img src="../images/exporter_property_editor.png"/></p>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Use DTP Connection</b></td>
+ <td valign="top">
+ <p>Hibernate console configuration can now use a DTP connection instead of default hibernate connection settings.</p>
+
+ <p><img src="../images/hibernate_dtp_connection.png"/></p>
+
+ </td>
+ </tr>
+
+
+</table>
+
+</body>
+
+</html>
+
+
Added: trunk/documentation/whatsnew/images/as_serverports.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/as_serverports.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/enhance_pagesxmleditor.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/enhance_pagesxmleditor.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/exporter_property_editor.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/exporter_property_editor.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/hibernate_dtp_connection.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/hibernate_dtp_connection.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/jsfcompletions.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/jsfcompletions.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/richfaces_openon.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/richfaces_openon.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/richfaces_palette_icons.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/richfaces_palette_icons.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/seamfacet_warning.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/seamfacet_warning.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/step1_generate_jpa.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/step1_generate_jpa.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/step2_generatejpa.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/step2_generatejpa.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/whatsnew/index.html
===================================================================
--- trunk/documentation/whatsnew/index.html 2008-10-28 17:21:53 UTC (rev 11253)
+++ trunk/documentation/whatsnew/index.html 2008-10-28 19:08:34 UTC (rev 11254)
@@ -1,4 +1,4 @@
-<html>
+thanks<html>
<head>
<link rel="stylesheet" href="whatsnew.css">
@@ -23,6 +23,17 @@
<td valign="top" align="left">
<p align="right"><b>3.0.0.Alpha1</b>
<td valign="top">
+ <p><a href="seam/seam-news-2.0.0.Beta1.html">Seam Tools</a></p>
+ <p><a href="hibernate/hibernate-news-3.2.4.Beta1.html">Hibernate Tools</a></p>
+ <p><a href="as/as-news-2.0.0.Beta1.html">JBoss AS Tools</a></p>
+ <p><a href="vpe/vpe-news-3.0.0.Beta1.html">Visual Page Editor</a></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>3.0.0.Alpha1</b>
+ <td valign="top">
<p><a href="core/core-news-3.0.0.Alpha1.html">Core/General</a></p>
<p><a href="seam/seam-news-2.0.0.Alpha1.html">Seam Tools</a></p>
<p><a href="hibernate/hibernate-news-3.2.4.Alpha1.html">Hibernate Tools</a></p>
Added: trunk/documentation/whatsnew/seam/seam-news-2.0.0.Beta1.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-2.0.0.Beta1.html (rev 0)
+++ trunk/documentation/whatsnew/seam/seam-news-2.0.0.Beta1.html 2008-10-28 19:08:34 UTC (rev 11254)
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!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">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css"/>
+<title>Seam tools 2.0.0.Beta1 What's New</title>
+</head>
+<body>
+<h1>Seam tools 2.0.0.Alpha1 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a href="../hibernate/hibernate-news-3.2.4.Alpha1.html">Hibernate News ></a></p>
+
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Wizards</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Uppercase warning</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>The Seam wizard now warns if you create a project with first uppercase letter because of a tricky <a href="https://jira.jboss.org/jira/browse/JBIDE-2190">set of bugs</a> in JBoss AS/Seam/JSF could cause deployment to fail.</p
+ <p><img src="../images/seamfacet_warning.png"/></p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>(Basic) Seam 2.1 support</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>Work have been done to make sure this release will work with Seam 2.1; i.e. components.xml editor supports 2.1 schemas.</p>
+ <p>Generate Entities wizard will only work with Seam 2.1.0.SP1 or use the patch available in the related <a href="https://jira.jboss.org/jira/browse/JBSEAM-3617">bug in jira</a> for Seam 2.1.0.GA</a></p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Modular Seam Facets/Projects</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>The Seam facet does no longer force creation of EAR, WAR, test, utility project. This means if you use Dynamic Web Project we will now only create a simple War project with Seam support enabled. The Seam Web Project Wizard works like before and should be used if you want the full triage project setup with everything set up from the start.</p>
+
+ <p>This also allow you to enable/disable Seam facets on existing projects instead of always having to use the wizard to create a new project.</p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam2e" id="itemname2"></a><b>Enhanced pages.xml editor</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>.</p>
+
+ <p>The pages.xml editor have received a facelift.</p>
+
+ <p><img src="../images/enhance_pagesxmleditor.png"/></p>
+
+ <p>Besides the eyecandy the editor now has context menu actions for Go to page and Create file, better auto-layout and inline editing.</p>
+ </td>
+ </tr>
+
+
+</table>
+
+</body>
+
+</html>
+
+
Added: trunk/documentation/whatsnew/vpe/vpe-news-3.0.0.Beta1.html
===================================================================
--- trunk/documentation/whatsnew/vpe/vpe-news-3.0.0.Beta1.html (rev 0)
+++ trunk/documentation/whatsnew/vpe/vpe-news-3.0.0.Beta1.html 2008-10-28 19:08:34 UTC (rev 11254)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!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">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css"/>
+<title>What's New Visual Page Editor</title>
+</head>
+<body>
+<h1>What's New Visual Page Editor</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a href="../core/core-news-3.0.0.Alpha1.html">Core News ></a></p>
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Visual Page Editor</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left"><a name="itemnam2e" id="itemname2"></a><b>OpenOn for Richfaces</b></td>
+ <td width="70%" valign="top">
+ <p>Richfaces tags <code><rich:insert></code> and <code><aj4:include></code> now has OpenOn support</p>
+
+ <p><img src="../images/richfaces_openon.png"/></p>
+
+ <p>This means you can use F3 or Ctrl+Click on the src attribute and navigate directly to the resource.</p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>EL completion for JSF Core tags</b></td>
+ <td valign="top"><p>
+ EL code completion have been enabled for more JSF Core tags.
+ </p>
+ <p><img src="../images/jsfcompletions.png"/></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>Unique icons for Richfaces tags in palette</b></td>
+ <td valign="top"><p>
+ Richfaces tags now have unique icons in the JBoss Tools palette instead of all using the default tag icon.
+ </p>
+ <p><img src="../images/richfaces_palette_icons.png"/></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+</table>
+
+</body>
+
+</html>
+
+
16 years, 2 months
JBoss Tools SVN: r11253 - trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/wizard/newfile.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-10-28 13:21:53 -0400 (Tue, 28 Oct 2008)
New Revision: 11253
Modified:
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/wizard/newfile/NewValidationFileWizard.java
Log:
JBIDE-3023
Modified: trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/wizard/newfile/NewValidationFileWizard.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/wizard/newfile/NewValidationFileWizard.java 2008-10-28 16:32:15 UTC (rev 11252)
+++ trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/wizard/newfile/NewValidationFileWizard.java 2008-10-28 17:21:53 UTC (rev 11253)
@@ -10,7 +10,9 @@
******************************************************************************/
package org.jboss.tools.struts.ui.wizard.newfile;
+import org.jboss.tools.common.meta.action.impl.SpecialWizardSupport;
import org.jboss.tools.common.model.ui.wizard.newfile.*;
+import org.jboss.tools.struts.validators.model.handlers.CreateValidationFileSupport;
public class NewValidationFileWizard extends NewFileWizardEx {
@@ -22,6 +24,9 @@
protected String getActionPath() {
return "CreateActions.CreateFiles.Struts.CreateValidator";
}
+ protected SpecialWizardSupport createSupport() {
+ return new CreateValidationFileSupport();
+ }
}
}
16 years, 2 months
JBoss Tools SVN: r11252 - trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-10-28 12:32:15 -0400 (Tue, 28 Oct 2008)
New Revision: 11252
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/ComponentContentTest.java
Log:
corrected tests
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/ComponentContentTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/ComponentContentTest.java 2008-10-28 16:26:27 UTC (rev 11251)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/ComponentContentTest.java 2008-10-28 16:32:15 UTC (rev 11252)
@@ -121,9 +121,9 @@
nsIDOMElement vpeElement = findElementById(controller, elementId);
assertNotNull(vpeElement);
- DOMTreeDumper dumper = new DOMTreeDumper(
- VpeDebug.VISUAL_DUMP_PRINT_HASH);
- dumper.dumpToStream(System.out, vpeElement);
+ // DOMTreeDumper dumper = new DOMTreeDumper(
+ // VpeDebug.VISUAL_DUMP_PRINT_HASH);
+ // dumper.dumpToStream(System.out, vpeElement);
// get test element by id - get <test id="..." > element and get his
// first child
16 years, 2 months
JBoss Tools SVN: r11251 - in trunk/jsf/tests: org.jboss.tools.jsf.vpe.ajax4jsf.test and 17 other directories.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2008-10-28 12:26:27 -0400 (Tue, 28 Oct 2008)
New Revision: 11251
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/.classpath
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/.project
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/META-INF/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/META-INF/MANIFEST.MF
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/about.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/build.properties
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/plugin.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.classpath
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.project
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/.jsdtscope
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.jdt.core.prefs
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.common.component
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.jsdt.ui.superType.name
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/JavaSource/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/META-INF/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/META-INF/MANIFEST.MF
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/WEB-INF/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/WEB-INF/faces-config.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/WEB-INF/lib/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/WEB-INF/web.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/actionparam.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/ajaxListener.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandButton.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandButton.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandLink.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandLink.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/form.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/form.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/keepAlive.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/keepAlive.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfAllTests.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfComponentContentTest.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfTestPlugin.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2985, JUnit test plugin for ajax4jsf templates was added.
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/.classpath
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/.classpath (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/.classpath 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/.project
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/.project (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/.project 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.jsf.vpe.ajax4jsf.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/.project
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/META-INF/MANIFEST.MF (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/META-INF/MANIFEST.MF 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,27 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Ajax4Jsf Test Plug-in
+Bundle-SymbolicName: org.jboss.tools.jsf.vpe.ajax4jsf.test;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Activator: org.jboss.tools.jsf.vpe.ajax4jsf.test.Ajax4JsfTestPlugin
+Require-Bundle: org.jboss.tools.jsf.vpe.ajax4jsf,
+ org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.vpe,
+ org.junit,
+ org.eclipse.core.resources,
+ org.eclipse.ui.ide,
+ org.jboss.tools.common,
+ org.jboss.tools.jst.jsp,
+ org.jboss.tools.common.text.ext,
+ org.jboss.tools.common.model,
+ org.jboss.tools.vpe.xulrunner,
+ org.jboss.tools.jsf.vpe.ajax4jsf,
+ org.mozilla.xpcom,
+ org.jboss.tools.vpe.ui.test,
+ org.jboss.tools.vpe.resref;bundle-version="2.0.0",
+ org.jboss.tools.common.el.ui;bundle-version="1.0.0",
+ org.jboss.tools.common.el.core;bundle-version="2.0.0"
+Bundle-ActivationPolicy: lazy
+Bundle-ClassPath: vpe-a4j-test.jar
+Export-Package: org.jboss.tools.jsf.vpe.ajax4jsf.test
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/about.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/about.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/about.html 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/about.html
___________________________________________________________________
Name: svn:mime-type
+ text/html
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/build.properties
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/build.properties (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/build.properties 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,14 @@
+bin.includes = META-INF/,\
+ resources/,\
+ vpe-a4j-test.jar,\
+ plugin.xml,\
+ about.html
+jars.compile.order = vpe-a4j-test.jar
+source.vpe-a4j-test.jar = src/
+output.vpe-a4j-test.jar = bin/
+src.includes = src/,\
+ resources/,\
+ META-INF/,\
+ build.properties,\
+ plugin.xml,\
+ about.html
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/plugin.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/plugin.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/plugin.xml 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,7 @@
+<plugin>
+ <extension
+ point="org.jboss.tools.vpe.ui.tests">
+ <tests testSuite="org.jboss.tools.jsf.vpe.ajax4jsf.test.Ajax4JsfAllTests" name="Tests For Ajax For JSF Components"/>
+ </extension>
+
+</plugin>
\ No newline at end of file
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/plugin.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.classpath
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.classpath (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.classpath 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="JavaSource"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/a-t-6"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_10"/>
+ <classpathentry kind="output" path="WebContent/WEB-INF/classes"/>
+</classpath>
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.project
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.project (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.project 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>ajax4jsfTests</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.common.verification.verifybuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.jboss.tools.jsf.jsfnature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.project
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/.jsdtscope
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/.jsdtscope (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/.jsdtscope 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.jdt.core.prefs 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,7 @@
+#Mon Oct 27 17:31:17 EET 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.jst.common.project.facet.core.prefs (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.jst.common.project.facet.core.prefs 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,4 @@
+#Mon Oct 27 17:31:17 EET 2008
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.6.0_10/owners=jst.java\:6.0
+classpath.helper/org.eclipse.jst.server.core.container\:\:org.eclipse.jst.server.tomcat.runtimeTarget\:\:a-t-6/owners=jst.web\:2.4
+eclipse.preferences.version=1
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.jst.common.project.facet.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.common.component 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="ajax4jsfTests">
+<wb-resource deploy-path="/" source-path="/WebContent"/>
+<wb-resource deploy-path="/WEB-INF/classes" source-path="/JavaSource"/>
+<property name="context-root" value="ajax4jsfTests"/>
+<property name="java-output-path"/>
+</wb-module>
+</project-modules>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.common.project.facet.core.xml 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="a-t-6"/>
+ <fixed facet="jst.web"/>
+ <fixed facet="jst.java"/>
+ <installed facet="jst.java" version="6.0"/>
+ <installed facet="jst.web" version="2.4"/>
+</faceted-project>
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.jsdt.ui.superType.container 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/.settings/org.eclipse.wst.jsdt.ui.superType.name 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/META-INF/MANIFEST.MF 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/WEB-INF/faces-config.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/WEB-INF/faces-config.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/WEB-INF/faces-config.xml 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!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>
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/WEB-INF/faces-config.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/WEB-INF/web.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/WEB-INF/web.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/WEB-INF/web.xml 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ <display-name>ajax4jsfTests</display-name>
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>server</param-value>
+ </context-param>
+ <listener>
+ <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
+ </listener>
+ <!-- Faces Servlet -->
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <!-- Faces Servlet Mapping -->
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ </login-config>
+</web-app>
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/WEB-INF/web.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/actionparam.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/actionparam.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/ajaxListener.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/ajaxListener.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandButton.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandButton.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandButton.xhtml.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandButton.xhtml.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandButton.xhtml.xml 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,6 @@
+<tests>
+ <test id="commandButton">
+ <INPUT TYPE="button" VALUE="commandButton" STYLE="-moz-user-modify: read-only;"
+ READONLY="" />
+ </test>
+</tests>
\ No newline at end of file
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandButton.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandLink.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandLink.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandLink.xhtml.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandLink.xhtml.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandLink.xhtml.xml 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,12 @@
+<tests>
+ <test id="commandLink1">
+ <A DIR="" STYLE="-moz-user-modify: read-write;">
+ <SPAN>Say Hello</SPAN>
+ </A>
+ </test>
+ <test id="commandLink2">
+ <A DIR="" STYLE="-moz-user-modify: read-write;">
+ <SPAN>Link</SPAN>
+ </A>
+ </test>
+</tests>
\ No newline at end of file
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/commandLink.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/form.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/form.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/form.xhtml.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/form.xhtml.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/form.xhtml.xml 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,5 @@
+<tests>
+ <test id="form">
+
+ </test>
+</tests>
\ No newline at end of file
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/form.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/keepAlive.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/keepAlive.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/keepAlive.xhtml.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/keepAlive.xhtml.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/keepAlive.xhtml.xml 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,5 @@
+<tests>
+ <test id="keepAlive">
+ <NOBR STYLE="-moz-user-modify: read-only;"> testBean</NOBR>
+ </test>
+</tests>
\ No newline at end of file
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/resources/ajax4jsfTests/WebContent/pages/components/keepAlive.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfAllTests.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfAllTests.java 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,29 @@
+package org.jboss.tools.jsf.vpe.ajax4jsf.test;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.tools.tests.ImportBean;
+import org.jboss.tools.vpe.ui.test.VpeTestSetup;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class Ajax4JsfAllTests {
+
+ public static final String IMPORT_PROJECT_NAME = "ajax4jsfTests"; //$NON-NLS-1$
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Tests for Vpe Ajax For JSF components"); //$NON-NLS-1$
+ suite.addTestSuite(Ajax4JsfComponentContentTest.class);
+ List<ImportBean> projectToImport = new ArrayList<ImportBean>();
+ ImportBean importBean = new ImportBean();
+ importBean.setImportProjectName(Ajax4JsfAllTests.IMPORT_PROJECT_NAME);
+ importBean.setImportProjectPath(Ajax4JsfTestPlugin.
+ getPluginResourcePath());
+ projectToImport.add(importBean);
+
+ return new VpeTestSetup(suite, projectToImport);
+
+ }
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfAllTests.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfComponentContentTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfComponentContentTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfComponentContentTest.java 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,110 @@
+package org.jboss.tools.jsf.vpe.ajax4jsf.test;
+
+import org.jboss.tools.vpe.ui.test.ComponentContentTest;
+
+public class Ajax4JsfComponentContentTest extends ComponentContentTest {
+
+
+
+ public Ajax4JsfComponentContentTest(String name) {
+ super(name);
+ setCheckWarning(false);
+ }
+
+ public void testAjaxListener() throws Throwable {
+ performInvisibleTagTest("components/ajaxListener.xhtml", "ajaxListener"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testKeepAlive() throws Throwable {
+ performContentTest("components/keepAlive.xhtml");//$NON-NLS-1$
+ }
+
+ public void testActionparam() throws Throwable {
+ performInvisibleTagTest("components/actionparam.xhtml", "actionparam1"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testCommandButton() throws Throwable {
+ performContentTest("components/commandButton.xhtml");//$NON-NLS-1$
+ }
+
+ public void testCommandLink() throws Throwable {
+ performContentTest("components/commandLink.xhtml");//$NON-NLS-1$
+ }
+
+ public void _testForm() throws Throwable {
+ performContentTest("components/form.xhtml");//$NON-NLS-1$
+ }
+
+ public void testHtmlCommandLink() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testJsFunction() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testInclude() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testLoadBundle() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testLoadScript() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testLoadStyle() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testLog() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testMediaOutput() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testOutputPanel() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testPage() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testPoll() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testPortlet() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testPush() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testRegion() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testRepeat() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testStatus() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ public void testSupport() throws Throwable {
+ assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
+ }
+
+ protected String getTestProjectName() {
+ return Ajax4JsfAllTests.IMPORT_PROJECT_NAME;
+ }
+
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfComponentContentTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfTestPlugin.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfTestPlugin.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfTestPlugin.java 2008-10-28 16:26:27 UTC (rev 11251)
@@ -0,0 +1,66 @@
+package org.jboss.tools.jsf.vpe.ajax4jsf.test;
+
+import java.net.URL;
+
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Ajax4JsfTestPlugin extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.jsf.vpe.ajax4jsf.test";
+
+ // The shared instance
+ private static Ajax4JsfTestPlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public Ajax4JsfTestPlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Ajax4JsfTestPlugin getDefault() {
+ return plugin;
+ }
+
+ public static String getPluginResourcePath() {
+ Bundle bundle = Platform.getBundle(PLUGIN_ID);
+ URL url = null;
+ try {
+ url = bundle == null ? null : FileLocator.resolve(bundle
+ .getEntry("/resources")); // $NON-NLS-1$
+ } catch (Exception e) {
+ url = bundle.getEntry("/resources"); // $NON-NLS-1$
+ }
+ return (url == null) ? null : url.getPath();
+ }
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ajax4jsf.test/src/org/jboss/tools/jsf/vpe/ajax4jsf/test/Ajax4JsfTestPlugin.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
16 years, 2 months
JBoss Tools SVN: r11250 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2008-10-28 12:13:14 -0400 (Tue, 28 Oct 2008)
New Revision: 11250
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java
Log:
JUnit test for rich faces were update. (tests that couldn't be performed were disabled)
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java 2008-10-28 16:01:10 UTC (rev 11249)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/RichFacesComponentContentTest.java 2008-10-28 16:13:14 UTC (rev 11250)
@@ -74,7 +74,7 @@
performContentTest("components/columns.xhtml");//$NON-NLS-1$
}
- public void testColumnGroup() throws Throwable {
+ public void _testColumnGroup() throws Throwable {
assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
}
@@ -103,7 +103,7 @@
}
- public void testSubTable() throws Throwable {
+ public void _testSubTable() throws Throwable {
assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
}
@@ -147,7 +147,7 @@
performContentTest("components/menuItem.xhtml");//$NON-NLS-1$
}
- public void testMenuSeparator() throws Throwable {
+ public void _testMenuSeparator() throws Throwable {
assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
}
@@ -227,7 +227,7 @@
performContentTest("components/panelBar.xhtml");//$NON-NLS-1$
}
- public void testPanelBarItem() throws Throwable {
+ public void _testPanelBarItem() throws Throwable {
assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
}
@@ -275,7 +275,7 @@
performContentTest("components/tabPanel.xhtml");//$NON-NLS-1$
}
- public void testTab() throws Throwable {
+ public void _testTab() throws Throwable {
assertTrue("it is necessary to add a body of the test ", false);//$NON-NLS-1$
}
16 years, 2 months
JBoss Tools SVN: r11249 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2008-10-28 12:01:10 -0400 (Tue, 28 Oct 2008)
New Revision: 11249
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesColumnsTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesExtendedDataTableTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesListShuttleTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesScrollableDataTableTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSubTableTemplate.java
Log:
RESOLVED - issue JBIDE-2872: <f:facet>'s don't work in <rich:columns>.
https://jira.jboss.org/jira/browse/JBIDE-2872
Templates <rich:columns>, <rich:dataTable>, <rich:extendedDataTable>,
<rich:listShuttle>, <rich:orderingList>, <rich:subTable>, <rich:scrollableDataTable>,
<rich:subTable> changed in a way that behavior of the tags <rich:column> and <rich:columns> is completely similar now.
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesColumnsTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesColumnsTemplate.java 2008-10-28 15:49:39 UTC (rev 11248)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesColumnsTemplate.java 2008-10-28 16:01:10 UTC (rev 11249)
@@ -12,99 +12,10 @@
package org.jboss.tools.jsf.vpe.richfaces.template;
-
-import java.util.List;
-
-import org.jboss.tools.jsf.vpe.richfaces.ComponentUtil;
-import org.jboss.tools.jsf.vpe.richfaces.template.util.RichFaces;
-import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
-import org.jboss.tools.vpe.editor.template.VpeCreationData;
-import org.jboss.tools.vpe.editor.util.Constants;
-import org.jboss.tools.vpe.editor.util.HTML;
-import org.mozilla.interfaces.nsIDOMDocument;
-import org.mozilla.interfaces.nsIDOMElement;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-
/**
- * Template for the <rich:columns/>.
+ * Template for tag <rich:columns>
*
- * @author Eugene Stherbin
+ * @author Yahor Radtsevich
*/
-public class RichFacesColumnsTemplate extends AbstractRichFacesTemplate {
-
- /** The Constant DEFAULT_CLASSES. */
- private static final String DEFAULT_CLASSES = "dr-table-cell rich-table-cell"; //$NON-NLS-1$
-
- /**
- * Create.
- *
- * @param visualDocument the visual document
- * @param sourceNode the source node
- * @param pageContext the page context
- *
- * @return the vpe creation data
- *
- * @see
- * org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.tools
- * .vpe.editor.context.VpePageContext, org.w3c.dom.Node,
- * org.mozilla.interfaces.nsIDOMDocument)
- */
- public VpeCreationData create(VpePageContext pageContext, Node sourceNode, nsIDOMDocument visualDocument) {
- final Element sourceElement = (Element) sourceNode;
- final nsIDOMElement td = visualDocument.createElement(HTML.TAG_TD);
- prepareData(sourceElement);
- final VpeCreationData data = new VpeCreationData(td);
- // Create mapping to Encode body
- final VpeChildrenInfo tdInfo = new VpeChildrenInfo(td);
-
- String clazz = DEFAULT_CLASSES;
- if(ComponentUtil.isNotBlank(this.sourceStyleClass)){
- clazz = clazz+Constants.WHITE_SPACE+this.sourceStyleClass;
- }
- if(ComponentUtil.isNotBlank(this.sourceWidth)){
- td.setAttribute(RichFaces.ATTR_WIDTH, this.sourceWidth);
- }
- td.setAttribute(HTML.ATTR_CLASS, clazz);
- td.setAttribute(HTML.ATTR_STYLE, this.sourceStyle);
-
- final List<Node> children = ComponentUtil.getChildren(sourceElement, true);
- for (Node child : children) {
- tdInfo.addSourceChild(child);
- }
- data.addChildrenInfo(tdInfo);
- return data;
- }
-
- /**
- * @param sourceElement
- */
- private void prepareData(Element sourceElement) {
- this.sourceStyleClass = ComponentUtil.getAttribute(sourceElement, RichFaces.ATTR_STYLE_CLASS);
- this.sourceStyle = ComponentUtil.getAttribute(sourceElement, RichFaces.ATTR_STYLE);
- this.sourceWidth = ComponentUtil.getAttribute(sourceElement, RichFaces.ATTR_WIDTH);
-
- }
-
- /**
- * Checks if is recreate at attr change.
- *
- * @param sourceElement the source element
- * @param value the value
- * @param visualDocument the visual document
- * @param visualNode the visual node
- * @param data the data
- * @param pageContext the page context
- * @param name the name
- *
- * @return true, if is recreate at attr change
- */
- @Override
- public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, nsIDOMDocument visualDocument,
- nsIDOMElement visualNode, Object data, String name, String value) {
- return true;
- }
-
+public class RichFacesColumnsTemplate extends RichFacesColumnTemplate {
}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableTemplate.java 2008-10-28 15:49:39 UTC (rev 11248)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableTemplate.java 2008-10-28 16:01:10 UTC (rev 11249)
@@ -128,7 +128,9 @@
nsIDOMElement tr = null;
VpeChildrenInfo trInfo = null;
for (Node child : children) {
- if(child.getNodeName().endsWith(RichFaces.TAG_COLUMN)) {
+ String nodeName = child.getNodeName();
+ if(nodeName.endsWith(RichFaces.TAG_COLUMN) ||
+ nodeName.endsWith(RichFaces.TAG_COLUMNS)) {
String breakBefore = ((Element)child).getAttribute(ATTR_BREAK_BEFORE);
if(breakBefore!=null && breakBefore.equalsIgnoreCase(Constants.TRUE)) {
tr = null;
@@ -147,10 +149,10 @@
}
trInfo.addSourceChild(child);
- } else if(child.getNodeName().endsWith(RichFaces.TAG_COLUMN_GROUP)) {
+ } else if(nodeName.endsWith(RichFaces.TAG_COLUMN_GROUP)) {
RichFacesColumnGroupTemplate.DEFAULT_INSTANCE.encode(pageContext, creationData, (Element)child, visualDocument, tbody);
tr = null;
- } else if(child.getNodeName().endsWith(RichFaces.TAG_SUB_TABLE)) {
+ } else if(nodeName.endsWith(RichFaces.TAG_SUB_TABLE)) {
RichFacesSubTableTemplate.DEFAULT_INSTANCE.encode(pageContext, creationData, (Element)child, visualDocument, tbody);
tr = null;
} else {
@@ -265,7 +267,11 @@
NodeList children = parentSourceElement.getChildNodes();
for(int i=0; i<children.getLength(); i++) {
Node child = children.item(i);
- if((child instanceof Element) && child.getNodeName().endsWith(RichFaces.TAG_COLUMN)) {
+ String nodeName = child.getNodeName();
+ if((child instanceof Element) && (
+ nodeName.endsWith(RichFaces.TAG_COLUMN) ||
+ nodeName.endsWith(RichFaces.TAG_COLUMNS)
+ )) {
columns.add((Element)child);
}
}
@@ -324,7 +330,8 @@
int currentLength = 0;
for (Element column : columns) {
if (ComponentUtil.isRendered(column)) {
- if (column.getNodeName().endsWith(RichFaces.TAG_COLUMN_GROUP)) {
+ String nodeName = column.getNodeName();
+ if (nodeName.endsWith(RichFaces.TAG_COLUMN_GROUP)) {
// Store max calculated value of previous rows.
count = Math.max(currentLength,count);
// Calculate number of columns in row.
@@ -332,7 +339,8 @@
// Store max calculated value
count = Math.max(currentLength,count);
currentLength = 0;
- } else if (column.getNodeName().equals(sourceElement.getPrefix() + Constants.COLON + RichFaces.TAG_COLUMN)) {
+ } else if (nodeName.equals(sourceElement.getPrefix() + Constants.COLON + RichFaces.TAG_COLUMN) ||
+ nodeName.equals(sourceElement.getPrefix() + Constants.COLON + RichFaces.TAG_COLUMNS)) {
// For new row, save length of previous.
if (Boolean.getBoolean(column.getAttribute(ATTR_BREAK_BEFORE))) {
count = Math.max(currentLength,count);
@@ -345,7 +353,7 @@
} catch (NumberFormatException e) {
currentLength++;
}
- } else if (column.getNodeName().endsWith(RichFaces.TAG_COLUMN)) {
+ } else if (nodeName.endsWith(RichFaces.TAG_COLUMN)) {
// UIColumn always have colspan == 1.
currentLength++;
}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesExtendedDataTableTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesExtendedDataTableTemplate.java 2008-10-28 15:49:39 UTC (rev 11248)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesExtendedDataTableTemplate.java 2008-10-28 16:01:10 UTC (rev 11249)
@@ -39,7 +39,6 @@
private static final String DIV_STYLE = "padding : 4px"; //$NON-NLS-1$
private static final String EXTENDED_TABLE_INPUT = "extendedTable-input"; //$NON-NLS-1$
private static final String INPUT_TYPE_ATTR = "text"; //$NON-NLS-1$
- private static final String COLUMNS = "columns"; //$NON-NLS-1$
private static final String FALSE = "false"; //$NON-NLS-1$
private static final String SCOP = "scop"; //$NON-NLS-1$
private static final String COL = "col"; //$NON-NLS-1$
@@ -68,7 +67,8 @@
private static final String SEMICOLON = ";"; //$NON-NLS-1$
private static final String COLON = " : "; //$NON-NLS-1$
private static final String DR_TABLE_HIDDEN = "dr-table-hidden"; //$NON-NLS-1$
- private static final String COLUMN = ":column"; //$NON-NLS-1$
+ private static final String COLUMN = ':' + RichFaces.TAG_COLUMN;
+ private static final String COLUMNS = ':' + RichFaces.TAG_COLUMNS;
final static String DEFAULT_HEIGHT = "500px"; //$NON-NLS-1$
final static String DEFAULT_WIDTH = "100%"; //$NON-NLS-1$
final static String HEADER = "header"; //$NON-NLS-1$
@@ -245,7 +245,8 @@
nsIDOMElement tr = null;
VpeChildrenInfo trInfo = null;
for (Node child : children) {
- if (child.getNodeName().endsWith(COLUMN)) {
+ String nodeName = child.getNodeName();
+ if (nodeName.endsWith(COLUMN) || nodeName.endsWith(COLUMNS)) {
String breakBefore = ((Element) child)
.getAttribute(BREAK_BEFORE);
if (breakBefore != null
@@ -525,8 +526,9 @@
NodeList children = parentSourceElement.getChildNodes();
for (int i = 0; i < children.getLength(); i++) {
Node child = children.item(i);
+ String nodeName = child.getNodeName();
if ((child instanceof Element)
- && child.getNodeName().endsWith(COLUMN)) {
+ && (nodeName.endsWith(COLUMN) || nodeName.endsWith(COLUMNS)) ) {
columns.add((Element) child);
}
}
@@ -592,7 +594,7 @@
int count = 0;
// check for exact value in component
try {
- int span = Integer.parseInt(sourceElement.getAttribute(COLUMNS));
+ int span = Integer.parseInt(sourceElement.getAttribute(RichFaces.ATTR_COLUMNS));
count = count > 0 ? span : calculateRowColumns(sourceElement,
columns);
} catch (NumberFormatException e) {
@@ -611,7 +613,8 @@
int currentLength = 0;
for (Element column : columns) {
if (ComponentUtil.isRendered(column)) {
- if (column.getNodeName().endsWith(COLUMN_GROUP)) {
+ String nodeName = column.getNodeName();
+ if (nodeName.endsWith(COLUMN_GROUP)) {
// Store max calculated value of previsous rows.
if (currentLength > count) {
count = currentLength;
@@ -624,8 +627,8 @@
count = currentLength;
}
currentLength = 0;
- } else if (column.getNodeName().equals(
- sourceElement.getPrefix() + COLUMN)) {
+ } else if (nodeName.equals(sourceElement.getPrefix() + COLUMN) ||
+ nodeName.equals(sourceElement.getPrefix() + COLUMNS)) {
String breakBeforeStr = column.getAttribute(BREAK_BEFORE);
// For new row, save length of previsous.
if (Boolean.getBoolean(breakBeforeStr)) {
@@ -641,7 +644,7 @@
} catch (NumberFormatException e) {
currentLength++;
}
- } else if (column.getNodeName().endsWith(COLUMN)) {
+ } else if (nodeName.endsWith(COLUMN)) {
// UIColumn always have colspan == 1.
currentLength++;
}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesListShuttleTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesListShuttleTemplate.java 2008-10-28 15:49:39 UTC (rev 11248)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesListShuttleTemplate.java 2008-10-28 16:01:10 UTC (rev 11249)
@@ -563,7 +563,9 @@
// add children to "tr" element
int columnCount = 0;
for (Node child : children) {
- if (RichFaces.TAG_COLUMN.equals(child.getLocalName())) {
+ String localName = child.getLocalName();
+ if (RichFaces.TAG_COLUMN.equals(localName) ||
+ RichFaces.TAG_COLUMNS.equals(localName)) {
nsIDOMElement column = visualDocument
.createElement(HTML.TAG_TD);
@@ -906,7 +908,9 @@
header.setAttribute(HTML.ATTR_CLASS, styleClasses.get(header));
for (Node child : children) {
- if ("column".equals(child.getLocalName())) { //$NON-NLS-1$
+ String localName = child.getLocalName();
+ if (RichFaces.TAG_COLUMN.equals(localName) ||
+ RichFaces.TAG_COLUMNS.equals(localName)) {
nsIDOMElement headerCell = visualDocument
.createElement(HTML.TAG_TH);
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java 2008-10-28 15:49:39 UTC (rev 11248)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java 2008-10-28 16:01:10 UTC (rev 11249)
@@ -9,6 +9,7 @@
import org.jboss.tools.jsf.vpe.richfaces.ComponentUtil;
import org.jboss.tools.jsf.vpe.richfaces.HtmlComponentUtil;
import org.jboss.tools.jsf.vpe.richfaces.RichFacesTemplatesActivator;
+import org.jboss.tools.jsf.vpe.richfaces.template.util.RichFaces;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
@@ -26,6 +27,8 @@
*/
public class RichFacesOrderingList extends VpeAbstractTemplate {
+ private static final String COLUMN = ':' + RichFaces.TAG_COLUMN;
+ private static final String COLUMNS = ':' + RichFaces.TAG_COLUMNS;
private static final String DEFAULT_LIST_HEIGHT = "150px";
private static final String DEFAULT_LIST_WIDTH = "300px";
@@ -551,15 +554,16 @@
creationData.addChildrenInfo(trInfo);
for (Node child : children) {
- if (child.getNodeName().endsWith(":column")) {
+ String nodeName = child.getNodeName();
+ if (nodeName.endsWith(COLUMN) || nodeName.endsWith(COLUMNS)) {
trInfo.addSourceChild(child);
- } else if (child.getNodeName().endsWith(":columnGroup")) {
+ } else if (nodeName.endsWith(":columnGroup")) {
RichFacesColumnGroupTemplate.DEFAULT_INSTANCE.encode(pageContext,
creationData, (Element) child, visualDocument,
tbody);
tr = null;
trInfo = null;
- } else if (child.getNodeName().endsWith(":subTable")) {
+ } else if (nodeName.endsWith(":subTable")) {
RichFacesSubTableTemplate.DEFAULT_INSTANCE.encode(pageContext,
creationData, (Element) child, visualDocument,
tbody);
@@ -779,8 +783,9 @@
NodeList children = parentSourceElement.getChildNodes();
for (int i = 0; i < children.getLength(); i++) {
Node child = children.item(i);
+ String nodeName = child.getNodeName();
if ((child instanceof Element)
- && child.getNodeName().endsWith(":column")) {
+ && (nodeName.endsWith(COLUMN) || nodeName.endsWith(COLUMNS))) {
columns.add((Element) child);
}
}
@@ -864,7 +869,8 @@
int currentLength = 0;
for (Element column : columns) {
if (ComponentUtil.isRendered(column)) {
- if (column.getNodeName().endsWith(":columnGroup")) {
+ String nodeName = column.getNodeName();
+ if (nodeName.endsWith(":columnGroup")) {
// Store max calculated value of previous rows.
count = Math.max(currentLength, count);
// Calculate number of columns in row.
@@ -876,8 +882,8 @@
String colspanStr = column
.getAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN);
- } else if (column.getNodeName().equals(
- sourceElement.getPrefix() + ":column")) {
+ } else if (nodeName.equals(sourceElement.getPrefix() + COLUMN) ||
+ nodeName.equals(sourceElement.getPrefix() + COLUMNS)) {
String breakBeforeStr = column.getAttribute("breakBefore");
boolean breakBefore = Boolean.getBoolean(breakBeforeStr);
@@ -894,7 +900,7 @@
} catch (NumberFormatException e) {
currentLength++;
}
- } else if (column.getNodeName().endsWith(":column")) {
+ } else if (nodeName.endsWith(COLUMN)) {
// UIColumn always have colspan == 1.
currentLength++;
}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesScrollableDataTableTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesScrollableDataTableTemplate.java 2008-10-28 15:49:39 UTC (rev 11248)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesScrollableDataTableTemplate.java 2008-10-28 16:01:10 UTC (rev 11249)
@@ -15,6 +15,7 @@
import org.jboss.tools.jsf.vpe.richfaces.ComponentUtil;
import org.jboss.tools.jsf.vpe.richfaces.HtmlComponentUtil;
+import org.jboss.tools.jsf.vpe.richfaces.template.util.RichFaces;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
@@ -33,6 +34,8 @@
*/
public class RichFacesScrollableDataTableTemplate extends VpeAbstractTemplate {
+ private static final String COLUMN = ':' + RichFaces.TAG_COLUMN;
+ private static final String COLUMNS = ':' + RichFaces.TAG_COLUMNS;
final static String DEFAULT_HEIGHT = "500px";
final static String DEFAULT_WIDTH = "700px";
final static String HEADER = "header";
@@ -235,7 +238,7 @@
nsIDOMElement tr = null;
VpeChildrenInfo trInfo = null;
for (Node child : children) {
- if (child.getNodeName().endsWith(":column")) {
+ if (child.getNodeName().endsWith(COLUMN) || child.getNodeName().endsWith(COLUMNS)) {
String breakBefore = ((Element) child)
.getAttribute("breakBefore");
if (breakBefore != null
@@ -429,8 +432,9 @@
NodeList children = parentSourceElement.getChildNodes();
for (int i = 0; i < children.getLength(); i++) {
Node child = children.item(i);
+ String nodeName = child.getNodeName();
if ((child instanceof Element)
- && child.getNodeName().endsWith(":column")) {
+ && (nodeName.endsWith(COLUMN) || nodeName.endsWith(COLUMNS))) {
columns.add((Element) child);
}
}
@@ -514,7 +518,8 @@
int currentLength = 0;
for (Element column : columns) {
if (ComponentUtil.isRendered(column)) {
- if (column.getNodeName().endsWith(":columnGroup")) {
+ String nodeName = column.getNodeName();
+ if (nodeName.endsWith(":columnGroup")) {
// Store max calculated value of previsous rows.
if (currentLength > count) {
count = currentLength;
@@ -527,8 +532,8 @@
count = currentLength;
}
currentLength = 0;
- } else if (column.getNodeName().equals(
- sourceElement.getPrefix() + ":column")) {
+ } else if (nodeName.equals(sourceElement.getPrefix() + COLUMN) ||
+ nodeName.equals(sourceElement.getPrefix() + COLUMNS)) {
String breakBeforeStr = column.getAttribute("breakBefore");
// For new row, save length of previsous.
if (Boolean.getBoolean(breakBeforeStr)) {
@@ -545,7 +550,7 @@
} catch (NumberFormatException e) {
currentLength++;
}
- } else if (column.getNodeName().endsWith(":column")) {
+ } else if (nodeName.endsWith(COLUMN)) {
// UIColumn always have colspan == 1.
currentLength++;
}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSubTableTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSubTableTemplate.java 2008-10-28 15:49:39 UTC (rev 11248)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSubTableTemplate.java 2008-10-28 16:01:10 UTC (rev 11249)
@@ -104,7 +104,9 @@
VpeChildrenInfo trChildrenInfo = new VpeChildrenInfo(curTr);
final List<Node> children = ComponentUtil.getChildren(sourceElement);
for (final Node child : children) {
- if (child.getNodeName().endsWith(':' + RichFaces.TAG_COLUMN)) {
+ String nodeName = child.getNodeName();
+ if (nodeName.endsWith(':' + RichFaces.TAG_COLUMN) ||
+ nodeName.endsWith(':' + RichFaces.TAG_COLUMNS)) {
final boolean breakBefore = RichFaces.VAL_TRUE.equals( ((Element)child).getAttribute(RichFaces.ATTR_BREAK_BEFORE) );
if (breakBefore) {
curRow++;
16 years, 2 months