JBoss Tools SVN: r29961 - branches/jbosstools-3.2.x/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-03-22 19:56:50 -0400 (Tue, 22 Mar 2011)
New Revision: 29961
Modified:
branches/jbosstools-3.2.x/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java
Log:
JBIDE-8608
https://issues.jboss.org/browse/JBIDE-8608
Modified: branches/jbosstools-3.2.x/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java
===================================================================
--- branches/jbosstools-3.2.x/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java 2011-03-22 23:45:42 UTC (rev 29960)
+++ branches/jbosstools-3.2.x/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java 2011-03-22 23:56:50 UTC (rev 29961)
@@ -423,6 +423,37 @@
assertTrue(errorList.toString(), errorList.length() == 0);
}
+ public void testContentBasedRouter() {
+ XModelObject object = getFileObject("esb-1.3", "jboss-esb-cbr.xml", ESBConstants.ENT_ESB_FILE_130);
+
+ StringBuffer errorList = new StringBuffer();
+
+ // 1. Drools
+ String cbrRouterPath = "Services/s/Actions/cbr-router";
+
+ String[][] orderDiscountRuleServiceAttrValues = {
+ {"cbr alias", "Drools"},
+ {"rule set", "/META-INF/drools/airport-code.drl"},
+ };
+ checkAttributes(object, cbrRouterPath, orderDiscountRuleServiceAttrValues, errorList);
+
+ String objectPath = cbrRouterPath + "/body.'org.jboss.soa.esb.message.defaultEntry'";
+ String[][] objectAttrValues = {
+ {"esb", "body.'org.jboss.soa.esb.message.defaultEntry'"},
+ };
+ checkAttributes(object, objectPath, objectAttrValues, errorList);
+
+ String routePath = cbrRouterPath + "/error-service";
+ String[][] routeAttrValues = {
+ {"service name", "error-service"},
+ {"service category", "com.example.soa"},
+ {"destination name", "ERROR"},
+ };
+ checkAttributes(object, routePath, routeAttrValues, errorList);
+
+ assertTrue(errorList.toString(), errorList.length() == 0);
+ }
+
XModelObject getFileObject(String parentPath, String xmlname) {
return getFileObject(parentPath, xmlname, ESBConstants.ENT_ESB_FILE_101);
}
13 years, 9 months
JBoss Tools SVN: r29960 - trunk/jsf/docs/userguide/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-03-22 19:45:42 -0400 (Tue, 22 Mar 2011)
New Revision: 29960
Modified:
trunk/jsf/docs/userguide/en-US/preferences.xml
Log:
"General editing"
Modified: trunk/jsf/docs/userguide/en-US/preferences.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/preferences.xml 2011-03-22 23:40:42 UTC (rev 29959)
+++ trunk/jsf/docs/userguide/en-US/preferences.xml 2011-03-22 23:45:42 UTC (rev 29960)
@@ -909,33 +909,33 @@
<itemizedlist>
<listitem>
<para>
- <emphasis> <property>Version</property> </emphasis> for setting the default JSF Environment
+ <guilabel>Version</guilabel> for setting the default JSF Environment
</para>
</listitem>
<listitem>
<para>
- <emphasis> <property>Project Template</property> </emphasis> so as <property>New JSF Project wizard</property> shows this template as default for the chosen JSF Environment
+ <guilabel>Project Template</guilabel> so as <property>New JSF Project wizard</property> shows this template as default for the chosen JSF Environment
</para>
</listitem>
<listitem>
<para>
- <emphasis> <property>Project Root</property> </emphasis> for specifying default location for a new JSF project
+ <guilabel>Project Root</guilabel> for specifying default location for a new JSF project
</para>
<para>
- If you check <emphasis> <property>Use Default Path</property> </emphasis> here, this box will be also checked in the <property>New JSF Project wizard</property>.
+ If you check <guilabel>Use Default Path</guilabel> here, this box will be also checked in the <guilabel>New JSF Project</guilabel> wizard.
</para>
</listitem>
<listitem>
<para>
- <emphasis> <property>Servlet Version</property> </emphasis> for setting the default Servlet version of a new JSF project
+ <guilabel>Servlet Version</guilabel> for setting the default Servlet version of a new JSF project
</para>
<para>
- Here it's also possible to define whether to register Web Context in <emphasis> <property>server.xml</property> </emphasis> while organizing a new project or not. Check the proper box in order to do that.
+ Here it's also possible to define whether to register Web Context in <filename>server.xml</filename> while organizing a new project or not. Check the proper box in order to do that.
</para>
</listitem>
</itemizedlist>
@@ -950,7 +950,7 @@
</figure>
<para>
- On the <emphasis> <property>Import Project</property> </emphasis> tab in the JSF Project screen you can determine the default Servlet version for the Import JSF Project wizard and also whether to register Web Context in <emphasis> <property>server.xml</property> </emphasis> or not.
+ On the <guilabel>Import Project</guilabel> tab in the JSF Project screen you can determine the default Servlet version for the Import JSF Project wizard and also whether to register Web Context in <filename>server.xml</filename> or not.
</para>
<figure>
@@ -997,7 +997,7 @@
</figure>
<para>
- The first two items control the background grid for the diagram. The next two items allow you to control the appearance of the labels for views (pages) and the transitions between views. For these two items clicking the <emphasis> <property>Change... </property> </emphasis>button allows you to assign a font with a dialog box.
+ The first two items control the background grid for the diagram. The next two items allow you to control the appearance of the labels for views (pages) and the transitions between views. For these two items clicking the <guibutton>Change...</guibutton>button allows you to assign a font with a dialog box.
</para>
<para>
@@ -1034,7 +1034,7 @@
</figure>
<para>
- On this page you can determine the format for a text output near to the decoration label for different Web resources. To change the value for selected element, click <emphasis> <property>Add Variable...</property> </emphasis> button next to <emphasis> <property>Format</property> </emphasis> field. Appeared wizard will prompt you to select one from the available list.
+ On this page you can determine the format for a text output near to the decoration label for different Web resources. To change the value for selected element, click <guibutton>Add Variable...</guibutton> button next to <guilabel>Format</guilabel> field. Appeared wizard will prompt you to select one from the available list.
</para>
<figure>
@@ -1055,7 +1055,7 @@
</para>
<para>
- On <emphasis> <property>Seam</property> </emphasis> screen you can add and remove Seam runtimes.
+ On <guilabel>Seam</guilabel> screen you can add and remove Seam runtimes.
</para>
<para>
@@ -1076,11 +1076,11 @@
<?dbhtml filename="SeamValidator.html"?>
<title>Seam Validator</title>
<para>
- The following preferences can be changed on the <menuchoice><guimenuitem>JBoss Tools</guimenuitem><guimenuitem> </guimenuitem><guimenuitem>Seam</guimenuitem><guimenuitem>Validator</guimenuitem></menuchoice> page.
+ The following preferences can be changed on the <menuchoice><guimenuitem>JBoss Tools</guimenuitem><guimenuitem>Seam</guimenuitem><guimenuitem>Validator</guimenuitem></menuchoice> page.
</para>
<para>
- In <emphasis> <property>Validator</property> </emphasis> panel you configure seam problems that will be processed by validator.
+ In <guilabel>Validator</guilabel> panel you configure seam problems that will be processed by validator.
</para>
<figure>
@@ -1131,7 +1131,7 @@
<?dbhtml filename="struts_automation.html"?>
<title>Struts Automation</title>
<para>
- On <emphasis> <property>Automation</property> </emphasis> panel you can modify default text for the Title Struts plug-in element, the Validator Struts plug-in element, and error message resource files.
+ On <guilabel>Automation</guilabel> panel you can modify default text for the Title Struts plug-in element, the Validator Struts plug-in element, and error message resource files.
</para>
<figure>
@@ -1182,7 +1182,7 @@
</para>
<para>
- On <emphasis> <property>Resource Insets</property> </emphasis> panel you determine default error messages for error resource files.
+ On <guilabel>Resource Insets</guilabel> panel you determine default error messages for error resource files.
</para>
<figure>
@@ -1203,7 +1203,7 @@
</para>
<para>
- In the<emphasis> <property>Customization</property> </emphasis> screen you configure Link Recognizer for Struts tags.
+ In the <guilabel>Customization</guilabel> screen you configure Link Recognizer for Struts tags.
</para>
<figure>
@@ -1224,7 +1224,7 @@
</para>
<para>
- On <emphasis> <property>Project</property> </emphasis> panel you define a template for a new Struts created project: servlet version, page template and so on.
+ On <guilabel>Project</guilabel> panel you define a template for a new Struts created project: servlet version, page template and so on.
</para>
<figure>
@@ -1237,7 +1237,7 @@
</figure>
<para>
- Selecting the Import Project tab in the Struts Project screen allows you to determine the default servlet version and whether to register Web Context in server.xml.
+ Selecting the Import Project tab in the Struts Project screen allows you to determine the default servlet version and whether to register Web Context in <filename>server.xml</filename>.
</para>
<figure>
@@ -1258,7 +1258,7 @@
</para>
<para>
- Select <emphasis> <property>Struts Support</property> </emphasis> screen if you want to configure Struts versions support settings.
+ Select <guilabel>Struts Support</guilabel> screen if you want to configure Struts versions support settings.
</para>
<figure>
@@ -1279,7 +1279,7 @@
</para>
<para>
- On <emphasis> <property>Struts Pages</property> </emphasis> panel you can add or remove Struts pages.
+ On <guilabel>Struts Pages</guilabel> panel you can add or remove Struts pages.
</para>
<figure>
@@ -1347,7 +1347,7 @@
</para>
<para>
- On Rules Configuration tab of <emphasis> <property>Verification</property> </emphasis> panel you can determine JSF and Struts rules.
+ On Rules Configuration tab of <guilabel>Verification</guilabel> panel you can determine JSF and Struts rules.
</para>
<figure>
@@ -1377,7 +1377,7 @@
<?dbhtml filename="View.html"?>
<title>Server Preferences</title>
<para>
- Preferences for <property>JBoss Server</property> and other servers can be changed on the <emphasis> <property>Server</property> </emphasis> page.
+ Preferences for <property>JBoss Server</property> and other servers can be changed on the <guilabel>Server</guilabel> page.
</para>
<figure>
13 years, 9 months
JBoss Tools SVN: r29959 - trunk/jsf/docs/userguide/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-03-22 19:40:42 -0400 (Tue, 22 Mar 2011)
New Revision: 29959
Modified:
trunk/jsf/docs/userguide/en-US/palette.xml
Log:
"General editing"
Modified: trunk/jsf/docs/userguide/en-US/palette.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/palette.xml 2011-03-22 23:30:59 UTC (rev 29958)
+++ trunk/jsf/docs/userguide/en-US/palette.xml 2011-03-22 23:40:42 UTC (rev 29959)
@@ -170,13 +170,13 @@
</para>
<para>
- To open the editor, click on the <guilabel>Palette Editor</guilabel> icon (
+ To open the editor, click on the <guilabel>Palette Editor</guilabel> icon (
<inlinemediaobject>
<imageobject>
<imagedata fileref="images/palette/palette_7.png"/>
</imageobject>
</inlinemediaobject>
- ).
+ ).
</para>
<para>
@@ -209,14 +209,14 @@
<itemizedlist>
<listitem>
<formalpara>
- <title>To work with a set of icons</title>
+ <title>To work with a set of icons</title>
<para>
- <guilabel>Icons</guilabel> is the root folder for the icon sets. The first step is creating the icon set. Right click on the <emphasis> <guilabel>Icons</guilabel> </emphasis> folder and select <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Create Set...</guimenuitem></menuchoice>.
+ <guilabel>Icons</guilabel> is the root folder for the icon sets. The first step is creating the icon set. Right click on the <guilabel>Icons</guilabel> folder and select <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Create Set...</guimenuitem></menuchoice>.
</para>
</formalpara>
-
+
<para>
- Set the value of the name in the <guilabel>Add Icons</guilabel> window and click the <guibutton>Finish</guibutton> button. A new element will appear in the list.
+ Set the value of the name in the <guilabel>Add Icons</guilabel> window and click the <guibutton> Finish </guibutton> button. A new element will appear in the list.
</para>
<figure>
@@ -229,18 +229,18 @@
</figure>
<para>
- Also you can delete the set. Right click on the set of icons that you wish to remove and select the <guimenuitem>Delete</guimenuitem> option from the pop-up menu or click the <keycap>Delete</keycap> keyboard button.
+ Also you can delete the set. Right click on the set of icons that you wish to remove and select the <guimenuitem>Delete</guimenuitem> option from the pop-up menu, or click the <keycap>Delete</keycap> keyboard button.
</para>
</listitem>
<listitem>
<formalpara>
- <title>To edit icons in the chosen set</title>
+ <title>To edit icons in the chosen set</title>
<para>
- When the set of icons is created, new icons can be imported to it. Choose the required set and select the option <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Import Icon...</guimenuitem></menuchoice> from the pop-up menu that appears after you right-click on a folder.
- </para>
+ When the set of icons is created, new icons can be imported to it. Choose the required set and select the option <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Import Icon...</guimenuitem></menuchoice> from the pop-up menu that appears after you right-click on a folder.
+ </para>
</formalpara>
-
+
<figure>
<title>Creating Icons</title>
<mediaobject>
@@ -251,20 +251,20 @@
</figure>
<para>
- Set the name of the icon and the path and click the <guibutton>Finish</guibutton> button.
+ Set the name of the icon and the path and click the <guibutton> Finish </guibutton> button.
</para>
</listitem>
<listitem>
<formalpara>
- <title>To work with a group of tag libraries</title>
+ <title>To work with a group of tag libraries</title>
<para>
- The first step in work with the editor is creating a group of libraries. It's very easy to do, right mouse button click on the <guilabel>Palette</guilabel> folder and select <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Create Group…</guimenuitem></menuchoice>
- </para>
+ The first step in working with the editor is creating a group of libraries. It's very easy to do, right click on the <guilabel>Palette</guilabel> folder and select <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Create Group…</guimenuitem></menuchoice>
+ </para>
</formalpara>
-
+
<para>
- Set a name of a group in the <guilabel>Create Group</guilabel> window and click the <guibutton>OK</guibutton> button. A new element will appear at the end of the list.
+ Set a name of a group in the <guilabel>Create Group</guilabel> window and click the <guibutton> OK </guibutton> button. A new element will appear at the end of the list.
</para>
<figure>
@@ -290,12 +290,12 @@
<listitem>
<formalpara>
- <title>To work with a tag library</title>
+ <title>To work with a tag library</title>
<para>
- The group maintains a list of tag libraries. If you'd like to create your own library, click right mouse button on the group and choose <guimenuitem>Create Group…</guimenuitem> option.
- </para>
+ The group maintains a list of tag libraries. If you would like to create your own library, right click on the group and select the <guimenuitem>Create Group…</guimenuitem> option.
+ </para>
</formalpara>
-
+
<figure>
<title>Creating a tag library</title>
<mediaobject>
@@ -306,7 +306,7 @@
</figure>
<para>
- After setting the attribute name and the path of the icon, click the <guibutton>Ok</guibutton> button.
+ After setting the attribute name and the path of the icon, click the <guibutton> OK </guibutton> button.
</para>
<note>
@@ -330,14 +330,12 @@
<listitem>
<formalpara>
- <title>To work with a tag element</title>
+ <title>To work with a tag element</title>
<para>
- When the library folder is created, new tags can be added to it. Choose the required library and select the option <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Create Macro…</guimenuitem></menuchoice> from the pop-up menu that appears after you right-click on a folder.
- </para>
+ When the library folder is created, new tags can be added to it. Choose the required library and select the <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Create Macro…</guimenuitem></menuchoice> option from the pop-up menu that appears after you right-click on a folder.
+ </para>
</formalpara>
-
-
<figure>
<title>Creating a tag element</title>
<mediaobject>
@@ -348,7 +346,7 @@
</figure>
<para>
- In the <guilabel>Add Palette Macro</guilabel> window you can configure the tag element. Attribute <guilabel>Name</guilabel> is mandatory to fill and it will be the name of the tag element. Other settings are optional. You can choose the icon and set the <guilabel>Start Text</guilabel> and the <guilabel>End Text</guilabel> for your tag element. If your tag text is too long, use the <guibutton>Change...</guibutton> button to see it all. For <guilabel>start text</guilabel> and <guilabel>end text</guilabel> there is a possibility to control the cursor position by using "|" symbol.
+ In the <guilabel>Add Palette Macro</guilabel> window you can configure the tag element. The <guilabel>Name</guilabel> attribute is mandatory, as it defines the name of the tag element. Other settings are optional. You can choose the icon and set the <guilabel>Start Text</guilabel> and the <guilabel>End Text</guilabel> for your tag element. If your tag text is too long, use the <guibutton> Change... </guibutton> button to see it all. The pipe ("|") symbole can be used to control the cursors position for the <guilabel>start text</guilabel> and <guilabel>end text</guilabel> values.
</para>
<figure>
@@ -361,7 +359,7 @@
</figure>
<para>
- After all the attributes are set, click the <guibutton>Finish</guibutton> button.
+ After all the attributes are set, click the <guibutton> Finish </guibutton> button.
</para>
<note>
@@ -372,7 +370,7 @@
</note>
<para>
- You are also allowed to edit or delete the tag. If you'd like to change the attributes of the tag or choose another icon for it, use the right editing window of the palette editor or the <guimenuitem>Edit...</guimenuitem> option from the pop-up menu. In order to remove the tag, right click on the tag that you wish to remove and chose the <guimenuitem>Delete</guimenuitem> option or click the <keycap>Delete</keycap> keyboard button.
+ You are also allowed to edit or delete the tag. If you would like to change the attributes of the tag or choose another icon for it, use the right editing window of the palette editor or the <guimenuitem>Edit...</guimenuitem> option from the pop-up menu. In order to remove the tag, right click on the tag that you wish to remove and chose the <guimenuitem>Delete</guimenuitem> option, or click the <keycap>Delete</keycap> keyboard button.
</para>
<important>
@@ -385,7 +383,7 @@
</itemizedlist>
<para>
- If you have changed any object in the tree view and you don't like the final result you can always use the <guibutton>Restore Defaults</guibutton> button. Click on it will restore defaults for the object selected and for its children elements. Please remember that the button will only restore data for objects defined in the default palette. If selected object is created by you, the button will be disabled. Child objects added by you will not be removed.
+ If you have changed any object in the tree view and you don't like the final result you can always use the <guibutton> Restore Defaults </guibutton> button. Clicking this button will restore defaults for the object selected and for its children elements. Please remember that the button will only restore data for objects defined in the default palette. If selected object is created by you, the button will be disabled. Child objects added by you will not be removed.
</para>
<para>
@@ -397,19 +395,19 @@
<?dbhtml filename="Show/Hide.html"?>
<title>Show/Hide</title>
<para>
- <guibutton>Show/Hide</guibutton> is a very useful feature that allows you to control the number of tag groups that are shown on the palette.
+ <guibutton> Show/Hide </guibutton> is a very useful feature that allows you to control the number of tag groups that are shown on the palette.
</para>
<itemizedlist>
<listitem>
<para>
- Click the <guibutton>Show/Hide</guibutton> button(
+ Click the <guibutton> Show/Hide </guibutton> button(
<inlinemediaobject>
<imageobject>
<imagedata fileref="images/palette/palette_10.png"/>
</imageobject>
</inlinemediaobject>
- ), at the top right side of the JBoss Tools Palette.
+ ), at the top right side of the JBoss Tools Palette.
</para>
</listitem>
</itemizedlist>
@@ -440,7 +438,7 @@
<itemizedlist>
<listitem>
<para>
- Click the <guibutton>OK</guibutton> button. The new groups will now be shown on the palette:
+ Click the <guibutton> OK </guibutton> button. The new groups will now be shown on the palette:
</para>
</listitem>
</itemizedlist>
@@ -463,7 +461,7 @@
<?dbhtml filename="Import.html"?>
<title>Import</title>
<para>
- The Import button lets you add a custom or 3rd party tag library to JBoss Tools Palette. Find out more information on how to add particular tags see the <xref
+ The <guibutton> Import </guibutton> button lets you add a custom or 3rd party tag library to JBoss Tools Palette. Find out more information on how to add particular tags see the <xref
linkend="ImportButton521"/> section.
<!--<link linkend="CreatingAndWorkingCustomCapability">Learn how to import</link>. -->
</para>
@@ -477,11 +475,11 @@
<?dbhtml filename="InsertingTagsIntoAJSPFile.html"?>
<title>Inserting Tags into a JSP File</title>
<para>
- A new tag can be added into any text file including jsp, htm, html and xhtml.
+ A new tag can be added into any text file including <filename>JSP</filename>, <filename>HTM</filename>, <filename>HTML</filename> and <filename>XHTML</filename>.
</para>
<para>
- Let's do it. Open your JSP file and place the cursor in a place where you'd like to add a tag and then click that tag in the palette. In the <guilabel>Insert Tag</guilabel> window that appears, you can set the value of <guilabel>general</guilabel> and <guilabel>advanced</guilabel> attributes of the tag that you choose.
+ Open your <filename>JSP</filename> file, place the cursor in a place where you would like to add a tag, and then click that tag in the palette. In the <guilabel>Insert Tag</guilabel> window that appears, you can set the value of <guilabel>general</guilabel> and <guilabel>advanced</guilabel> attributes of the tag that you choose.
</para>
<figure>
@@ -494,7 +492,7 @@
</figure>
<para>
- In the example below the <guibutton>commandButton</guibutton> tag has been inserted.
+ In the example below the <guibutton> commandButton </guibutton> tag has been inserted.
</para>
<figure>
@@ -527,7 +525,7 @@
</figure>
<para>
- Above you can see where the cursor position for <menuchoice><guimenuitem>HTML</guimenuitem><guimenuitem>Form</guimenuitem><guimenuitem>input</guimenuitem></menuchoice> is set. Thus after adding this tag into your file the cursor will be in the attribute "type". Then, you can straight use the combination of buttons <keycombo><keycap>Ctrl</keycap><keycap>Space</keycap></keycombo> to inquire about a prompting.
+ Above you can see where the cursor position for <menuchoice><guimenuitem>HTML</guimenuitem><guimenuitem>Form</guimenuitem><guimenuitem>input</guimenuitem></menuchoice> is set. After adding this tag into your file the cursor will be in the attribute <code>type</code>. At this point you can straight use the <keycombo><keycap>Ctrl</keycap><keycap>Space</keycap></keycombo> keyboard shortcut to display alist of possible values.
</para>
<figure>
@@ -569,7 +567,7 @@
<?dbhtml filename="DragAndDrop.html"?>
<title>Drag-and-Drop</title>
<para>
- Switch to the Web Projects view and expand the Tag Libraries folder. If the view is not active, select <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Show View</guimenuitem><guimenuitem>Web Projects</guimenuitem></menuchoice> from the menu bar.
+ Switch to the <guilabel>Web Projects</guilabel> view and expand the <guilabel>Tag Libraries</guilabel> folder. If the view is not active, select <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Show View</guimenuitem><guimenuitem>Web Projects</guimenuitem></menuchoice> from the menu bar.
</para>
<figure>
@@ -582,7 +580,7 @@
</figure>
<para>
- Also make sure that the JBoss Tools Palette is open. Select the tag library that you want to add and simply drag-and-drop it on to the JBoss Tools Palette.
+ Also make sure that the <guilabel>JBoss Tools Palette</guilabel> is open. Select the tag library that you want to add and simply drag-and-drop it on to the the <guilabel>JBoss Tools Palette</guilabel>.
</para>
<para>
@@ -599,7 +597,7 @@
</figure>
<para>
- Once you are finished, you will see the new tag library added to the JBoss Tools Palette.
+ Once you are finished, you will see the new tag library added to the <guilabel>JBoss Tools Palette</guilabel>.
</para>
<figure>
@@ -616,18 +614,20 @@
<?dbhtml filename="ImportButton.html"?>
<title>Import Button</title>
<para>
- The same you can do with <guibutton>Import</guibutton> button(
+ Tag libraries can also be imported with the <guibutton> Import </guibutton> button (
<inlinemediaobject>
<imageobject>
<imagedata fileref="images/palette/palette_6.png"/>
</imageobject>
</inlinemediaobject>
- ).You can see this button at the top right side of the JBoss Tools Palette.
+ ). This button is found at the top right side of the <guilabel>JBoss Tools Palette</guilabel>.
</para>
<para>
- By clicking on the <guibutton>Import</guibutton> button you will see the Import Tag window a similar like in the <xref
- linkend="Drag_and_Drop65332"/> method. Set the name and prefix of the library and Library URL. Also you need to set the Group name to which you'd like to add your tag library. And like in the previous method you can add it to an existing Group or create a new one. On this Import Tag form you can use <guibutton>Browse...</guibutton> button to locate the tag library that you want to add:
+ By clicking on the <guibutton> Import </guibutton> button you will see the <guilabel>Import Tag</guilabel> window a similar like in the Drag-and-Drop method (see <xref linkend="Drag_and_Drop65332"/>). Set the name and prefix of the library and Library URL. You also need to set the Group name to which you'd like to add your tag library.
+ </para>
+ <para>
+ Like in the previous method you can add it to an existing Group or create a new one. On this <guilabel>Import Tag</guilabel> form you can use <guibutton> Browse... </guibutton> button to locate the tag library that you want to add:
</para>
<figure>
13 years, 9 months
JBoss Tools SVN: r29958 - in trunk/esb/tests/org.jboss.tools.esb.core.test: src/org/jboss/tools/esb/core/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-03-22 19:30:59 -0400 (Tue, 22 Mar 2011)
New Revision: 29958
Added:
trunk/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.3/jboss-esb-cbr.xml
Modified:
trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java
Log:
JBIDE-8608
https://issues.jboss.org/browse/JBIDE-8608
Added: trunk/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.3/jboss-esb-cbr.xml
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.3/jboss-esb-cbr.xml (rev 0)
+++ trunk/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.3/jboss-esb-cbr.xml 2011-03-22 23:30:59 UTC (rev 29958)
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<jbossesb
+ xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml... http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schem...">
+ <services>
+ <service category="c" description="d" name="s">
+ <actions>
+ <action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="cbr-router">
+ <property name="cbrAlias" value="Drools"/>
+ <property name="ruleSet" value="/META-INF/drools/airport-code.drl"/>
+ <property name="ruleLanguage"/>
+ <property name="destinations">
+ <route-to destination-name="ERROR"
+ service-category="com.example.soa" service-name="error-service"/>
+ <route-to destination-name="SUCCESS"
+ service-category="com.example.soa" service-name="successful-record"/>
+ </property>
+ <property name="object-paths">
+ <object-path esb="body.'org.jboss.soa.esb.message.defaultEntry'" />
+ </property>
+ </action>
+ </actions>
+ </service>
+ </services>
+</jbossesb>
Property changes on: trunk/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.3/jboss-esb-cbr.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java 2011-03-22 23:30:11 UTC (rev 29957)
+++ trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java 2011-03-22 23:30:59 UTC (rev 29958)
@@ -423,6 +423,37 @@
assertTrue(errorList.toString(), errorList.length() == 0);
}
+ public void testContentBasedRouter() {
+ XModelObject object = getFileObject("esb-1.3", "jboss-esb-cbr.xml", ESBConstants.ENT_ESB_FILE_130);
+
+ StringBuffer errorList = new StringBuffer();
+
+ // 1. Drools
+ String cbrRouterPath = "Services/s/Actions/cbr-router";
+
+ String[][] orderDiscountRuleServiceAttrValues = {
+ {"cbr alias", "Drools"},
+ {"rule set", "/META-INF/drools/airport-code.drl"},
+ };
+ checkAttributes(object, cbrRouterPath, orderDiscountRuleServiceAttrValues, errorList);
+
+ String objectPath = cbrRouterPath + "/body.'org.jboss.soa.esb.message.defaultEntry'";
+ String[][] objectAttrValues = {
+ {"esb", "body.'org.jboss.soa.esb.message.defaultEntry'"},
+ };
+ checkAttributes(object, objectPath, objectAttrValues, errorList);
+
+ String routePath = cbrRouterPath + "/error-service";
+ String[][] routeAttrValues = {
+ {"service name", "error-service"},
+ {"service category", "com.example.soa"},
+ {"destination name", "ERROR"},
+ };
+ checkAttributes(object, routePath, routeAttrValues, errorList);
+
+ assertTrue(errorList.toString(), errorList.length() == 0);
+ }
+
XModelObject getFileObject(String parentPath, String xmlname) {
return getFileObject(parentPath, xmlname, ESBConstants.ENT_ESB_FILE_101);
}
13 years, 9 months
JBoss Tools SVN: r29957 - branches/jbosstools-3.2.x/esb/plugins/org.jboss.tools.esb.core/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-03-22 19:30:11 -0400 (Tue, 22 Mar 2011)
New Revision: 29957
Modified:
branches/jbosstools-3.2.x/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb-actions.meta
Log:
JBIDE-8608
https://issues.jboss.org/browse/JBIDE-8608
Modified: branches/jbosstools-3.2.x/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb-actions.meta
===================================================================
--- branches/jbosstools-3.2.x/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb-actions.meta 2011-03-22 23:25:32 UTC (rev 29956)
+++ branches/jbosstools-3.2.x/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb-actions.meta 2011-03-22 23:30:11 UTC (rev 29957)
@@ -60,29 +60,9 @@
</MAPPING>
</MAPPINGS>
<ICONS>
- <GROUP name="action">
- <GROUP name="new">
- <GROUP name="esb">
- <ICON name="file" path="plugin:org.jboss.tools.esb.core:images/esb/new_esb_file.gif"/>
- </GROUP>
- </GROUP>
- </GROUP>
<GROUP name="main">
<GROUP name="esb">
- <ICON name="action" path="plugin:org.jboss.tools.esb.core:images/esb/action.gif"/>
- <ICON name="actions" path="plugin:org.jboss.tools.esb.core:images/esb/action_list.gif"/>
- <ICON name="bus" path="plugin:org.jboss.tools.esb.core:images/esb/bus.gif"/>
- <ICON name="config" path="plugin:org.jboss.tools.esb.core:images/esb/config.gif"/>
- <ICON name="file" path="plugin:org.jboss.tools.esb.core:images/esb/esb_file.gif"/>
- <ICON name="filter" path="plugin:org.jboss.tools.esb.core:images/esb/filter.gif"/>
- <ICON name="listener" path="plugin:org.jboss.tools.esb.core:images/esb/listener.gif"/>
- <ICON name="listeners" path="images/file/closed_folder.gif"/>
- <ICON name="property" path="plugin:org.jboss.tools.esb.core:images/esb/property.gif"/>
- <ICON name="provider" path="plugin:org.jboss.tools.esb.core:images/esb/provider.gif"/>
- <ICON name="providers" path="images/file/closed_folder.gif"/>
- <ICON name="schedule" path="plugin:org.jboss.tools.esb.core:images/esb/schedule.gif"/>
- <ICON name="service" path="plugin:org.jboss.tools.esb.core:images/esb/service.gif"/>
- <ICON name="services" path="images/file/closed_folder.gif"/>
+ <ICON name="objectpath" path="plugin:org.jboss.tools.esb.core:images/esb/objectpath.gif"/>
</GROUP>
</GROUP>
</ICONS>
@@ -714,6 +694,7 @@
<XChildEntity name="ESBProperty"/>
<XChildEntity name="ESBPreRouteTo"/>
<XChildEntity name="ESBPreRouterNamespace"/>
+ <XChildEntity name="ESBPreObjectPath"/>
</XChildrenEntities>
<XEntityRenderer>
<ICONS>
@@ -835,6 +816,13 @@
<AttributeData AttributeName="expression" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Object Path..." kind="action" name="AddObjectPath">
+ <EntityData EntityName="ESBPreObjectPath">
+ <AttributeData AttributeName="esb"/>
+ </EntityData>
+ </XActionItem>
</XActionItem>
<XActionItemReference entity="ESBProperty" name="CopyActions"/>
<XActionItemReference entity="ESBProperty" name="DeleteActions"/>
@@ -1421,7 +1409,8 @@
default="org.jboss.soa.esb.actions.MessagePersister" name="class" xmlname="class">
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;save=always;pre=true;valueFilter=org.jboss.tools.esb.ui.editor.attribute.MessageStoreClassValueFilter"
+ <XModelAttribute
+ PROPERTIES="category=general;save=always;pre=true;valueFilter=org.jboss.tools.esb.ui.editor.attribute.MessageStoreClassValueFilter"
name="message store class" xmlname="message-store-class">
<Editor name="AccessibleJava"/>
</XModelAttribute>
@@ -3290,7 +3279,7 @@
<XChildrenEntities/>
<XEntityRenderer>
<ICONS>
- <ICON info="main.esb.property" type="main"/>
+ <ICON info="main.esb.objectpath" type="main"/>
</ICONS>
</XEntityRenderer>
<XModelAttributes>
13 years, 9 months
JBoss Tools SVN: r29956 - branches/jbosstools-3.2.x/esb/plugins/org.jboss.tools.esb.core/images/esb.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-03-22 19:25:32 -0400 (Tue, 22 Mar 2011)
New Revision: 29956
Added:
branches/jbosstools-3.2.x/esb/plugins/org.jboss.tools.esb.core/images/esb/objectpath.gif
Log:
JBIDE-8608
https://issues.jboss.org/browse/JBIDE-8608
Added: branches/jbosstools-3.2.x/esb/plugins/org.jboss.tools.esb.core/images/esb/objectpath.gif
===================================================================
(Binary files differ)
Property changes on: branches/jbosstools-3.2.x/esb/plugins/org.jboss.tools.esb.core/images/esb/objectpath.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
13 years, 9 months
JBoss Tools SVN: r29955 - trunk/jsf/docs/userguide/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-03-22 19:25:18 -0400 (Tue, 22 Mar 2011)
New Revision: 29955
Modified:
trunk/jsf/docs/userguide/en-US/editors.xml
trunk/jsf/docs/userguide/en-US/palette.xml
Log:
"General editing"
Modified: trunk/jsf/docs/userguide/en-US/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/editors.xml 2011-03-22 23:22:05 UTC (rev 29954)
+++ trunk/jsf/docs/userguide/en-US/editors.xml 2011-03-22 23:25:18 UTC (rev 29955)
@@ -2795,7 +2795,7 @@
</figure>
<para>
- You can also use a Source viewer for editing the file:
+ You can also use a <guilabel>Source</guilabel> viewer for editing the file:
</para>
<figure>
@@ -2843,7 +2843,7 @@
<section id="SourceView1">
<title>Source view</title>
<para>
- You can easily switch from Tree to Source by selecting the <guilabel>Source</guilabel> tab at the bottom of the editor.
+ You can easily switch from <guilabel>Tree</guilabel> to <guilabel>Source</guilabel> by selecting the <guilabel>Source</guilabel> tab at the bottom of the editor.
</para>
<figure>
@@ -2882,7 +2882,7 @@
</figure>
<para>
- Content assist is available when editing the file using the Source viewer:
+ Content assist is available when editing the file using the <guilabel>Source</guilabel> viewer:
</para>
<figure>
@@ -3205,7 +3205,7 @@
<section id="SupportforXMLSchema">
<title>Support for XML Schema</title>
<para>
- JBoss Developer Studio fully supports XML files based on schemas as well as DTDs:
+ JBoss Developer Studio fully supports <filename>XML</filename> files based on schemas as well as DTDs:
</para>
<figure>
Modified: trunk/jsf/docs/userguide/en-US/palette.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/palette.xml 2011-03-22 23:22:05 UTC (rev 29954)
+++ trunk/jsf/docs/userguide/en-US/palette.xml 2011-03-22 23:25:18 UTC (rev 29955)
@@ -12,7 +12,7 @@
</chapterinfo>
<title>JBoss Tools Palette</title>
<para>
- This chapter will introduce you to the functionality provided by <guilabel>JBoss Tools Palette</guilabel>. The Palette allows you to quickly and easily create your <filename>JSP</filename> or <filename>JSF</filename> pages. Now you can do it more faster without additional knowledge.
+ This chapter will introduce you to the functionality provided by <guilabel>JBoss Tools Palette</guilabel>. The Palette allows you to quickly and easily create your <filename>JSP</filename> or <filename>JSF</filename> pages.
</para>
<para>
@@ -22,7 +22,7 @@
<itemizedlist>
<listitem>
<para>
- Insert tags into a JSP or JSF page with one click
+ Insert tags into a <filename>JSP</filename> or <filename>JSF</filename> page with one click
</para>
</listitem>
@@ -34,7 +34,7 @@
</itemizedlist>
<para>
- The JBoss Tools Palette contains a developer's project tag libraries and provides possibility to add any tag libraries to it. Also you can choose a necessary one from the list of already existing tag libraries:
+ The <guilabel>JBoss Tools Palette</guilabel> contains a developer's project tag libraries and provides possibility to add any tag libraries to it. Also you can choose a necessary one from the list of already existing tag libraries:
</para>
<itemizedlist>
@@ -97,11 +97,11 @@
</figure>
<para>
- By default <guilabel>JBoss Tools Palette</guilabel> is not displayed. If you want to use it select <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Show View Other...</guimenuitem><guimenuitem>JBoss Tools Web</guimenuitem><guimenuitem>JBoss Tools Palette</guimenuitem></menuchoice> from the menu bar.
+ By default the <guilabel>JBoss Tools Palette</guilabel> is not displayed. If you want to use it select <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Show View Other...</guimenuitem><guimenuitem>JBoss Tools Web</guimenuitem><guimenuitem>JBoss Tools Palette</guimenuitem></menuchoice> from the menu bar.
</para>
<para>
- The standard <guilabel>Eclipse Palette</guilabel> is displayed by default in both Web Development and Seam perspectives. Now the standard <guilabel>Eclipse Palette</guilabel> is featured with all <guilabel>JBoss Tools Palette</guilabel> options and capabilities.
+ The standard <guilabel>Eclipse Palette</guilabel> is displayed by default in both <guilabel>Web Development</guilabel> and <guilabel>Seam</guilabel> perspectives. Now the standard <guilabel>Eclipse Palette</guilabel> is featured with all <guilabel>JBoss Tools Palette</guilabel> options and capabilities.
</para>
<para>
@@ -115,13 +115,13 @@
<itemizedlist>
<listitem>
<para>
- The standard <guilabel>Eclipse Palette</guilabel> is blank by default. Content of the palette is available only if Visual Page Editor is open and active, while JBoss Tools Palette always contains a predefined set of components.
+ The standard <guilabel>Eclipse Palette</guilabel> is blank by default. Content of the palette is available only if Visual Page Editor is open and active, while <guilabel>JBoss Tools Palette</guilabel> always contains a predefined set of components.
</para>
</listitem>
<listitem>
<para>
- The Expanded/Collapsed state of components in the standard Eclipse Palette is not global as in JBoss Tools Palette. State is associated with an instance of Visual Page Editor. It means that the state can be different for various files and each new file opened in Visual Page Editor will have the default state of Palette with all components collapsed.
+ The Expanded/Collapsed state of components in the standard <guilabel>Eclipse Palette</guilabel> is not global as in <guilabel>JBoss Tools Palette</guilabel>. State is associated with an instance of Visual Page Editor. It means that the state can be different for various files and each new file opened in Visual Page Editor will have the default state of Palette with all components collapsed.
</para>
</listitem>
</itemizedlist>
@@ -130,29 +130,25 @@
<?dbhtml filename="PaletteOptions.html"?>
<title>Palette Options</title>
<para>
- To facilitate your work, you can configure the Palette in your own way by selecting the corresponding icon on the Palette toolbar.
+ The Palette can be customized by using the following buttons on the Palette toolbar, which provide the following functionality:
</para>
- <para>
- There is a possibility to configure the JBoss Tools Palette:
- </para>
-
<itemizedlist>
<listitem>
<para>
- to edit the palette content by adding, removing or changing the palette elements
+ editing the palette content by adding, removing or changing the palette elements
</para>
</listitem>
<listitem>
<para>
- to show/hide groups, subgroups
+ showing or hiding groups and subgroups
</para>
</listitem>
<listitem>
<para>
- to import groups, subgroups
+ importing groups and subgroups
</para>
</listitem>
</itemizedlist>
@@ -170,11 +166,11 @@
<?dbhtml filename="PaletteEditor.html"?>
<title>Palette Editor</title>
<para>
- JBoss Tools Palette contains existing libraries of tags, thus the <guilabel>Palette editor</guilabel> is intended to work with them or create your new one as well.
+ The <guilabel>JBoss Tools Palette</guilabel> contains existing libraries of tags, and the <guilabel>Palette editor</guilabel> provides a way to add a new library, or edit existing libraries.
</para>
<para>
- To open the editor, click on the <guilabel>Palette Editor</guilabel> icon(
+ To open the editor, click on the <guilabel>Palette Editor</guilabel> icon (
<inlinemediaobject>
<imageobject>
<imagedata fileref="images/palette/palette_7.png"/>
@@ -184,7 +180,7 @@
</para>
<para>
- The window has two parts. There is a reflected grouped list of components on the left side of the palette editor. Each group is divided into multiple groups, every of which is a tag library. The right side of the palette editor is an editing window where it's possible to change values of group or tag library attributes that you've chosen on the left part of the window.
+ The window has two parts. There is a reflected grouped list of components on the left side of the palette editor. Each group is divided into multiple groups, each of which is a tag library. To the right side of the palette editor is an editing window where it is possible to change values of group or tag library attributes that you have chosen on the left part of the window.
</para>
<para>
@@ -207,20 +203,19 @@
</figure>
<para>
- The Palette Editor provides the following possibilities when working with existing tags or icons:
+ The <guilabel>Palette Editor</guilabel> provides the following functionality when working with existing tags or icons:
</para>
<itemizedlist>
<listitem>
+ <formalpara>
+ <title>To work with a set of icons</title>
+ <para>
+ <guilabel>Icons</guilabel> is the root folder for the icon sets. The first step is creating the icon set. Right click on the <emphasis> <guilabel>Icons</guilabel> </emphasis> folder and select <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Create Set...</guimenuitem></menuchoice>.
+ </para>
+ </formalpara>
+
<para>
- to work with a set of icons
- </para>
-
- <para>
- <guilabel>Icons</guilabel> is the root folder for the icon sets. The first step is creating the icon set. Right click on the <emphasis> <guilabel>Icons</guilabel> </emphasis> folder and select <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Create Set...</guimenuitem></menuchoice>.
- </para>
-
- <para>
Set the value of the name in the <guilabel>Add Icons</guilabel> window and click the <guibutton>Finish</guibutton> button. A new element will appear in the list.
</para>
@@ -234,19 +229,18 @@
</figure>
<para>
- Also you can delete the set. Right click on the set of icons that you wish to remove and chose the <guimenuitem>Delete</guimenuitem> option from the pop-up menu or click the <keycap>Delete</keycap> keyboard button.
+ Also you can delete the set. Right click on the set of icons that you wish to remove and select the <guimenuitem>Delete</guimenuitem> option from the pop-up menu or click the <keycap>Delete</keycap> keyboard button.
</para>
</listitem>
<listitem>
- <para>
- to edit icons in the chosen set
- </para>
-
- <para>
- When the set of icons is created, new icons can be imported to it. Choose the required set and select the option <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Import Icon...</guimenuitem></menuchoice> from the pop-up menu that appears after you right-click on a folder.
- </para>
-
+ <formalpara>
+ <title>To edit icons in the chosen set</title>
+ <para>
+ When the set of icons is created, new icons can be imported to it. Choose the required set and select the option <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Import Icon...</guimenuitem></menuchoice> from the pop-up menu that appears after you right-click on a folder.
+ </para>
+ </formalpara>
+
<figure>
<title>Creating Icons</title>
<mediaobject>
@@ -262,15 +256,14 @@
</listitem>
<listitem>
+ <formalpara>
+ <title>To work with a group of tag libraries</title>
+ <para>
+ The first step in work with the editor is creating a group of libraries. It's very easy to do, right mouse button click on the <guilabel>Palette</guilabel> folder and select <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Create Group…</guimenuitem></menuchoice>
+ </para>
+ </formalpara>
+
<para>
- to work with a group of tag libraries
- </para>
-
- <para>
- The first step in work with the editor is creating a group of libraries. It's very easy to do, right mouse button click on the <guilabel>Palette</guilabel> folder and select <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Create Group…</guimenuitem></menuchoice>
- </para>
-
- <para>
Set a name of a group in the <guilabel>Create Group</guilabel> window and click the <guibutton>OK</guibutton> button. A new element will appear at the end of the list.
</para>
@@ -296,14 +289,13 @@
</listitem>
<listitem>
- <para>
- to work with a tag library
- </para>
-
- <para>
- The group maintains a list of tag libraries. If you'd like to create your own library, click right mouse button on the group and choose <guimenuitem>Create Group…</guimenuitem> option.
- </para>
-
+ <formalpara>
+ <title>To work with a tag library</title>
+ <para>
+ The group maintains a list of tag libraries. If you'd like to create your own library, click right mouse button on the group and choose <guimenuitem>Create Group…</guimenuitem> option.
+ </para>
+ </formalpara>
+
<figure>
<title>Creating a tag library</title>
<mediaobject>
@@ -337,13 +329,14 @@
</listitem>
<listitem>
- <para>
- to work with a tag element
- </para>
+ <formalpara>
+ <title>To work with a tag element</title>
+ <para>
+ When the library folder is created, new tags can be added to it. Choose the required library and select the option <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Create Macro…</guimenuitem></menuchoice> from the pop-up menu that appears after you right-click on a folder.
+ </para>
+ </formalpara>
- <para>
- When the library folder is created, new tags can be added to it. Choose the required library and select the option <menuchoice><guimenuitem>Create</guimenuitem><guimenuitem>Create Macro…</guimenuitem></menuchoice> from the pop-up menu that appears after you right-click on a folder.
- </para>
+
<figure>
<title>Creating a tag element</title>
@@ -516,7 +509,7 @@
<note>
<title>Tip:</title>
<para>
- if you place the cursor over any tag, a balloon hint is shown with all the tag attributes.
+ If you place the cursor over any tag, a balloon hint is shown with all the tag attributes.
</para>
</note>
13 years, 9 months
JBoss Tools SVN: r29954 - in trunk/esb/plugins/org.jboss.tools.esb.core: resources/meta and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-03-22 19:22:05 -0400 (Tue, 22 Mar 2011)
New Revision: 29954
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/objectpath.gif
Modified:
trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb-actions.meta
Log:
JBIDE-8608
https://issues.jboss.org/browse/JBIDE-8608
Added: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/objectpath.gif
===================================================================
(Binary files differ)
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/objectpath.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb-actions.meta
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb-actions.meta 2011-03-22 23:05:46 UTC (rev 29953)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb-actions.meta 2011-03-22 23:22:05 UTC (rev 29954)
@@ -60,29 +60,9 @@
</MAPPING>
</MAPPINGS>
<ICONS>
- <GROUP name="action">
- <GROUP name="new">
- <GROUP name="esb">
- <ICON name="file" path="plugin:org.jboss.tools.esb.core:images/esb/new_esb_file.gif"/>
- </GROUP>
- </GROUP>
- </GROUP>
<GROUP name="main">
<GROUP name="esb">
- <ICON name="action" path="plugin:org.jboss.tools.esb.core:images/esb/action.gif"/>
- <ICON name="actions" path="plugin:org.jboss.tools.esb.core:images/esb/action_list.gif"/>
- <ICON name="bus" path="plugin:org.jboss.tools.esb.core:images/esb/bus.gif"/>
- <ICON name="config" path="plugin:org.jboss.tools.esb.core:images/esb/config.gif"/>
- <ICON name="file" path="plugin:org.jboss.tools.esb.core:images/esb/esb_file.gif"/>
- <ICON name="filter" path="plugin:org.jboss.tools.esb.core:images/esb/filter.gif"/>
- <ICON name="listener" path="plugin:org.jboss.tools.esb.core:images/esb/listener.gif"/>
- <ICON name="listeners" path="images/file/closed_folder.gif"/>
- <ICON name="property" path="plugin:org.jboss.tools.esb.core:images/esb/property.gif"/>
- <ICON name="provider" path="plugin:org.jboss.tools.esb.core:images/esb/provider.gif"/>
- <ICON name="providers" path="images/file/closed_folder.gif"/>
- <ICON name="schedule" path="plugin:org.jboss.tools.esb.core:images/esb/schedule.gif"/>
- <ICON name="service" path="plugin:org.jboss.tools.esb.core:images/esb/service.gif"/>
- <ICON name="services" path="images/file/closed_folder.gif"/>
+ <ICON name="objectpath" path="plugin:org.jboss.tools.esb.core:images/esb/objectpath.gif"/>
</GROUP>
</GROUP>
</ICONS>
@@ -714,6 +694,7 @@
<XChildEntity name="ESBProperty"/>
<XChildEntity name="ESBPreRouteTo"/>
<XChildEntity name="ESBPreRouterNamespace"/>
+ <XChildEntity name="ESBPreObjectPath"/>
</XChildrenEntities>
<XEntityRenderer>
<ICONS>
@@ -835,6 +816,13 @@
<AttributeData AttributeName="expression" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Object Path..." kind="action" name="AddObjectPath">
+ <EntityData EntityName="ESBPreObjectPath">
+ <AttributeData AttributeName="esb"/>
+ </EntityData>
+ </XActionItem>
</XActionItem>
<XActionItemReference entity="ESBProperty" name="CopyActions"/>
<XActionItemReference entity="ESBProperty" name="DeleteActions"/>
@@ -1421,7 +1409,8 @@
default="org.jboss.soa.esb.actions.MessagePersister" name="class" xmlname="class">
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;save=always;pre=true;valueFilter=org.jboss.tools.esb.ui.editor.attribute.MessageStoreClassValueFilter"
+ <XModelAttribute
+ PROPERTIES="category=general;save=always;pre=true;valueFilter=org.jboss.tools.esb.ui.editor.attribute.MessageStoreClassValueFilter"
name="message store class" xmlname="message-store-class">
<Editor name="AccessibleJava"/>
</XModelAttribute>
@@ -3290,7 +3279,7 @@
<XChildrenEntities/>
<XEntityRenderer>
<ICONS>
- <ICON info="main.esb.property" type="main"/>
+ <ICON info="main.esb.objectpath" type="main"/>
</ICONS>
</XEntityRenderer>
<XModelAttributes>
13 years, 9 months
JBoss Tools SVN: r29953 - trunk/jsf/docs/userguide/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-03-22 19:05:46 -0400 (Tue, 22 Mar 2011)
New Revision: 29953
Modified:
trunk/jsf/docs/userguide/en-US/editors.xml
Log:
"Updated screenshots, general editing"
Modified: trunk/jsf/docs/userguide/en-US/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/editors.xml 2011-03-22 22:47:39 UTC (rev 29952)
+++ trunk/jsf/docs/userguide/en-US/editors.xml 2011-03-22 23:05:46 UTC (rev 29953)
@@ -2843,7 +2843,7 @@
<section id="SourceView1">
<title>Source view</title>
<para>
- You can easily switch from Tree to Source by selecting the Source tab at the bottom of the editor.
+ You can easily switch from Tree to Source by selecting the <guilabel>Source</guilabel> tab at the bottom of the editor.
</para>
<figure>
@@ -2895,7 +2895,7 @@
</figure>
<para>
- In the Source viewer, if at any point a tag is incorrect or incomplete, an error will be indicated next to the line and also in the Problems view below.
+ In the <guilabel>Source</guilabel> viewer, if at any point a tag is incorrect or incomplete, an error will be indicated next to the line and also in the <guilabel>Problems</guilabel> view below.
</para>
<figure>
@@ -2912,7 +2912,7 @@
<section id="GraphicalWebApplicationFileEditor">
<title>Graphical Web Application File (web.xml) Editor</title>
<para>
- The deployment descriptor <filename>web.xml</filename> file is intended for describing the servlets, container-managed security constraints and various deployment properties specific for your Web Application.
+ The deployment descriptor <filename>web.xml</filename> file is intended for describing the servlets, container-managed security constraints and various deployment properties specific for your web application.
</para>
<para>
@@ -2936,7 +2936,7 @@
<section id="TreeView1">
<title>Tree View</title>
<para>
- Switch to the <guilabel>Tree</guilabel> view if you want to edit <filename>web.xml</filename> in a graphical mode. All elements that <filename>web.xml</filename> could include are located in the left area of the editor in a tree format. Click a node on the left to display and edit its properties that will appear in the right-hand area.
+ Switch to the <guilabel>Tree</guilabel> view if you want to edit the <filename>web.xml</filename> file in a graphical mode. All elements that <filename>web.xml</filename> could include are located in the left area of the editor in a tree format. Click a node on the left to display and edit its properties, which will appear in the right-hand area.
</para>
<figure>
@@ -2981,7 +2981,7 @@
<section id="ContentAssist">
<title>Content Assist</title>
<para>
- Content assist is available in the Source viewer. Simply click <keycombo><keycap>CTRL</keycap><keycap>Space</keycap></keycombo> anywhere in the file.
+ Content assist is available in the <guilabel>Source</guilabel> viewer. Simply click <keycombo><keycap>CTRL</keycap><keycap>Space</keycap></keycombo> anywhere in the file.
</para>
<figure>
@@ -2997,7 +2997,7 @@
<section id="ErrorCheckingAndValidation">
<title>Errors Checking and Validation</title>
<para>
- If errors occur anywhere in the file, small red dots will appear next to the lines where the errors occurred. Also note that the file is marked by a small x in the Package Explorer view.
+ If errors occur anywhere in the file, small red dots will appear next to the lines where the errors occurred. Also note that the file is marked by a small x in the <guilabel>Package Explorer</guilabel> view.
</para>
<figure>
@@ -3056,7 +3056,7 @@
</figure>
-->
<para>
- And you can also use the Properties view next to the editor to edit existing stylesheet declaration properties:
+ And you can also use the <guilabel>Properties</guilabel> view next to the editor to edit existing stylesheet declaration properties:
</para>
<figure>
@@ -3069,7 +3069,7 @@
</figure>
<para>
- To make you work on CSS files more comfortable, CSS perspective is available, read more about it in <xref linkend="css_perspective"/>
+ The <guilabel>CSS</guilabel> perspective is available to facilitate working on Cascading Style Sheets. For more information please read <xref linkend="css_perspective"/>
</para>
</section>
@@ -3089,7 +3089,7 @@
</figure>
<para>
- You can also use the JavaScript editor with the Outline view to navigate around the file:
+ You can also use the JavaScript editor with the <guilabel>Outline</guilabel> view to navigate around the file:
</para>
<figure>
@@ -3124,7 +3124,7 @@
</para>
<para>
- To create a new XSD file, right-click a folder in the Package Explorer view, select <menuchoice><guimenuitem>New</guimenuitem><guimenuitem>Other...</guimenuitem></menuchoice> from the context menu and then select <menuchoice><guimenuitem>XML</guimenuitem><guimenuitem>XML Schema</guimenuitem></menuchoice> in the dialog box.
+ To create a new <filename>XSD</filename> file, right-click a folder in the Package Explorer view, select <menuchoice><guimenuitem>New</guimenuitem><guimenuitem>Other...</guimenuitem></menuchoice> from the context menu and then select <menuchoice><guimenuitem>XML</guimenuitem><guimenuitem>XML Schema</guimenuitem></menuchoice> in the dialog box.
</para>
<figure>
@@ -3137,7 +3137,7 @@
</figure>
<para>
- The XSD Editor includes two viewers for working on the file, a Design viewer and a Source viewer:
+ The XSD Editor includes two viewers for working on the file, a <guilabel>Design</guilabel> viewer and a <guilabel>Source</guilabel> viewer:
</para>
<figure>
@@ -3150,7 +3150,7 @@
</figure>
<para>
- In the Design viewer you can drill down on an element by double-clicking on it:
+ In the <guilabel>Design</guilabel> viewer you can drill down on an element by double-clicking on it:
</para>
<figure>
@@ -3176,7 +3176,7 @@
</figure>
<para>
- You can also use the Properties view to edit a selected element:
+ You can also use the <guilabel>Properties</guilabel> view to edit a selected element:
</para>
<figure>
@@ -3189,7 +3189,7 @@
</figure>
<para>
- You can also use a Source viewer for the file. In this viewer, along with direct editing of the source code, you can also edit the file by using the Properties view on the right:
+ You can also use a <guilabel>Source</guilabel> viewer for the file. In this viewer, along with direct editing of the source code, you can also edit the file by using the <guilabel>Properties</guilabel> view on the right:
</para>
<figure>
13 years, 9 months
JBoss Tools SVN: r29952 - trunk/jsf/docs/userguide/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-03-22 18:47:39 -0400 (Tue, 22 Mar 2011)
New Revision: 29952
Modified:
trunk/jsf/docs/userguide/en-US/editors.xml
Log:
"Updated screenshots, general editing"
Modified: trunk/jsf/docs/userguide/en-US/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/editors.xml 2011-03-22 22:37:28 UTC (rev 29951)
+++ trunk/jsf/docs/userguide/en-US/editors.xml 2011-03-22 22:47:39 UTC (rev 29952)
@@ -2463,7 +2463,7 @@
</para>
<para>
- If the error occurs while editor loading, error message will contain information about of what might have caused the error ( a missing library or errors in source code).
+ If the error occurs while the editor is loading, the error message will contain information about of what might have caused the error (e.g. a missing library or errors in source code).
</para>
<figure>
@@ -2479,7 +2479,7 @@
<section id="custom_facelets_support">
<title>Support for Custom Facelets Components</title>
<para>
- Visual Page Editor (starting from 3.0.0.M3 version of JBoss Tools) supports custom Facelets tag libraries both declared in the <literal>web.xml</literal> file (for details, see <ulink url="http://www.ibm.com/developerworks/java/library/j-facelets/#N10294">Creating a component</ulink>) and packed into the <filename>JAR</filename> file.
+ Visual Page Editor supports custom Facelets tag libraries both declared in the <filename>web.xml</filename> file (for details, see <ulink url="http://www.ibm.com/developerworks/java/library/j-facelets/#N10294">Creating a component</ulink>) and packed into a <filename>JAR</filename> file.
</para>
<note>
@@ -2503,7 +2503,7 @@
</figure>
<para>
- While editing an XHTML file that uses a custom Facelets components you can always make use of the following editor's features:
+ While editing an <filename>XHTML</filename> file that uses a custom Facelets components you can always make use of the following editor's features:
</para>
<itemizedlist>
@@ -2523,7 +2523,7 @@
<section id="contentAssistForCustomFacelets">
<title>Content Assist for Custom Facelets Components</title>
<para>
- Call the content assist as usual by using <keycombo><keycap>Ctrl</keycap><keycap>Space</keycap></keycombo> when typing a tag. As proposals you should see custom Facelets tags defined in your Facelets tag library.
+ Call the content assist as usual by using <keycombo><keycap>Ctrl</keycap><keycap>Space</keycap></keycombo> when typing a tag. You should see the custom Facelets tags defined in your Facelets tag library listed as proposals.
</para>
<figure>
@@ -2559,7 +2559,7 @@
<section id="openOnInXHTML">
<title>OpenOn in XHTML Files That Use Custom Facelets Components</title>
<para>
- OpenOn functionality in XHTML files is available in two views of the Visual Page Editor:
+ OpenOn functionality in <guilabel>XHTML</guilabel> files is available in two views of the Visual Page Editor:
</para>
<orderedlist>
@@ -2569,7 +2569,7 @@
</para>
<para>
- <keycombo><keycap>Ctrl</keycap><keycap>Click</keycap></keycombo> on the namespace will open the Facelets tag file in a separate window.
+ Using the <keycombo><keycap>Ctrl</keycap><keycap>Click</keycap></keycombo> keyboard shortcut on the namespace will open the Facelets tag file in a separate window.
</para>
<figure>
@@ -2582,7 +2582,7 @@
</figure>
<para>
- <keycombo><keycap>Ctrl</keycap><keycap>Click</keycap></keycombo> on any custom Facelets tag declared on the page will do the same. The selected tag will be highlighted in the opened file.
+ Using the <keycombo><keycap>Ctrl</keycap><keycap>Click</keycap></keycombo> keyboard shortcut on any custom Facelets tag declared on the page will do the same. The selected tag will be highlighted in the opened file.
</para>
<figure>
@@ -2610,7 +2610,7 @@
<section id="openOnInCustomFaceletsTaglibs">
<title>OpenOn in Custom Facelets Tag File (<literal>*.taglib.xml</literal>)</title>
<para>
- <keycombo><keycap>Ctrl</keycap><keycap>Click</keycap></keycombo> on the path to source of the Facelets tag will open the component in its own editor.
+ Using the <keycombo><keycap>Ctrl</keycap><keycap>Click</keycap></keycombo> keyboard shortcut on the path to source of the Facelets tag will open the component in its own editor.
</para>
<figure>
@@ -2625,7 +2625,7 @@
</section>
</section>
- <section id="SetupnotesforLinu895x">
+ <!--<section id="SetupnotesforLinu895x">
<title>Setup notes for Linux</title>
<para>
Linux users who are going to use earlier versions of JBoss Tools then 3.1.0.M4 may need to do the following to get the Visual Page Editor to work correctly on their machines.
@@ -2714,6 +2714,7 @@
</listitem>
</itemizedlist>
</section>
+-->
<!-- <section id="CreateLookAndFeel(Design-timeMetadate)ForAnyCustomJSFComponents41">
<?dbhtml filename="CreateLookAndFeel(Design-timeMetadate)ForAnyCustomJSFComponents.html"?>
<title>JSP Visual Page Editor - Design Time Look and Feel for Custom Components</title>
@@ -2768,7 +2769,7 @@
</para>
<para>
- To create a new properties file in the Package Explorer view, select <menuchoice><guimenuitem>New</guimenuitem><guimenuitem>Properties File</guimenuitem></menuchoice> from the right-click context menu on the folder where you want to create the file.
+ To create a new properties file in the <guilabel>Package Explorer</guilabel> view, select <menuchoice><guimenuitem>New</guimenuitem><guimenuitem>Properties File</guimenuitem></menuchoice> from the right-click context menu on the folder where you want to create the file.
</para>
<figure>
13 years, 9 months