JBoss Tools SVN: r12012 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2008-11-25 09:23:06 -0500 (Tue, 25 Nov 2008)
New Revision: 12012
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
Log:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-900
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2008-11-25 14:21:22 UTC (rev 12011)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2008-11-25 14:23:06 UTC (rev 12012)
@@ -337,6 +337,7 @@
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension targetID="org.hibernate.eclipse.console.HibernateConsolePerspective">
<actionSet id="org.hibernate.eclipse.launch.actionset"/>
+ <actionSet id="org.eclipse.jdt.ui.JavaActionSet"/>
<newWizardShortcut id="org.hibernate.eclipse.console.wizards.NewHibernateMappingFileWizard"/>
<newWizardShortcut id="org.hibernate.eclipse.console.wizards.NewConfigurationWizard"/>
<newWizardShortcut id="org.hibernate.eclipse.console.wizards.ConsoleConfigurationCreationWizard"/>
17 years, 4 months
JBoss Tools SVN: r12011 - trunk/portlet/docs/reference/en.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-11-25 09:21:22 -0500 (Tue, 25 Nov 2008)
New Revision: 12011
Modified:
trunk/portlet/docs/reference/en/master.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-479 - adding new chapters to master.xml;
Modified: trunk/portlet/docs/reference/en/master.xml
===================================================================
--- trunk/portlet/docs/reference/en/master.xml 2008-11-25 14:20:30 UTC (rev 12010)
+++ trunk/portlet/docs/reference/en/master.xml 2008-11-25 14:21:22 UTC (rev 12011)
@@ -5,7 +5,8 @@
[<!ENTITY intro SYSTEM "modules/intro.xml">
<!ENTITY installation SYSTEM "modules/installation.xml">
<!ENTITY starting_project SYSTEM "modules/starting_project.xml">
-<!ENTITY portlets_support SYSTEM "modules/portlets_support.xml">
+<!ENTITY jsf_seam_portlets SYSTEM "modules/jsf_seam_portlets.xml">
+<!ENTITY portlets_to_nonWTP_projects SYSTEM "modules/portlets_to_nonWTP_projects.xml">
<!ENTITY seamlink "../../seam/html_single/index.html">
<!ENTITY aslink "../../as/html_single/index.html">
@@ -54,6 +55,7 @@
&intro;
&installation;
&starting_project;
- &portlets_support;
+ &jsf_seam_portlets;
+ &portlets_to_nonWTP_projects;
</book>
17 years, 4 months
JBoss Tools SVN: r12010 - trunk/portlet/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-11-25 09:20:30 -0500 (Tue, 25 Nov 2008)
New Revision: 12010
Added:
trunk/portlet/docs/reference/en/modules/jsf_seam_portlets.xml
trunk/portlet/docs/reference/en/modules/portlets_to_nonWTP_projects.xml
Modified:
trunk/portlet/docs/reference/en/modules/intro.xml
trunk/portlet/docs/reference/en/modules/starting_project.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-479 - add new info about JBoss Portlets;
Modified: trunk/portlet/docs/reference/en/modules/intro.xml
===================================================================
--- trunk/portlet/docs/reference/en/modules/intro.xml 2008-11-25 14:16:41 UTC (rev 12009)
+++ trunk/portlet/docs/reference/en/modules/intro.xml 2008-11-25 14:20:30 UTC (rev 12010)
@@ -77,7 +77,7 @@
Bridge</para>
</entry>
<entry>
- <link linkend="adding_JsfSeam_portlet">Adding JSF/Seam Portlet to a
+ <link linkend="jsf_seam_portlets">Adding JSF/Seam Portlet to a
project</link>
</entry>
</row>
Added: trunk/portlet/docs/reference/en/modules/jsf_seam_portlets.xml
===================================================================
--- trunk/portlet/docs/reference/en/modules/jsf_seam_portlets.xml (rev 0)
+++ trunk/portlet/docs/reference/en/modules/jsf_seam_portlets.xml 2008-11-25 14:20:30 UTC (rev 12010)
@@ -0,0 +1,229 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="jsf_seam_portlets" xreflabel="jsf_seam_portlets">
+ <?dbhtml filename="jsf_seam_portlets.html"?>
+ <title>Adding JSF/Seam Portlets to a Dynamic Web Project</title>
+
+ <para>This chapter will explain how you can configure JSF and Seam Portlets within Dynamic Web
+ Project by using the wizards <property>JBoss Tools</property> provides.</para>
+
+ <section id="jsf_portlet">
+ <title>Adding JSF Portlet to a Dynamic Web Project</title>
+ <para>To add JSF Portlet to a Dynamic Web Project, you should set the Configuration to <emphasis>
+ <property>JavaServer Faces v1.1 Project</property>
+ </emphasis> or <emphasis>
+ <property>JavaServer Faces v1.2 Project</property>
+ </emphasis> and configure the JSF Portlet Facets in the <property>New Dynamic Web
+ Project wizard</property> by clicking the <emphasis>
+ <property>Modify</property>
+ </emphasis> button.</para>
+
+ <figure>
+ <title>Setting the JSF Configuration</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets1.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>On the Project Facets dialog you should select <property>JBoss Core Portlet</property>
+ and <property>JBoss JSF Portlet</property> check boxes.</para>
+
+ <figure>
+ <title>Enabling the Portlet Facets</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets2.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Next wizard page is for configuring JSF Capabilities. You can leave everything as it
+ is here.</para>
+
+ <figure>
+ <title>JSF Capabilities</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets3.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>To support Portlets in JSF/Seam applications <property>JBoss Tools</property> works
+ with <property>JBoss Portlet Bridge</property>. Thus on the next page you should add JSF Portlet
+ capabilities by pointing to the Portletbridge Runtime location.</para>
+
+ <figure>
+ <title>JSF Capabilities</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets4.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <tip>
+ <title>Tip:</title>
+
+ <para>You can download JBoss Portlet Bridge 1.0.0.B4 from <ulink
+ url="http://www.jboss.org/portletbridge/download/">here</ulink>.</para>
+ </tip>
+
+ <para>Next click <emphasis>
+ <property>Finish</property>
+ </emphasis> to organize the Project.</para>
+ <para id="add_jsf_portlet">To add JSF Portlet to generated project you should call the
+ <property>Create Portlet wizard</property> by navigating to <emphasis>
+ <property>New > Other > JBoss Tools Web > Portlet > JSF/Seam
+ Portlet</property>.</emphasis></para>
+
+ <figure>
+ <title>Calling New Portlet Wizard</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets5.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As you see, the Seam and JSF Portlet wizards are merged into one. We set JSF
+ Configuration for the project, so default values in this wizard will be set as for a JSF
+ portlet.</para>
+
+ <figure>
+ <title>Creating JSF Portlet</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets6.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Click <emphasis>
+ <property>Finish</property>
+ </emphasis> to complete JSF Portlet creation. Now you can deploy the project the same
+ way as it was <link linkend="deploying_to_portal">described above</link>.</para>
+
+ <para>In the Browser JSF Portlet looks as follows.</para>
+
+ <figure>
+ <title>JSF Portlet in the Browser</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets7.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </section>
+
+ <section id="seam_portlet">
+ <title>Adding Seam Portlet to a Dynamic Web Project</title>
+
+ <para>To add Seam Portlet to a Dynamic Web Project first you should organize New Dynamic Web
+ Project with the Configuration setting to <emphasis>
+ <property>JBoss Seam Portlet Project v2.0</property>.</emphasis></para>
+
+ <figure>
+ <title>Calling New Portlet Wizard</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets8.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>It will add all needed facets to your project. By clicking the <emphasis>
+ <property>Modify</property>
+ </emphasis> button you can observe the chosen configuration of facets as well as modify
+ it. As you can see, all JBoss Portlets are checked.</para>
+
+ <figure>
+ <title>Project Facets</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets9.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Next wizard pages are for adjusting the Project Web Modules and JSF Configuration.
+ They include default values, so you can skip them by pressing <emphasis>
+ <property>Next</property>.</emphasis></para>
+
+ <para>On the <property>Seam Facet</property> page <ulink url="&seamlink;#seamFacet">set
+ Connection Profile</ulink> and hit <emphasis>
+ <property>Next</property>.</emphasis></para>
+
+ <figure>
+ <title>Seam Facet Settings</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets10.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Last wizard page will prompt you to set the path to Portletbridge Runtime
+ location.</para>
+
+ <figure>
+ <title>Setting the Portletbridge Runtime</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets11.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <tip>
+ <title>Tip:</title>
+
+ <para>Thus you should have JBoss Portlet Bridge downloaded and extracted somewhere on
+ your hard drive. You can download JBoss Portlet Bridge 1.0.0.B4 from <ulink
+ url="http://www.jboss.org/portletbridge/download/">here</ulink>.</para>
+ </tip>
+
+ <para>Now, to add Seam Portlet to the project you should follow to <emphasis>
+ <property>New > Other > JBoss Tools Web > Portlet > JSF/Seam
+ Portlet</property>.</emphasis> This will call the wizard for creating JSF/Seam
+ Portlets.</para>
+
+ <figure>
+ <title>Calling the Create Portlet Wizard</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets12.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As we set Seam Configuration for the Dynamic Web Project, the wizard puts the values
+ as for Seam Portlet.</para>
+
+ <figure>
+ <title>Creating Seam Portlet</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets13.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>After creating the Seam Portlet, you should <link linkend="deploying_to_portal">deploy
+ the project to JBoss Portal</link> and start the Server. In a Browser
+ you'll see the following:</para>
+
+ <figure>
+ <title>Seam Portlet in the Browser</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets14.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Thus in this chapter you've learnt how to add JSF/Seam Portlets to a Dynamic
+ Web Project.</para>
+ </section>
+</chapter>
Added: trunk/portlet/docs/reference/en/modules/portlets_to_nonWTP_projects.xml
===================================================================
--- trunk/portlet/docs/reference/en/modules/portlets_to_nonWTP_projects.xml (rev 0)
+++ trunk/portlet/docs/reference/en/modules/portlets_to_nonWTP_projects.xml 2008-11-25 14:20:30 UTC (rev 12010)
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="portlets_to_nonWTP_projects" xreflabel="portlets_to_nonWTP_projects">
+ <?dbhtml filename="portlets_to_nonWTP_projects.html"?>
+ <title>Adding Portlets to non-WTP Projects</title>
+
+ <para>Starting from <property>JBoss Tools 3.0.0.Beta1</property> version the JBoss Portlet
+ wizards no longer require a WTP project to be able to create Portlets. Hence, in this
+ chapter we will consider the steps to perform in order to add a Portlet to non-WTP projects
+ such as JSF Project and Seam Project.</para>
+
+ <note>
+ <title>Note:</title>
+ <para>Please note, if the project does not have the proper portlet API jar's, the generated
+ classes will have compile errors.</para>
+ </note>
+
+ <section id="jsf_portlet_to_nonWTP_project">
+ <title>Adding a Portlet to the JSF Project</title>
+ <para>How to organize a JSF Project you can find out in our <ulink
+ url="&jsfreflink;#new_jsf_project">JSF Tools Reference Guide</ulink>. Just
+ remember to point Target Runtime to JBoss Portal directory location.</para>
+
+ <figure>
+ <title>Creating New JSF Project</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/non_wtp/non_wtp1.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Before adding a Portlet to the project you should enable necessary facets for it.
+ Right-click the created project and click <emphasis>
+ <property>Preferences</property>
+ </emphasis> to open the <property>Project Preferences</property> screen.</para>
+ <para>On the <property>Project Facets</property> page select the <emphasis>
+ <property>JBoss Core Portlet</property>
+ </emphasis> and <emphasis>
+ <property>JBoss JSF Portlet</property>
+ </emphasis> checkboxes. And then the screen will ask you to enable <emphasis>
+ <property>JavaServer Faces</property>
+ </emphasis> facet as well.</para>
+
+ <figure>
+ <title>Project Facets</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/non_wtp/non_wtp2.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Notice, <emphasis>
+ <property>"Further configuration required..."</property>
+ </emphasis> warning appears at the bottom of the screen. It means that you should click
+ it to configure JSF and JSF Portlet Capabilities in the project.</para>
+
+ <figure>
+ <title>JSF Capabilities</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/non_wtp/non_wtp3.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <figure>
+ <title>Project Facets</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/non_wtp/non_wtp4.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>After setting the path to Portletbridge Runtime location, click <emphasis>
+ <property>OK</property>
+ </emphasis> and then <emphasis>
+ <property>OK</property>
+ </emphasis> again.</para>
+
+ <para>Now you can add JSF Portlet to the generated JSF Project. How to do it we showed in
+ <link linkend="add_jsf_portlet">the previous chapter</link>.</para>
+ </section>
+
+ <section id="seam_portlet_to_nonWTP_project">
+ <title>Adding a Portlet to the Seam Project</title>
+ <para>First start a Seam Project by following to <emphasis>
+ <property>New > Other > Seam > Seam Web Project</property>. </emphasis> On the first
+ wizard page specify JBoss Portal directory location as <property>Target
+ Runtime</property> and <emphasis>
+ <property>JBoss Seam Portlet Project v2.0</property>
+ </emphasis> as <property>Configuration</property>.</para>
+
+ <figure>
+ <title>Project Facets</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/non_wtp/non_wtp5.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Next steps will be the same as we did for the Dynamic Web Project in the <link
+ linkend="seam_portlet">Adding Seam Portlet to a Dynamic Web Project</link>
+ section.</para>
+
+ <para>In conclusion, with this document you've learnt how to get started with <property>JBoss
+ Portal</property> using <property>JBoss Tools</property> suite of Eclipse plugins.
+ The above chapters walked you through the steps on how to organize a web project with
+ portlets which includes a sample staff and deploy it onto the <property>JBoss
+ Portal</property>.</para>
+
+ <para>If you still have questions or suggestions you are always welcome on our <ulink
+ url="http://www.jboss.com/index.html?module=bb&op=viewforum&f=201"
+ >Forum</ulink>. Your feedback will be very much appreciated.</para>
+ </section>
+</chapter>
Modified: trunk/portlet/docs/reference/en/modules/starting_project.xml
===================================================================
--- trunk/portlet/docs/reference/en/modules/starting_project.xml 2008-11-25 14:16:41 UTC (rev 12009)
+++ trunk/portlet/docs/reference/en/modules/starting_project.xml 2008-11-25 14:20:30 UTC (rev 12010)
@@ -5,7 +5,9 @@
<para>To get started with <property>JBoss Portal</property> and <property>JBoss
Tools</property>, you should first have a Web Project pointed to the JBoss Portal Runtime.
- Thus, this chapter is intended to give you a detail look at how you can get it.</para>
+ Thus, in this chapter we are going to show you how to create a
+ Dynamic Web Project, add Java Portlet to it and deploy it to the <property>JBoss
+ Portal</property>.</para>
<section id="creating_project_with_jbossportal">
<title>Creating a Dynamic Web Project</title>
@@ -25,12 +27,12 @@
</mediaobject>
</figure>
- <para>Fill in the name of your project. Next, click on the <emphasis>
- <property>New...</property>
+ <para>Fill out the name of your project. Next, click the <emphasis>
+ <property>New</property>
</emphasis> button in the <emphasis>
<property>Target Runtime</property>
- </emphasis> section to specify a new Target Runtime. Click <emphasis>Jboss 4.2
- Runtime</emphasis> and press <emphasis>
+ </emphasis> section to specify a new Target Runtime. Click <emphasis>JBoss 4.2
+ Runtime</emphasis> and press <emphasis>
<property>Next</property>.</emphasis></para>
<figure>
@@ -63,13 +65,19 @@
</mediaobject>
</figure>
- <para>Click on <emphasis>
- <property>Finish</property>.</emphasis> It returns you to the <property>New Dynamic
- Web Project</property> wizard where it's also necessary to set the project
+ <para>Click <emphasis>
+ <property>Finish</property>.</emphasis></para>
+
+ <para>On the next step you should click the <emphasis>
+ <property>Modify</property>
+ </emphasis> button next to the <property>Configuration</property> section to enable Portlet
+ Facets for the project.</para>
+
+ <!--para>where it's also necessary to set the project
Configuration. <property>JBoss Tools</property> (starting from 3.0.0.Alpha1) support the
JSR-168 Portlet Specification (Portlet 1.0), JSR-286 Portlet Specification (Portlet
2.0). Thus you can choose <emphasis>Portlet Project v1.0</emphasis> or <emphasis>Portlet
- Project v2.0</emphasis>.</para>
+ Project v2.0</emphasis>.</para-->
<figure>
<title>Setting the Project Configuration</title>
@@ -80,6 +88,21 @@
</mediaobject>
</figure>
+ <para>On this page you should check the <emphasis>
+ <property>JBoss Core Portlet</property>
+ </emphasis> and press <emphasis>
+ <property>OK</property>
+ </emphasis>.</para>
+
+ <figure>
+ <title>Enabling the Portlet Facet</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/starting_project/starting_project_4_a.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
<para>The last wizard page is for configuring web modules. Here all values are set, so you
can leave everything as it is.</para>
@@ -114,10 +137,165 @@
</mediaobject>
</figure>
- <para>Here <property>JBoos Tools</property> have added JBoss
- Portlet facet to the project, created an empty <emphasis>
+ <para>Here <property>JBoos Tools</property> added JBoss Portlet facet to the project,
+ created an empty <emphasis>
<property>portlet.xml</property>
- </emphasis> file and added the portlet library to the project classpath.</para>
+ </emphasis> file and added the Portlet library to the project classpath.</para>
</section>
+ <section id="adding_java_portlet">
+ <title>Adding a Java Portlet to the Project</title>
+
+ <para>At this point we'll show what the steps you need to proceed to add a new Java Portlet
+ to the project.</para>
+
+ <para>Call the <property>Create Portlet wizard</property> by selecting <emphasis>
+ <property>New > Other > JBoss Tools Web > Portlet > Java
+ Portlet</property>.</emphasis></para>
+
+ <figure>
+ <title>New Java Portlet</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_1.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>The wizard fills in the Web Project and Source Folder fields for you. Then you need to
+ specify the Java package and the Class name and click <emphasis>
+ <property>Next</property>
+ </emphasis>.</para>
+
+ <figure>
+ <title>Specifying Class File Destination</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_2.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>On the other page you will be able to set the display name of the Portlet, a title, a
+ description, the supported modes and init parameters.</para>
+
+ <figure>
+ <title>Specifying Class File Destination</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_3.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>On the next screen you can define which methods from
+ <emphasis>GenericPortlet</emphasis> you want to override.</para>
+
+ <figure>
+ <title>Specifying Class File Destination</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_4.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>The last screen lets you build <property>JBoss Portal</property> specific descriptors
+ to create an instance during the deployment and place it directly on the Portal.</para>
+
+ <figure>
+ <title>Specifying Class File Destination</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_5.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <tip>
+ <title>Tip:</title>
+
+ <para>If you uncheck the <emphasis> Create Portlet Instance</emphasis> checkbox,
+ <property>JBoss Tools</property> won't create the deployment elements
+ in the <emphasis> default-object.xml</emphasis> and <emphasis>
+ portlet-instances.xml</emphasis> files.</para>
+ </tip>
+
+ <para>Once Java Portlet is created, new resources have been added to the project structure.
+ As you can see on the figure below, it adds a Java Portlet class (<emphasis>
+ <property>TestPortlet.java</property>
+ </emphasis> in our case), <emphasis>
+ <property>default-object.xml</property>
+ </emphasis> and <emphasis>
+ <property>portlet-instances.xml</property>
+ </emphasis> files and updates <emphasis>
+ <property>portlet.xml</property>
+ </emphasis> as well.</para>
+
+ <figure>
+ <title>The structure of Web Project with Java Portlet created</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_6.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Thus, now the Project is ready to be built and deployed.</para>
+ </section>
+
+ <section id="deploying_to_portal">
+ <title>Deploying a Portlet to JBoss Portal</title>
+
+ <para>You can deploy the created project in the way you deploy any other Web Application.
+ Right click on the project and do <emphasis>
+ <property>Run As > Run On Server</property>
+ </emphasis> and accept the defaults. On the <emphasis>
+ <property>Add and Remove Projects</property>
+ </emphasis> page move the created Project to the right and click <emphasis>
+ <property>Finish</property>.</emphasis></para>
+
+ <figure>
+ <title>Deploying the Portlet Application</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_11.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>It will deploy the Portlet Web Application and start <property>JBoss
+ AS</property>.</para>
+
+ <tip>
+ <title>Tip:</title>
+
+ <para>You should use <emphasis>http://localhost:8080/portal</emphasis> URL to see your
+ Portlet in the Browser.</para>
+ </tip>
+
+ <figure>
+ <title>Java Portlet in the Browser Window</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_12.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <!--para>The JSF Portlet looks in the Browser as follows.</para>
+
+ <figure>
+ <title>JSF Portlet in the Browser Window</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_13.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure-->
+
+ <para>This way just created Portlet looks in the Browser. </para>
+
+ </section>
+
</chapter>
17 years, 4 months
JBoss Tools SVN: r12009 - trunk/portlet/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-11-25 09:16:41 -0500 (Tue, 25 Nov 2008)
New Revision: 12009
Removed:
trunk/portlet/docs/reference/en/modules/portlets_support.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-479 - deleting out-of-date info;
Deleted: trunk/portlet/docs/reference/en/modules/portlets_support.xml
===================================================================
--- trunk/portlet/docs/reference/en/modules/portlets_support.xml 2008-11-25 13:15:46 UTC (rev 12008)
+++ trunk/portlet/docs/reference/en/modules/portlets_support.xml 2008-11-25 14:16:41 UTC (rev 12009)
@@ -1,228 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<chapter id="portlets_support" xreflabel="portlets_support">
- <?dbhtml filename="portlets_support.html"?>
- <title>JBoss Portlet Support</title>
-
- <para><property>JBoss Tools</property> (starting from 3.0 Alpha) support the JSR-168 Portlet
- Specification (Portlet 1.0), JSR-286 Portlet Specification (Portlet 2.0) and work with
- <property>Portlet Bridge</property> for supporting Portlets in JSF/Seam applications.
- All these are performed through the Create New Portlet wizards.</para>
-
- <para>There are two kinds of the Create Portlet wizards: <property>Java Portlet</property> and
- <property>JSF/Seam Portlet</property>.</para>
-
- <para>How to create Java Portlet within just organized Dynamic Web Project we will show you
- further in this chapter.</para>
-
- <section id="adding_java_portlet">
- <title>Adding a Java Portlet to the Project</title>
-
- <para>Here, we'll show how you can add a new Java Portlet to our project.</para>
-
- <para>Call the New Java Portlet wizard by selecting <emphasis>
- <property>New > Other > JBoss Tools Web > Portlet > Java
- Portlet</property>.</emphasis></para>
-
- <figure>
- <title>New Java Portlet</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_1.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>The wizard fills in The Web Project and Source Folder fields for you. Then you need to
- specify the Java package and the Class name and click <emphasis>
- <property>Next</property>
- </emphasis>.</para>
-
- <figure>
- <title>Specifying Class File Destination</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_2.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>On the other page you will be able to set the display name of the Portlet, a title, a
- description, the supported modes and init parameters.</para>
-
- <figure>
- <title>Specifying Class File Destination</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_3.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>On the next screen you can define which methods from
- <emphasis>GenericPortlet</emphasis> you want to override.</para>
-
- <figure>
- <title>Specifying Class File Destination</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_4.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>The last screen lets you build <property>JBoss Portal</property> specific descriptors
- to create an instance during the deployment and place it directly on the Portal.</para>
-
- <figure>
- <title>Specifying Class File Destination</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_5.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <tip>
- <title>Tip:</title>
-
- <para>If you uncheck the <emphasis> Create Portlet Instance</emphasis> checkbox,
- <property>JBoss Tools</property> won't create the deployment elements
- in the <emphasis> default-object.xml</emphasis> and <emphasis>
- portlet-instances.xml</emphasis> files.</para>
- </tip>
-
- <para>Once Java Portlet is created, new resources have been added to the project structure.
- As you can see on the figure below, it adds a Java Portlet class (<emphasis>
- <property>TestPortlet.java</property>
- </emphasis> in our case), <emphasis>
- <property>default-object.xml</property>
- </emphasis> and <emphasis>
- <property>portlet-instances.xml</property>
- </emphasis> files and updates <emphasis>
- <property>portlet.xml</property>
- </emphasis> as well.</para>
-
- <figure>
- <title>The structure of Web Project with Java Portlet created</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_6.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>Thus, now the Project is ready to be built and deployed.</para>
- </section>
-
- <section id="adding_JsfSeam_portlet">
- <title>Adding JSF/Seam Portlets</title>
-
- <para>What comes to JSF/Seam Portlets, you need to have a Web Project with enabled JSF/Seam
- Portlet Facets. Thus in this case when starting a new Dynamic Web Project, you should
- point to <emphasis>JBoss JSF/Seam Portlet Project v1.0</emphasis> (or
- <emphasis>v2.0</emphasis>) Configuration respectively.</para>
-
- <figure>
- <title>Dynamic Web Project with JSF/Seam Portlet Facet</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_7.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>To create Portlet in the JSF/Seam Project you should go to <emphasis>
- <property>New > Other > JBoss Tools Web > Portlet > JSF/Seam
- Portlet</property>.</emphasis></para>
-
- <figure>
- <title>Calling the JSF/Seam Portlet Wizard</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_8.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>If a project contains the Seam Portlet facet, default values in the wizard will be set
- as for a Seam Portlet.</para>
-
- <figure>
- <title>JBoss JSF/Seam Portlet Wizard Page with JSF defaults</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_9.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>Otherwise, the default values are as defined for a JSF Portlet.</para>
-
- <figure>
- <title>JBoss JSF/Seam Portlet Wizard Page with Seam defaults</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_10.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- </section>
-
- <section>
- <title>Deploying a Portlet to JBoss Portal</title>
-
- <para>You can deploy the created project in the way you deploy any other Web Application.
- Right click on the project and do <emphasis>
- <property>Run As > Run On Server</property>
- </emphasis> and accept the defaults. On the <emphasis>
- <property>Add and Remove Projects</property>
- </emphasis> page move the created Project to the right and click <emphasis>
- <property>Finish</property>.</emphasis></para>
-
- <figure>
- <title>Deploying the Portlet Application</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_11.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>It will deploy the Portlet Web Application and start <property>JBoss AS</property>.</para>
-
- <tip>
- <title>Tip:</title>
-
- <para>You should use <emphasis>http://localhost:8080/portal</emphasis> URL to see your
- Portlet in the Browser.</para>
- </tip>
-
- <figure>
- <title>Java Portlet in the Browser Window</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_12.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>The JSF Portlet looks in the Browser as follows.</para>
-
- <figure>
- <title>JSF Portlet in the Browser Window</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_13.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>With this document you've learnt how to get started with <property>JBoss
- Portal</property> using <property>JBoss Tools</property> suite of Eclipse plugins. The
- above chapters walked you through the steps on how to organize a web project with portlets
- which includes a sample staff and deploy it onto the <property>JBoss Portal</property>.</para>
-
- <para>If you still have questions or suggestions you are always welcome on our <ulink
- url="http://www.jboss.com/index.html?module=bb&op=viewforum&f=201"
- >Forum</ulink>. Your feedback will be very much appreciated.</para>
- </section>
-</chapter>
17 years, 4 months
JBoss Tools SVN: r12008 - trunk/vpe/plugins/org.jboss.tools.vpe.html/templates.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-11-25 08:15:46 -0500 (Tue, 25 Nov 2008)
New Revision: 12008
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
Log:
corrected some elements and committed some changes which was offered by yzhishko
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2008-11-25 10:22:01 UTC (rev 12007)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2008-11-25 13:15:46 UTC (rev 12008)
@@ -311,7 +311,7 @@
<vpe:tag name="button" case-sensitive="no">
<vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class,value,dir">
+ <vpe:copy attrs="id,style,class,value,dir,disable">
<!--vpe:attribute name="disabled" value="on"/-->
</vpe:copy>
<!--span class="__button__tag" style="{@style}">
@@ -1100,7 +1100,7 @@
<vpe:tag name="input" case-sensitive="no">
<vpe:if test="(@type='checkbox')|(@type='radio')">
<vpe:template children="no" modify="no">
- <vpe:copy attrs="id,style,class,type,checked">
+ <vpe:copy attrs="id,style,class,type,checked,disabled">
<!--vpe:attribute name="disabled" value="disabled"/-->
</vpe:copy>
<vpe:dnd>
@@ -1110,7 +1110,7 @@
</vpe:if>
<vpe:if test="(@type='submit')|(@type='button')">
<vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,type,value,style,class,dir" />
+ <vpe:copy attrs="id,type,value,style,class,dir,disabled" />
<!--span class="__button__tag" style="{@style}">
<nobr><vpe:value expr="{@value}"/></nobr>
</span-->
@@ -1128,7 +1128,7 @@
<vpe:if test="@type='reset'">
<vpe:if test="@value=''">
<vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,type,checked,class,style,dir">
+ <vpe:copy attrs="id,type,checked,class,style,dir,disabled">
<vpe:attribute name="value" value="Reset" />
</vpe:copy>
<!--span class="__button__tag" style="{@style}">
@@ -1143,7 +1143,7 @@
</vpe:if>
<vpe:if test="not(@value='')">
<vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,type,checked,value,class,style" />
+ <vpe:copy attrs="id,type,checked,value,class,style,disabled" />
<!--span class="__button__tag" style="{@style}">
<nobr><vpe:value expr="{@value}"/></nobr>
</span-->
@@ -1155,7 +1155,7 @@
<vpe:if test="@type='file'">
<vpe:template children="no" modify="no">
<input type="file" value="{@value}"
- class="{@styleClass}" style="{@style}" size="{@size}" />
+ class="{@styleClass}" style="{@style}" size="{@size}" disabled="{@disabled}" />
<vpe:resize>
<vpe:width width-attr="style.width" />
<vpe:height height-attr="style.height" />
@@ -1176,7 +1176,7 @@
</vpe:template>
</vpe:if>
<vpe:template children="no" modify="no">
- <vpe:copy attrs="id,type,style,class,value,size,dir" />
+ <vpe:copy attrs="id,type,style,class,value,size,dir,disabled" />
<!--span class="__input__tag" style="{@style}">
<nobr><vpe:value expr="{@value}"/></nobr>
</span-->
@@ -1431,7 +1431,7 @@
<vpe:tag name="optgroup" case-sensitive="no">
<vpe:template children="yes" modify="no">
- <vpe:copy attrs="id,style,class,label,dir"/>
+ <vpe:copy attrs="id,style,class,label,dir,disabled"/>
<vpe:dnd>
<vpe:drop container="yes">
<vpe:container-child tag-name="del" />
@@ -1444,7 +1444,7 @@
<vpe:tag name="option" case-sensitive="no">
<vpe:template children="yes" modify="yes">
- <vpe:copy attrs="id,style,class,value,label,dir" />
+ <vpe:copy attrs="id,style,class,value,label,dir,disabled,selected" />
</vpe:template>
</vpe:tag>
17 years, 4 months
JBoss Tools SVN: r12007 - trunk/vpe/plugins/org.jboss.tools.vpe.html/templates.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-11-25 05:22:01 -0500 (Tue, 25 Nov 2008)
New Revision: 12007
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
Log:
corrected "object" tag
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2008-11-25 10:10:00 UTC (rev 12006)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2008-11-25 10:22:01 UTC (rev 12007)
@@ -1403,8 +1403,16 @@
</vpe:tag>
<vpe:tag name="object" case-sensitive="no">
- <vpe:template children="no" modify="no" />
- </vpe:tag>
+ <!-- <vpe:template children="no" modify="no" />-->
+ <vpe:template children="yes" modify="no">
+ <vpe:copy
+ attrs="align,classid,code,codebase,codetype,data,height,hspace,type,vspace,width" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="param" />
+ <vpe:container-child tag-name="object" />
+ </vpe:drop>
+ </vpe:template>
+</vpe:tag>
<vpe:tag name="ol" case-sensitive="no">
<vpe:template children="yes" modify="no">
17 years, 4 months
JBoss Tools SVN: r12006 - trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/ca.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2008-11-25 05:10:00 -0500 (Tue, 25 Nov 2008)
New Revision: 12006
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/ca/SeamELContentAssistJbide1676Test.java
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/ca/SeamELContentAssistTest.java
Log:
JBIDE-3172 Seam EL Hyper Links don't not recognize "var" attributes in JSF tags
JUnit TestCases are updated due to meet the latest changes in OpenOns and Test Project configuration.
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/ca/SeamELContentAssistJbide1676Test.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/ca/SeamELContentAssistJbide1676Test.java 2008-11-25 10:07:57 UTC (rev 12005)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/ca/SeamELContentAssistJbide1676Test.java 2008-11-25 10:10:00 UTC (rev 12006)
@@ -37,6 +37,8 @@
private static final String EL_START_TEMPLATE = "#{";
private static final String[] VALID_SEAM_EL_PROPOSALS = new String[] {
+ "TestSeamELContentAssistEntityManagerFactory",
+ "fullPostList",
"actor",
"applicationContext",
"authenticator",
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/ca/SeamELContentAssistTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/ca/SeamELContentAssistTest.java 2008-11-25 10:07:57 UTC (rev 12005)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/ca/SeamELContentAssistTest.java 2008-11-25 10:10:00 UTC (rev 12006)
@@ -58,7 +58,7 @@
*/
public void testFrameworkComponents() {
assertTrue("Test project \"" + PROJECT_NAME + "\" is not loaded", (project != null));
- checkProposals("/WebContent/frameworkComponents.xhtml", 684, new String[]{"fullPostList.resultList", "fullPostList.next"}, false);
+ checkProposals("/WebContent/frameworkComponents.xhtml", 698, new String[]{"fullPostList.resultList", "fullPostList.next"}, false);
}
/**
@@ -99,6 +99,7 @@
private static final String[] VALID_SEAM_EL_PROPOSALS = new String[] {
"TestSeamELContentAssistEntityManagerFactory",
+ "fullPostList",
"actor",
"applicationContext",
"authenticator",
@@ -528,7 +529,7 @@
if (filter.indexOf("#") == -1) {
filteredValidProposals = renewWithPrefixAndPostfix(filteredValidProposals, "#{", "}");
} else if (filter.indexOf("#{") == -1) {
- filteredValidProposals = renewWithPrefixAndPostfix(filteredValidProposals, "{", "}");
+ filteredValidProposals = renewWithPrefixAndPostfix(filteredValidProposals, "{", /*"}"*/"");
}
17 years, 4 months
JBoss Tools SVN: r12005 - trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-11-25 05:07:57 -0500 (Tue, 25 Nov 2008)
New Revision: 12005
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/a.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/address.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/body.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/body.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h1.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h1.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h2.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h2.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h3.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h3.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h4.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h4.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h5.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h5.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h6.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h6.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/head.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/head.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/html.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/html.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/title.html.xml
Removed:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/basic.html
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/a.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/address.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/link.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/style.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/title.html
Log:
https://jira.jboss.org/jira/browse/JBIDE-2854
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/a.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/a.html 2008-11-25 10:02:59 UTC (rev 12004)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/a.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -5,7 +5,8 @@
<h1>a</h1>
-<a href="http://www.jboss.org">link </a>
+<a class="aClass" id="a" dir="ltr" shape="rect" style="color: red;"
+ href="http://www.jboss.org">link </a>
</body>
</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/a.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/a.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/a.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,8 @@
+<tests>
+ <test id="a">
+ <A DIR="ltr" STYLE="color: red; -moz-user-modify: read-write;"
+ CLASS="aClass">
+ <SPAN>link</SPAN>
+ </A>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/address.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/address.html 2008-11-25 10:02:59 UTC (rev 12004)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/address.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -5,7 +5,7 @@
<h1>address</h1>
-<address>address</address>
+<address class="addressClass" dir="ltr" id="address" style="color: red;">address</address>
</body>
</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/address.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/address.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/address.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="address">
+ <ADDRESS CLASS="addressClass" DIR="ltr" ID="address" STYLE="color: red; -moz-user-modify: read-write;">
+<SPAN>
+address
+</SPAN>
+</ADDRESS>
+ </test>
+</tests>
\ No newline at end of file
Deleted: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/basic.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/basic.html 2008-11-25 10:02:59 UTC (rev 12004)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/basic.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -1,9 +0,0 @@
-<html>
-<head></head>
-
-<body>
-
-<h1>html,head,body,h1</h1>
-
-</body>
-</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/body.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/body.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/body.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,9 @@
+<html>
+<head></head>
+
+<body id="body" dir="ltr" style="color:red;" alink="green" background="red" bgcolor="black" class="bodyClass" bottommargin="30" leftmargin="30" link="grey" rightmargin="30" topmargin="30" vlink="white" text="yellow" >
+
+<h1>body</h1>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/body.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/body.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/body.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,11 @@
+<tests>
+ <test id="body">
+ <DIV STYLE="" >
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ body
+ </SPAN>
+ </H1>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h1.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h1.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h1.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,9 @@
+<html>
+<head></head>
+
+<body>
+
+<h1 align="left" class="h1Class" dir="ltr" id="h1" style="color: red;">h1</h1>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h1.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h1.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h1.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="h1">
+ <H1 ALIGN="left" CLASS="h1Class" DIR="ltr" ID="h1"
+ STYLE="color: red; -moz-user-modify: read-write;">
+ <SPAN>
+ h1
+ </SPAN>
+ </H1>
+ </test>
+</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h2.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h2.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h2.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,9 @@
+<html>
+<head></head>
+
+<body>
+
+<h2 align="left" class="h1Class" dir="ltr" id="h2" style="color: red;">h2</h2>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h2.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h2.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h2.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="h2">
+ <H2 ALIGN="left" CLASS="h1Class" DIR="ltr" ID="h2"
+ STYLE="color: red; -moz-user-modify: read-write;">
+ <SPAN>
+ h2
+ </SPAN>
+ </H2>
+ </test>
+</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h3.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h3.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h3.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,9 @@
+<html>
+<head></head>
+
+<body>
+
+<h3 align="left" class="h1Class" dir="ltr" id="h3" style="color: red;">h3</h3>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h3.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h3.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h3.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="h3">
+ <H3 ALIGN="left" CLASS="h1Class" DIR="ltr" ID="h3"
+ STYLE="color: red; -moz-user-modify: read-write;">
+ <SPAN>
+ h3
+ </SPAN>
+ </H3>
+ </test>
+</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h4.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h4.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h4.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,9 @@
+<html>
+<head></head>
+
+<body>
+
+<h4 align="left" class="h1Class" dir="ltr" id="h4" style="color: red;">h4</h4>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h4.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h4.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h4.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="h4">
+ <H4 ALIGN="left" CLASS="h1Class" DIR="ltr" ID="h4"
+ STYLE="color: red; -moz-user-modify: read-write;">
+ <SPAN>
+ h4
+ </SPAN>
+ </H4>
+ </test>
+</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h5.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h5.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h5.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,9 @@
+<html>
+<head></head>
+
+<body>
+
+<h5 align="left" class="h1Class" dir="ltr" id="h5" style="color: red;">h5</h5>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h5.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h5.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h5.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="h5">
+ <H5 ALIGN="left" CLASS="h1Class" DIR="ltr" ID="h5" STYLE="color: red; -moz-user-modify: read-write;">
+<SPAN>
+h5
+</SPAN>
+</H5>
+ </test>
+</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h6.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h6.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h6.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,9 @@
+<html>
+<head></head>
+
+<body>
+
+<h6 align="left" class="h1Class" dir="ltr" id="h6" style="color: red;">h6</h6>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h6.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h6.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/h6.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="h6">
+<H6 ALIGN="left" CLASS="h1Class" DIR="ltr" ID="h6" STYLE="color: red; -moz-user-modify: read-write;">
+<SPAN>
+h6
+</SPAN>
+</H6>
+ </test>
+</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/head.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/head.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/head.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,9 @@
+<html>
+<head id="head" dir="ltr"></head>
+
+<body>
+
+<h1>head</h1>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/head.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/head.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/head.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="head">
+ <DIV STYLE="display: none; -moz-user-modify: read-only;"><BR VPE:PSEUDO-ELEMENT="yes" STYLE="font-style: italic; color: green; -moz-user-modify: read-only;"/>
+
+</DIV>
+ </test>
+</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/html.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/html.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/html.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,9 @@
+<html dir="ltr" id="html">
+<head></head>
+
+<body>
+
+<h1>html</h1>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/html.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/html.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/html.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,18 @@
+<tests>
+ <test id="html">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <DIV STYLE="display: none; -moz-user-modify: read-only;">
+ <BR VPE:PSEUDO-ELEMENT="yes"
+ STYLE="font-style: italic; color: green; -moz-user-modify: read-only;" />
+
+ </DIV>
+ <DIV STYLE="">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ html
+ </SPAN>
+ </H1>
+ </DIV>
+ </DIV>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html 2008-11-25 10:02:59 UTC (rev 12004)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -5,7 +5,7 @@
<h1>img</h1>
-<img alt="img" src="/img/image.jpeg">
+<img alt="img" src="img/image.jpeg" id="img" align="top" class="imgClass" border="10" dir="ltr" height="100" hspace="20" ismap="ismap" style="color:red;" vspace="10" width="100" >
</body>
</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,6 @@
+<tests>
+ <test id="img">
+ <IMG WIDTH="100" VSPACE="10" HSPACE="20" HEIGHT="100" BORDER="10" ALIGN="top" ALT="img" ID="img" CLASS="imgClass" DIR="ltr" ISMAP="ismap" STYLE="color: red;" SRC="/.*htmlTest/WebContent/pages/components/core/img/image.jpeg/"/>
+
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/link.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/link.html 2008-11-25 10:02:59 UTC (rev 12004)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/link.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -1,6 +1,6 @@
<html>
<head>
-<link rel="stylesheet" type="text/css" href="/css/stylesheet.css">
+<link rel="stylesheet" type="text/css" href="/css/stylesheet.css" dir="ltr" id="link">
</head>
<body class="someStyle">
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html 2008-11-25 10:02:59 UTC (rev 12004)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -6,7 +6,7 @@
<img src="/img/image.jpeg" usemap="#map">
-<map name="map">
+<map name="map" id="map" dir="ltr" class="mapClass" style="color:red;" >
<area href="/">
</map>
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/map.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="map">
+ <MAP NAME="map" ID="map" DIR="ltr" CLASS="mapClass"
+ STYLE="color: red; -moz-user-modify: read-only;">
+ </MAP>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html 2008-11-25 10:02:59 UTC (rev 12004)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -5,7 +5,9 @@
<h1>object,param</h1>
-<object classid="someClass" width="500" height="200">
+<object id="object" classid="someClass" width="500" height="200" align="top"
+ border="10" class="objectClass" dir="ltr" id="object"
+ style="color: red;" vspace="10">
<param name="someParam" value="5">
</object>
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/object.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="object">
+ <OBJECT WIDTH="500" VSPACE="10" HEIGHT="200" ALIGN="top"
+ CLASSID="someClass" STYLE="-moz-user-modify: read-only;" >
+ </OBJECT>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/style.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/style.html 2008-11-25 10:02:59 UTC (rev 12004)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/style.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -1,7 +1,7 @@
<html>
<head>
-<style type="text/css">
+<style type="text/css" id="style" >
H1 {
font-size: 120%;
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/title.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/title.html 2008-11-25 10:02:59 UTC (rev 12004)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/title.html 2008-11-25 10:07:57 UTC (rev 12005)
@@ -1,7 +1,7 @@
<html>
<head>
-<title>title</title>
+<title id="title">title</title>
</head>
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/title.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/title.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/title.html.xml 2008-11-25 10:07:57 UTC (rev 12005)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="title">
+ <H1 STYLE="-moz-user-modify: read-write;" >
+ title
+ </H1>
+ </test>
+</tests>
\ No newline at end of file
17 years, 4 months
JBoss Tools SVN: r12004 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2008-11-25 05:02:59 -0500 (Tue, 25 Nov 2008)
New Revision: 12004
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java
Log:
JBIDE-3172 Seam EL Hyper Links don't not recognize "var" attributes in JSF tags
Issue is fixed
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java 2008-11-25 08:16:18 UTC (rev 12003)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java 2008-11-25 10:02:59 UTC (rev 12004)
@@ -21,7 +21,6 @@
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.eclipse.jdt.core.IJavaElement;
-import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jface.text.BadLocationException;
@@ -45,6 +44,7 @@
import org.jboss.tools.common.el.core.resolver.ElVarSearcher;
import org.jboss.tools.common.el.core.resolver.TypeInfoCollector;
import org.jboss.tools.common.el.core.resolver.Var;
+import org.jboss.tools.common.el.core.resolver.TypeInfoCollector.MemberInfo;
import org.jboss.tools.seam.core.ISeamComponent;
import org.jboss.tools.seam.core.ISeamContextVariable;
import org.jboss.tools.seam.core.ISeamProject;
@@ -135,7 +135,7 @@
TypeInfoCollector.MemberInfo member = null;
boolean isArray = false;
if(var!=null) {
- member = resolveSeamEL(file, var.getElToken());
+ member = resolveSeamEL(file, var.getElToken(), true);
if(member!=null) {
if(!member.getType().isArray()) {
IType type = member.getMemberType();
@@ -218,9 +218,9 @@
* @throws BadLocationException
* @throws StringIndexOutOfBoundsException
*/
- public TypeInfoCollector.MemberInfo resolveSeamEL(IFile file, ELExpression operand) throws BadLocationException, StringIndexOutOfBoundsException {
+ public TypeInfoCollector.MemberInfo resolveSeamEL(IFile file, ELExpression operand, boolean varIsUsed) throws BadLocationException, StringIndexOutOfBoundsException {
if(!(operand instanceof ELInvocationExpression)) return null;
- ELOperandResolveStatus status = resolveELOperand(file, operand, true, false);
+ ELOperandResolveStatus status = resolveELOperand(file, operand, true, varIsUsed);
return status.getMemberOfResolvedOperand();
}
@@ -732,142 +732,21 @@
ISeamProject project, IFile file,
ELInvocationExpression expr) throws BadLocationException, StringIndexOutOfBoundsException {
List<IJavaElement> res = new ArrayList<IJavaElement>();
- if (expr == null
- || (expr.getType() == ELObjectType.EL_PROPERTY_INVOCATION
- && expr.getMemberName() == null)) {
- return res;
- }
+
+ ElVarSearcher varSearcher = new ElVarSearcher(file, this);
+ List<Var> vars = varSearcher.findAllVars(file, expr.getStartPosition());
- List<ISeamContextVariable> resolvedVariables = new ArrayList<ISeamContextVariable>();
- ScopeType scope = getScope(project, file);
- ELInvocationExpression left = expr;
-
- while(left != null) {
- List<ISeamContextVariable>resolvedVars = new ArrayList<ISeamContextVariable>();
- resolvedVars = resolveVariables(scope, left, left == expr, true);
- if (resolvedVars != null && !resolvedVars.isEmpty()) {
- resolvedVariables = resolvedVars;
- break;
+ ELOperandResolveStatus status = resolveELOperand(file, expr, true, vars, varSearcher);
+ if (status.isOK()) {
+ MemberInfo member = status.getMemberOfResolvedOperand();
+ IJavaElement el = member.getJavaElement();
+ if (el != null) {
+ res.add(el);
+ return res;
}
- left = (ELInvocationExpression)left.getLeft();
- }
-
- if(resolvedVariables.size() == 0) {
-
- ElVarSearcher varSearcher = new ElVarSearcher(this);
- List<Var> vars = varSearcher.findAllVars(file, expr.getStartPosition());
- String oldEl = expr.getText();
- Var var = varSearcher.findVarForEl(oldEl, vars, true);
- String suffix = "";
- String newEl = oldEl;
- if(var!=null) {
- TypeInfoCollector.MemberInfo member = resolveSeamEL(file, var.getElToken());
- if(member!=null && !member.getType().isArray()) {
- IType type = member.getMemberType();
- if(type!=null) {
- try {
- if(TypeInfoCollector.isInstanceofType(type, "java.util.Map")) {
- suffix = collectionAdditionForMapDataModel;
- } else {
- suffix = collectionAdditionForCollectionDataModel;
- }
- } catch (JavaModelException e) {
- SeamCorePlugin.getPluginLog().logError(e);
- }
- }
- }
- if(var.getElToken() != null) {
- newEl = var.getElToken().getText() + suffix + oldEl.substring(var.getName().length());
- ELExpression newOperand = parseOperand(newEl);
- if(newOperand instanceof ELInvocationExpression) {
- return getJavaElementsForELOperandTokens(project, file, (ELInvocationExpression)newOperand);
- }
- }
- }
-
-
}
- int i = 2;
- // Here we have a list of vars for some part of expression
- // OK. we'll proceed with members of these vars
- if (left == expr) {
- // First segment is the last one
- for (ISeamContextVariable var : resolvedVariables) {
- IMember member = SeamExpressionResolver.getMemberByVariable(var, true);
- if (member instanceof IJavaElement){
- res.add((IJavaElement)member);
- }
- }
- return res;
- }
-
- // First segment is found - proceed with next tokens
- List<TypeInfoCollector.MemberInfo> members = new ArrayList<TypeInfoCollector.MemberInfo>();
- for (ISeamContextVariable var : resolvedVariables) {
- TypeInfoCollector.MemberInfo member = SeamExpressionResolver.getMemberInfoByVariable(var, true);
- if (member != null && !members.contains(member))
- members.add(member);
- }
-
- if(left != null) while(left != expr) {
- left = (ELInvocationExpression)left.getParent();
- if (left != expr) { // inside expression
- members = resolveSegment(left, members);
- } else { // Last segment
- resolveLastSegment(expr, members, res);
- break;
- }
- }
-
return res;
}
-
- private List<TypeInfoCollector.MemberInfo> resolveSegment(ELInvocationExpression expr,
- List<TypeInfoCollector.MemberInfo> members) {
-
- LexicalToken lt = (expr instanceof ELPropertyInvocation)
- ? ((ELPropertyInvocation)expr).getName()
- : (expr instanceof ELMethodInvocation)
- ? ((ELMethodInvocation)expr).getName()
- : null;
- String name = lt != null ? lt.getText() : ""; // token.getText();
- if (expr.getType() == ELObjectType.EL_PROPERTY_INVOCATION) {
- // Find properties for the token
- List<TypeInfoCollector.MemberInfo> newMembers = new ArrayList<TypeInfoCollector.MemberInfo>();
- for (TypeInfoCollector.MemberInfo mbr : members) {
- TypeInfoCollector infos = mbr.getTypeCollector();
- List<TypeInfoCollector.MemberInfo> properties = infos.getProperties();
- for (TypeInfoCollector.MemberInfo property : properties) {
- StringBuffer propertyName = new StringBuffer(property.getName());
- if (property instanceof TypeInfoCollector.MethodInfo) { // Setter or getter
- propertyName.delete(0, 3);
- propertyName.setCharAt(0, Character.toLowerCase(propertyName.charAt(0)));
- }
- if (name.equals(propertyName.toString())) {
- newMembers.add(property);
- }
- }
- }
- members = newMembers;
- }
- if (expr.getType() == ELObjectType.EL_METHOD_INVOCATION) {
- // Find methods for the token
- List<TypeInfoCollector.MemberInfo> newMembers = new ArrayList<TypeInfoCollector.MemberInfo>();
- for (TypeInfoCollector.MemberInfo mbr : members) {
- TypeInfoCollector infos = mbr.getTypeCollector();
- List<TypeInfoCollector.MemberInfo> methods = infos.getMethods();
- for (TypeInfoCollector.MemberInfo method : methods) {
- if (method instanceof TypeInfoCollector.MethodInfo
- && name.equals(method.getName())) {
- newMembers.add(method);
- }
- }
- }
- members = newMembers;
- }
-
- return members;
- }
private void resolveLastSegment(ELInvocationExpression expr,
17 years, 4 months