JBoss Tools SVN: r13773 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template: selectitem and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-02-24 11:14:55 -0500 (Tue, 24 Feb 2009)
New Revision: 13773
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractEditableJsfTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfBodyTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfInputTextTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputFormatTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSubView.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractCheckboxSelectItemTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractOptionSelectItemTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractRadioSelectItemTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractSelectItemTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/JsfOptionSelectItemTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/JsfOptionSelectItemsTemplate.java
Log:
cleaned code
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractEditableJsfTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractEditableJsfTemplate.java 2009-02-24 16:14:11 UTC (rev 13772)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractEditableJsfTemplate.java 2009-02-24 16:14:55 UTC (rev 13773)
@@ -14,7 +14,6 @@
import java.util.Map;
import java.util.Set;
-import org.jboss.tools.vpe.editor.template.IEditableTemplate;
import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
import org.jboss.tools.vpe.editor.util.HTML;
import org.mozilla.interfaces.nsIDOMElement;
@@ -26,7 +25,7 @@
*
* @author Sergey Dzmitrovich
*/
-public abstract class AbstractEditableJsfTemplate extends VpeAbstractTemplate implements IEditableTemplate {
+public abstract class AbstractEditableJsfTemplate extends VpeAbstractTemplate {
/**
* Gets the output attribute node.
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfBodyTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfBodyTemplate.java 2009-02-24 16:14:11 UTC (rev 13772)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfBodyTemplate.java 2009-02-24 16:14:55 UTC (rev 13773)
@@ -13,7 +13,6 @@
import org.jboss.tools.jsf.vpe.jsf.template.util.JSF;
import org.jboss.tools.vpe.editor.template.VpeAbstractBodyTemplate;
import org.jboss.tools.vpe.editor.util.HTML;
-import org.jboss.tools.vpe.html.template.HtmlBodyTemplate;
/**
* The template of h:body.
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfInputTextTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfInputTextTemplate.java 2009-02-24 16:14:11 UTC (rev 13772)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfInputTextTemplate.java 2009-02-24 16:14:55 UTC (rev 13773)
@@ -60,12 +60,6 @@
return creationData;
}
- @Override
- public Attr getOutputAttributeNode(Element element) {
- // TODO Auto-generated method stub
- return element.getAttributeNode(JSF.ATTR_VALUE);
- }
-
@Override
public boolean isRecreateAtAttrChange(VpePageContext pageContext,
Element sourceElement, nsIDOMDocument visualDocument,
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputFormatTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputFormatTemplate.java 2009-02-24 16:14:11 UTC (rev 13772)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputFormatTemplate.java 2009-02-24 16:14:55 UTC (rev 13773)
@@ -171,7 +171,6 @@
String choice = getChoice(parametres[2]);
if (choice != null)
value = choice.replaceAll("[\\{\\}]", ""); //$NON-NLS-1$//$NON-NLS-2$
- ;
}
}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSubView.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSubView.java 2009-02-24 16:14:11 UTC (rev 13772)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSubView.java 2009-02-24 16:14:55 UTC (rev 13773)
@@ -10,9 +10,6 @@
******************************************************************************/
package org.jboss.tools.jsf.vpe.jsf.template;
-import java.util.ArrayList;
-import java.util.List;
-
import org.jboss.tools.jsf.vpe.jsf.template.util.ComponentUtil;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
@@ -24,7 +21,6 @@
import org.mozilla.interfaces.nsIDOMElement;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
// TODO: Auto-generated Javadoc
/**
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractCheckboxSelectItemTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractCheckboxSelectItemTemplate.java 2009-02-24 16:14:11 UTC (rev 13772)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractCheckboxSelectItemTemplate.java 2009-02-24 16:14:55 UTC (rev 13773)
@@ -11,14 +11,12 @@
package org.jboss.tools.jsf.vpe.jsf.template.selectitem;
import org.jboss.tools.jsf.vpe.jsf.template.util.JSF;
-import org.jboss.tools.vpe.editor.VpeSourceDomBuilder;
import org.jboss.tools.vpe.editor.context.VpePageContext;
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.Attr;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
@@ -143,13 +141,6 @@
}
@Override
- public void setSourceAttributeSelection(VpePageContext pageContext,
- Element sourceElement, int offset, int length, Object data) {
- VpeSourceDomBuilder sourceBuilder = pageContext.getSourceBuilder();
- sourceBuilder.setSelection(sourceElement, 0, 0);
- }
-
- @Override
public boolean isRecreateAtAttrChange(VpePageContext pageContext,
Element sourceElement, nsIDOMDocument visualDocument,
nsIDOMElement visualNode, Object data, String name, String value) {
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractOptionSelectItemTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractOptionSelectItemTemplate.java 2009-02-24 16:14:11 UTC (rev 13772)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractOptionSelectItemTemplate.java 2009-02-24 16:14:55 UTC (rev 13773)
@@ -11,8 +11,6 @@
package org.jboss.tools.jsf.vpe.jsf.template.selectitem;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMAttr;
-import org.jboss.tools.jsf.vpe.jsf.template.AbstractOutputJsfTemplate;
-import org.jboss.tools.jsf.vpe.jsf.template.util.ComponentUtil;
import org.jboss.tools.jsf.vpe.jsf.template.util.JSF;
import org.jboss.tools.jsf.vpe.jsf.template.util.NodeProxyUtil;
import org.jboss.tools.jsf.vpe.jsf.template.util.model.VpeElementProxyData;
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractRadioSelectItemTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractRadioSelectItemTemplate.java 2009-02-24 16:14:11 UTC (rev 13772)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractRadioSelectItemTemplate.java 2009-02-24 16:14:55 UTC (rev 13773)
@@ -11,16 +11,13 @@
package org.jboss.tools.jsf.vpe.jsf.template.selectitem;
import org.eclipse.wst.xml.core.internal.document.ElementImpl;
-import org.jboss.tools.jsf.vpe.jsf.template.util.ComponentUtil;
import org.jboss.tools.jsf.vpe.jsf.template.util.JSF;
-import org.jboss.tools.vpe.editor.VpeVisualDomBuilder;
import org.jboss.tools.vpe.editor.context.VpePageContext;
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.Attr;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractSelectItemTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractSelectItemTemplate.java 2009-02-24 16:14:11 UTC (rev 13772)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/AbstractSelectItemTemplate.java 2009-02-24 16:14:55 UTC (rev 13773)
@@ -11,12 +11,8 @@
package org.jboss.tools.jsf.vpe.jsf.template.selectitem;
import org.jboss.tools.jsf.vpe.jsf.template.AbstractOutputJsfTemplate;
-import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.template.VpeCreationData;
-import org.mozilla.interfaces.nsIDOMDocument;
import org.w3c.dom.Attr;
import org.w3c.dom.Element;
-import org.w3c.dom.Node;
/**
* This class is the base class for all templates of
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/JsfOptionSelectItemTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/JsfOptionSelectItemTemplate.java 2009-02-24 16:14:11 UTC (rev 13772)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/JsfOptionSelectItemTemplate.java 2009-02-24 16:14:55 UTC (rev 13773)
@@ -10,10 +10,6 @@
******************************************************************************/
package org.jboss.tools.jsf.vpe.jsf.template.selectitem;
-import org.jboss.tools.jsf.vpe.jsf.template.util.ComponentUtil;
-import org.jboss.tools.jsf.vpe.jsf.template.util.JSF;
-import org.w3c.dom.Attr;
-import org.w3c.dom.Element;
/**
* @author yradtsevich
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/JsfOptionSelectItemsTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/JsfOptionSelectItemsTemplate.java 2009-02-24 16:14:11 UTC (rev 13772)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/selectitem/JsfOptionSelectItemsTemplate.java 2009-02-24 16:14:55 UTC (rev 13773)
@@ -10,8 +10,6 @@
******************************************************************************/
package org.jboss.tools.jsf.vpe.jsf.template.selectitem;
-import org.w3c.dom.Attr;
-import org.w3c.dom.Element;
/**
* @author yradtsevich
15 years, 11 months
JBoss Tools SVN: r13772 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-02-24 11:14:11 -0500 (Tue, 24 Feb 2009)
New Revision: 13772
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties
Log:
https://jira.jboss.org/jira/browse/JBIDE-3859 - Fixed
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties 2009-02-24 16:05:31 UTC (rev 13771)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties 2009-02-24 16:14:11 UTC (rev 13772)
@@ -27,7 +27,7 @@
SEAM_FACET_INSTALL_ABSTRACT_DELEGATE_ERROR=Error
ERROR_JBOSS_AS_TARGET_SERVER_IS_EMPTY=Target Server cannot be empty
ERROR_JBOSS_AS_TARGET_SERVER_UNKNOWN=Unknown Target Server
-ERROR_JBOSS_AS_TARGET_SERVER_NO_SERVERS_DEFINED=There are no available Target Service for selected Target Runtime
+ERROR_JBOSS_AS_TARGET_SERVER_NO_SERVERS_DEFINED=There are no available Target Servers for selected Target Runtime
ERROR_JBOSS_AS_TARGET_SERVER_INCOMPATIBLE=Target Server is incompatible with Target Runtime selected
ERROR_JBOSS_AS_TARGET_RUNTIME_IS_EMPTY=Target Runtime cannot be empty
ERROR_JBOSS_AS_TARGET_RUNTIME_UNKNOWN=Unknown Target Runtime
15 years, 11 months
JBoss Tools SVN: r13771 - trunk/jsf/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: msorokin
Date: 2009-02-24 11:05:31 -0500 (Tue, 24 Feb 2009)
New Revision: 13771
Modified:
trunk/jsf/docs/userguide/en/modules/editors.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-596
The info about tabbed Page Design Option is updated.
Modified: trunk/jsf/docs/userguide/en/modules/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/editors.xml 2009-02-24 15:56:27 UTC (rev 13770)
+++ trunk/jsf/docs/userguide/en/modules/editors.xml 2009-02-24 16:05:31 UTC (rev 13771)
@@ -1229,7 +1229,7 @@
<imagedata fileref="images/visual_page/icon_1.png"/>
</imageobject>
</inlinemediaobject>
- )
+ ),
@@ -1268,7 +1268,20 @@
<listitem id="vpe_preferences">
<para><emphasis>
<property>Preferences</property>
- </emphasis> button provides a quick access to <property>Visual Page
+ </emphasis> button
+ (
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="images/visual_page/icon_1.png"/>
+ </imageobject>
+ </inlinemediaobject>
+ )
+
+
+
+
+
+ provides a quick access to <property>Visual Page
Editor</property> preferences.</para>
<figure>
@@ -1284,17 +1297,44 @@
<listitem>
<para>Clicking on <emphasis>
<property>Refresh</property>
- </emphasis> button you refresh the displayed information.</para>
+ </emphasis> button
+
+
+ (
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="images/visual_page/icon_2.png"/>
+ </imageobject>
+ </inlinemediaobject>
+ )
+
+
+
+
+
+
+
+ you refresh the displayed information.</para>
</listitem>
<listitem>
<para><emphasis>
<property>Page Design Options</property>
- </emphasis> button leads to a window which helps you specify necessary
+ </emphasis> button
+ (
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="images/visual_page/icon_3.png"/>
+ </imageobject>
+ </inlinemediaobject>
+ )
+
+
+ leads to a window which helps you specify necessary
references of the resources. It is represented by a window with 4 tabs. The
first one, <emphasis>
- <property>Actual Run-Time folders</property>
- </emphasis>, is used to replace absolute and relative path values when
+ <property>Actual Run-Time folders</property>,
+ </emphasis> is used to replace absolute and relative path values when
generating a preview: </para>
<figure>
<title>Page Design Options: Actual Run-Time folders</title>
15 years, 11 months
JBoss Tools SVN: r13770 - in trunk/birt/docs/en: images/BirtSeamProject and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-02-24 10:56:27 -0500 (Tue, 24 Feb 2009)
New Revision: 13770
Added:
trunk/birt/docs/en/images/BirtSeamProject/
trunk/birt/docs/en/images/BirtSeamProject/AddingBirtFacet.gif
trunk/birt/docs/en/images/BirtSeamProject/SeamProjectConfiguration.gif
Modified:
trunk/birt/docs/en/modules/birt_designer.xml
trunk/birt/docs/en/modules/birt_seam_web_project.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-388
writing new chapter (seam project with birt functionality) birt_seam_web_project.xml
format corrections in birt_designer.xml
Added: trunk/birt/docs/en/images/BirtSeamProject/AddingBirtFacet.gif
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/BirtSeamProject/AddingBirtFacet.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/birt/docs/en/images/BirtSeamProject/SeamProjectConfiguration.gif
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/BirtSeamProject/SeamProjectConfiguration.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/birt/docs/en/modules/birt_designer.xml
===================================================================
--- trunk/birt/docs/en/modules/birt_designer.xml 2009-02-24 15:45:05 UTC (rev 13769)
+++ trunk/birt/docs/en/modules/birt_designer.xml 2009-02-24 15:56:27 UTC (rev 13770)
@@ -82,14 +82,8 @@
Folder</emphasis>. The resource folder location can be configured. </para>
</listitem>
-
-
</itemizedlist>
-
-
-
-
</section>
<section id="birt_designer_features">
Modified: trunk/birt/docs/en/modules/birt_seam_web_project.xml
===================================================================
--- trunk/birt/docs/en/modules/birt_seam_web_project.xml 2009-02-24 15:45:05 UTC (rev 13769)
+++ trunk/birt/docs/en/modules/birt_seam_web_project.xml 2009-02-24 15:56:27 UTC (rev 13770)
@@ -19,7 +19,132 @@
<para>These are the prerequisites required to create a Seam web project including with BIRT functionality:</para>
-
+ <orderedlist>
+ <listitem>
+ <para>
+ <ulink url="http://download.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/in...">Eclipse Version 3.4 SDK</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://www.eclipse.org/downloads/download.php?file=/datatools/downloads/1...">DTP Version 1.6 Release</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://www.eclipse.org/modeling/emf/downloads/?project=emf">EMF Version 2.4 Release EMF+XSD</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://www.eclipse.org/gef/downloads/">GEF Version 3.4 Release runtime</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://download.eclipse.org/webtools/downloads/drops/R3.0/R-3.0-200806161...">WTP Version 3.0 Release</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/...">BIRT Report Designer SDK 2.3.0 Release</ulink> or <ulink url="http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/...">BIRT Report Designer 2.3.0 Release</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://sourceforge.net/project/showfiles.php?group_id=22866&package_i...">JBoss Application Server 4.2.2 GA</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://sourceforge.net/project/showfiles.php?group_id=22866&package_i...">JBoss Seam 2.0.1 GA</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/...">BIRT Web Tools Integration</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://download.jboss.org/jbosstools/builds/nightly/latestBuild.html">JBoss Tools nightly build</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/secure/attachment/12320944/org.jboss.tools.bir...">JBoss BIRT integration feature</ulink>
+ </para>
+ </listitem>
+ </orderedlist>
+
</section>
+ <section id="creating_web_project" xreflabel="creating_web_project">
+ <title>Creating a web project</title>
+
+ <para>Follow the next steps to create a web project</para>
+ <orderedlist>
+ <listitem>
+ <para>Create a new Seam Web Project</para>
+ </listitem>
+ <listitem>
+ <para>Choose the 2.0 version of the Seam facet</para>
+ </listitem>
+ <listitem>
+ <para>Add the "Birt Reporting Runtime Component" facet </para>
+ </listitem>
+ </orderedlist>
+
+ <figure>
+ <title>Adding "Birt Reporting Runtime Component" Facet </title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/BirtSeamProject/AddingBirtFacet.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <orderedlist>
+ <listitem>
+ <para>Or choose the "JBoss BIRT Integration Web Project" configuration</para>
+ </listitem>
+ </orderedlist>
+
+ <figure>
+ <title>Choosing "JBoss BIRT Integration Web Project " Configuration</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/BirtSeamProject/SeamProjectConfiguration.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <orderedlist>
+ <listitem>
+ <para>Create the birttests.xhtml, testbirt.xhtml and testbirt1.xhtml pages as follows:</para>
+ </listitem>
+ </orderedlist>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+
+ <programlisting role="XHTML"><![CDATA[
+ <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+ <ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="layout/template.xhtml">
+ <ui:define name="body">
+ <h:messages globalOnly="true" styleClass="message"/> <rich:panel>
+ <f:facet name="header">Welcome to JBoss BIRT!</f:facet>
+ <ul> <li><s:link view="/testbirt.xhtml" value="Test Birt" /></li>
+ <li><s:link view="/testbirt1.xhtml" value="Test Birt 1" /></li>
+ </ul> </rich:panel> </ui:define> </ui:composition>
+]]></programlisting>
+
+ </section>
+
+
</chapter>
15 years, 11 months
JBoss Tools SVN: r13769 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-02-24 10:45:05 -0500 (Tue, 24 Feb 2009)
New Revision: 13769
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/commandLink.jsp
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/commandLink.jsp.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/form.jsp
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/form.jsp.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputFormat.jsp
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputFormat.jsp.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputLabel.jsp
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputLabel.jsp.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectItem.jsp
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectItem.jsp.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyCheckbox.jsp
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyCheckbox.jsp.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyListbox.jsp
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyListbox.jsp.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectOneMenu.jsp
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectOneMenu.jsp.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/verbatim.jsp
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/verbatim.jsp.xml
Log:
have been corrected test to increase a coverage
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/commandLink.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/commandLink.jsp 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/commandLink.jsp 2009-02-24 15:45:05 UTC (rev 13769)
@@ -15,6 +15,7 @@
<h:commandLink id="commandLink2" value="commandLink2" disabled="false" />
</h:form>
+ <h:commandLink id="commandLink3" value="commandLink3" disabled="false" />
</f:view>
</body>
</html>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/commandLink.jsp.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/commandLink.jsp.xml 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/commandLink.jsp.xml 2009-02-24 15:45:05 UTC (rev 13769)
@@ -5,4 +5,14 @@
<test id="commandLink2">
<a>commandLink2</a>
</test>
+ <test id="commandLink3">
+ <SPAN >
+ <SPAN>
+ commandLink3
+ </SPAN>
+ <SPAN>
+ : This link is disabled as it is not nested within a JSF form.
+ </SPAN>
+ </SPAN>
+ </test>
</tests>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/form.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/form.jsp 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/form.jsp 2009-02-24 15:45:05 UTC (rev 13769)
@@ -10,7 +10,7 @@
<h1><h:outputText value="form" /></h1>
<div id="form_test">
- <h:form style="background-color:Red;">
+ <h:form style="background-color:Red;" styleClass="myClass">
Test1Text<div style="background-color: green">Test2<h:form>TestText3</h:form></div>
<h:form>Test4Text</h:form>
</h:form>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/form.jsp.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/form.jsp.xml 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/form.jsp.xml 2009-02-24 15:45:05 UTC (rev 13769)
@@ -2,7 +2,7 @@
<test id="form_test">
<DIV STYLE="-moz-user-modify: read-write;">
<FORM
- STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; background-color: Red;">
+ STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; background-color: Red;" class="myClass">
<SPAN>
Test1Text
</SPAN>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputFormat.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputFormat.jsp 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputFormat.jsp 2009-02-24 15:45:05 UTC (rev 13769)
@@ -15,6 +15,11 @@
<h:outputFormat value="{0}" id="outputFormat4">
<f:param value="outputFormat4" />
</h:outputFormat>
+ <h:outputFormat id="outputFormat5"
+ value="You have visited us {0} {0, choice,0#times|1#time|2#times}.">
+ <f:param value="2"/>
+ </h:outputFormat>
+
</f:view>
</body>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputFormat.jsp.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputFormat.jsp.xml 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputFormat.jsp.xml 2009-02-24 15:45:05 UTC (rev 13769)
@@ -13,4 +13,7 @@
<test id="outputFormat4">
<SPAN> outputFormat4 </SPAN>
</test>
+ <test id="outputFormat5">
+ <SPAN > You have visited us 2 times.</SPAN>
+ </test>
</tests>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputLabel.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputLabel.jsp 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputLabel.jsp 2009-02-24 15:45:05 UTC (rev 13769)
@@ -12,7 +12,7 @@
<h:outputLabel value="outputLabel1" id="outputLabel1" />
<h:outputLabel escape="true" value="outputLabel2" id="outputLabel2" />
<h:outputLabel escape="false" value="outputLabel3" id="outputLabel3" />
-
+ <h:outputLabel escape="false" binding="outputLabel4" id="outputLabel4" />
</f:view>
</body>
</html>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputLabel.jsp.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputLabel.jsp.xml 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/outputLabel.jsp.xml 2009-02-24 15:45:05 UTC (rev 13769)
@@ -10,4 +10,11 @@
<SPAN> outputLabel3</SPAN>
</LABEL>
</test>
+ <test id="outputLabel4">
+ <LABEL>
+ <SPAN CLASS="vpe-text">
+ outputLabel4
+ </SPAN>
+ </LABEL>
+ </test>
</tests>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectItem.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectItem.jsp 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectItem.jsp 2009-02-24 15:45:05 UTC (rev 13769)
@@ -11,19 +11,33 @@
<h:outputText value="selectitem:" />
- <h:selectManyCheckbox value="someValue">
+ <h:selectManyCheckbox value="someValue" disabledClass="myClass"
+ enabledClass="myClass1">
<f:selectItem itemLabel="check1" id="selectItem1" />
</h:selectManyCheckbox>
<h:selectManyListbox value="someValue">
<f:selectItem itemLabel="value1" itemValue="value1" id="selectItem2" />
+ <f:selectItem itemLabel="value2" id="selectItem2_1" itemDisabled="true" />
+ <f:selectItem itemLabel="<b>value3</b>" id="selectItem2_2" escape="false" />
</h:selectManyListbox>
<h:selectOneRadio>
- <f:selectItem itemLabel="value1" id="selectItem3" />
+ <f:selectItem itemLabel="value1" id="selectItem3" />
+ <f:selectItem itemLabel="value2" id="selectItem3_1"
+ itemDisabled="true" dir="ltr" />
+ <f:selectItem itemValue="itemValue1" id="selectItem3_2"
+ />
+ <f:selectItem value="value" id="selectItem3_3" />
+
</h:selectOneRadio>
+
+ <h:selectManyCheckbox value="someValue" disabledClass="myClass"
+ enabledClass="myClass1" dir="ltr" disabled="true">
+ <f:selectItem itemLabel="check1" id="selectItem4" />
+ </h:selectManyCheckbox>
</f:view>
</body>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectItem.jsp.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectItem.jsp.xml 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectItem.jsp.xml 2009-02-24 15:45:05 UTC (rev 13769)
@@ -2,18 +2,73 @@
<test id="selectItem1">
<SPAN>
<INPUT TYPE="checkbox" />
- <LABEL>
- <SPAN> check1</SPAN>
+
+ <LABEL CLASS="myClass1">
+ <SPAN>
+ check1
+ </SPAN>
</LABEL>
</SPAN>
</test>
<test id="selectItem2">
<OPTION> value1</OPTION>
</test>
+ <test id="selectItem2_1">
+ <OPTION DISABLED="true" >
+ value2
+ </OPTION>
+ </test>
+ <test id="selectItem2_2">
+ <OPTION >
+ <B >
+ <SPAN CLASS="vpe-text">
+ value3
+ </SPAN>
+ </B>
+ </OPTION>
+ </test>
<test id="selectItem3">
<DIV>
<INPUT TYPE="radio" />
<LABEL> value1</LABEL>
</DIV>
</test>
+ <test id="selectItem3_1">
+ <DIV >
+ <INPUT TYPE="radio" ITEMDISABLED="true"
+ DIR="ltr" />
+
+ <LABEL ITEMDISABLED="true">
+ value2
+ </LABEL>
+ </DIV>
+ </test>
+ <test id="selectItem3_2">
+ <DIV >
+ <INPUT TYPE="radio" />
+
+ <LABEL>
+ itemValue1
+ </LABEL>
+ </DIV>
+ </test>
+ <test id="selectItem3_3" >
+ <DIV >
+ <INPUT TYPE="radio" />
+
+ <LABEL>
+ value
+ </LABEL>
+ </DIV>
+ </test>
+ <test id="selectItem4">
+ <SPAN >
+ <INPUT TYPE="checkbox" DIR="ltr" />
+ <LABEL CLASS="myClass">
+ <SPAN>
+ check1
+ </SPAN>
+ </LABEL>
+ </SPAN>
+ </test>
</tests>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyCheckbox.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyCheckbox.jsp 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyCheckbox.jsp 2009-02-24 15:45:05 UTC (rev 13769)
@@ -19,6 +19,7 @@
</h:selectManyCheckbox>
<h:selectManyCheckbox value="someValue" layout="lineDirection"
+ style="color:red" styleClass="myClass" border="2"
id="selectManyCheckbox2">
<f:selectItem itemLabel="check1" />
<f:selectItem itemLabel="check2" />
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyCheckbox.jsp.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyCheckbox.jsp.xml 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyCheckbox.jsp.xml 2009-02-24 15:45:05 UTC (rev 13769)
@@ -34,5 +34,46 @@
</TR>
</TABLE>
</DIV>
+ </test >
+ <test id="selectManyCheckbox2">
+ <DIV>
+ <TABLE BORDER="2" STYLE="color: red;" CLASS="myClass">
+ <TR>
+ <TD>
+ <SPAN STYLE="-moz-user-modify: read-write;">
+ <INPUT TYPE="checkbox" />
+
+ <LABEL>
+ <SPAN>
+ check1
+ </SPAN>
+ </LABEL>
+ </SPAN>
+ </TD>
+ <TD>
+ <SPAN STYLE="-moz-user-modify: read-write;">
+ <INPUT TYPE="checkbox" />
+
+ <LABEL>
+ <SPAN>
+ check2
+ </SPAN>
+ </LABEL>
+ </SPAN>
+ </TD>
+ <TD>
+ <SPAN STYLE="-moz-user-modify: read-write;">
+ <INPUT TYPE="checkbox" />
+
+ <LABEL>
+ <SPAN>
+ check3
+ </SPAN>
+ </LABEL>
+ </SPAN>
+ </TD>
+ </TR>
+ </TABLE>
+ </DIV>
</test>
</tests>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyListbox.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyListbox.jsp 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyListbox.jsp 2009-02-24 15:45:05 UTC (rev 13769)
@@ -11,7 +11,8 @@
<h:outputText value="selectManyListbox:" />
- <h:selectManyListbox value="someValue" id="selectManyListbox">
+ <h:selectManyListbox value="someValue" id="selectManyListbox"
+ style="color:red" styleClass="myClass" dir="ltr">
<f:selectItem itemLabel="value1" itemValue="value1" />
<f:selectItem itemLabel="value2" itemValue="value2" />
</h:selectManyListbox>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyListbox.jsp.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyListbox.jsp.xml 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectManyListbox.jsp.xml 2009-02-24 15:45:05 UTC (rev 13769)
@@ -1,8 +1,13 @@
<tests>
<test id="selectManyListbox">
- <SELECT MULTIPLE="multiple" SIZE="2">
- <OPTION> value1</OPTION>
- <OPTION> value2</OPTION>
+ <SELECT CLASS="myClass" STYLE="color: red;" MULTIPLE="multiple"
+ SIZE="2">
+ <OPTION>
+ value1
+ </OPTION>
+ <OPTION>
+ value2
+ </OPTION>
</SELECT>
</test>
</tests>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectOneMenu.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectOneMenu.jsp 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectOneMenu.jsp 2009-02-24 15:45:05 UTC (rev 13769)
@@ -11,13 +11,22 @@
<h:outputText value="selectOneMenu:" />
- <h:selectOneMenu value="someValue" id="selectOneMenu">
+ <h:selectOneMenu value="someValue" id="selectOneMenu"
+ styleClass="myClass" dir="ltr" style="color:red;">
- <f:selectItem itemLabel="value1" itemValue="value1" />
- <f:selectItem itemLabel="value2" itemValue="value2" />
+ <f:selectItem itemLabel="value1" itemValue="value1" />
+ <f:selectItem itemLabel="value2" itemValue="value2" />
- </h:selectOneMenu>
+ </h:selectOneMenu>
+ <h:selectOneMenu value="someValue" id="selectOneMenu1" disabled="true"
+ disabledClass="myClass">
+
+ <f:selectItem itemLabel="value1" itemValue="value1" />
+ <f:selectItem itemLabel="value2" itemValue="value2" />
+
+ </h:selectOneMenu>
+
</f:view>
</body>
</html>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectOneMenu.jsp.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectOneMenu.jsp.xml 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/selectOneMenu.jsp.xml 2009-02-24 15:45:05 UTC (rev 13769)
@@ -1,8 +1,22 @@
<tests>
<test id="selectOneMenu">
- <SELECT SIZE="1">
- <OPTION>value1</OPTION>
- <OPTION>value2</OPTION>
+ <SELECT SIZE="1" CLASS="myClass" STYLE="color: red;">
+ <OPTION >
+ value1
+ </OPTION>
+ <OPTION >
+ value2
+ </OPTION>
</SELECT>
</test>
+ <test id="selectOneMenu1">
+ <SELECT SIZE="1" DISABLED="disabled">
+ <OPTION CLASS="myClass">
+ value1
+ </OPTION>
+ <OPTION CLASS="myClass">
+ value2
+ </OPTION>
+ </SELECT>
+ </test>
</tests>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/verbatim.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/verbatim.jsp 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/verbatim.jsp 2009-02-24 15:45:05 UTC (rev 13769)
@@ -14,6 +14,8 @@
<f:verbatim escape="true" id="verbatim2">
<input type="button" value="button" />
</f:verbatim>
+ <f:verbatim escape="true" id="verbatim3"
+ ><input type="button" value="button" /></f:verbatim>
</f:view>
</body>
</html>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/verbatim.jsp.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/verbatim.jsp.xml 2009-02-24 15:31:11 UTC (rev 13768)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/verbatim.jsp.xml 2009-02-24 15:45:05 UTC (rev 13769)
@@ -7,9 +7,12 @@
<test id="verbatim2">
<SPAN>
<SPAN></SPAN>
- <SPAN></SPAN>
+ <SPAN></SPAN>
<input type="button" value="button" />
<SPAN></SPAN>
</SPAN>
</test>
+ <test id="verbatim3">
+ <SPAN><SPAN></SPAN><input type="button" value="button" /></SPAN>
+ </test>
</tests>
\ No newline at end of file
15 years, 11 months
JBoss Tools SVN: r13768 - trunk/seam/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-02-24 10:31:11 -0500 (Tue, 24 Feb 2009)
New Revision: 13768
Modified:
trunk/seam/docs/reference/en/modules/seam_wizards.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-582 - updating the "Seam Wizards" section;
Modified: trunk/seam/docs/reference/en/modules/seam_wizards.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/seam_wizards.xml 2009-02-24 15:30:09 UTC (rev 13767)
+++ trunk/seam/docs/reference/en/modules/seam_wizards.xml 2009-02-24 15:31:11 UTC (rev 13768)
@@ -6,88 +6,125 @@
<keyword>JBoss Tools</keyword>
<keyword>Seam</keyword>
<keyword>JBDS</keyword>
- </keywordset>
+ </keywordset>
</chapterinfo>
-
+
<title>Seam Wizards</title>
-
+
<para>This chapter introduces you with Seam Components.</para>
- <para>All the Seam component generations options known from Seam-gen are available as wizards (with sensible auto-defaulting)
- for creating various common Seam components:</para>
-
+ <para>All the Seam component generations options known from Seam-gen are available as wizards
+ (with sensible auto-defaulting) for creating various common Seam components:</para>
+
<itemizedlist>
- <listitem><para><property>Seam Action</property></para></listitem>
- <listitem><para><property>Seam Form</property></para></listitem>
- <listitem><para><property>Seam Entity</property></para></listitem>
- <listitem><para><property>Seam Conversation</property></para></listitem>
+ <listitem>
+ <para>
+ <property>Seam Action</property>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <property>Seam Form</property>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <property>Seam Entity</property>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <property>Seam Conversation</property>
+ </para>
+ </listitem>
</itemizedlist>
-
- <para>Go to <emphasis><property>File > New</property></emphasis> and select the component wizard.</para>
-
+
+ <para>Go to <emphasis>
+ <property>File > New</property>
+ </emphasis> and select the component wizard.</para>
+
<figure>
<title>Seam Component Wizards</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_1.png"/>
</imageobject>
</mediaobject>
</figure>
-
- <para>The wizards create multiple resources and place it in the appropriate folders depending on your project structure (WAR or EAR).</para>
- <para>Let's create a WAR project using the New Seam Project wizard.</para>
+ <para>The wizards create multiple resources and place it in the appropriate folders depending on
+ your project structure (WAR or EAR).</para>
+ <para>Let's create a WAR project using the New Seam Project wizard.</para>
+
<figure>
<title>Seam Project WAR Deployment</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_2.png"/>
</imageobject>
</mediaobject>
</figure>
-
+
<para>After the project is created you need deploy it on server.</para>
-
-
+
+
<section id="seam_action">
-
+
<title>New Seam Action</title>
<para>In this and following sections you can see example creating Seam Components.</para>
- <para>To create a New Seam Action you should select a necessary project, type a name for <property>Seam component</property>, <property>POJO class</property>,
- <property>Method</property>, <property>Page</property> and select a <property>Package</property> using <emphasis><property>Browse</property></emphasis> button.</para>
-
+ <para>To create a New Seam Action you should select a necessary project, type a name for
+ <property>Seam component</property>, <property>POJO class</property>,
+ <property>Method</property>, <property>Page</property> and select a
+ <property>Package</property> using the <emphasis>
+ <property>Browse</property>
+ </emphasis> button.</para>
+
<figure>
<title>New Seam Action Wizard</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_4.png"/>
</imageobject>
</mediaobject>
</figure>
- <para>You can see the action page in <property>WebContent</property> folder. Click on it to open in JBoss Tools HTML Editor.</para>
+ <para>If you specify a class which already exists, the wizard will warn you about it.</para>
- <figure>
- <title>Action Page in JBoss Tools HTML Editor.</title>
- <mediaobject>
+ <figure>
+ <title>Wizard Warning against Existing File</title>
+ <mediaobject>
<imageobject>
+ <imagedata fileref="images/seam_wizards/action_warning.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>You can see the action page in <property>WebContent</property> folder. Click on it to
+ open in JBoss Tools HTML Editor.</para>
+
+ <figure>
+ <title>Action Page in JBoss Tools HTML Editor.</title>
+ <mediaobject>
+ <imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_5.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
-
-
+
+
<note>
<title>Note:</title>
- <para>You don't need to restart the server to see how the action component works. Just use context menu
- <emphasis><property>Run As > Run On Server</property>.</emphasis></para>
+ <para>You don't need to restart the server to see how the action component works. Just
+ use context menu <emphasis><property>Run As > Run On
+ Server</property>.</emphasis></para>
</note>
-
- <para>Action component was hot-deployed. Forms and Conversations will work the same way.</para>
-
+
+ <para>Action component was hot-deployed. Forms and Conversations will work the same
+ way.</para>
+
<figure>
<title>Action Component</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_6.png"/>
</imageobject>
@@ -95,158 +132,210 @@
</figure>
-
+
</section>
<section id="seam_form">
<title>New Seam Form</title>
- <para>Click on <property>actionMethod</property> in the internal browser and add a form in your project using the New Seam Form wizard
- <emphasis><property>File > New > Seam Form</property>.</emphasis></para>
- <para>Select a necessary project, type a name for <property>Seam component</property>, <property>POJO class</property>,
- <property>Method</property>, <property>Page</property> and select a <property>Package</property> using <emphasis><property>Browse</property></emphasis> button.</para>
-
+ <para>Click on <property>actionMethod</property> in the internal browser and add a form in
+ your project using the New Seam Form wizard <emphasis><property>File > New > Seam
+ Form</property>.</emphasis></para>
+ <para>Select a necessary project, type a name for <property>Seam component</property>,
+ <property>POJO class</property>, <property>Method</property>,
+ <property>Page</property> and select a <property>Package</property> using <emphasis>
+ <property>Browse</property>
+ </emphasis> button.</para>
+
<figure>
<title>New Seam Form Wizard</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_7.png"/>
</imageobject>
</mediaobject>
</figure>
- <para>The Form Page was created in <property>WebContent</property> folder.</para>
+ <para>If you specify a class which already exists, the wizard will warn you about it.</para>
<figure>
+ <title>Wizard Warning against Existing File</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/seam_wizards/form_warning.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>The Form Page was created in <property>WebContent</property> folder.</para>
+
+ <figure>
<title>Form Page in JBoss Tools HTML Editor.</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_8.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
-
- <para>Deploy the form on server. Right click on Form Page, select <emphasis><property>Run As > Run On Server</property>.</emphasis></para>
-
+
+ <para>Deploy the form on server. Right click on Form Page, select <emphasis><property>Run As
+ > Run On Server</property>.</emphasis></para>
+
<figure>
<title>Form Component</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_9.png"/>
</imageobject>
</mediaobject>
</figure>
-
+
<para>Form component was hot-deployed.</para>
-
+
</section>
-
+
<section id="seam_conversation">
<title>New Seam Conversation</title>
-
- <para>Enter some value in the text field (e.g. <property>value1</property>) and click on <property>formMethod</property>.</para>
- <para>Add a conversation using the New Seam Conversation wizard
- <emphasis><property>File > New > Seam Form</property>.</emphasis></para>
- <para>You should select a necessary project, type a name for <property>Seam component</property>, <property>POJO class</property>,
- <property>Method</property>, <property>Page</property> and select a <property>Package</property> using <emphasis><property>Browse</property></emphasis> button.</para>
-
-
+
+ <para>Enter some value in the text field (e.g. <property>value1</property>) and click on
+ <property>formMethod</property>.</para>
+ <para>Add a conversation using the New Seam Conversation wizard <emphasis><property>File >
+ New > Seam Form</property>.</emphasis></para>
+ <para>You should select a necessary project, type a name for <property>Seam
+ component</property>, <property>POJO class</property>, <property>Method</property>,
+ <property>Page</property> and select a <property>Package</property> using <emphasis>
+ <property>Browse</property>
+ </emphasis> button.</para>
+
+
<figure>
<title>New Seam Conversation Wizard</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_10.png"/>
</imageobject>
</mediaobject>
</figure>
+ <para>If you specify a class which already exists, the wizard will warn you about it.</para>
+
+ <figure>
+ <title>Wizard Warning against Existing File</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/seam_wizards/conversation_warning.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
<para>Conversation page was created in <property>WebContent</property> folder.</para>
-
+
<figure>
<title>Conversation Page in JBoss Tools HTML Editor.</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_11.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
-
- <para>Right click on Conversation page, select <emphasis><property>Run As > Run On Server</property>.</emphasis></para>
-
+
+ <para>Right click on Conversation page, select <emphasis><property>Run As > Run On
+ Server</property>.</emphasis></para>
+
<figure>
<title>Conversation Component</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_12.png"/>
</imageobject>
</mediaobject>
</figure>
-
+
<para>Conversation component was hot-deployed.</para>
- <para>Click on <property>Begin</property> and <property>Increment</property> buttons to check the conversation functionality.</para>
-
+ <para>Click on <property>Begin</property> and <property>Increment</property> buttons to
+ check the conversation functionality.</para>
+
</section>
-
-
+
+
<section id="seam_entity">
<title>New Seam Entity</title>
-
- <para>Entities cannot be hot-deployed, so we need to stop the server.</para>
- <para>Create an Entity using the New Entity wizard <emphasis><property>File > New > Seam Entity</property>.</emphasis> </para>
-
- <para>You should select a necessary project, type a name for <property>Entity class</property>, select a
- <property>Package</property> using <emphasis><property>Browse</property></emphasis> button, type a name for <property>Master Page</property> and <property>Page</property>.</para>
-
+
+ <para>Entities cannot be hot-deployed, so we need to stop the server.</para>
+ <para>Create an Entity using the New Entity wizard <emphasis><property>File > New > Seam
+ Entity</property>.</emphasis>
+ </para>
+
+ <para>You should select a necessary project, type a name for <property>Entity
+ class</property>, select a <property>Package</property> using <emphasis>
+ <property>Browse</property>
+ </emphasis> button, type a name for <property>Master Page</property> and
+ <property>Page</property>.</para>
+
<figure>
<title>New Seam Entity Wizard</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_13.png"/>
</imageobject>
</mediaobject>
</figure>
-
- <para>The Master Page and the Entity were created in <property>WebContent</property> folder.</para>
-
+
+ <para>If you specify a class which already exists, the wizard will warn you about it.</para>
+
<figure>
+ <title>Wizard Warning against Existing File</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/seam_wizards/entity_warning.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>The Master Page and the Entity were created in <property>WebContent</property>
+ folder.</para>
+
+ <figure>
<title>Master Page in JBoss Tools HTML Editor.</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_14.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
-
- <para>The Entity page is:</para>
-
+
+ <para>The Entity page is:</para>
+
<figure>
<title>Entity Page in JBoss Tools HTML Editor.</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_15.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
-
+
<para>Run the Entity page on server. This is what you get:</para>
-
+
<figure>
<title>Customer Page</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_16.png"/>
</imageobject>
</mediaobject>
</figure>
- <para>Let's create two customers <property>c1</property> and <property>c2</property>. Enter the name in the text field and press the <property>Save</property> button.
- Customer should be successfully created. Press <property>Done</property>. Do the same for <property>c2</property> customer. The result should be:</para>
-
+ <para>Let's create two customers <property>c1</property> and <property>c2</property>. Enter
+ the name in the text field and press the <property>Save</property> button. Customer
+ should be successfully created. Press <property>Done</property>. Do the same for
+ <property>c2</property> customer. The result should be:</para>
+
<figure>
<title>Two Customers Are Created</title>
- <mediaobject>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/seam_wizards/seam_wizards_17.png"/>
</imageobject>
</mediaobject>
- </figure>
- </section>
- </chapter>
+ </figure>
+ </section>
+</chapter>
15 years, 11 months
JBoss Tools SVN: r13767 - trunk/seam/docs/reference/en/images/seam_wizards.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-02-24 10:30:09 -0500 (Tue, 24 Feb 2009)
New Revision: 13767
Added:
trunk/seam/docs/reference/en/images/seam_wizards/action_warning.png
trunk/seam/docs/reference/en/images/seam_wizards/conversation_warning.png
trunk/seam/docs/reference/en/images/seam_wizards/entity_warning.png
trunk/seam/docs/reference/en/images/seam_wizards/form_warning.png
Log:
https://jira.jboss.org/jira/browse/JBDS-582 - adding new images;
Added: trunk/seam/docs/reference/en/images/seam_wizards/action_warning.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/seam_wizards/action_warning.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/seam_wizards/conversation_warning.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/seam_wizards/conversation_warning.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/seam_wizards/entity_warning.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/seam_wizards/entity_warning.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/seam_wizards/form_warning.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/seam_wizards/form_warning.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years, 11 months
JBoss Tools SVN: r13765 - in trunk: vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2009-02-24 10:07:25 -0500 (Tue, 24 Feb 2009)
New Revision: 13765
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/panelGrid.jsp.xml
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java
Log:
Superfluous table element was removed from VpePanelGrigCreator, junit was updated.
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/panelGrid.jsp.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/panelGrid.jsp.xml 2009-02-24 15:06:20 UTC (rev 13764)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/components/panelGrid.jsp.xml 2009-02-24 15:07:25 UTC (rev 13765)
@@ -1,40 +1,32 @@
<tests>
<test id="panelGrid">
- <TABLE>
- <TR>
- <TD>
- <DIV>
- <TABLE BORDER="0">
- <TBODY>
- <TR CLASS="oddRows">
- <TD>
- <SPAN> column 1 </SPAN>
- </TD>
- <TD>
- <SPAN> column 2 </SPAN>
- </TD>
- </TR>
- <TR CLASS="evenRows">
- <TD>
- <SPAN> 1 </SPAN>
- </TD>
- <TD>
- <SPAN> 2 </SPAN>
- </TD>
- </TR>
- <TR CLASS="oddRows">
- <TD>
- <SPAN> 3 </SPAN>
- </TD>
- <TD>
- <SPAN> 4 </SPAN>
- </TD>
- </TR>
- </TBODY>
- </TABLE>
- </DIV>
- </TD>
- </TR>
+ <TABLE BORDER="0">
+ <TBODY>
+ <TR CLASS="oddRows">
+ <TD>
+ <SPAN> column 1 </SPAN>
+ </TD>
+ <TD>
+ <SPAN> column 2 </SPAN>
+ </TD>
+ </TR>
+ <TR CLASS="evenRows">
+ <TD>
+ <SPAN> 1 </SPAN>
+ </TD>
+ <TD>
+ <SPAN> 2 </SPAN>
+ </TD>
+ </TR>
+ <TR CLASS="oddRows">
+ <TD>
+ <SPAN> 3 </SPAN>
+ </TD>
+ <TD>
+ <SPAN> 4 </SPAN>
+ </TD>
+ </TR>
+ </TBODY>
</TABLE>
</test>
</tests>
\ No newline at end of file
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java 2009-02-24 15:06:20 UTC (rev 13764)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java 2009-02-24 15:07:25 UTC (rev 13765)
@@ -205,18 +205,8 @@
}
}
- nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);
- nsIDOMElement selectionTable = visualDocument.createElement(HTML.TAG_TABLE);
- nsIDOMElement tr = visualDocument.createElement(HTML.TAG_TR);
- nsIDOMElement td = visualDocument.createElement(HTML.TAG_TD);
nsIDOMElement visualTable = visualDocument.createElement(HTML.TAG_TABLE);
-
- selectionTable.appendChild(tr);
- tr.appendChild(td);
- td.appendChild(div);
- div.appendChild(visualTable);
-
- VpeCreatorInfo creatorInfo = new VpeCreatorInfo(selectionTable);
+ VpeCreatorInfo creatorInfo = new VpeCreatorInfo(visualTable);
if (propertyCreators != null) {
for (int i = 0; i < propertyCreators.size(); i++) {
@@ -251,8 +241,10 @@
for (int i = 0; i < count; i++) {
Node node = children.item(i);
int type = node.getNodeType();
- if (type == Node.ELEMENT_NODE || type == Node.TEXT_NODE
- && node.getNodeValue().trim().length() > 0) {
+ if ((type == Node.ELEMENT_NODE)
+ || ((type == Node.TEXT_NODE) && (node != null)
+ && (node.getNodeValue() != null)
+ && (node.getNodeValue().trim().length() > 0))) {
switch (VpeCreatorUtil.getFacetType(node, pageContext)) {
case VpeCreatorUtil.FACET_TYPE_HEADER:
header = node;
15 years, 11 months
JBoss Tools SVN: r13764 - trunk/jsf/docs/userguide/en/images/visual_page.
by jbosstools-commits@lists.jboss.org
Author: msorokin
Date: 2009-02-24 10:06:20 -0500 (Tue, 24 Feb 2009)
New Revision: 13764
Added:
trunk/jsf/docs/userguide/en/images/visual_page/icon_1.png
trunk/jsf/docs/userguide/en/images/visual_page/icon_2.png
trunk/jsf/docs/userguide/en/images/visual_page/icon_3.png
Log:
https://jira.jboss.org/jira/browse/JBDS-596
The info about tabbed Page Design Option is updated.
Added: trunk/jsf/docs/userguide/en/images/visual_page/icon_1.png
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/docs/userguide/en/images/visual_page/icon_1.png
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/docs/userguide/en/images/visual_page/icon_2.png
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/docs/userguide/en/images/visual_page/icon_2.png
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/docs/userguide/en/images/visual_page/icon_3.png
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/docs/userguide/en/images/visual_page/icon_3.png
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
15 years, 11 months