JBoss Tools SVN: r24982 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template: util and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2010-09-17 08:32:40 -0400 (Fri, 17 Sep 2010)
New Revision: 24982
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfVerbatim.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/NodeProxyUtil.java
Log:
JBIDE-7059
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfVerbatim.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfVerbatim.java 2010-09-17 12:30:21 UTC (rev 24981)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfVerbatim.java 2010-09-17 12:32:40 UTC (rev 24982)
@@ -20,6 +20,7 @@
import org.jboss.tools.vpe.editor.template.VpeCreationData;
import org.jboss.tools.vpe.editor.util.HTML;
import org.jboss.tools.vpe.editor.util.VisualDomUtil;
+import org.jboss.tools.vpe.editor.util.VpeNodesManagingUtil;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
import org.w3c.dom.Element;
@@ -74,7 +75,7 @@
creationData.addChildrenInfo(childSpanInfo);
} else {
// get text by positions and add to span
- String text = NodesManagingUtil.getSourceText(pageContext,
+ String text = VpeNodesManagingUtil.getSourceText(pageContext,
((IDOMNode) child).getStartOffset(), ((IDOMNode) child)
.getEndOffset() - 1);
mainContainer.appendChild(visualDocument.createTextNode(text));
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/NodeProxyUtil.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/NodeProxyUtil.java 2010-09-17 12:30:21 UTC (rev 24981)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/NodeProxyUtil.java 2010-09-17 12:32:40 UTC (rev 24982)
@@ -22,6 +22,7 @@
import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
+import org.jboss.tools.vpe.editor.util.VpeNodesManagingUtil;
import org.w3c.dom.Attr;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
@@ -96,7 +97,7 @@
&& (anchorPosition <= (NodesManagingUtil
.getEndOffsetNode(child)))) {
- return NodesManagingUtil.getNodeMapping(domMapping, child);
+ return VpeNodesManagingUtil.getNodeMapping(domMapping, child);
}
}
15 years, 7 months
JBoss Tools SVN: r24981 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2010-09-17 08:30:21 -0400 (Fri, 17 Sep 2010)
New Revision: 24981
Added:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/VpeNodesManagingUtil.java
Log:
JBIDE-7059
Added: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/VpeNodesManagingUtil.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/VpeNodesManagingUtil.java (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/VpeNodesManagingUtil.java 2010-09-17 12:30:21 UTC (rev 24981)
@@ -0,0 +1,101 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.editor.util;
+
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
+import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
+import org.mozilla.interfaces.nsIDOMNode;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
+
+/**
+ * @author mareshkau
+ *
+ */
+public class VpeNodesManagingUtil {
+ /**
+ * name of "view" tag
+ */
+ private static final String VIEW_TAGNAME = "view"; //$NON-NLS-1$
+
+ /**
+ * name of "locale" attribute
+ */
+ private static final String LOCALE_ATTRNAME = "locale"; //$NON-NLS-1$
+ /**
+ *
+ * @param domMapping
+ * @param node
+ * @return
+ */
+ public static VpeNodeMapping getNodeMapping(VpeDomMapping domMapping,
+ nsIDOMNode node) {
+
+ return domMapping.getNearNodeMappingAtVisualNode(node);
+
+ }
+
+ /**
+ *
+ * @param domMapping
+ * @param node
+ * @return
+ */
+ public static VpeNodeMapping getNodeMapping(VpeDomMapping domMapping,
+ Node node) {
+
+ return domMapping.getNearNodeMappingAtSourceNode(node);
+
+ }
+
+ /**
+ *
+ * @param pageContext
+ * @param sourceElement
+ * @return
+ */
+ public static String getPageLocale(VpePageContext pageContext,
+ Node sourceNode) {
+
+ while (sourceNode != null) {
+
+ if (VIEW_TAGNAME.equals(sourceNode.getLocalName())) {
+ break;
+ }
+ sourceNode = sourceNode.getParentNode();
+ }
+
+ if ((sourceNode == null) || !(sourceNode instanceof Element)
+ || !(((Element) sourceNode).hasAttribute(LOCALE_ATTRNAME)))
+ return null;
+
+ String locale = ((Element) sourceNode).getAttribute(LOCALE_ATTRNAME);
+
+ return locale;
+
+ }
+
+ /**
+ *
+ * @param pageContext
+ * @param startPosition
+ * @param endPosition
+ * @return
+ */
+ public static String getSourceText(VpePageContext pageContext,
+ int startPosition, int endPosition) {
+
+ return pageContext.getSourceBuilder().getStructuredTextViewer()
+ .getTextWidget().getText(startPosition, endPosition);
+ }
+}
15 years, 7 months
JBoss Tools SVN: r24980 - trunk/cdi/tests/org.jboss.tools.cdi.text.ext.test/src/org/jboss/tools/cdi/text/ext/test.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-09-17 08:21:25 -0400 (Fri, 17 Sep 2010)
New Revision: 24980
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.text.ext.test/src/org/jboss/tools/cdi/text/ext/test/BeansXmlHyperLinkTest.java
Log:
JBIDE-7091
https://jira.jboss.org/browse/JBIDE-7091 fixed CDI core tests
Modified: trunk/cdi/tests/org.jboss.tools.cdi.text.ext.test/src/org/jboss/tools/cdi/text/ext/test/BeansXmlHyperLinkTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.text.ext.test/src/org/jboss/tools/cdi/text/ext/test/BeansXmlHyperLinkTest.java 2010-09-17 11:49:54 UTC (rev 24979)
+++ trunk/cdi/tests/org.jboss.tools.cdi.text.ext.test/src/org/jboss/tools/cdi/text/ext/test/BeansXmlHyperLinkTest.java 2010-09-17 12:21:25 UTC (rev 24980)
@@ -10,7 +10,6 @@
******************************************************************************/
package org.jboss.tools.cdi.text.ext.test;
-
/**
* beans.xml OpenOns test
*
@@ -31,6 +30,6 @@
}
public void testInterceptorClassOpenOns() throws Exception {
- checkHyperLinkInXml("WebContent/WEB-INF/beans.xml", 1761, "org.jboss.tools.common.text.ext.hyperlink.ClassHyperlink");
+ checkHyperLinkInXml("WebContent/WEB-INF/beans.xml", 1841, "org.jboss.tools.common.text.ext.hyperlink.ClassHyperlink");
}
}
\ No newline at end of file
15 years, 7 months
JBoss Tools SVN: r24979 - trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-09-17 07:49:54 -0400 (Fri, 17 Sep 2010)
New Revision: 24979
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF
Log:
JBIDE-7091
https://jira.jboss.org/browse/JBIDE-7091 fixed CDI core tests
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF 2010-09-17 11:29:58 UTC (rev 24978)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF 2010-09-17 11:49:54 UTC (rev 24979)
@@ -16,6 +16,7 @@
org.jboss.tools.common.el.core,
org.jboss.tools.common.model.ui,
org.eclipse.ltk.core.refactoring,
- org.jboss.tools.jst.web.kb
+ org.jboss.tools.jst.web.kb,
+ org.jboss.tools.cdi.xml
Export-Package: org.jboss.tools.cdi.core.test,
org.jboss.tools.cdi.core.test.tck
15 years, 7 months
JBoss Tools SVN: r24978 - in trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests: editor and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: lzoubek(a)redhat.com
Date: 2010-09-17 07:29:58 -0400 (Fri, 17 Sep 2010)
New Revision: 24978
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/CreateRuntimeFromSOA.java
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/NewProjectUsingBundledInEAP.java
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBListener.java
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBListenerFactory.java
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBProviderFactory.java
Log:
esb bot tests: cover adding camel provider & listener
Modified: trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/CreateRuntimeFromSOA.java
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/CreateRuntimeFromSOA.java 2010-09-17 11:26:49 UTC (rev 24977)
+++ trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/CreateRuntimeFromSOA.java 2010-09-17 11:29:58 UTC (rev 24978)
@@ -20,7 +20,7 @@
bot.text(1).setText(TestConfigurator.currentConfig.getServer().runtimeHome);
assertTrue("Version was not automaticly selected by setting ESB home dir",bot.comboBox().selection().equals(configuredState.getServer().bundledESBVersion));
String name = bot.text(0).getText();
- assertFalse("Runtime name was not automaticly set by setting ESB home dir",name.equals(""));
+// assertFalse("Runtime name was not automaticly set by setting ESB home dir",name.equals(""));
assertTrue("Finish button must be enabled when valid home dir is defined",bot.button(IDELabel.Button.FINISH).isEnabled());
open.finish(bot.activeShell().bot());
open.finish(wiz,IDELabel.Button.OK);
Modified: trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java 2010-09-17 11:26:49 UTC (rev 24977)
+++ trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java 2010-09-17 11:29:58 UTC (rev 24978)
@@ -73,7 +73,7 @@
@AfterClass
public static void waitAMinute() {
- bot.sleep(Long.MAX_VALUE);
+ //bot.sleep(Long.MAX_VALUE);
}
@Test
@@ -132,7 +132,7 @@
action.create(getEditor(), actionPath);
listenerList.remove(action.getMenuLabel());
} catch (Exception e) {
- // TODO Auto-generated catch block
+ fail("Exception "+e.getMessage());
e.printStackTrace();
}
}
Modified: trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/NewProjectUsingBundledInEAP.java
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/NewProjectUsingBundledInEAP.java 2010-09-17 11:26:49 UTC (rev 24977)
+++ trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/NewProjectUsingBundledInEAP.java 2010-09-17 11:29:58 UTC (rev 24978)
@@ -4,6 +4,7 @@
import org.jboss.tools.ui.bot.ext.SWTTestExt;
import org.jboss.tools.ui.bot.ext.config.Annotations.SWTBotTestRequires;
import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
import org.jboss.tools.ui.bot.ext.gen.ActionItem;
import org.jboss.tools.ui.bot.ext.gen.ActionItem.NewObject.ESBESBProject;
@@ -35,8 +36,9 @@
wiz.button(IDELabel.Button.NEXT).click();
wiz.button(IDELabel.Button.NEXT).click();
try {
- String text = wiz.text(2).getText();
+ String text = wiz.text(1).getText();
assertTrue("New ESB project wizard did not warn, when using runtime without ESB",text.contains("does not contain a valid ESB"));
+ log.info(text);
} catch (IndexOutOfBoundsException ex) {
assertTrue("New ESB project wizard did not warn, when using runtime without ESB",false);
}
Modified: trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBListener.java
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBListener.java 2010-09-17 11:26:49 UTC (rev 24977)
+++ trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBListener.java 2010-09-17 11:29:58 UTC (rev 24978)
@@ -33,7 +33,7 @@
public void edit(SWTBotEditor editor, String... path) {
editor.show();
SWTEclipseExt.selectTreeLocation(editor.bot(), path);
- doEditing(editor, null);
+ doEditing(editor, (String[])null);
editor.bot().sleep(5000);
editor.save();
}
Modified: trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBListenerFactory.java
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBListenerFactory.java 2010-09-17 11:26:49 UTC (rev 24977)
+++ trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBListenerFactory.java 2010-09-17 11:29:58 UTC (rev 24978)
@@ -66,4 +66,7 @@
}
};
}
+ public static ESBListener listenerCamel() {
+ return new ESBListener("Camel Gateway", "camel-gateway");
+ }
}
Modified: trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBProviderFactory.java
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBProviderFactory.java 2010-09-17 11:26:49 UTC (rev 24977)
+++ trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/ESBProviderFactory.java 2010-09-17 11:29:58 UTC (rev 24978)
@@ -95,4 +95,7 @@
public static ESBProvider providerSQL() {
return new ESBProvider("SQL Provider", "sql-provider");
}
+ public static ESBProvider providerCamel() {
+ return new ESBProvider("Camel Provider", "camel-provider");
+ }
}
15 years, 7 months
JBoss Tools SVN: r24977 - trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config.
by jbosstools-commits@lists.jboss.org
Author: lzoubek(a)redhat.com
Date: 2010-09-17 07:26:49 -0400 (Fri, 17 Sep 2010)
New Revision: 24977
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/TestConfiguration.java
Log:
swtbot ext:fixed NPE
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/TestConfiguration.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/TestConfiguration.java 2010-09-17 11:16:09 UTC (rev 24976)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/TestConfiguration.java 2010-09-17 11:26:49 UTC (rev 24977)
@@ -87,7 +87,7 @@
+ server.withJavaVersion
+ " but no JAVA is configured");
}
- if (java != null) {
+ if (java != null && server!=null) {
if (!java.version.equals(server.withJavaVersion)
&& !Values.SERVER_WITH_DEFAULT_JAVA
.equals(server.withJavaVersion)) {
15 years, 7 months
JBoss Tools SVN: r24976 - in trunk: jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template and 29 other directories.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2010-09-17 07:16:09 -0400 (Fri, 17 Sep 2010)
New Revision: 24976
Added:
trunk/jst/plugins/org.jboss.tools.jst.jsp/icons/
trunk/jst/plugins/org.jboss.tools.jst.jsp/icons/selbar.gif
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SelectedNodeInfo.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SelectionHelper.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SourceSelection.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SourceSelectionBuilder.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/SelectionBar.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/handlers/
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/handlers/SelectionBarHandler.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/util/NodesManagingUtil.java
Removed:
trunk/vpe/plugins/org.jboss.tools.vpe/resources/org/jboss/tools/vpe/editor/mozilla/icons/selbar.gif
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectedNodeInfo.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectionHelper.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSourceSelection.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSourceSelectionBuilder.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/NodesManagingUtil.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/selbar/
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeCompositionTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDecorateTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputScriptTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfVerbatim.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/NodeProxyUtil.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlImportTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/src/org/jboss/tools/jsf/vpe/seam/template/SeamDecorateTemplate.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3650Test.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/OpenOnJsf20Test_JBIDE5382.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/META-INF/MANIFEST.MF
trunk/jst/plugins/org.jboss.tools.jst.jsp/plugin.properties
trunk/jst/plugins/org.jboss.tools.jst.jsp/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditorPart.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditor.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/JstUIMessages.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/messages.properties
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/preferences/IVpePreferencesPage.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/preferences/VpePreferencesInitializer.java
trunk/vpe/plugins/org.jboss.tools.vpe/META-INF/MANIFEST.MF
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeSourceDomBuilder.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualKeyHandler.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/MenuCreationHelper.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/action/InsertAction2.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/action/SelectThisTagAction.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/VpePreferencesPage.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/KeyEventManager.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/SelectionManager.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractCreator.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeBreackerHelper.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeCreator.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeCustomTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeHtmlTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeIncludeTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/format/FormatControllerManager.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/format/handler/IAddNodeHandler.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TextUtil.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties
Log:
https://jira.jboss.org/browse/JBIDE-7059
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeCompositionTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeCompositionTemplate.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeCompositionTemplate.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -16,12 +16,12 @@
import org.jboss.tools.jsf.vpe.facelets.template.messages.Messages;
import org.jboss.tools.jsf.vpe.facelets.template.util.Facelets;
import org.jboss.tools.jsf.vpe.facelets.util.FaceletsUtil;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.VpeVisualDomBuilder;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.template.VpeCreationData;
import org.jboss.tools.vpe.editor.template.VpeDefineContainerTemplate;
import org.jboss.tools.vpe.editor.util.HTML;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
import org.mozilla.interfaces.nsIDOMNode;
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDecorateTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDecorateTemplate.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDecorateTemplate.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -13,9 +13,9 @@
import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.text.Region;
import org.jboss.tools.jsf.vpe.facelets.template.util.Facelets;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.template.VpeCreationData;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMNode;
import org.w3c.dom.Element;
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputScriptTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputScriptTemplate.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputScriptTemplate.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -13,10 +13,10 @@
import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.text.Region;
import org.jboss.tools.jsf.vpe.jsf.template.util.JSF;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
import org.jboss.tools.vpe.editor.template.VpeCreationData;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMNode;
import org.w3c.dom.Node;
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfVerbatim.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfVerbatim.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfVerbatim.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -13,12 +13,12 @@
import java.util.ArrayList;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
import org.jboss.tools.vpe.editor.template.VpeCreationData;
import org.jboss.tools.vpe.editor.util.HTML;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.util.VisualDomUtil;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/NodeProxyUtil.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/NodeProxyUtil.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/NodeProxyUtil.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -19,9 +19,9 @@
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
import org.jboss.tools.jsf.vpe.jsf.template.util.model.VpeElementProxyData;
import org.jboss.tools.jsf.vpe.jsf.template.util.proxy.JsfTemplateInvocationHandler;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.w3c.dom.Attr;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlImportTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlImportTemplate.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jstl/src/org/jboss/tools/jsf/vpe/jstl/template/JstlImportTemplate.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -13,10 +13,10 @@
import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.text.Region;
import org.jboss.tools.jsf.vpe.jstl.template.util.Jstl;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.template.VpeCreationData;
import org.jboss.tools.vpe.editor.template.VpeDefineContainerTemplate;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMNode;
import org.w3c.dom.Element;
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/src/org/jboss/tools/jsf/vpe/seam/template/SeamDecorateTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/src/org/jboss/tools/jsf/vpe/seam/template/SeamDecorateTemplate.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/src/org/jboss/tools/jsf/vpe/seam/template/SeamDecorateTemplate.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -14,11 +14,11 @@
import org.eclipse.jface.text.Region;
import org.jboss.tools.jsf.vpe.jsf.template.util.ComponentUtil;
import org.jboss.tools.jsf.vpe.seam.template.util.SeamUtil;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.template.VpeCreationData;
import org.jboss.tools.vpe.editor.template.VpeDefineContainerTemplate;
import org.jboss.tools.vpe.editor.util.HTML;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
import org.mozilla.interfaces.nsIDOMNode;
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3650Test.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3650Test.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3650Test.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -16,8 +16,8 @@
import org.eclipse.wst.xml.core.internal.document.NodeImpl;
import org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests;
import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.VpeController;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.util.TextUtil;
import org.jboss.tools.vpe.ui.test.TestUtil;
import org.jboss.tools.vpe.ui.test.VpeTest;
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/OpenOnJsf20Test_JBIDE5382.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/OpenOnJsf20Test_JBIDE5382.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/OpenOnJsf20Test_JBIDE5382.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -14,8 +14,8 @@
import org.eclipse.ui.PlatformUI;
import org.jboss.tools.jsf.vpe.jsf.template.util.JSF;
import org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.VpeController;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.jboss.tools.vpe.ui.test.OpenOnUtil;
import org.jboss.tools.vpe.ui.test.TestUtil;
import org.jboss.tools.vpe.ui.test.VpeTest;
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/META-INF/MANIFEST.MF 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/META-INF/MANIFEST.MF 2010-09-17 11:16:09 UTC (rev 24976)
@@ -27,7 +27,8 @@
org.jboss.tools.jst.jsp.support.kb,
org.jboss.tools.jst.jsp.text,
org.jboss.tools.jst.jsp.ui.action,
- org.jboss.tools.jst.jsp.util
+ org.jboss.tools.jst.jsp.util,
+ org.jboss.tools.jst.jsp.selection
Require-Bundle: org.jboss.tools.common.el.core,
org.jboss.tools.common.model.ui,
org.jboss.tools.jst.web,
@@ -51,6 +52,8 @@
org.jboss.tools.jst.web.kb,
org.eclipse.core.databinding.property;bundle-version="1.2.0",
org.eclipse.emf.ecore;bundle-version="2.5.0",
- org.eclipse.wst.dtd.core
+ org.eclipse.compare,
+ org.eclipse.wst.dtd.core,
+ org.eclipse.ui
Bundle-Version: 3.2.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Added: trunk/jst/plugins/org.jboss.tools.jst.jsp/icons/selbar.gif
===================================================================
(Binary files differ)
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.jsp/icons/selbar.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/plugin.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/plugin.properties 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/plugin.properties 2010-09-17 11:16:09 UTC (rev 24976)
@@ -15,4 +15,5 @@
javaStringELHoverDescription= Shows the Javadoc of the selected EL-operand.
proposalCategory.xmlEL= JBoss JSF/SEAM EL Proposals
-proposalCategory.xmlTag= JBoss JSF/SEAM Tag Proposals
\ No newline at end of file
+proposalCategory.xmlTag= JBoss JSF/SEAM Tag Proposals
+Show.Selection.Bar=Show Selection Bar
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/plugin.xml 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/plugin.xml 2010-09-17 11:16:09 UTC (rev 24976)
@@ -307,6 +307,24 @@
</visibleWhen>
</command>
</menuContribution>
+ <menuContribution
+ locationURI="menu:navigate?endof=show.ext">
+ <command label="%Show.Selection.Bar"
+ commandId="org.jboss.tools.jst.jsp.commands.showSelectionBar"
+ id="org.jboss.tools.jst.jsp.menus.sampleCommand"
+ mnemonic="S">
+ </command>
+ </menuContribution>
+ <menuContribution
+ locationURI="toolbar:org.eclipse.ui.workbench.navigate?after=forwardHistory">
+ <command
+
+ commandId="org.jboss.tools.jst.jsp.commands.showSelectionBar"
+ icon="icons/selbar.gif"
+ id="org.jboss.tools.jst.jsp.toolbars.sampleCommand"
+ tooltip="%Show.Selection.Bar">
+ </command>
+ </menuContribution>
</extension>
<extension
@@ -401,6 +419,16 @@
<reference definitionId="org.jboss.tools.ui.structuredEditor"/>
</enabledWhen>
</handler>
+ <handler
+ class="org.jboss.tools.jst.jsp.selection.bar.handlers.SelectionBarHandler"
+ commandId="org.jboss.tools.jst.jsp.commands.showSelectionBar">
+ <activeWhen>
+ <reference definitionId="org.jboss.tools.ui.structuredEditor"/>
+ </activeWhen>
+ <enabledWhen>
+ <reference definitionId="org.jboss.tools.ui.structuredEditor"/>
+ </enabledWhen>
+ </handler>
</extension>
<extension point="org.eclipse.core.expressions.definitions">
@@ -654,6 +682,15 @@
id="org.jboss.tools.jst.jsp.commands.openCSSDialog"
name="Open CSS Dialog">
</command>
+ <category
+ id="org.jboss.tools.jst.jsp.commands.category"
+ name="Sample Category">
+ </category>
+ <command
+ categoryId="org.jboss.tools.jst.jsp.commands.category"
+ id="org.jboss.tools.jst.jsp.commands.showSelectionBar"
+ name="Sample Command">
+ </command>
</extension>
<extension
point="org.eclipse.ui.bindings">
@@ -663,6 +700,12 @@
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="Ctrl+Shift+C">
</key>
+ <key
+ commandId="org.jboss.tools.jst.jsp.commands.showSelectionBar"
+ contextId="org.eclipse.ui.contexts.window"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="M1+6">
+ </key>
</extension>
<extension
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -446,7 +446,7 @@
}
try {
if (visualEditor != null) {
- visualSourceIndex = addPage(visualEditor, getEditorInput());
+ visualSourceIndex = addPage(visualEditor, getEditorInput(),sourceEditor);
setPageText(
visualSourceIndex,
JSPEditorMessages.JSPMultiPageEditor_TabLabel_VisualSource);
@@ -466,11 +466,11 @@
try {
String sourceTabLabel = JSPEditorMessages.JSPMultiPageEditor_TabLabel_Source;
if (visualEditor != null) {
- sourceIndex = addPage(visualEditor, getEditorInput());
+ sourceIndex = addPage(visualEditor, getEditorInput(),sourceEditor);
setPageText(sourceIndex, sourceTabLabel);
setPartName(visualEditor.getTitle());
} else {
- sourceIndex = addPage(sourceEditor, getEditorInput());
+ sourceIndex = addPage(sourceEditor, getEditorInput(),sourceEditor);
setPageText(sourceIndex, sourceTabLabel);
setPartName(sourceEditor.getTitle());
}
@@ -481,7 +481,7 @@
// Add tab contain default web-browser
try {
if (visualEditor != null) {
- setPreviewIndex(addPage(visualEditor, getEditorInput()));
+ setPreviewIndex(addPage(visualEditor, getEditorInput(),sourceEditor));
setPageText(getPreviewIndex(),
JSPEditorMessages.JSPMultiPageEditor_TabLabel_Preview);
setPartName(visualEditor.getTitle());
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditorPart.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditorPart.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditorPart.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -25,6 +25,9 @@
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.layout.FillLayout;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Item;
@@ -41,7 +44,9 @@
import org.eclipse.ui.part.MultiPageEditorActionBarContributor;
import org.eclipse.ui.part.MultiPageEditorSite;
import org.eclipse.ui.part.MultiPageSelectionProvider;
+import org.eclipse.wst.sse.ui.StructuredTextEditor;
import org.jboss.tools.common.core.resources.XModelObjectEditorInput;
+import org.jboss.tools.jst.jsp.selection.bar.SelectionBar;
/**
*
@@ -66,8 +71,15 @@
*/
Composite ppp = null;
+ /**
+ *
+ * @param editor
+ * @param input
+ * @return
+ * @throws PartInitException
+ */
- public int addPage(IEditorPart editor, IEditorInput input)
+ public int addPage(IEditorPart editor, IEditorInput input, StructuredTextEditor sourcePart)
throws PartInitException {
Composite parent2;
if (ppp == null) {
@@ -75,8 +87,15 @@
editor.init(site, input);
parent2 = new Composite(getContainer(), SWT.NONE);
ppp = parent2;
- parent2.setLayout(new FillLayout());
editor.createPartControl(parent2);
+ parent2.setLayout(new GridLayout(2, false));
+
+ SelectionBar selBar = new SelectionBar(sourcePart);
+ selBar.createToolBarComposite(parent2, true);
+// GridData gridData = new GridData();
+// gridData.horizontalAlignment = GridData.FILL;
+// gridData.horizontalSpan = 2;
+// but.setLayoutData(gridData);
editor.addPropertyListener(new IPropertyListener() {
public void propertyChanged(Object source, int propertyId) {
JSPMultiPageEditorPart.this
@@ -106,6 +125,7 @@
pageChange(newPageIndex);
}
});
+
return newContainer;
}
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditor.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditor.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditor.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -1072,13 +1072,15 @@
storedSelection = p;
if (selection instanceof ITextSelection) {
ITextSelection ts = (ITextSelection) selection;
+// getSelectionProvider().setSelection(ts);
if (ts.getLength() == 0) {
- if (vpeController != null) {
- vpeController
- .selectionChanged(new SelectionChangedEvent(
- getSelectionProvider(),
- getSelectionProvider().getSelection()));
- }
+ getSelectionProvider().setSelection(ts);
+// if (vpeController != null) {
+// vpeController
+// .selectionChanged(new SelectionChangedEvent(
+// getSelectionProvider(),
+// getSelectionProvider().getSelection()));
+// }
}
}
}
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/JstUIMessages.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/JstUIMessages.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/JstUIMessages.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -123,4 +123,11 @@
public static String INFORM_WHEN_PROJECT_MIGHT_NOT_BE_CONFIGURED_PROPERLY_FOR_VPE;
public static String DOCS_INFO_LINK;
public static String DOCS_INFO_LINK_TEXT;
+ public static String CONFIRM_SELECTION_BAR_DIALOG_TITLE;
+ public static String CONFIRM_SELECTION_BAR_DIALOG_MESSAGE;
+ public static String CONFIRM_SELECTION_BAR_DIALOG_TOGGLE_MESSAGE;
+ public static String ASK_CONFIRMATION_ON_CLOSING_SELECTION_BAR;
+ public static String SelectionBar_MoreNodes;
+ public static String HIDE_SELECTION_BAR;
+
}
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/messages.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/messages.properties 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/messages.properties 2010-09-17 11:16:09 UTC (rev 24976)
@@ -100,4 +100,10 @@
INFORM_WHEN_PROJECT_MIGHT_NOT_BE_CONFIGURED_PROPERLY_FOR_VPE=Inform when a project might not be configured properly for Visual Page Editor
DOCS_INFO_LINK=http://www.jboss.org/community/docs/DOC-10862
-DOCS_INFO_LINK_TEXT=See JBoss Tools Visual Editor FAQ
\ No newline at end of file
+DOCS_INFO_LINK_TEXT=See JBoss Tools Visual Editor FAQ
+
+CONFIRM_SELECTION_BAR_DIALOG_TITLE=Confirm hide selection bar
+CONFIRM_SELECTION_BAR_DIALOG_MESSAGE=Hide selection bar?
+CONFIRM_SELECTION_BAR_DIALOG_TOGGLE_MESSAGE=Always hide selection bar without prompt
+SelectionBar_MoreNodes=More Nodes...
+HIDE_SELECTION_BAR=Hide selection bar
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/preferences/IVpePreferencesPage.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/preferences/IVpePreferencesPage.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/preferences/IVpePreferencesPage.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -14,7 +14,6 @@
static final String SHOW_BORDER_FOR_UNKNOWN_TAGS = "Show Border for Unknown Tags"; //$NON-NLS-1$
static final String SHOW_NON_VISUAL_TAGS = "Show non-visual tags"; //$NON-NLS-1$
- static final String SHOW_SELECTION_TAG_BAR = "Show Selection Tag Bar"; //$NON-NLS-1$
static final String SHOW_TEXT_FORMATTING = "Show Text Formatting bar"; //$NON-NLS-1$
static final String SHOW_RESOURCE_BUNDLES_USAGE_AS_EL = "Show Resource Bundles Usage as EL Expressions"; //$NON-NLS-1$
static final String ASK_TAG_ATTRIBUTES_ON_TAG_INSERT = "Ask for tag attributes during tag insert"; //$NON-NLS-1$
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/preferences/VpePreferencesInitializer.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/preferences/VpePreferencesInitializer.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/preferences/VpePreferencesInitializer.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -24,7 +24,6 @@
defaultPreferences.putBoolean(IVpePreferencesPage.SHOW_BORDER_FOR_UNKNOWN_TAGS, true);
defaultPreferences.putBoolean(IVpePreferencesPage.SHOW_NON_VISUAL_TAGS, false);
- defaultPreferences.putBoolean(IVpePreferencesPage.SHOW_SELECTION_TAG_BAR, true);
defaultPreferences.putBoolean(IVpePreferencesPage.SHOW_TEXT_FORMATTING, true);
defaultPreferences.putBoolean(IVpePreferencesPage.SHOW_RESOURCE_BUNDLES_USAGE_AS_EL, false);
defaultPreferences.putBoolean(IVpePreferencesPage.ASK_TAG_ATTRIBUTES_ON_TAG_INSERT, true);
Copied: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SelectedNodeInfo.java (from rev 24935, trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectedNodeInfo.java)
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SelectedNodeInfo.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SelectedNodeInfo.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -0,0 +1,48 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.jsp.selection;
+
+import org.w3c.dom.Node;
+
+public class SelectedNodeInfo {
+ private Node node;
+ private int startOffset;
+ private int endOffset;
+
+ public SelectedNodeInfo(Node node) {
+ this.node = node;
+ }
+ public SelectedNodeInfo(Node node, int startOffset, int endOffset) {
+ this(node);
+ this.startOffset = startOffset;
+ this.endOffset = endOffset;
+ }
+
+ public Node getNode() {
+ return node;
+ }
+
+ public int getStartOffset() {
+ return startOffset;
+ }
+
+ public int getEndOffset() {
+ return endOffset;
+ }
+
+ public String toString() {
+ if (node != null) {
+ return node.toString();
+ }
+ return super.toString();
+ }
+
+}
Copied: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SelectionHelper.java (from rev 24935, trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectionHelper.java)
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SelectionHelper.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SelectionHelper.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.jsp.selection;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.jface.text.ITextSelection;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.ISelectionProvider;
+import org.eclipse.swt.custom.StyledText;
+import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
+import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
+import org.eclipse.wst.sse.ui.StructuredTextEditor;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
+import org.w3c.dom.Node;
+
+public class SelectionHelper {
+
+ public static StyledText getSourceTextWidget(StructuredTextEditor sourceEditor) {
+ if (sourceEditor != null && sourceEditor.getTextViewer() != null && sourceEditor.getTextViewer().getTextWidget() != null && !sourceEditor.getTextViewer().getTextWidget().isDisposed()) {
+ return (StyledText)sourceEditor.getTextViewer().getTextWidget();
+ }
+ return null;
+ }
+
+ public static int getCaretOffset(StructuredTextEditor sourceEditor) {
+ StyledText t = getSourceTextWidget(sourceEditor);
+ return t == null ? 0 : t.getCaretOffset();
+ }
+
+ public static List getTextWidgetSelectedNodes(IStructuredModel model, ISelectionProvider provider) {
+ ISelection s = provider.getSelection();
+ if(s == null || s.isEmpty() || !(s instanceof ITextSelection)) return new ArrayList();
+ ITextSelection ts = (ITextSelection)s;
+ int offset = ts.getOffset();
+ if (model == null) return new ArrayList(0);
+ IndexedRegion firstSelectedNode = model.getIndexedRegion(offset);
+
+ // Never send a "null" in the selection
+ List selectedNodes = null;
+ if (firstSelectedNode != null) {
+ selectedNodes = new ArrayList(1);
+ selectedNodes.add(firstSelectedNode);
+ }
+ else {
+ selectedNodes = new ArrayList(0);
+ }
+ return selectedNodes;
+ }
+ /**
+ * select node completely
+ *
+ * @param pageContext
+ * @param node
+ */
+ public static void setSourceSelection(StructuredTextEditor structuredTextEditor, Node node) {
+
+ int start = NodesManagingUtil.getStartOffsetNode(node);
+ int length = NodesManagingUtil.getNodeLength(node);
+
+ structuredTextEditor.getTextViewer()
+ .setSelectedRange(start, length);
+ structuredTextEditor.getTextViewer().revealRange(
+ start, length);
+ }
+
+}
Copied: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SourceSelection.java (from rev 24935, trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSourceSelection.java)
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SourceSelection.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SourceSelection.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -0,0 +1,192 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.jsp.selection;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Collections;
+
+import org.eclipse.swt.graphics.Point;
+import org.w3c.dom.Attr;
+import org.w3c.dom.Node;
+
+public class SourceSelection {
+ private Node startNode;
+ private int startOffset;
+ private Node endNode;
+ private int endOffset;
+ private List selectedNodes;
+ private Attr focusAttribute;
+ private Point focusAttributeRange;
+
+ public SourceSelection(Node startNode, int startOffset, Node endNode, int endOffset) {
+ this.startNode = startNode;
+ this.startOffset = startOffset;
+ this.endNode = endNode;
+ this.endOffset = endOffset;
+ this.selectedNodes = getSelNodes();
+ }
+
+ public List getSelectedNodes() {
+ return selectedNodes;
+ }
+
+ private List getSelNodes() {
+ List nodes = Collections.EMPTY_LIST;
+ VpeNodeIterator nodeIterator = new VpeNodeIterator(startNode, endNode);
+ Node nextNode = nodeIterator.nextNode();
+ if (nextNode != null) nodes = new ArrayList();
+// Node commonAncestor = getCommonAncestor();
+ while (nextNode != null) {
+ SelectedNodeInfo nextNodeInfo = null;
+ int type = nextNode.getNodeType();
+ if (type == Node.TEXT_NODE || type == Node.COMMENT_NODE) {
+ if (nextNode == startNode && nextNode == endNode) {
+ nextNodeInfo = new SelectedNodeInfo(nextNode, startOffset, endOffset);
+ } else if (nextNode == startNode) {
+ nextNodeInfo = new SelectedNodeInfo(nextNode, startOffset, nextNode.getNodeValue().length());
+ } else if (nextNode == endNode) {
+ nextNodeInfo = new SelectedNodeInfo(nextNode, 0, endOffset);
+ } else {
+ nextNodeInfo = new SelectedNodeInfo(nextNode, 0, nextNode.getNodeValue().length());
+ }
+ } else if (nextNode.getNodeType() == Node.ELEMENT_NODE) {
+ if (!inParents(nextNode, endNode)) {
+ nextNodeInfo = new SelectedNodeInfo(nextNode);
+ }
+ }
+ if (nextNodeInfo != null) nodes.add(nextNodeInfo);
+ nextNode = nodeIterator.nextNode();
+ }
+ return nodes;
+ }
+
+ private boolean inParents(Node node1, Node node2) {
+ if (node2 != null) {
+ Node p = node2.getParentNode();
+ while (p != null) {
+ if (p == node1)
+ return true;
+ p = p.getParentNode();
+ }
+ }
+ return false;
+
+ }
+
+ public Node getCommonAncestor() {
+ if (endNode == null)
+ return null;
+
+ for (Node na = endNode; na != null; na = na.getParentNode()) {
+ for (Node ta = startNode; ta != null; ta = ta.getParentNode()) {
+ if (ta == na)
+ return ta;
+ }
+ }
+
+ return null; // not found
+ }
+
+ public boolean isOneNodeSelected() {
+ return startNode == endNode;
+ }
+
+ public static class VpeNodeIterator {
+ private Node nextNode;
+ private Node endNode;
+
+ public VpeNodeIterator(Node startNode, Node endNode) {
+ this.nextNode = startNode;
+ this.endNode = endNode;
+ }
+
+ public Node nextNode() {
+ for (Node node = getNextNode(); node != null; node = getNextNode()) {
+ return node;
+ }
+ return null;
+ }
+
+ private final Node getNextNode() {
+ if (this.nextNode == null)
+ return null;
+ Node oldNext = this.nextNode;
+ Node child = this.nextNode.getFirstChild();
+ if (child != null) {
+ this.nextNode = child;
+ return oldNext;
+ }
+ for (Node node = this.nextNode; node != null && !node.equals(endNode); node = node.getParentNode()) {
+ Node next = node.getNextSibling();
+ if (next != null) {
+ this.nextNode = next;
+ return oldNext;
+ }
+ }
+ this.nextNode = null;
+ return oldNext;
+ }
+ }
+
+ public Node getEndNode() {
+ return endNode;
+ }
+
+ public Node getStartNode() {
+ return startNode;
+ }
+
+ public int getEndOffset() {
+ return endOffset;
+ }
+
+ public int getStartOffset() {
+ return startOffset;
+ }
+
+ public boolean isCollapsed() {
+ return isOneNodeSelected() && startOffset == endOffset;
+ }
+
+ public Node getFocusNode() {
+// return focusNode;
+ return endNode;
+ }
+
+ public int getFocusOffset() {
+ return endOffset;
+ }
+
+ public void setEndOffset(int endOffset) {
+ this.endOffset = endOffset;
+ }
+
+ public void setStartOffset(int startOffset) {
+ this.startOffset = startOffset;
+ }
+
+ public Attr getFocusAttribute() {
+ return focusAttribute;
+ }
+
+ public void setFocusAttribute(Attr focusAttribute) {
+ this.focusAttribute = focusAttribute;
+ }
+
+ public Point getFocusAttributeRange() {
+ return focusAttributeRange;
+ }
+
+ public void setFocusAttributeRange(Point focusAttributeRange) {
+ this.focusAttributeRange = focusAttributeRange;
+ }
+}
Copied: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SourceSelectionBuilder.java (from rev 24935, trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSourceSelectionBuilder.java)
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SourceSelectionBuilder.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/SourceSelectionBuilder.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -0,0 +1,158 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.jsp.selection;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.swt.graphics.Point;
+import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
+import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegion;
+import org.eclipse.wst.sse.ui.StructuredTextEditor;
+import org.eclipse.wst.xml.core.internal.document.AttrImpl;
+import org.eclipse.wst.xml.core.internal.document.ElementImpl;
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement;
+import org.w3c.dom.Attr;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+
+public class SourceSelectionBuilder {
+ StructuredTextEditor sourceEditor;
+
+ public SourceSelectionBuilder(StructuredTextEditor sourceEditor) {
+ this.sourceEditor = sourceEditor;
+ }
+
+ public SourceSelection getSelection() {
+ Point range = sourceEditor.getTextViewer().getSelectedRange();
+ int anchorPosition = range.x;
+ int focusPosition = range.x + range.y;
+ boolean extendFlag = range.y != 0;
+ boolean reversionFlag = extendFlag && anchorPosition == SelectionHelper.getCaretOffset(sourceEditor);
+ if (reversionFlag) {
+ anchorPosition = focusPosition;
+ focusPosition = range.x;
+ }
+ Node focusNode = getSourceNodeAt(this.sourceEditor,focusPosition);
+ if (focusNode == null) {
+ return null;
+ }
+
+ int focusOffset = getSourceNodeOffset(focusNode, focusPosition, !reversionFlag);
+ Node anchorNode = null;
+ int anchorOffset = 0;
+ if (extendFlag) {
+ anchorNode = getSourceNodeAt(this.sourceEditor,anchorPosition);
+ anchorOffset = getSourceNodeOffset(anchorNode, anchorPosition, reversionFlag);
+ } else {
+ anchorNode = focusNode;
+ anchorOffset = focusOffset;
+ }
+
+ SourceSelection selection = null;
+ if (reversionFlag) {
+ selection = new SourceSelection(focusNode, focusOffset, anchorNode, anchorOffset);
+ } else {
+ selection = new SourceSelection(anchorNode, anchorOffset, focusNode, focusOffset);
+ }
+ List selectedNodes = null;
+ if (focusNode instanceof IDOMElement) {
+ IDOMElement element = (IDOMElement)focusNode;
+ if (focusPosition < element.getEndStartOffset()) {
+ NamedNodeMap attrs = focusNode.getAttributes();
+ for (int i = 0; i < attrs.getLength(); i++) {
+ AttrImpl attr = (AttrImpl)attrs.item(i);
+ ITextRegion region = attr.getValueRegion();
+ if(region==null) {
+ break;
+ }
+ int attrStart = region.getStart();
+ int attrEnd = attrStart + attr.getValue().length();
+ if (range.x - ((ElementImpl)attr.getOwnerElement()).getStartOffset() - 1 >= attrStart && range.x - ((ElementImpl)attr.getOwnerElement()).getStartOffset() - 1 <= attrEnd) {
+ selectedNodes = new ArrayList();
+ selectedNodes.add(attr);
+ break;
+ }
+ }
+ }
+ }
+
+ if (selectedNodes == null) {
+ selectedNodes = SelectionHelper.getTextWidgetSelectedNodes(sourceEditor.getModel(), sourceEditor.getSelectionProvider());
+ }
+ if (selectedNodes != null && selectedNodes.size() == 1) {
+ Object node = selectedNodes.get(0);
+ if (node instanceof AttrImpl) {
+ AttrImpl attr = (AttrImpl)node;
+ int attrStart = attr.getValueRegion().getStart();
+ int attrEnd = attrStart + attr.getValue().length();
+ if (range.x - ((ElementImpl)attr.getOwnerElement()).getStartOffset() - 1 >= attrStart && range.x - ((ElementImpl)attr.getOwnerElement()).getStartOffset() - 1 <= attrEnd) {
+ selection.setFocusAttribute((Attr)node);
+ Point attrRange = new Point(range.x - (((ElementImpl)attr.getOwnerElement()).getStartOffset() + attr.getValueRegion().getStart()) - 1, range.y);
+ selection.setFocusAttributeRange(attrRange);
+ }
+ }
+ }
+ return selection;
+ }
+
+ public static Node getSourceNodeAt(StructuredTextEditor srcEditor,int offset) {
+ if (srcEditor != null && srcEditor.getModel() != null) {
+ IndexedRegion node = srcEditor.getModel().getIndexedRegion(offset);
+ if (node == null) {
+ node = srcEditor.getModel().getIndexedRegion(offset - 1);
+ }
+ if (node instanceof Node) {
+ return (Node) node;
+ }
+ }
+ return null;
+ }
+
+ private int getSourceNodeOffset(Node node, int pos, boolean endFlag) {
+ if (node == null) return 0;
+ int start = ((IndexedRegion)node).getStartOffset();
+ int end = ((IndexedRegion)node).getEndOffset();
+
+ if (node.getNodeType() == Node.TEXT_NODE) {
+ if (pos < start) {
+ return 0;
+ } else if (pos > end) {
+ return end - start;
+ } else {
+ return pos - start;
+ }
+ } else if (node.getNodeType() == Node.ELEMENT_NODE) {
+ ElementImpl element = (ElementImpl)node;
+ if (element.isContainer()) {
+ if (pos < element.getStartEndOffset()) {
+ return 0;
+ } else {
+ if (element.hasEndTag() && pos <= element.getEndStartOffset()) {
+ return 2;
+ } else {
+ return 1;
+ }
+ }
+ } else {
+ return endFlag ? 1 : 0;
+ }
+ } else if (node.getNodeType() == Node.COMMENT_NODE) {
+ if (pos > end) {
+ pos = end;
+ }
+ int offset = pos - start - 4;
+ return offset < 0 ? 0 : offset;
+ } else {
+ return endFlag ? 1 : 0;
+ }
+ }
+}
\ No newline at end of file
Added: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/SelectionBar.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/SelectionBar.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/SelectionBar.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -0,0 +1,806 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.jsp.selection.bar;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.compare.Splitter;
+import org.eclipse.jface.dialogs.IDialogConstants;
+import org.eclipse.jface.dialogs.MessageDialogWithToggle;
+import org.eclipse.jface.viewers.ISelectionChangedListener;
+import org.eclipse.jface.viewers.SelectionChangedEvent;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.DisposeEvent;
+import org.eclipse.swt.events.DisposeListener;
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.graphics.Color;
+import org.eclipse.swt.graphics.GC;
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.swt.graphics.Point;
+import org.eclipse.swt.graphics.Rectangle;
+import org.eclipse.swt.layout.FormAttachment;
+import org.eclipse.swt.layout.FormData;
+import org.eclipse.swt.layout.FormLayout;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Event;
+import org.eclipse.swt.widgets.Listener;
+import org.eclipse.swt.widgets.Menu;
+import org.eclipse.swt.widgets.MenuItem;
+import org.eclipse.swt.widgets.ToolBar;
+import org.eclipse.swt.widgets.ToolItem;
+import org.eclipse.swt.widgets.Widget;
+import org.eclipse.ui.ISharedImages;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.internal.IWorkbenchGraphicConstants;
+import org.eclipse.ui.internal.WorkbenchImages;
+import org.eclipse.wst.sse.core.internal.provisional.INodeAdapter;
+import org.eclipse.wst.sse.core.internal.provisional.INodeNotifier;
+import org.eclipse.wst.sse.ui.StructuredTextEditor;
+import org.jboss.tools.jst.jsp.JspEditorPlugin;
+import org.jboss.tools.jst.jsp.messages.JstUIMessages;
+import org.jboss.tools.jst.jsp.preferences.IVpePreferencesPage;
+import org.jboss.tools.jst.jsp.selection.SelectionHelper;
+import org.jboss.tools.jst.jsp.selection.SourceSelection;
+import org.jboss.tools.jst.jsp.selection.SourceSelectionBuilder;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+/**
+ * This class create and manage the Selection Bar under the VPE.
+ * Entry point from the class MozilaEditor This bar can be hiden and
+ * shown it uses splitter for this.
+ *
+ * @author erick
+ * @author yradtsevich
+ * @author mareshkau
+ */
+public class SelectionBar implements ISelectionChangedListener{
+ /**
+ *
+ */
+ private static final int SEL_ITEM_RIGHT_MARGIN = 5;
+
+ private Splitter splitter;
+
+ private boolean resizeListenerAdded = false;
+ private ToolBar selBar = null;
+ private FormData selBarData;
+// private Composite closeBar = null;
+ private Menu dropDownMenu = null;
+ private int itemCount = 0;
+// private Composite arrowBar;
+ private Composite cmpToolBar = null;
+ private Composite cmpTlEmpty = null;
+ private StructuredTextEditor textEditor;
+
+ public SelectionBar(StructuredTextEditor textEditor) {
+ super();
+ this.textEditor = textEditor;
+ this.textEditor.getTextViewer().addSelectionChangedListener(this);
+ }
+
+ /**
+ * Visibility state of the {@code SelectionBar}.
+ */
+ private static boolean visible;
+
+ private ImageButton arrowButton;
+ private Node currentSelectedNode = null;
+ private Node currentLastNode = null;
+
+ public Composite createToolBarComposite(Composite parent, boolean visible) {
+ splitter = new Splitter(parent, SWT.NONE);
+ splitter.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+ /*
+ * The empty composite
+ */
+ cmpTlEmpty = new Composite(splitter, SWT.NONE) {
+ @Override
+ public Point computeSize(int wHint, int hHint, boolean changed) {
+ Point point = super.computeSize(wHint, hHint, changed);
+ point.y = 1;
+ return point;
+ }
+ };
+
+ cmpTlEmpty.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+
+ // Main composite of the visible splitter
+ cmpToolBar = new Composite(splitter, SWT.NONE);
+ cmpToolBar.setLayout(new FormLayout());
+
+ final Image closeImage = PlatformUI.getWorkbench().getSharedImages()
+ .getImage(ISharedImages.IMG_TOOL_DELETE);
+
+ final Listener closeListener = new Listener() {
+ public void handleEvent(Event event) {
+ if (askConfirmationOnClosingSelectionBar()) {
+ MessageDialogWithToggle dialog = MessageDialogWithToggle
+ .openOkCancelConfirm(
+ PlatformUI.getWorkbench()
+ .getActiveWorkbenchWindow()
+ .getShell(),
+ JstUIMessages.CONFIRM_SELECTION_BAR_DIALOG_TITLE,
+ JstUIMessages.CONFIRM_SELECTION_BAR_DIALOG_MESSAGE,
+ JstUIMessages.ASK_CONFIRMATION_ON_CLOSING_SELECTION_BAR,
+ askConfirmationOnClosingSelectionBar(), null, null);
+ if (dialog.getReturnCode() != IDialogConstants.OK_ID) {
+ return;
+ }
+ setAskConfirmationOnClosingSelectionBar(dialog.getToggleState());
+ }
+ /*
+ * Hide the selection bar
+ */
+ setVisible(false);
+ }
+ };
+
+ ImageButton closeButton = new ImageButton(cmpToolBar, closeImage,
+ JstUIMessages.HIDE_SELECTION_BAR);
+ closeButton.addSelectionListener(closeListener);
+ FormData closeBarData = new FormData();
+ closeBarData.right = new FormAttachment(100);
+ closeBarData.top = new FormAttachment(0);
+ Composite closeItemComposite = closeButton.getComposite();
+ closeItemComposite.setLayoutData(closeBarData);
+
+ // Create selection bar
+ selBar = new ToolBar(cmpToolBar, SWT.HORIZONTAL | SWT.FLAT | SWT.NO_BACKGROUND);
+ selBarData = new FormData();
+ selBarData.left = new FormAttachment(0);
+ selBarData.right = new FormAttachment(closeItemComposite, 0, SWT.LEFT);
+ selBarData.top = new FormAttachment(0);
+ selBar.setLayoutData(selBarData);
+ createArrowButton();
+ cmpToolBar.layout();
+ setVisible(visible);
+ return splitter;
+ }
+
+ public void setAskConfirmationOnClosingSelectionBar(boolean askConfirmation) {
+ JspEditorPlugin.getDefault().getPreferenceStore().setValue(
+ IVpePreferencesPage.ASK_CONFIRMATION_ON_CLOSING_SELECTION_BAR,
+ askConfirmation);
+ }
+
+ public boolean askConfirmationOnClosingSelectionBar() {
+ return JspEditorPlugin.getDefault().getPreferenceStore().getBoolean(
+ IVpePreferencesPage.ASK_CONFIRMATION_ON_CLOSING_SELECTION_BAR);
+ }
+
+ /**
+ * Sets {@code visible} state to this {@code SelectionBar} and fires
+ * all registered {@code VisibilityListener}s.
+ */
+ public void setVisible(boolean visible) {
+ if (visible) {
+ splitter.setVisible(cmpToolBar, true);
+ splitter.setVisible(cmpTlEmpty, false);
+ } else {
+ splitter.setVisible(cmpToolBar, false);
+ splitter.setVisible(cmpTlEmpty, true);
+ }
+ splitter.getParent().layout(true, true);
+
+ this.visible = visible;
+// /*
+// * https://jira.jboss.org/jira/browse/JBIDE-4968
+// * Updating VPE toolbar icon on selection bar changes.
+// */
+// if (vpeController != null) {
+// vpeController.updateVpeToolbar();
+// }
+// fireVisibilityListeners();
+ }
+
+ /**
+ * Returns {@code visible} state of this {@code SelectionBar}.
+ */
+ public boolean isVisible() {
+ return visible;
+ }
+
+// /**
+// * Adds the listener to the collection of listeners who will
+// * be notified when the {@code #visible} state is changed.
+// *
+// * @param listener the listener which should be notified
+// *
+// * @see VisibilityListener
+// * @see VisibilityEvent
+// */
+// public void addVisibilityListener(VisibilityListener listener) {
+// visibilityListeners.add(listener);
+// }
+//
+// /**
+// * Removes the listener from the collection of listeners who will
+// * be notified when the {@link #visible} state is changed.
+// *
+// * @param listener the listener which should be removed
+// *
+// * @see VisibilityListener
+// */
+// public void removeVisibilityListener(VisibilityListener listener) {
+// visibilityListeners.remove(listener);
+// }
+//
+// /**
+// * Fires all registered instances of {@code VisibilityListener} by
+// * sending them {@link VisibilityEvent}.
+// *
+// * @see #addVisibilityListener(VisibilityListener)
+// * @see #removeVisibilityListener(VisibilityListener)
+// */
+// private void fireVisibilityListeners() {
+// VisibilityEvent event = new VisibilityEvent(this);
+// for (VisibilityListener listener : visibilityListeners) {
+// listener.visibilityChanged(event);
+// }
+// }
+//
+// public void setVpeController(VpeController vpeController) {
+// this.vpeController = vpeController;
+// }
+
+ /**
+ * Updates buttons in the selection bar and the drop-down menu
+ * according to the source selection.
+ */
+ public void updateNodes(boolean forceUpdate) {
+ SourceSelectionBuilder sourceSelectionBuilder = new SourceSelectionBuilder(
+ textEditor);
+ SourceSelection selection = sourceSelectionBuilder.getSelection();
+ if (selection == null) {
+ return;
+ }
+
+ // Node node = selection.getFocusNode();
+ Node node = selection.getStartNode();
+ if (node != null && node.getNodeType() == Node.TEXT_NODE) {
+ node = node.getParentNode();
+ }
+
+ if (currentSelectedNode == node && !forceUpdate) {
+ return;
+ }
+
+ final boolean ancestorSelected = isAncestor(node, currentLastNode);
+ if (ancestorSelected) {
+ if (forceUpdate) {
+ // reinitialize selBar with currentLastNode
+ setSelBarItems(currentLastNode);
+ } else {
+ // deselect currentSelectedNode
+ setNodeSelected(currentSelectedNode, false);
+ }
+ } else {
+ setSelBarItems(node);
+ currentLastNode = node;
+ }
+
+ setNodeSelected(node, true);
+ currentSelectedNode = node;
+ }
+
+ /**
+ * Sets the selection state of the given node in the selection bar.
+ */
+ private void setNodeSelected(Node node, boolean selected) {
+ for (ToolItem item : selBar.getItems()) {
+ if (item.getData() == node) {
+ item.setSelection(selected);
+ return;
+ }
+ }
+
+ if (dropDownMenu == null) {
+ return;
+ }
+
+ for (MenuItem item : dropDownMenu.getItems()) {
+ if (item.getData() == node) {
+ item.setSelection(selected);
+ return;
+ }
+ }
+ }
+
+ /**
+ * Cleans {@link #selBar} and adds to it buttons which
+ * appropriate the {@code node} and all its ancestors.
+ */
+ private void setSelBarItems(Node node) {
+ // bug was fixed when toolbar are not shown for resizeble components
+ cmpToolBar.layout();
+ splitter.getParent().layout(true, true);
+
+ removeNodeListenerFromAllNodes();
+ cleanToolBar(selBar);
+
+ disposeDropDownMenu();
+ // for now dropDownMenu = null
+
+ int elementCounter = 0;
+ while ((node != null)
+ && ((node.getNodeType() == Node.ELEMENT_NODE)
+ || (node.getNodeType() == Node.COMMENT_NODE))) {
+ addNodeListenerTo(node);
+
+ /*
+ * If there is no DDM -- item will be added to line
+ */
+ if (dropDownMenu == null) {
+ ToolItem item;
+ NodeList children = node.getChildNodes();
+ List<Node> list = new ArrayList<Node>();
+ for (int i = 0; i < children.getLength(); i++) {
+ if (children.item(i).getNodeType() == Node.ELEMENT_NODE) {
+ list.add(children.item(i));
+ }
+ }
+ /*
+ * for the last tag -- show check button
+ */
+ if ((elementCounter == 0) && (list.size() == 0)){
+ item = new ToolItem(selBar, SWT.FLAT | SWT.CHECK, 1);
+ item.addSelectionListener(new SelectionListener() {
+ public void widgetSelected(SelectionEvent e) {
+ handleSelectionEvent(e);
+ }
+ public void widgetDefaultSelected(SelectionEvent e) {
+ handleSelectionEvent(e);
+ }
+ });
+ } else {
+ /*
+ * Create DropDownMenu button
+ */
+ item = new ToolItem(selBar, SWT.DROP_DOWN, 1);
+ final DropdownSelectionListener listenerOne = new DropdownSelectionListener(item);
+ for (Node node2 : list) {
+ listenerOne.add(node2);
+ }
+ item.addSelectionListener(listenerOne);
+ item.addDisposeListener(new DisposeListener(){
+ public void widgetDisposed(DisposeEvent e) {
+ listenerOne.disposeMenu();
+ }
+ });
+ }
+ item.setData(node);
+ item.setText(node.getNodeName());
+ /*
+ * When the item does not fit to the bar --
+ * put it to the DDM
+ */
+ if (!isItemShown(selBar.getItem(elementCounter + 1))) {
+ item.dispose();
+ dropDownMenu = new Menu(selBar);
+ }
+ }
+
+ /*
+ * After the DDM has been created
+ * all other items will be added to the DDM
+ * as they do not fit to the selection bar any more.
+ */
+ if (dropDownMenu != null) {
+ MenuItem menuItem = new MenuItem(dropDownMenu, SWT.CHECK, 0);
+ menuItem.addSelectionListener(new SelectionListener() {
+ public void widgetSelected(SelectionEvent e) {
+ handleSelectionEvent(e);
+ }
+ public void widgetDefaultSelected(SelectionEvent e) {
+ handleSelectionEvent(e);
+ }
+ });
+ menuItem.setText(node.getNodeName());
+ menuItem.setData(node);
+ }
+
+ /*
+ * Count the elements
+ */
+ elementCounter++;
+ /*
+ * Get the parent to put it to the bar
+ */
+ node = node.getParentNode();
+ }
+ itemCount = elementCounter;
+ arrowButton.setEnabled(dropDownMenu != null);
+
+ if (node != null && node.getNodeType() == Node.DOCUMENT_NODE) {
+ addNodeListenerTo(node);
+ }
+
+ if (!resizeListenerAdded ) {
+ cmpToolBar.addListener(SWT.Resize, new Listener() {
+ public void handleEvent(Event event) {
+ updateNodes(true);
+ }
+ });
+ resizeListenerAdded = true;
+ }
+ }
+
+ /**
+ * Checks if the {@code potentialAncestor} is an ancestor of
+ * {@code potentialAncestor node}.
+ */
+ private boolean isAncestor(Node potentialAncestor, Node node) {
+ if (potentialAncestor == null || node == null) {
+ return false;
+ }
+
+ Node curAncestor = node;
+ while ((curAncestor = curAncestor.getParentNode()) != null) {
+ if (potentialAncestor == curAncestor) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Deletes all items (except the first item-arrow button)
+ * from the given {@code #toolBar}.
+ */
+ private void cleanToolBar(ToolBar toolBar) {
+ ToolItem[] oldItems = toolBar.getItems();
+ for (int i = 1; i < oldItems.length; i++) {
+ oldItems[i].dispose();
+ }
+ }
+
+ /**
+ * Initializes {@link #arrowButton}.
+ */
+ private void createArrowButton() {
+ final Image hoverImage = WorkbenchImages.getImage(
+ IWorkbenchGraphicConstants.IMG_LCL_RENDERED_VIEW_MENU);
+
+ arrowButton = new ImageButton(selBar, hoverImage,
+ JstUIMessages.SelectionBar_MoreNodes);
+ arrowButton.setEnabled(false);
+ arrowButton.addSelectionListener(
+ new Listener() {
+ public void handleEvent(Event event) {
+ Rectangle bounds = arrowButton.getButtonBounds();
+ Point point = selBar.toDisplay(bounds.x, bounds.y
+ + bounds.height);
+ dropDownMenu.setLocation(point);
+ dropDownMenu.setVisible(true);
+ }
+ });
+
+ ToolItem arrowItem = new ToolItem(selBar, SWT.SEPARATOR, 0);
+ Composite arrowButtonComposite = arrowButton.getComposite();
+ arrowItem.setControl(arrowButtonComposite);
+ arrowButtonComposite.pack();
+ arrowItem.setWidth(arrowButtonComposite.getSize().x);
+
+ FormData arrowToolBarData = new FormData();
+ arrowToolBarData.left = new FormAttachment(0);
+ arrowToolBarData.top = new FormAttachment(0);
+ arrowButtonComposite.setLayoutData(arrowToolBarData);
+ }
+
+ /**
+ * Checks if the given {@code toolItem} is fully shown on the screen.
+ */
+ private boolean isItemShown(ToolItem toolItem) {
+ ToolBar toolBar = toolItem.getParent();
+ Rectangle toolItemBounds = toolItem.getBounds();
+
+ toolItemBounds.width += SEL_ITEM_RIGHT_MARGIN;
+ Rectangle intersection = toolBar.getBounds().intersection(
+ toolItemBounds);
+ return intersection.equals(toolItemBounds);
+ }
+
+ /**
+ * List of nodes that are notifying {@link #nodeListener} when they are
+ * changed.
+ */
+ private List<INodeNotifier> nodeNotifiers = new ArrayList<INodeNotifier>();
+ /**
+ * Listener for all {@link #nodeNotifiers}
+ */
+ private NodeListener nodeListener = new NodeListener(this);
+
+ /**
+ * Adds {@link #nodeListener} to the given {@code node}.
+ *
+ * @param node the node to that the listener must be added.
+ */
+ private void addNodeListenerTo(Node node) {
+ if (node instanceof INodeNotifier) {
+ INodeNotifier notifier = (INodeNotifier) node;
+ if (notifier.getExistingAdapter(this) == null) {
+ notifier.addAdapter(nodeListener);
+ nodeNotifiers.add(notifier);
+ }
+ }
+ }
+ /**
+ * Removes {@link #nodeListener} from all nodes associated with this {@code SelectionBar}.
+ */
+ private void removeNodeListenerFromAllNodes() {
+ for (INodeNotifier notifier : nodeNotifiers) {
+ notifier.removeAdapter(nodeListener);
+ }
+ nodeNotifiers.clear();
+ }
+
+ public void dispose() {
+ removeNodeListenerFromAllNodes();
+
+ if (splitter != null) {
+ splitter.dispose();
+ splitter = null;
+ }
+
+ disposeDropDownMenu();
+ }
+
+ /**
+ * Disposes {@link #dropDownMenu}.
+ */
+ private void disposeDropDownMenu() {
+ if (dropDownMenu != null) {
+ dropDownMenu.dispose();
+ dropDownMenu = null;
+ }
+ }
+
+ public void handleSelectionEvent(SelectionEvent e) {
+ Widget widget = e.widget;
+
+ /* ensure that the ToolItem or MenuItem is selected
+ * (for repeated clicks on the same widget)*/
+ if (widget instanceof ToolItem) {
+ ((ToolItem)widget).setSelection(true);
+ } else if (widget instanceof MenuItem) {
+ ((MenuItem)widget).setSelection(true);
+ }
+
+ SelectionHelper.setSourceSelection(textEditor,
+ (Node) widget.getData());
+ }
+
+ public void widgetDefaultSelected(SelectionEvent e) {
+ }
+
+ @Override
+ public String toString() {
+ StringBuffer st = new StringBuffer("CountItem: "); //$NON-NLS-1$
+ st.append(itemCount);
+ st.append(" Parent Composite: " + cmpToolBar.getBounds().width); //$NON-NLS-1$
+ st.append(" Bar : " + selBar.getBounds().width); //$NON-NLS-1$
+ return st.toString();
+ }
+
+ /**
+ *********************************************************************************************
+ * This class provides the "drop down" functionality for the selection bar.
+ *********************************************************************************************/
+ class DropdownSelectionListener extends SelectionAdapter {
+ private ToolItem dropdown;
+ private Menu menu;
+ private boolean shown = false;
+
+ public void disposeMenu() {
+ if (menu != null) {
+ menu.dispose();
+ menu = null;
+ }
+ }
+ /**
+ * Constructs a DropdownSelectionListener
+ *
+ * @param dropdown
+ * the dropdown this listener belongs to
+ */
+ public DropdownSelectionListener(ToolItem dropdown) {
+ this.dropdown = dropdown;
+ menu = new Menu(dropdown.getParent().getShell());
+ }
+
+ /**
+ * Adds an item to the dropdown list
+ *
+ * @param item
+ * the item to add
+ */
+ public void add(Node node) {
+ MenuItem menuItem = new MenuItem(menu, SWT.NONE);
+ menuItem.setText(node.getNodeName());
+ menuItem.setData(node);
+ menuItem.addSelectionListener(new SelectionAdapter() {
+ public void widgetSelected(SelectionEvent event) {
+ handleSelectionEvent(event);
+ }
+ });
+ }
+
+ /**
+ * Called when either the button itself or the dropdown arrow is clicked
+ *
+ * @param event
+ * the event that trigged this call
+ */
+ public void widgetSelected(SelectionEvent event) {
+ /*
+ * If they clicked the arrow, we show the list or close it
+ */
+ if (event.detail == SWT.ARROW) {
+ if (shown) {
+ menu.setVisible(false);
+ shown = false;
+ } else {
+ /*
+ * Determine where to put the dropdown list and show it
+ */
+ ToolItem item = (ToolItem) event.widget;
+ Rectangle rect = item.getBounds();
+ Point pt = item.getParent().toDisplay(
+ new Point(rect.x, rect.y));
+ menu.setLocation(pt.x, pt.y + rect.height);
+ menu.setVisible(true);
+ shown = true;
+ }
+ } else {
+ /*
+ * User pushed the button; take appropriate action
+ */
+ handleSelectionEvent(event);
+ }
+ }
+ }
+
+ @Override
+ public void selectionChanged(SelectionChangedEvent event) {
+ updateNodes(true);
+ }
+}
+
+/**
+ * Instances of this class represent a flat button with image.
+ *
+ * @author yradtsevich
+ */
+class ImageButton {
+ private ToolItem item;
+ private Composite composite;
+ private Image emptyImage;
+ private Image image;
+
+ public ImageButton(Composite parent, Image image, String toolTip) {
+ composite = new Composite(parent, SWT.NONE);
+ composite.addDisposeListener(new DisposeListener() {
+ public void widgetDisposed(DisposeEvent e) {
+ release();
+ }
+ });
+ GridLayout layoutTl = new GridLayout(1, false);
+ layoutTl.marginBottom = 0;
+ layoutTl.marginHeight = 0;
+ layoutTl.marginWidth = 0;
+ layoutTl.verticalSpacing = 0;
+ layoutTl.horizontalSpacing = 0;
+ composite.setLayout(layoutTl);
+
+ this.image = image;
+ ToolBar toolBar = new ToolBar(composite, SWT.HORIZONTAL | SWT.FLAT);
+ item = new ToolItem(toolBar, SWT.FLAT);
+ item.setImage(image);
+ emptyImage = new Image(Display.getCurrent(), 1, 1);
+ Color emptyImageColor = toolBar.getBackground();
+ emptyImage.setBackground(emptyImageColor);
+ GC gc = new GC(emptyImage);
+ gc.setForeground(emptyImageColor);
+ gc.drawPoint(0, 0);
+ gc.dispose();
+ item.setDisabledImage(emptyImage);
+ item.setToolTipText(toolTip);
+ }
+
+ public void addSelectionListener (Listener listener) {
+ item.addListener(SWT.Selection, listener);
+ }
+
+ /**
+ * Releases resources.
+ */
+ protected void release() {
+ if (emptyImage != null) {
+ emptyImage.dispose();
+ emptyImage = null;
+ }
+ }
+
+ public void dispose () {
+ if (composite != null) {
+ composite.dispose();
+ composite = null;
+ item = null;
+ image = null;
+ }
+ }
+ public void setEnabled (boolean enabled) {
+ item.setEnabled(enabled);
+
+ // fix for JBIDE-5588
+ if (enabled) {
+ item.setImage(image);
+ } else {
+ item.setImage(emptyImage);
+ }
+ }
+
+ public Rectangle getButtonBounds() {
+ return item.getBounds();
+ }
+
+
+ public Composite getComposite() {
+ return composite;
+ }
+}
+
+/**
+ * Listener for nodes that are implementing {@link INodeAdapter}.
+ * Calls {@link SelectionBar#updateNodes()} every time when these nodes are changed.
+ * <P>
+ * This class is a part of fix of JBIDE-3919:
+ * Incorrect interaction of block comments with selection bar.
+ * </P>
+ * @author yradtsevich
+ */
+class NodeListener implements INodeAdapter {
+ private SelectionBar selectionBar;
+
+ public NodeListener(SelectionBar selectionBar) {
+ this.selectionBar = selectionBar;
+ }
+
+ /* (non-javadoc)
+ * The infrastructure calls this method to determine if the adapter is
+ * appropriate for 'type'. Typically, adapters return true based on
+ * identity comparison to 'type', but this is not required, that is, the
+ * decision can be based on complex logic.
+ */
+ public boolean isAdapterForType(Object type) {
+ return selectionBar == type;
+ }
+
+ /* (non-javadoc)
+ * Sent to adapter when notifier changes. Each notifier is responsible for
+ * defining specific eventTypes, feature changed, etc.
+ *
+ * ISSUE: may be more evolvable if the argument was one big 'notifier
+ * event' instance.
+ */
+ public void notifyChanged(INodeNotifier notifier, int eventType, Object changedFeature, Object oldValue, Object newValue, int pos) {
+ selectionBar.updateNodes(false);
+ }
+ }
+
Added: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/handlers/SelectionBarHandler.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/handlers/SelectionBarHandler.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/handlers/SelectionBarHandler.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -0,0 +1,34 @@
+package org.jboss.tools.jst.jsp.selection.bar.handlers;
+
+import org.eclipse.core.commands.AbstractHandler;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.ui.IWorkbenchWindow;
+import org.eclipse.ui.handlers.HandlerUtil;
+import org.eclipse.jface.dialogs.MessageDialog;
+
+/**
+ * Our sample handler extends AbstractHandler, an IHandler base class.
+ * @see org.eclipse.core.commands.IHandler
+ * @see org.eclipse.core.commands.AbstractHandler
+ */
+public class SelectionBarHandler extends AbstractHandler {
+ /**
+ * The constructor.
+ */
+ public SelectionBarHandler() {
+ }
+
+ /**
+ * the command has been executed, so extract extract the needed information
+ * from the application context.
+ */
+ public Object execute(ExecutionEvent event) throws ExecutionException {
+ IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event);
+ MessageDialog.openInformation(
+ window.getShell(),
+ "Jsp Editor Plug-in",
+ "Hello, Selection Bar Handler");
+ return null;
+ }
+}
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/handlers/SelectionBarHandler.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/util/NodesManagingUtil.java (from rev 24935, trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/NodesManagingUtil.java)
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/util/NodesManagingUtil.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/util/NodesManagingUtil.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -0,0 +1,112 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+package org.jboss.tools.jst.jsp.util;
+
+import org.eclipse.swt.graphics.Point;
+import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMAttr;
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
+/**
+ *
+ * @author S.Dzmitrovich
+ *
+ */
+public class NodesManagingUtil {
+
+ /**
+ *
+ * @param node
+ * @return
+ */
+ public static int getNodeLength(Node node) {
+
+ if ((node instanceof IDOMAttr)
+ && (((IDOMAttr) node).getValueSource() != null)) {
+ return ((IDOMAttr) node).getValueSource().length();
+ } else if (node instanceof IndexedRegion) {
+ return ((IndexedRegion) node).getEndOffset()
+ - ((IndexedRegion) node).getStartOffset();
+ }
+ return 0;
+ }
+
+ /**
+ * get start offset of node
+ *
+ * @param node
+ * @return
+ */
+ public static int getStartOffsetNode(Node node) {
+
+ if (node instanceof IDOMAttr) {
+ return ((IDOMAttr) node).getValueRegionStartOffset() + 1;
+ } else if (node instanceof IndexedRegion) {
+ return ((IndexedRegion) node).getStartOffset();
+ }
+ return 0;
+ }
+
+ /**
+ * get end offset of node
+ *
+ * @param node
+ * @return
+ */
+ public static int getEndOffsetNode(Node node) {
+
+ if (node instanceof IDOMAttr) {
+ return getStartOffsetNode(node) + getNodeLength(node);
+ } else if (node instanceof IndexedRegion) {
+ return ((IndexedRegion) node).getEndOffset();
+ }
+ return 0;
+ }
+
+ /**
+ *
+ * @param node
+ * @return
+ */
+ public static Point getNodeRange(Node node) {
+
+ return new Point(getStartOffsetNode(node), getNodeLength(node));
+
+ }
+
+ /**
+ * if position belong to node return true
+ *
+ * @param node
+ * @param position
+ * @return
+ */
+ public static boolean isNodeContainsPosition(Node node, int position) {
+ return NodesManagingUtil.getStartOffsetNode(node) <= position
+ && NodesManagingUtil.getEndOffsetNode(node) >= position;
+ }
+
+ /**
+ *
+ * @param pageContext
+ * @param startPosition
+ * @param endPosition
+ * @return
+ */
+ public static String getSourceText(Node node) {
+
+ return ((IDOMNode) node).getSource();
+ }
+
+}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/META-INF/MANIFEST.MF 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/META-INF/MANIFEST.MF 2010-09-17 11:16:09 UTC (rev 24976)
@@ -36,8 +36,7 @@
org.jboss.tools.vpe.editor.util,
org.jboss.tools.vpe.editor.wizards,
org.jboss.tools.vpe.editor.xpl,
- org.jboss.tools.vpe.messages,
- org.jboss.tools.vpe.selbar
+ org.jboss.tools.vpe.messages
Require-Bundle: org.eclipse.jface.text,
org.jboss.tools.jst.jsp,
org.jboss.tools.jst.web,
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/resources/org/jboss/tools/vpe/editor/mozilla/icons/selbar.gif
===================================================================
(Binary files differ)
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -84,6 +84,7 @@
import org.jboss.tools.jst.jsp.editor.IVisualController;
import org.jboss.tools.jst.jsp.jspeditor.dnd.JSPPaletteInsertHelper;
import org.jboss.tools.jst.jsp.preferences.VpePreference;
+import org.jboss.tools.jst.jsp.selection.SelectionHelper;
import org.jboss.tools.jst.web.model.helpers.WebAppHelper;
import org.jboss.tools.jst.web.project.WebProject;
import org.jboss.tools.jst.web.tld.URIConstants;
@@ -106,7 +107,6 @@
import org.jboss.tools.vpe.editor.mozilla.listener.MozillaSelectionListener;
import org.jboss.tools.vpe.editor.mozilla.listener.MozillaTooltipListener;
import org.jboss.tools.vpe.editor.selection.VpeSelectionController;
-import org.jboss.tools.vpe.editor.selection.VpeSelectionHelper;
import org.jboss.tools.vpe.editor.template.IKeyEventHandler;
import org.jboss.tools.vpe.editor.template.ISelectionManager;
import org.jboss.tools.vpe.editor.template.IZoomEventManager;
@@ -126,7 +126,6 @@
import org.jboss.tools.vpe.resref.core.CSSReferenceList;
import org.jboss.tools.vpe.resref.core.RelativeFolderReferenceList;
import org.jboss.tools.vpe.resref.core.TaglibReferenceList;
-import org.jboss.tools.vpe.selbar.SelectionBar;
import org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
@@ -188,7 +187,6 @@
private RelativeFolderReferenceList relativeFolderReferenceListListener;
private VpeIncludeList includeList = new VpeIncludeList();
private FormatControllerManager toolbarFormatControllerManager = null;
- private SelectionBar selectionBar = null;
private XModelTreeListenerSWTSync optionsListener;
// Added by Max Areshkau Fix for JBIDE-1479
private UIJob job = null;
@@ -315,7 +313,7 @@
// sourceEditor.getViewerSelectionManager();
// selectionManager.addNodeSelectionListener(this);
// selectionManager.addTextSelectionListener(this);
- StyledText textWidget = VpeSelectionHelper
+ StyledText textWidget = SelectionHelper
.getSourceTextWidget(sourceEditor);
if (textWidget != null) {
textWidget.addSelectionListener(this);
@@ -404,7 +402,7 @@
// sourceEditor.getViewerSelectionManager();
// selectionManager.removeNodeSelectionListener(this);
// selectionManager.removeTextSelectionListener(this);
- StyledText textWidget = VpeSelectionHelper
+ StyledText textWidget = SelectionHelper
.getSourceTextWidget(sourceEditor);
if (textWidget != null) {
textWidget.removeSelectionListener(this);
@@ -2209,10 +2207,6 @@
toolbarFormatControllerManager = formatControllerManager;
}
- public void setSelectionBarController(SelectionBar selectionBar) {
- this.selectionBar = selectionBar;
- }
-
public IStructuredModel getModel() {
return sourceEditor.getModel();
}
@@ -2239,8 +2233,6 @@
* (!switcher.startActiveEditor)
*/
public void selectionChanged(SelectionChangedEvent event) {
- if (selectionBar != null)
- selectionBar.updateNodes(false);
// FIX for JBIDE-2114
if (!isVisualEditorVisible()) {
// selection event doesn't changes a content
@@ -2528,14 +2520,6 @@
return selectionManager;
}
- /*
- * https://jira.jboss.org/jira/browse/JBIDE-4968
- * Updating VPE toolbar icon on selection bar changes.
- */
- public void updateVpeToolbar() {
- visualEditor.updateShowSelectionBarItem(selectionBar.isVisible());
- }
-
/**
* Update Externalize Strings toolbar icon state.
* <p>
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -41,7 +41,6 @@
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IEditorSite;
-import org.eclipse.ui.IFileEditorInput;
import org.eclipse.ui.IPartListener;
import org.eclipse.ui.IPropertyListener;
import org.eclipse.ui.IReusableEditor;
@@ -80,10 +79,9 @@
import org.jboss.tools.vpe.editor.mozilla.MozillaPreview;
import org.jboss.tools.vpe.editor.mozilla.listener.EditorLoadWindowListener;
import org.jboss.tools.vpe.editor.xpl.CustomSashForm;
+import org.jboss.tools.vpe.editor.xpl.CustomSashForm.ICustomSashFormListener;
import org.jboss.tools.vpe.editor.xpl.EditorSettings;
import org.jboss.tools.vpe.editor.xpl.SashSetting;
-import org.jboss.tools.vpe.editor.xpl.CustomSashForm.ICustomSashFormListener;
-import org.jboss.tools.vpe.selbar.SelectionBar;
@SuppressWarnings("restriction")
public class VpeEditorPart extends EditorPart implements ITextEditor,
@@ -101,7 +99,7 @@
private ControlListener controlListener;
private XModelTreeListener listener;
private XModelObject optionsObject;
- private SelectionBar selectionBar = new SelectionBar();
+// private SelectionBar selectionBar = new SelectionBar();
private ActivationListener activationListener = new ActivationListener();
private int visualMode = 0;
private EditorPart multiPageEditor;
@@ -316,7 +314,7 @@
* https://jira.jboss.org/browse/JBIDE-6832
* Restore the state after switching from Preview, for example.
*/
- selectionBar.setVisible(selectionBar.getAlwaysVisibleOption());
+// selectionBar.setVisible(selectionBar.getAlwaysVisibleOption());
setVerticalToolbarVisible(true);
/*
* Fixes https://jira.jboss.org/jira/browse/JBIDE-3140
@@ -344,7 +342,7 @@
// break;
case SOURCE_MODE:
- selectionBar.setVisible(selectionBar.getAlwaysVisibleOption());
+// selectionBar.setVisible(selectionBar.getAlwaysVisibleOption());
setVerticalToolbarVisible(false);
if (sourceContent != null) {
sourceContent.setVisible(true);
@@ -374,9 +372,9 @@
break;
case PREVIEW_MODE:
- if (selectionBar != null) {
- selectionBar.setVisible(false);
- }
+// if (selectionBar != null) {
+// selectionBar.setVisible(false);
+// }
setVerticalToolbarVisible(false);
/*
* Fixes https://jira.jboss.org/jira/browse/JBIDE-3140
@@ -504,7 +502,7 @@
/*
* Creating selection bar at the bottom of the editor
*/
- selectionBar.createToolBarComposite(cmpEdTl, true);
+// selectionBar.createToolBarComposite(cmpEdTl, true);
//container = new SashForm(cmpEd, SWT.VERTICAL);
/*
@@ -658,7 +656,7 @@
* do it for newly opened ones only.
*/
// fillContainer(false, null);
- selectionBar.setVisible(selectionBar.getAlwaysVisibleOption());
+// selectionBar.setVisible(selectionBar.getAlwaysVisibleOption());
}
public void structureChanged(XModelTreeEvent event) {
@@ -878,8 +876,8 @@
visualEditor.setEditorLoadWindowListener(null);
VpeController vpeController = new VpeController(
VpeEditorPart.this);
- selectionBar.setVpeController(vpeController);
- vpeController.setSelectionBarController(selectionBar);
+// selectionBar.setVpeController(vpeController);
+// vpeController.setSelectionBarController(selectionBar);
vpeController.init(sourceEditor, visualEditor);
}
});
@@ -971,10 +969,10 @@
previewContent = null;
}
- if (selectionBar != null) {
- selectionBar.dispose();
- selectionBar = null;
- }
+// if (selectionBar != null) {
+// selectionBar.dispose();
+// selectionBar = null;
+// }
activeEditor = null;
multiPageEditor = null;
super.dispose();
@@ -1174,13 +1172,10 @@
doVisualRefresh = true;
}
- boolean presfShowSelectionBar = JspEditorPlugin.getDefault()
- .getPreferenceStore().getBoolean(
- IVpePreferencesPage.SHOW_SELECTION_TAG_BAR);
- if (presfShowSelectionBar != selectionBar.isVisible()) {
- selectionBar.setVisible(presfShowSelectionBar);
- doVisualRefresh = true;
- }
+// if (presfShowSelectionBar != selectionBar.isVisible()) {
+// selectionBar.setVisible(presfShowSelectionBar);
+// doVisualRefresh = true;
+// }
boolean prefsShowNonVisualTags = JspEditorPlugin.getDefault()
.getPreferenceStore().getBoolean(
@@ -1213,13 +1208,13 @@
}
}
- public void updateSelectionBar(boolean isSelectionBarVisible) {
- if (selectionBar != null) {
- selectionBar.setVisible(isSelectionBarVisible);
- } else {
- VpePlugin.getDefault().logError("VPE Selection Bar is not initialized."); //$NON-NLS-1$
- }
- }
+// public void updateSelectionBar(boolean isSelectionBarVisible) {
+// if (selectionBar != null) {
+// selectionBar.setVisible(isSelectionBarVisible);
+// } else {
+// VpePlugin.getDefault().logError("VPE Selection Bar is not initialized."); //$NON-NLS-1$
+// }
+// }
private void deactivateServices() {
IWorkbench workbench = PlatformUI.getWorkbench();
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeSourceDomBuilder.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeSourceDomBuilder.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeSourceDomBuilder.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -34,16 +34,17 @@
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
import org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlink;
import org.jboss.tools.jst.jsp.jspeditor.JSPTextEditor;
+import org.jboss.tools.jst.jsp.selection.SelectionHelper;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
import org.jboss.tools.vpe.editor.mapping.VpeElementMapping;
import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
-import org.jboss.tools.vpe.editor.selection.VpeSelectionHelper;
import org.jboss.tools.vpe.editor.template.VpeTemplate;
import org.jboss.tools.vpe.editor.template.VpeTemplateManager;
import org.jboss.tools.vpe.editor.util.HTML;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.util.TextUtil;
+import org.jboss.tools.vpe.editor.util.VpeNodesManagingUtil;
import org.mozilla.interfaces.nsIDOMElement;
import org.mozilla.interfaces.nsIDOMNode;
import org.mozilla.interfaces.nsIDOMNodeList;
@@ -209,7 +210,7 @@
}
Node getSelectedNode() {
- List nodes = VpeSelectionHelper.getTextWidgetSelectedNodes(model,
+ List nodes = SelectionHelper.getTextWidgetSelectedNodes(model,
selectionManager);
// selectionManager.getSelectedNodes();
if (nodes != null && nodes.size() > 0) {
@@ -308,7 +309,7 @@
* false otherwise
*/
private boolean openOnOnVisualNode(nsIDOMNode visualNode) {
- VpeNodeMapping nodeMapping = NodesManagingUtil.getNodeMapping(
+ VpeNodeMapping nodeMapping = VpeNodesManagingUtil.getNodeMapping(
this.domMapping, visualNode);
if (nodeMapping != null && nodeMapping instanceof VpeElementMapping) {
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualKeyHandler.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualKeyHandler.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualKeyHandler.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -36,15 +36,15 @@
import org.eclipse.wst.xml.core.internal.document.InvalidCharacterException;
import org.eclipse.wst.xml.core.internal.document.TextImpl;
import org.jboss.tools.jst.jsp.editor.ITextFormatter;
+import org.jboss.tools.jst.jsp.selection.SourceSelectionBuilder;
+import org.jboss.tools.jst.jsp.selection.SourceSelection;
+import org.jboss.tools.jst.jsp.selection.SelectedNodeInfo;
import org.jboss.tools.vpe.VpeDebug;
import org.jboss.tools.vpe.VpePlugin;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
import org.jboss.tools.vpe.editor.mapping.VpeElementMapping;
import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
-import org.jboss.tools.vpe.editor.selection.VpeSelectedNodeInfo;
-import org.jboss.tools.vpe.editor.selection.VpeSourceSelection;
-import org.jboss.tools.vpe.editor.selection.VpeSourceSelectionBuilder;
import org.jboss.tools.vpe.editor.template.VpeHtmlTemplate;
import org.jboss.tools.vpe.editor.template.VpeTemplate;
import org.jboss.tools.vpe.editor.util.FlatIterator;
@@ -210,8 +210,8 @@
}
private boolean selectToBegin() {
- VpeSourceSelectionBuilder sourceSelectionBuilder = new VpeSourceSelectionBuilder(sourceEditor);
- VpeSourceSelection selection = sourceSelectionBuilder.getSelection();
+ SourceSelectionBuilder sourceSelectionBuilder = new SourceSelectionBuilder(sourceEditor);
+ SourceSelection selection = sourceSelectionBuilder.getSelection();
if (selection != null) {
Node focusNode = selection.getFocusNode();
int focusOffset = selection.getFocusOffset();
@@ -225,8 +225,8 @@
}
private boolean selectToEnd() {
- VpeSourceSelectionBuilder sourceSelectionBuilder = new VpeSourceSelectionBuilder(sourceEditor);
- VpeSourceSelection selection = sourceSelectionBuilder.getSelection();
+ SourceSelectionBuilder sourceSelectionBuilder = new SourceSelectionBuilder(sourceEditor);
+ SourceSelection selection = sourceSelectionBuilder.getSelection();
if (selection != null) {
Node focusNode = selection.getFocusNode();
int focusOffset = selection.getFocusOffset();
@@ -247,7 +247,7 @@
}
private boolean deleteRight() {
- VpeSourceSelectionBuilder sourceSelectionBuilder = new VpeSourceSelectionBuilder(sourceEditor);
+ SourceSelectionBuilder sourceSelectionBuilder = new SourceSelectionBuilder(sourceEditor);
if (processNonCollapsedSelection(sourceSelectionBuilder, VK_DELETE)) {
return true;
}
@@ -256,7 +256,7 @@
return true;
}
- VpeSourceSelection selection = sourceSelectionBuilder.getSelection();
+ SourceSelection selection = sourceSelectionBuilder.getSelection();
if (selection != null) {
if (!selection.isCollapsed()) {
return false;
@@ -289,7 +289,7 @@
return false;
}
- private boolean deleteRightCharOrElement(VpeSourceSelectionBuilder sourceSelectionBuilder, VpeSourceSelection selection, Node node) {
+ private boolean deleteRightCharOrElement(SourceSelectionBuilder sourceSelectionBuilder, SourceSelection selection, Node node) {
if (node.getNodeType() == Node.ELEMENT_NODE) {
int a = 1;
if (!hasNoEmptyChildren(node)) {
@@ -357,7 +357,7 @@
* @return
*/
- private VpeSourceSelection deleteRightChar(VpeSourceSelectionBuilder sourceSelectionBuilder, VpeSourceSelection selection) {
+ private SourceSelection deleteRightChar(SourceSelectionBuilder sourceSelectionBuilder, SourceSelection selection) {
boolean atLeastOneCharIsDeleted = false;
Node focusNode = null;
while (selection != null && (focusNode = selection.getFocusNode()) != null) {
@@ -432,14 +432,14 @@
return selection;
}
- private boolean processNonCollapsedSelection(VpeSourceSelectionBuilder sourceSelectionBuilder, long keyCode) {
- VpeSourceSelection selection = sourceSelectionBuilder.getSelection();
+ private boolean processNonCollapsedSelection(SourceSelectionBuilder sourceSelectionBuilder, long keyCode) {
+ SourceSelection selection = sourceSelectionBuilder.getSelection();
if (selection != null) {
List selectedNodes = selection.getSelectedNodes();
int focusOffset = -1;
if (!selection.isCollapsed()) {
for (int i = 0; i < selectedNodes.size(); i++) {
- VpeSelectedNodeInfo nodeInfo = (VpeSelectedNodeInfo)selectedNodes.get(i);
+ SelectedNodeInfo nodeInfo = (SelectedNodeInfo)selectedNodes.get(i);
focusOffset = processNode(nodeInfo, keyCode, selection);
}
Node commonAncestor = selection.getCommonAncestor();
@@ -454,8 +454,8 @@
return false;
}
- private boolean processAttributeSelection(VpeSourceSelectionBuilder sourceSelectionBuilder, long keyCode) {
- VpeSourceSelection selection = sourceSelectionBuilder.getSelection();
+ private boolean processAttributeSelection(SourceSelectionBuilder sourceSelectionBuilder, long keyCode) {
+ SourceSelection selection = sourceSelectionBuilder.getSelection();
if (selection != null) {
if (selection.getFocusAttribute() != null) {
AttrImpl attr = (AttrImpl)selection.getFocusAttribute();
@@ -516,7 +516,7 @@
}
private boolean deleteLeft() {
- VpeSourceSelectionBuilder sourceSelectionBuilder = new VpeSourceSelectionBuilder(sourceEditor);
+ SourceSelectionBuilder sourceSelectionBuilder = new SourceSelectionBuilder(sourceEditor);
if (processNonCollapsedSelection(sourceSelectionBuilder, VK_BACK_SPACE)) {
return true;
}
@@ -525,7 +525,7 @@
return true;
}
- VpeSourceSelection selection = sourceSelectionBuilder.getSelection();
+ SourceSelection selection = sourceSelectionBuilder.getSelection();
if (selection != null) {
if (!selection.isCollapsed()) {
return false;
@@ -570,7 +570,7 @@
return false;
}
- private boolean deleteLeftCharOrElement(VpeSourceSelectionBuilder sourceSelectionBuilder, VpeSourceSelection selection, Node node) {
+ private boolean deleteLeftCharOrElement(SourceSelectionBuilder sourceSelectionBuilder, SourceSelection selection, Node node) {
if (node.getNodeType() == Node.ELEMENT_NODE) {
if (!hasNoEmptyChildren(node)) {
AttrImpl attr = (AttrImpl)getVisualNodeSourceAttribute(node);
@@ -677,13 +677,13 @@
}
if (focusNodeOffset > 0) {
focusNodeOffset--;
- return VpeSourceSelectionBuilder.getSourceNodeAt(this.sourceEditor,focusNodeOffset);
+ return SourceSelectionBuilder.getSourceNodeAt(this.sourceEditor,focusNodeOffset);
}
}
return null;
}
- private VpeSourceSelection deleteLeftChar(VpeSourceSelectionBuilder sourceSelectionBuilder, VpeSourceSelection selection) {
+ private SourceSelection deleteLeftChar(SourceSelectionBuilder sourceSelectionBuilder, SourceSelection selection) {
boolean atLeastOneCharIsDeleted = false;
Node focusNode = null;
while (selection != null && (focusNode = selection.getFocusNode()) != null) {
@@ -985,13 +985,13 @@
}
private boolean handleKey(nsIDOMKeyEvent keyEvent) {
- VpeSourceSelectionBuilder sourceSelectionBuilder = new VpeSourceSelectionBuilder(sourceEditor);
+ SourceSelectionBuilder sourceSelectionBuilder = new SourceSelectionBuilder(sourceEditor);
processNonCollapsedSelection(sourceSelectionBuilder, keyEvent.getCharCode());
processAttributeSelection(sourceSelectionBuilder, keyEvent.getCharCode());
boolean isEditable = false;
int start = 0;
- VpeSourceSelection selection = sourceSelectionBuilder.getSelection();
+ SourceSelection selection = sourceSelectionBuilder.getSelection();
if (selection != null) {
Node sourceNode = selection.getFocusNode();
if (sourceNode != null) {
@@ -1042,8 +1042,8 @@
private boolean _nonctrlKeyPressHandler(nsIDOMKeyEvent keyEvent) {
ITextFormatter formatter = null;
- VpeSourceSelectionBuilder sourceSelectionBuilder = new VpeSourceSelectionBuilder(sourceEditor);
- VpeSourceSelection selection = sourceSelectionBuilder.getSelection();
+ SourceSelectionBuilder sourceSelectionBuilder = new SourceSelectionBuilder(sourceEditor);
+ SourceSelection selection = sourceSelectionBuilder.getSelection();
if (selection != null) {
long keyCode = keyEvent.getKeyCode();
List selectedNodes = selection.getSelectedNodes();
@@ -1051,7 +1051,7 @@
case VK_ENTER:
if (!selection.isCollapsed()) {
for (int i = 0; i < selectedNodes.size(); i++) {
- VpeSelectedNodeInfo nodeInfo = (VpeSelectedNodeInfo)selectedNodes.get(i);
+ SelectedNodeInfo nodeInfo = (SelectedNodeInfo)selectedNodes.get(i);
processNode(nodeInfo, keyCode, selection);
}
Node commonAncestor = selection.getCommonAncestor();
@@ -1107,13 +1107,13 @@
private boolean split() {
ITextFormatter formatter = null;
IRegion region = null;
- VpeSourceSelectionBuilder sourceSelectionBuilder = new VpeSourceSelectionBuilder(sourceEditor);
- VpeSourceSelection selection = sourceSelectionBuilder.getSelection();
+ SourceSelectionBuilder sourceSelectionBuilder = new SourceSelectionBuilder(sourceEditor);
+ SourceSelection selection = sourceSelectionBuilder.getSelection();
if (selection != null) {
List selectedNodes = selection.getSelectedNodes();
if (!selection.isCollapsed()) {
for (int i = 0; i < selectedNodes.size(); i++) {
- VpeSelectedNodeInfo nodeInfo = (VpeSelectedNodeInfo)selectedNodes.get(i);
+ SelectedNodeInfo nodeInfo = (SelectedNodeInfo)selectedNodes.get(i);
processNode(nodeInfo, VK_ENTER, selection);
}
Node commonAncestor = selection.getCommonAncestor();
@@ -1214,7 +1214,7 @@
}
}
- private int processNode(VpeSelectedNodeInfo nodeInfo, long keyCode, VpeSourceSelection selection) {
+ private int processNode(SelectedNodeInfo nodeInfo, long keyCode, SourceSelection selection) {
Node node = nodeInfo.getNode();
if (domMapping.getNodeMapping(node) != null) {
int type = node.getNodeType();
@@ -1259,7 +1259,7 @@
return null;
}
- private void goToParentTemplate(Node node, VpeSourceSelection selection, long keyCode) {
+ private void goToParentTemplate(Node node, SourceSelection selection, long keyCode) {
ITextFormatter formatter = null;
VpeNodeMapping nearNodeMapping = domMapping.getNearParentMapping(node);
if (nearNodeMapping != null && nearNodeMapping instanceof VpeElementMapping) {
@@ -1298,8 +1298,8 @@
}
private boolean moveForward() {
- VpeSourceSelectionBuilder sourceSelectionBuilder = new VpeSourceSelectionBuilder(sourceEditor);
- VpeSourceSelection selection = sourceSelectionBuilder.getSelection();
+ SourceSelectionBuilder sourceSelectionBuilder = new SourceSelectionBuilder(sourceEditor);
+ SourceSelection selection = sourceSelectionBuilder.getSelection();
if (selection != null && selection.isCollapsed()) {
Node node = getNextNode(selection.getStartNode());
if (node != null) {
@@ -1432,8 +1432,8 @@
}
private boolean moveBack() {
- VpeSourceSelectionBuilder sourceSelectionBuilder = new VpeSourceSelectionBuilder(sourceEditor);
- VpeSourceSelection selection = sourceSelectionBuilder.getSelection();
+ SourceSelectionBuilder sourceSelectionBuilder = new SourceSelectionBuilder(sourceEditor);
+ SourceSelection selection = sourceSelectionBuilder.getSelection();
if (selection != null && selection.isCollapsed()) {
Node node = getPrevNode(selection.getStartNode());
if (node != null) {
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/MenuCreationHelper.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/MenuCreationHelper.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/MenuCreationHelper.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -33,6 +33,7 @@
import org.jboss.tools.common.model.ui.views.palette.PaletteInsertHelper;
import org.jboss.tools.common.model.util.ModelFeatureFactory;
import org.jboss.tools.jst.jsp.jspeditor.dnd.JSPPaletteInsertHelper;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.jst.web.tld.URIConstants;
import org.jboss.tools.vpe.VpeDebug;
import org.jboss.tools.vpe.VpePlugin;
@@ -54,7 +55,6 @@
import org.jboss.tools.vpe.editor.template.VpeTemplateManager;
import org.jboss.tools.vpe.editor.util.Constants;
import org.jboss.tools.vpe.editor.util.HTML;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.util.SelectionUtil;
import org.jboss.tools.vpe.messages.VpeUIMessages;
import org.jboss.tools.vpe.xulrunner.util.DOMTreeDumper;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/action/InsertAction2.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/action/InsertAction2.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/action/InsertAction2.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -20,11 +20,11 @@
import org.jboss.tools.common.model.XModelObject;
import org.jboss.tools.common.model.ui.views.palette.PaletteInsertHelper;
import org.jboss.tools.jst.jsp.jspeditor.dnd.JSPPaletteInsertHelper;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.jst.web.tld.URIConstants;
import org.jboss.tools.jst.web.tld.model.helpers.TLDToPaletteHelper;
import org.jboss.tools.vpe.editor.menu.InsertType;
import org.jboss.tools.vpe.editor.util.Constants;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.util.SelectionUtil;
import org.w3c.dom.DOMException;
import org.w3c.dom.Element;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/action/SelectThisTagAction.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/action/SelectThisTagAction.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/action/SelectThisTagAction.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -12,8 +12,8 @@
import org.eclipse.jface.action.Action;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.menu.VpeMenuUtil;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.jboss.tools.vpe.messages.VpeUIMessages;
import org.w3c.dom.Node;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -121,12 +121,11 @@
public static final String ICON_ORIENTATION_SOURCE_LEFT_DISABLED = "icons/source_left_disabled.gif"; //$NON-NLS-1$
public static final String ICON_SHOW_BORDER_FOR_UNKNOWN_TAGS = "icons/border.gif"; //$NON-NLS-1$
public static final String ICON_NON_VISUAL_TAGS = "icons/non-visusal-tags.gif"; //$NON-NLS-1$
- public static final String ICON_SELECTION_BAR = "icons/selbar.gif"; //$NON-NLS-1$
public static final String ICON_TEXT_FORMATTING = "icons/text-formatting.gif"; //$NON-NLS-1$
public static final String ICON_BUNDLE_AS_EL= "icons/bundle-as-el.gif"; //$NON-NLS-1$
public static final String ICON_EXTERNALIZE_STRINGS= "icons/properties.gif"; //$NON-NLS-1$
- static String SELECT_BAR = "SELECT_LBAR"; //$NON-NLS-1$
+ //static String SELECT_BAR = "SELECT_LBAR"; //$NON-NLS-1$
private XulRunnerEditor xulRunnerEditor;
private nsIDOMElement contentArea;
private nsIDOMNode headNode;
@@ -151,7 +150,6 @@
private Action rotateEditorsAction;
private Action showBorderAction;
private Action showNonVisualTagsAction;
- private Action showSelectionBarAction;
private Action showTextFormattingAction;
private Action showBundleAsELAction;
private Action externalizeStringsAction;
@@ -406,26 +404,6 @@
ICON_NON_VISUAL_TAGS));
showNonVisualTagsAction.setToolTipText(VpeUIMessages.SHOW_NON_VISUAL_TAGS);
toolBarManager.add(showNonVisualTagsAction);
-
- /*
- * Create SHOW SELECTION BAR tool bar item
- */
- showSelectionBarAction = new Action(VpeUIMessages.SHOW_SELECTION_BAR,
- IAction.AS_CHECK_BOX) {
- @Override
- public void run() {
- /*
- * Update Selection Bar
- */
- controller.getPageContext().getEditPart().updateSelectionBar(this.isChecked());
- JspEditorPlugin.getDefault().getPreferenceStore().
- setValue(IVpePreferencesPage.SHOW_SELECTION_TAG_BAR, this.isChecked());
- }
- };
- showSelectionBarAction.setImageDescriptor(ImageDescriptor.createFromFile(MozillaEditor.class,
- ICON_SELECTION_BAR));
- showSelectionBarAction.setToolTipText(VpeUIMessages.SHOW_SELECTION_BAR);
- toolBarManager.add(showSelectionBarAction);
/*
* Create SHOW TEXT FORMATTING tool bar item
@@ -507,7 +485,6 @@
rotateEditorsAction = null;;
showBorderAction = null;
showNonVisualTagsAction = null;
- showSelectionBarAction = null;
showTextFormattingAction = null;
showBundleAsELAction = null;
externalizeStringsAction = null;
@@ -1080,8 +1057,6 @@
.getBoolean(IVpePreferencesPage.SHOW_BORDER_FOR_UNKNOWN_TAGS);
boolean prefsShowNonVisualTags = JspEditorPlugin.getDefault().getPreferenceStore()
.getBoolean(IVpePreferencesPage.SHOW_NON_VISUAL_TAGS);
- boolean prefsShowSelectionBar = JspEditorPlugin.getDefault().getPreferenceStore()
- .getBoolean(IVpePreferencesPage.SHOW_SELECTION_TAG_BAR);
boolean prefsShowTextFormatting = JspEditorPlugin.getDefault().getPreferenceStore()
.getBoolean(IVpePreferencesPage.SHOW_TEXT_FORMATTING);
boolean prefsShowBundlesAsEL = JspEditorPlugin.getDefault().getPreferenceStore()
@@ -1093,9 +1068,6 @@
if (showNonVisualTagsAction != null) {
showNonVisualTagsAction.setChecked(prefsShowNonVisualTags);
}
- if (showSelectionBarAction != null) {
- showSelectionBarAction.setChecked(prefsShowSelectionBar);
- }
if (showTextFormattingAction != null) {
showTextFormattingAction.setChecked(prefsShowTextFormatting);
}
@@ -1110,10 +1082,6 @@
}
}
- public void updateShowSelectionBarItem(boolean checked) {
- showSelectionBarAction.setChecked(checked);
- }
-
public void setResizeListener(MozillaResizeListener resizeListener) {
this.resizeListener = resizeListener;
}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/VpePreferencesPage.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/VpePreferencesPage.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/VpePreferencesPage.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -136,8 +136,6 @@
visualAppearanceGroup));
addField(new BooleanFieldEditor(SHOW_NON_VISUAL_TAGS,
VpeUIMessages.SHOW_NON_VISUAL_TAGS, visualAppearanceGroup));
- addField(new BooleanFieldEditor(SHOW_SELECTION_TAG_BAR,
- VpeUIMessages.SHOW_SELECTION_TAG_BAR, visualAppearanceGroup));
addField(new BooleanFieldEditor(SHOW_TEXT_FORMATTING,
VpeUIMessages.SHOW_TEXT_FORMATTING, visualAppearanceGroup));
addField(new BooleanFieldEditor(SHOW_RESOURCE_BUNDLES_USAGE_AS_EL,
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectedNodeInfo.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectedNodeInfo.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectedNodeInfo.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.vpe.editor.selection;
-
-import org.w3c.dom.Node;
-
-public class VpeSelectedNodeInfo {
- private Node node;
- private int startOffset;
- private int endOffset;
-
- public VpeSelectedNodeInfo(Node node) {
- this.node = node;
- }
- public VpeSelectedNodeInfo(Node node, int startOffset, int endOffset) {
- this(node);
- this.startOffset = startOffset;
- this.endOffset = endOffset;
- }
-
- public Node getNode() {
- return node;
- }
-
- public int getStartOffset() {
- return startOffset;
- }
-
- public int getEndOffset() {
- return endOffset;
- }
-
- public String toString() {
- if (node != null) {
- return node.toString();
- }
- return super.toString();
- }
-
-}
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectionHelper.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectionHelper.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectionHelper.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.vpe.editor.selection;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.jface.text.ITextSelection;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.swt.custom.StyledText;
-import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
-import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
-import org.eclipse.wst.sse.ui.StructuredTextEditor;
-
-public class VpeSelectionHelper {
-
- public static StyledText getSourceTextWidget(StructuredTextEditor sourceEditor) {
- if (sourceEditor != null && sourceEditor.getTextViewer() != null && sourceEditor.getTextViewer().getTextWidget() != null && !sourceEditor.getTextViewer().getTextWidget().isDisposed()) {
- return (StyledText)sourceEditor.getTextViewer().getTextWidget();
- }
- return null;
- }
-
- public static int getCaretOffset(StructuredTextEditor sourceEditor) {
- StyledText t = getSourceTextWidget(sourceEditor);
- return t == null ? 0 : t.getCaretOffset();
- }
-
- public static List getTextWidgetSelectedNodes(IStructuredModel model, ISelectionProvider provider) {
- ISelection s = provider.getSelection();
- if(s == null || s.isEmpty() || !(s instanceof ITextSelection)) return new ArrayList();
- ITextSelection ts = (ITextSelection)s;
- int offset = ts.getOffset();
- if (model == null) return new ArrayList(0);
- IndexedRegion firstSelectedNode = model.getIndexedRegion(offset);
-
- // Never send a "null" in the selection
- List selectedNodes = null;
- if (firstSelectedNode != null) {
- selectedNodes = new ArrayList(1);
- selectedNodes.add(firstSelectedNode);
- }
- else {
- selectedNodes = new ArrayList(0);
- }
- return selectedNodes;
- }
-
-
-}
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSourceSelection.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSourceSelection.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSourceSelection.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -1,192 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.vpe.editor.selection;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Collections;
-
-import org.eclipse.swt.graphics.Point;
-import org.w3c.dom.Attr;
-import org.w3c.dom.Node;
-
-public class VpeSourceSelection {
- private Node startNode;
- private int startOffset;
- private Node endNode;
- private int endOffset;
- private List selectedNodes;
- private Attr focusAttribute;
- private Point focusAttributeRange;
-
- public VpeSourceSelection(Node startNode, int startOffset, Node endNode, int endOffset) {
- this.startNode = startNode;
- this.startOffset = startOffset;
- this.endNode = endNode;
- this.endOffset = endOffset;
- this.selectedNodes = getSelNodes();
- }
-
- public List getSelectedNodes() {
- return selectedNodes;
- }
-
- private List getSelNodes() {
- List nodes = Collections.EMPTY_LIST;
- VpeNodeIterator nodeIterator = new VpeNodeIterator(startNode, endNode);
- Node nextNode = nodeIterator.nextNode();
- if (nextNode != null) nodes = new ArrayList();
-// Node commonAncestor = getCommonAncestor();
- while (nextNode != null) {
- VpeSelectedNodeInfo nextNodeInfo = null;
- int type = nextNode.getNodeType();
- if (type == Node.TEXT_NODE || type == Node.COMMENT_NODE) {
- if (nextNode == startNode && nextNode == endNode) {
- nextNodeInfo = new VpeSelectedNodeInfo(nextNode, startOffset, endOffset);
- } else if (nextNode == startNode) {
- nextNodeInfo = new VpeSelectedNodeInfo(nextNode, startOffset, nextNode.getNodeValue().length());
- } else if (nextNode == endNode) {
- nextNodeInfo = new VpeSelectedNodeInfo(nextNode, 0, endOffset);
- } else {
- nextNodeInfo = new VpeSelectedNodeInfo(nextNode, 0, nextNode.getNodeValue().length());
- }
- } else if (nextNode.getNodeType() == Node.ELEMENT_NODE) {
- if (!inParents(nextNode, endNode)) {
- nextNodeInfo = new VpeSelectedNodeInfo(nextNode);
- }
- }
- if (nextNodeInfo != null) nodes.add(nextNodeInfo);
- nextNode = nodeIterator.nextNode();
- }
- return nodes;
- }
-
- private boolean inParents(Node node1, Node node2) {
- if (node2 != null) {
- Node p = node2.getParentNode();
- while (p != null) {
- if (p == node1)
- return true;
- p = p.getParentNode();
- }
- }
- return false;
-
- }
-
- public Node getCommonAncestor() {
- if (endNode == null)
- return null;
-
- for (Node na = endNode; na != null; na = na.getParentNode()) {
- for (Node ta = startNode; ta != null; ta = ta.getParentNode()) {
- if (ta == na)
- return ta;
- }
- }
-
- return null; // not found
- }
-
- public boolean isOneNodeSelected() {
- return startNode == endNode;
- }
-
- public static class VpeNodeIterator {
- private Node nextNode;
- private Node endNode;
-
- public VpeNodeIterator(Node startNode, Node endNode) {
- this.nextNode = startNode;
- this.endNode = endNode;
- }
-
- public Node nextNode() {
- for (Node node = getNextNode(); node != null; node = getNextNode()) {
- return node;
- }
- return null;
- }
-
- private final Node getNextNode() {
- if (this.nextNode == null)
- return null;
- Node oldNext = this.nextNode;
- Node child = this.nextNode.getFirstChild();
- if (child != null) {
- this.nextNode = child;
- return oldNext;
- }
- for (Node node = this.nextNode; node != null && !node.equals(endNode); node = node.getParentNode()) {
- Node next = node.getNextSibling();
- if (next != null) {
- this.nextNode = next;
- return oldNext;
- }
- }
- this.nextNode = null;
- return oldNext;
- }
- }
-
- public Node getEndNode() {
- return endNode;
- }
-
- public Node getStartNode() {
- return startNode;
- }
-
- public int getEndOffset() {
- return endOffset;
- }
-
- public int getStartOffset() {
- return startOffset;
- }
-
- public boolean isCollapsed() {
- return isOneNodeSelected() && startOffset == endOffset;
- }
-
- public Node getFocusNode() {
-// return focusNode;
- return endNode;
- }
-
- public int getFocusOffset() {
- return endOffset;
- }
-
- public void setEndOffset(int endOffset) {
- this.endOffset = endOffset;
- }
-
- public void setStartOffset(int startOffset) {
- this.startOffset = startOffset;
- }
-
- public Attr getFocusAttribute() {
- return focusAttribute;
- }
-
- public void setFocusAttribute(Attr focusAttribute) {
- this.focusAttribute = focusAttribute;
- }
-
- public Point getFocusAttributeRange() {
- return focusAttributeRange;
- }
-
- public void setFocusAttributeRange(Point focusAttributeRange) {
- this.focusAttributeRange = focusAttributeRange;
- }
-}
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSourceSelectionBuilder.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSourceSelectionBuilder.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSourceSelectionBuilder.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -1,159 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.vpe.editor.selection;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
-import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegion;
-import org.eclipse.wst.sse.ui.StructuredTextEditor;
-import org.eclipse.wst.xml.core.internal.document.AttrImpl;
-import org.eclipse.wst.xml.core.internal.document.ElementImpl;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement;
-import org.jboss.tools.vpe.VpePlugin;
-import org.w3c.dom.Attr;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-
-public class VpeSourceSelectionBuilder {
- StructuredTextEditor sourceEditor;
-
- public VpeSourceSelectionBuilder(StructuredTextEditor sourceEditor) {
- this.sourceEditor = sourceEditor;
- }
-
- public VpeSourceSelection getSelection() {
- Point range = sourceEditor.getTextViewer().getSelectedRange();
- int anchorPosition = range.x;
- int focusPosition = range.x + range.y;
- boolean extendFlag = range.y != 0;
- boolean reversionFlag = extendFlag && anchorPosition == VpeSelectionHelper.getCaretOffset(sourceEditor);
- if (reversionFlag) {
- anchorPosition = focusPosition;
- focusPosition = range.x;
- }
- Node focusNode = getSourceNodeAt(this.sourceEditor,focusPosition);
- if (focusNode == null) {
- return null;
- }
-
- int focusOffset = getSourceNodeOffset(focusNode, focusPosition, !reversionFlag);
- Node anchorNode = null;
- int anchorOffset = 0;
- if (extendFlag) {
- anchorNode = getSourceNodeAt(this.sourceEditor,anchorPosition);
- anchorOffset = getSourceNodeOffset(anchorNode, anchorPosition, reversionFlag);
- } else {
- anchorNode = focusNode;
- anchorOffset = focusOffset;
- }
-
- VpeSourceSelection selection = null;
- if (reversionFlag) {
- selection = new VpeSourceSelection(focusNode, focusOffset, anchorNode, anchorOffset);
- } else {
- selection = new VpeSourceSelection(anchorNode, anchorOffset, focusNode, focusOffset);
- }
- List selectedNodes = null;
- if (focusNode instanceof IDOMElement) {
- IDOMElement element = (IDOMElement)focusNode;
- if (focusPosition < element.getEndStartOffset()) {
- NamedNodeMap attrs = focusNode.getAttributes();
- for (int i = 0; i < attrs.getLength(); i++) {
- AttrImpl attr = (AttrImpl)attrs.item(i);
- ITextRegion region = attr.getValueRegion();
- if(region==null) {
- break;
- }
- int attrStart = region.getStart();
- int attrEnd = attrStart + attr.getValue().length();
- if (range.x - ((ElementImpl)attr.getOwnerElement()).getStartOffset() - 1 >= attrStart && range.x - ((ElementImpl)attr.getOwnerElement()).getStartOffset() - 1 <= attrEnd) {
- selectedNodes = new ArrayList();
- selectedNodes.add(attr);
- break;
- }
- }
- }
- }
-
- if (selectedNodes == null) {
- selectedNodes = VpeSelectionHelper.getTextWidgetSelectedNodes(sourceEditor.getModel(), sourceEditor.getSelectionProvider());
- }
- if (selectedNodes != null && selectedNodes.size() == 1) {
- Object node = selectedNodes.get(0);
- if (node instanceof AttrImpl) {
- AttrImpl attr = (AttrImpl)node;
- int attrStart = attr.getValueRegion().getStart();
- int attrEnd = attrStart + attr.getValue().length();
- if (range.x - ((ElementImpl)attr.getOwnerElement()).getStartOffset() - 1 >= attrStart && range.x - ((ElementImpl)attr.getOwnerElement()).getStartOffset() - 1 <= attrEnd) {
- selection.setFocusAttribute((Attr)node);
- Point attrRange = new Point(range.x - (((ElementImpl)attr.getOwnerElement()).getStartOffset() + attr.getValueRegion().getStart()) - 1, range.y);
- selection.setFocusAttributeRange(attrRange);
- }
- }
- }
- return selection;
- }
-
- public static Node getSourceNodeAt(StructuredTextEditor srcEditor,int offset) {
- if (srcEditor != null && srcEditor.getModel() != null) {
- IndexedRegion node = srcEditor.getModel().getIndexedRegion(offset);
- if (node == null) {
- node = srcEditor.getModel().getIndexedRegion(offset - 1);
- }
- if (node instanceof Node) {
- return (Node) node;
- }
- }
- return null;
- }
-
- private int getSourceNodeOffset(Node node, int pos, boolean endFlag) {
- if (node == null) return 0;
- int start = ((IndexedRegion)node).getStartOffset();
- int end = ((IndexedRegion)node).getEndOffset();
-
- if (node.getNodeType() == Node.TEXT_NODE) {
- if (pos < start) {
- return 0;
- } else if (pos > end) {
- return end - start;
- } else {
- return pos - start;
- }
- } else if (node.getNodeType() == Node.ELEMENT_NODE) {
- ElementImpl element = (ElementImpl)node;
- if (element.isContainer()) {
- if (pos < element.getStartEndOffset()) {
- return 0;
- } else {
- if (element.hasEndTag() && pos <= element.getEndStartOffset()) {
- return 2;
- } else {
- return 1;
- }
- }
- } else {
- return endFlag ? 1 : 0;
- }
- } else if (node.getNodeType() == Node.COMMENT_NODE) {
- if (pos > end) {
- pos = end;
- }
- int offset = pos - start - 4;
- return offset < 0 ? 0 : offset;
- } else {
- return endFlag ? 1 : 0;
- }
- }
-}
\ No newline at end of file
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/KeyEventManager.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/KeyEventManager.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/KeyEventManager.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -14,6 +14,7 @@
import org.eclipse.swt.custom.ST;
import org.eclipse.swt.graphics.Point;
import org.eclipse.wst.sse.ui.StructuredTextEditor;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.mapping.AttributeData;
import org.jboss.tools.vpe.editor.mapping.NodeData;
@@ -21,7 +22,6 @@
import org.jboss.tools.vpe.editor.mapping.VpeElementData;
import org.jboss.tools.vpe.editor.mapping.VpeElementMapping;
import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.util.SelectionUtil;
import org.jboss.tools.vpe.editor.util.TextUtil;
import org.mozilla.interfaces.nsIDOMKeyEvent;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/SelectionManager.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/SelectionManager.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/SelectionManager.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -16,16 +16,17 @@
import org.eclipse.swt.graphics.Point;
import org.eclipse.wst.sse.ui.StructuredTextEditor;
import org.eclipse.wst.xml.core.internal.document.NodeImpl;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.mapping.NodeData;
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
import org.jboss.tools.vpe.editor.mapping.VpeElementMapping;
import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
import org.jboss.tools.vpe.editor.selection.VpeSelectionController;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.util.SelectionUtil;
import org.jboss.tools.vpe.editor.util.TextUtil;
import org.jboss.tools.vpe.editor.util.VisualDomUtil;
+import org.jboss.tools.vpe.editor.util.VpeNodesManagingUtil;
import org.mozilla.interfaces.nsIDOMMouseEvent;
import org.mozilla.interfaces.nsIDOMNSUIEvent;
import org.mozilla.interfaces.nsIDOMNode;
@@ -71,7 +72,7 @@
if (selectedVisualNode == null)
return;
- VpeNodeMapping nodeMapping = NodesManagingUtil.getNodeMapping(
+ VpeNodeMapping nodeMapping = VpeNodesManagingUtil.getNodeMapping(
getDomMapping(), selectedVisualNode);
if (nodeMapping == null)
@@ -161,7 +162,7 @@
nsIDOMNode visualNode = VisualDomUtil.getTargetNode(mouseEvent);
// get element mapping
- VpeNodeMapping nodeMapping = NodesManagingUtil.getNodeMapping(
+ VpeNodeMapping nodeMapping = VpeNodesManagingUtil.getNodeMapping(
getDomMapping(), visualNode);
if (nodeMapping == null)
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractCreator.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractCreator.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractCreator.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -13,8 +13,8 @@
import java.util.Map;
import org.jboss.tools.jst.jsp.editor.ITextFormatter;
+import org.jboss.tools.jst.jsp.selection.SourceSelection;
import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.selection.VpeSourceSelection;
import org.jboss.tools.vpe.editor.template.expression.VpeExpressionException;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
@@ -116,7 +116,7 @@
* @param formatter Formatter of text.
* @return <code>true</code> if the key is treated, <code>false</code> otherwise.
*/
- public boolean nonctrlKeyPressHandler(VpePageContext pageContext, Document sourceDocument, Node sourceNode, Object data, long charCode, VpeSourceSelection selection, ITextFormatter formatter) {
+ public boolean nonctrlKeyPressHandler(VpePageContext pageContext, Document sourceDocument, Node sourceNode, Object data, long charCode, SourceSelection selection, ITextFormatter formatter) {
return false;
}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractTemplate.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractTemplate.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -22,6 +22,8 @@
import org.eclipse.wst.sse.ui.internal.StructuredTextViewer;
import org.eclipse.wst.xml.core.internal.document.ElementImpl;
import org.jboss.tools.jst.jsp.editor.ITextFormatter;
+import org.jboss.tools.jst.jsp.selection.SourceSelection;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.VpePlugin;
import org.jboss.tools.vpe.dnd.VpeDnDHelper;
import org.jboss.tools.vpe.editor.VpeSourceInnerDragInfo;
@@ -31,13 +33,12 @@
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
import org.jboss.tools.vpe.editor.mapping.VpeElementData;
import org.jboss.tools.vpe.editor.mapping.VpeElementMapping;
-import org.jboss.tools.vpe.editor.selection.VpeSourceSelection;
import org.jboss.tools.vpe.editor.template.expression.VpeExpressionException;
import org.jboss.tools.vpe.editor.template.resize.VpeResizer;
import org.jboss.tools.vpe.editor.template.textformating.TextFormatingData;
import org.jboss.tools.vpe.editor.util.Constants;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.util.SelectionUtil;
+import org.jboss.tools.vpe.editor.util.VpeNodesManagingUtil;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
import org.mozilla.interfaces.nsIDOMNode;
@@ -503,7 +504,7 @@
*/
public boolean nonctrlKeyPressHandler(VpePageContext pageContext,
Document sourceDocument, Node sourceNode, nsIDOMNode visualNode,
- Object data, long charCode, VpeSourceSelection selection,
+ Object data, long charCode, SourceSelection selection,
ITextFormatter formatter) {
switch (breakerType) {
case BREAKER_TYPE_IGNORE:
@@ -534,7 +535,7 @@
*/
private boolean nonctrlKeyPressHandlerImpl(VpePageContext pageContext,
Document sourceDocument, Node sourceNode, nsIDOMNode visualNode,
- Object data, long charCode, VpeSourceSelection selection,
+ Object data, long charCode, SourceSelection selection,
ITextFormatter formatter) {
clearRegionToFormat();
Node focusNode = selection.getFocusNode();
@@ -1435,7 +1436,7 @@
&& nodeData.getSourceNode().getNodeValue() != null)
return pageContext.getBundle().openBundle(
nodeData.getSourceNode().getNodeValue(),
- NodesManagingUtil.getPageLocale(pageContext, nodeData
+ VpeNodesManagingUtil.getPageLocale(pageContext, nodeData
.getSourceNode()));
return false;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeBreackerHelper.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeBreackerHelper.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeBreackerHelper.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -16,14 +16,14 @@
import org.w3c.dom.Document;
import org.w3c.dom.Node;
+import org.jboss.tools.jst.jsp.selection.SourceSelection;
import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.selection.VpeSourceSelection;
import org.jboss.tools.vpe.editor.util.HTML;
import org.mozilla.interfaces.nsIDOMNode;
public class VpeBreackerHelper {
- public static boolean selectItem(VpePageContext pageContext, Document sourceDocument, Node sourceNode, nsIDOMNode visualNode, Object data, long charCode, VpeSourceSelection selection) {
+ public static boolean selectItem(VpePageContext pageContext, Document sourceDocument, Node sourceNode, nsIDOMNode visualNode, Object data, long charCode, SourceSelection selection) {
Attr attr = selection.getFocusAttribute();
if (attr != null) {
Point range = selection.getFocusAttributeRange();
@@ -51,7 +51,7 @@
return false;
}
- public static boolean breakInline(VpePageContext pageContext, Document sourceDocument, Node sourceNode, Node visualNode, Object data, int charCode, VpeSourceSelection selection) {
+ public static boolean breakInline(VpePageContext pageContext, Document sourceDocument, Node sourceNode, Node visualNode, Object data, int charCode, SourceSelection selection) {
Attr attr = selection.getFocusAttribute();
if (attr != null) {
Point range = selection.getFocusAttributeRange();
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeCreator.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeCreator.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeCreator.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -13,8 +13,8 @@
import java.util.Map;
import org.jboss.tools.jst.jsp.editor.ITextFormatter;
+import org.jboss.tools.jst.jsp.selection.SourceSelection;
import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.selection.VpeSourceSelection;
import org.jboss.tools.vpe.editor.template.expression.VpeExpressionException;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
@@ -109,7 +109,7 @@
* @param formatter Formatter of text.
* @return <code>true</code> if the key is treated, <code>false</code> otherwise.
*/
- boolean nonctrlKeyPressHandler(VpePageContext pageContext, Document sourceDocument, Node sourceNode, Object data, long charCode, VpeSourceSelection selection, ITextFormatter formatter);
+ boolean nonctrlKeyPressHandler(VpePageContext pageContext, Document sourceDocument, Node sourceNode, Object data, long charCode, SourceSelection selection, ITextFormatter formatter);
Node getNodeForUpdate(VpePageContext pageContext, Node sourceNode, nsIDOMNode visualNode, Map<VpeTemplate,?> visualNodeMap);
}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeCustomTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeCustomTemplate.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeCustomTemplate.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -14,11 +14,11 @@
import org.eclipse.core.resources.IStorage;
import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.text.Region;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.VpeIncludeInfo;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.template.custom.CustomTLDReference;
import org.jboss.tools.vpe.editor.template.custom.VpeCustomStringStorage;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMNode;
import org.w3c.dom.Attr;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeHtmlTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeHtmlTemplate.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeHtmlTemplate.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -20,15 +20,15 @@
import org.eclipse.jface.text.Region;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement;
import org.jboss.tools.jst.jsp.editor.ITextFormatter;
+import org.jboss.tools.jst.jsp.selection.SourceSelection;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.jst.web.tld.TaglibData;
import org.jboss.tools.vpe.VpePlugin;
import org.jboss.tools.vpe.editor.VpeSourceDomBuilder;
import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.selection.VpeSourceSelection;
import org.jboss.tools.vpe.editor.template.expression.VpeExpressionBuilder;
import org.jboss.tools.vpe.editor.template.expression.VpeExpressionException;
import org.jboss.tools.vpe.editor.util.HTML;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
import org.mozilla.interfaces.nsIDOMNode;
@@ -236,7 +236,7 @@
}
}
@Override
- public boolean nonctrlKeyPressHandler(VpePageContext pageContext, Document sourceDocument, Node sourceNode, nsIDOMNode visualNode, Object data, long charCode, VpeSourceSelection selection, ITextFormatter formatter) {
+ public boolean nonctrlKeyPressHandler(VpePageContext pageContext, Document sourceDocument, Node sourceNode, nsIDOMNode visualNode, Object data, long charCode, SourceSelection selection, ITextFormatter formatter) {
if (creator != null) {
boolean done = creator.nonctrlKeyPressHandler(pageContext, sourceDocument, sourceNode, data, charCode, selection, formatter);
if (done) {
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeIncludeTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeIncludeTemplate.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeIncludeTemplate.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -13,6 +13,7 @@
import org.eclipse.core.resources.IFile;
import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.text.Region;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.VpePlugin;
import org.jboss.tools.vpe.editor.VpeIncludeInfo;
import org.jboss.tools.vpe.editor.VpeVisualDomBuilder;
@@ -26,7 +27,6 @@
import org.jboss.tools.vpe.editor.util.FaceletUtil;
import org.jboss.tools.vpe.editor.util.FileUtil;
import org.jboss.tools.vpe.editor.util.HTML;
-import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
import org.mozilla.interfaces.nsIDOMNode;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplate.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplate.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -12,6 +12,7 @@
import org.eclipse.jface.text.IRegion;
import org.jboss.tools.jst.jsp.editor.ITextFormatter;
+import org.jboss.tools.jst.jsp.selection.SourceSelection;
import org.jboss.tools.vpe.editor.VpeSourceInnerDragInfo;
import org.jboss.tools.vpe.editor.VpeSourceDropInfo;
import org.jboss.tools.vpe.editor.context.VpePageContext;
@@ -19,7 +20,6 @@
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
import org.jboss.tools.vpe.editor.mapping.VpeElementData;
import org.jboss.tools.vpe.editor.mapping.VpeElementMapping;
-import org.jboss.tools.vpe.editor.selection.VpeSourceSelection;
import org.jboss.tools.vpe.editor.template.textformating.TextFormatingData;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
@@ -99,7 +99,7 @@
*/
boolean nonctrlKeyPressHandler(VpePageContext pageContext,
Document sourceDocument, Node sourceNode, nsIDOMNode visualNode,
- Object data, long charCode, VpeSourceSelection selection,
+ Object data, long charCode, SourceSelection selection,
ITextFormatter formatter);
/**
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/format/FormatControllerManager.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/format/FormatControllerManager.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/format/FormatControllerManager.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -22,14 +22,14 @@
import org.w3c.dom.Node;
import org.jboss.tools.common.reporting.ProblemReportingHelper;
+import org.jboss.tools.jst.jsp.selection.SourceSelectionBuilder;
+import org.jboss.tools.jst.jsp.selection.SourceSelection;
+import org.jboss.tools.jst.jsp.selection.SelectedNodeInfo;
import org.jboss.tools.vpe.VpePlugin;
import org.jboss.tools.vpe.editor.VpeController;
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
import org.jboss.tools.vpe.editor.mapping.VpeElementMapping;
import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
-import org.jboss.tools.vpe.editor.selection.VpeSelectedNodeInfo;
-import org.jboss.tools.vpe.editor.selection.VpeSourceSelection;
-import org.jboss.tools.vpe.editor.selection.VpeSourceSelectionBuilder;
import org.jboss.tools.vpe.editor.template.VpeTemplate;
import org.jboss.tools.vpe.editor.template.textformating.FormatData;
import org.jboss.tools.vpe.editor.template.textformating.TextFormatingData;
@@ -50,7 +50,7 @@
private FormatData currentFormatData;
private Node currentSelectedNode;
private Node currentSelectedElement; // Parent node If currentSelectedNode is Text.
- private VpeSelectedNodeInfo currentSelectedNodeInfo;
+ private SelectedNodeInfo currentSelectedNodeInfo;
private boolean controllerNotifedSelectionChange = false;
private String currentSelectedTagValue;
private boolean ignoreSelectionChanges = false;
@@ -76,7 +76,7 @@
public void selectionChanged() {
List cleanNodesList = getCleanSelectedNodesList();
if(cleanNodesList.size()==1) {
- VpeSelectedNodeInfo newNodeInfo = (VpeSelectedNodeInfo)cleanNodesList.get(0);
+ SelectedNodeInfo newNodeInfo = (SelectedNodeInfo)cleanNodesList.get(0);
if(newNodeInfo!=null) {
Node newNode = newNodeInfo.getNode();
if(currentSelectedNode == newNode && newNode.getNodeType() == Node.ELEMENT_NODE) {
@@ -162,7 +162,7 @@
}
}
- private TextFormatingData getParentFormatingDataForTextNode(VpeSelectedNodeInfo selectedNodeInfo) {
+ private TextFormatingData getParentFormatingDataForTextNode(SelectedNodeInfo selectedNodeInfo) {
Node selectedNode = selectedNodeInfo.getNode();
if(selectedNode instanceof TextImpl) {
// int startOffset = selectedNodeInfo.getStartOffset()>selectedNodeInfo.getEndOffset()?selectedNodeInfo.getEndOffset():selectedNodeInfo.getStartOffset();
@@ -237,16 +237,16 @@
/**
* @return
*/
- public VpeSelectedNodeInfo computeSelectedNode() {
+ public SelectedNodeInfo computeSelectedNode() {
List nodes = getCleanSelectedNodesList();
if(nodes.size()==0) {
return null;
}
- return (VpeSelectedNodeInfo)nodes.get(0);
+ return (SelectedNodeInfo)nodes.get(0);
}
private List getCleanSelectedNodesList() {
- VpeSourceSelection selection = getSelection();
+ SourceSelection selection = getSelection();
if(selection==null) {
return new ArrayList();
}
@@ -259,7 +259,7 @@
ArrayList nodes = new ArrayList(dirtyNodesList.size());
HashSet parentNodes = new HashSet();
for(int i=0; i<dirtyNodesList.size(); i++) {
- VpeSelectedNodeInfo nodeInfo = (VpeSelectedNodeInfo)dirtyNodesList.get(i);
+ SelectedNodeInfo nodeInfo = (SelectedNodeInfo)dirtyNodesList.get(i);
Node node = nodeInfo.getNode();
if(parentNodes.contains(node.getParentNode())) {
// Ignore child node.
@@ -288,8 +288,8 @@
/**
* @return current selection
*/
- public VpeSourceSelection getSelection() {
- VpeSourceSelectionBuilder sourceSelectionBuilder = new VpeSourceSelectionBuilder(vpeController.getSourceEditor());
+ public SourceSelection getSelection() {
+ SourceSelectionBuilder sourceSelectionBuilder = new SourceSelectionBuilder(vpeController.getSourceEditor());
return sourceSelectionBuilder.getSelection();
}
@@ -331,7 +331,7 @@
/**
* @return Returns the currentSelectedNodeInfo.
*/
- public VpeSelectedNodeInfo getCurrentSelectedNodeInfo() {
+ public SelectedNodeInfo getCurrentSelectedNodeInfo() {
return currentSelectedNodeInfo;
}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/format/handler/IAddNodeHandler.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/format/handler/IAddNodeHandler.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/format/handler/IAddNodeHandler.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -12,7 +12,7 @@
import org.w3c.dom.Node;
-import org.jboss.tools.vpe.editor.selection.VpeSelectedNodeInfo;
+import org.jboss.tools.jst.jsp.selection.SelectedNodeInfo;
import org.jboss.tools.vpe.editor.template.textformating.FormatData;
/**
@@ -26,5 +26,5 @@
* @param node is Node which is adding children.
* @param selectedNode is Node which is selected.
*/
- public void run(FormatData formatData, Node node, VpeSelectedNodeInfo selectedNode);
+ public void run(FormatData formatData, Node node, SelectedNodeInfo selectedNode);
}
\ No newline at end of file
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/NodesManagingUtil.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/NodesManagingUtil.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/NodesManagingUtil.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -1,193 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-
-package org.jboss.tools.vpe.editor.util;
-
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMAttr;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
-import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
-import org.mozilla.interfaces.nsIDOMNode;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-/**
- *
- * @author S.Dzmitrovich
- *
- */
-public class NodesManagingUtil {
-
- /**
- * name of "view" tag
- */
- private static final String VIEW_TAGNAME = "view"; //$NON-NLS-1$
-
- /**
- * name of "locale" attribute
- */
- private static final String LOCALE_ATTRNAME = "locale"; //$NON-NLS-1$
-
- /**
- *
- * @param domMapping
- * @param node
- * @return
- */
- public static VpeNodeMapping getNodeMapping(VpeDomMapping domMapping,
- Node node) {
-
- return domMapping.getNearNodeMappingAtSourceNode(node);
-
- }
-
- /**
- *
- * @param domMapping
- * @param node
- * @return
- */
- public static VpeNodeMapping getNodeMapping(VpeDomMapping domMapping,
- nsIDOMNode node) {
-
- return domMapping.getNearNodeMappingAtVisualNode(node);
-
- }
-
- /**
- *
- * @param node
- * @return
- */
- public static int getNodeLength(Node node) {
-
- if ((node instanceof IDOMAttr)
- && (((IDOMAttr) node).getValueSource() != null)) {
- return ((IDOMAttr) node).getValueSource().length();
- } else if (node instanceof IndexedRegion) {
- return ((IndexedRegion) node).getEndOffset()
- - ((IndexedRegion) node).getStartOffset();
- }
- return 0;
- }
-
- /**
- * get start offset of node
- *
- * @param node
- * @return
- */
- public static int getStartOffsetNode(Node node) {
-
- if (node instanceof IDOMAttr) {
- return ((IDOMAttr) node).getValueRegionStartOffset() + 1;
- } else if (node instanceof IndexedRegion) {
- return ((IndexedRegion) node).getStartOffset();
- }
- return 0;
- }
-
- /**
- * get end offset of node
- *
- * @param node
- * @return
- */
- public static int getEndOffsetNode(Node node) {
-
- if (node instanceof IDOMAttr) {
- return getStartOffsetNode(node) + getNodeLength(node);
- } else if (node instanceof IndexedRegion) {
- return ((IndexedRegion) node).getEndOffset();
- }
- return 0;
- }
-
- /**
- *
- * @param node
- * @return
- */
- public static Point getNodeRange(Node node) {
-
- return new Point(getStartOffsetNode(node), getNodeLength(node));
-
- }
-
- /**
- * if position belong to node return true
- *
- * @param node
- * @param position
- * @return
- */
- public static boolean isNodeContainsPosition(Node node, int position) {
- return NodesManagingUtil.getStartOffsetNode(node) <= position
- && NodesManagingUtil.getEndOffsetNode(node) >= position;
- }
-
- /**
- *
- * @param pageContext
- * @param sourceElement
- * @return
- */
- public static String getPageLocale(VpePageContext pageContext,
- Node sourceNode) {
-
- while (sourceNode != null) {
-
- if (VIEW_TAGNAME.equals(sourceNode.getLocalName())) {
- break;
- }
- sourceNode = sourceNode.getParentNode();
- }
-
- if ((sourceNode == null) || !(sourceNode instanceof Element)
- || !(((Element) sourceNode).hasAttribute(LOCALE_ATTRNAME)))
- return null;
-
- String locale = ((Element) sourceNode).getAttribute(LOCALE_ATTRNAME);
-
- return locale;
-
- }
-
- /**
- *
- * @param pageContext
- * @param startPosition
- * @param endPosition
- * @return
- */
- public static String getSourceText(VpePageContext pageContext,
- int startPosition, int endPosition) {
-
- return pageContext.getSourceBuilder().getStructuredTextViewer()
- .getTextWidget().getText(startPosition, endPosition);
- }
-
- /**
- *
- * @param pageContext
- * @param startPosition
- * @param endPosition
- * @return
- */
- public static String getSourceText(Node node) {
-
- return ((IDOMNode) node).getSource();
- }
-
-}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -19,6 +19,7 @@
import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
import org.eclipse.wst.sse.ui.StructuredTextEditor;
import org.eclipse.wst.xml.core.internal.document.NodeImpl;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
@@ -147,7 +148,7 @@
// if focus node also contain anchor point (selected only 1 element)
if (focusNode != null
&& NodesManagingUtil.isNodeContainsPosition(focusNode, anchor)) {
- return NodesManagingUtil.getNodeMapping(domMapping, focusNode);
+ return VpeNodesManagingUtil.getNodeMapping(domMapping, focusNode);
}
return null;
}
@@ -278,7 +279,7 @@
if (focusNode != null) {
// if (NodesManagingUtil.isNodeContainsPosition(focusNode,
// anchor)) {
- return NodesManagingUtil.getNodeMapping(domMapping, focusNode);
+ return VpeNodesManagingUtil.getNodeMapping(domMapping, focusNode);
// }
}
} finally {
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TextUtil.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TextUtil.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TextUtil.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -19,6 +19,7 @@
import java.util.regex.Matcher;
import java.util.regex.Pattern;
+import org.jboss.tools.jst.jsp.util.NodesManagingUtil;
import org.jboss.tools.vpe.VpePlugin;
import org.mozilla.interfaces.nsIDOMKeyEvent;
import org.w3c.dom.Node;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java 2010-09-17 11:16:09 UTC (rev 24976)
@@ -29,8 +29,6 @@
public static String PREFERENCES;
public static String REFRESH;
public static String PAGE_DESIGN_OPTIONS;
- public static String HIDE_SELECTION_BAR;
- public static String SHOW_SELECTION_BAR;
public static String MOZILLA_LOADING_ERROR;
public static String MOZILLA_LOADING_ERROR_LINK_TEXT;
public static String MOZILLA_LOADING_ERROR_LINK;
@@ -64,9 +62,6 @@
public static String ITALIC;
public static String UNDERLINE;
public static String FOREGROUND_COLOR;
- public static String CONFIRM_SELECTION_BAR_DIALOG_TITLE;
- public static String CONFIRM_SELECTION_BAR_DIALOG_MESSAGE;
- public static String CONFIRM_SELECTION_BAR_DIALOG_TOGGLE_MESSAGE;
public static String VPE_UPDATE_JOB_TITLE;
public static String VPE_VISUAL_REFRESH_JOB;
public static String VpeDnD_PLACE_AFTER_INSIDE;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties 2010-09-17 07:36:37 UTC (rev 24975)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties 2010-09-17 11:16:09 UTC (rev 24976)
@@ -6,8 +6,6 @@
PREFERENCES=Preferences
REFRESH=Refresh
PAGE_DESIGN_OPTIONS=Page Design Options
-HIDE_SELECTION_BAR=Hide selection bar
-SHOW_SELECTION_BAR=Show selection bar
MOZILLA_LOADING_ERROR=Could not open the Visual Page Editor: {0}
MOZILLA_LOADING_ERROR_LINK_TEXT=See JBoss Tools Visual Editor FAQ
# START NON-TRANSLATABLE
@@ -46,9 +44,6 @@
ITALIC=Italic
UNDERLINE=Underline
FOREGROUND_COLOR=Foreground Color
-CONFIRM_SELECTION_BAR_DIALOG_TITLE=Confirm hide selection bar
-CONFIRM_SELECTION_BAR_DIALOG_MESSAGE=Hide selection bar?
-CONFIRM_SELECTION_BAR_DIALOG_TOGGLE_MESSAGE=Always hide selection bar without prompt
VPE_UPDATE_JOB_TITLE=Visual Editor View Update
VPE_VISUAL_REFRESH_JOB=Visual Editor Refresh
@@ -123,7 +118,6 @@
EXTERNALIZE_STRINGS=Externalize strings
SHOW_BUNDLES_AS_MESSAGES=Show bundle's messages explicitly
ASK_TAG_ATTRIBUTES_ON_TAG_INSERT=Ask for tag attributes during tag insert
-ASK_CONFIRMATION_ON_CLOSING_SELECTION_BAR=Ask for confirmation when closing Selection Bar
INFORM_WHEN_PROJECT_MIGHT_NOT_BE_CONFIGURED_PROPERLY_FOR_VPE=Inform when a project might not be configured properly for Visual Page Editor
DEFAULT_VPE_TAB=Select the default active editor's tab
VISUAL_SOURCE_EDITORS_SPLITTING=Visual/Source editors splitting
15 years, 7 months
JBoss Tools SVN: r24975 - in trunk/documentation: Web_Service_Test_View and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: benlc
Date: 2010-09-17 03:36:37 -0400 (Fri, 17 Sep 2010)
New Revision: 24975
Added:
trunk/documentation/Web_Service_Test_View/
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Author_Group.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Book_Info.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Chapter.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/JBoss_Web_Services_User_Guide.ent
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/JBoss_Web_Services_User_Guide.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Preface.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Revision_History.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/TOC
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/deployment-sample_web_service_wizards.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/generation-sample_web_service_wizards.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-export-war_export_01.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_01.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_02.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_03.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_04.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_05.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_06.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_01.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_02.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_03.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_04.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_05.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-install-add_repository_01.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-install-add_repository_02.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_01.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_01_444.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_02.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_03.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_04.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_05.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_06.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_01.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_01.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_02.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_03.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_04.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_05.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_01.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_02.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_03.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_04.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_05.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_06.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-web_service_test_view_01.png
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/prerequisites-resteasy_simple_project_example.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-export-war_export.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-generate_a_sample_restful_web_service.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-generate_a_sample_web_service.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-install-add_repository.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_dynamic_web_project.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_other.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_project.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_project_example.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_JAX-RS.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_JAX-WS.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-web_service_test_view.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/resteasy_simple_project_example.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/sample_restful_web_service-sample_web_service_wizards.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/sample_web_service-sample_web_service_wizards.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/sample_web_service_wizards.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/testing_a_restful_web_service-web_service_test_view.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/testing_a_web_service-web_service_test_view.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/the_example_project-resteasy_simple_project_example.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/web_service_test_view.xml
trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/publican.cfg
Log:
'committing the Web Services Test View materiali'
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Author_Group.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Author_Group.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Author_Group.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<authorgroup>
+ <author>
+ <firstname>Dude</firstname>
+ <surname>McPants</surname>
+ <affiliation>
+ <orgname>Somewhere</orgname>
+ <orgdiv>Someone</orgdiv>
+ </affiliation>
+ <email>Dude.McPants(a)example.com</email>
+ </author>
+</authorgroup>
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Book_Info.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Book_Info.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Book_Info.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,28 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<bookinfo id="book-JBoss_Web_Services_User_Guide-JBoss_Web_Services_User_Guide">
+ <title>JBoss Web Services User Guide</title>
+ <subtitle>short description</subtitle>
+ <productname>Documentation</productname>
+ <productnumber>0.1</productnumber>
+ <edition>0</edition>
+ <pubsnumber>0</pubsnumber>
+ <abstract>
+ <para>
+ A short overview and summary of the book's subject and purpose, traditionally no more than one paragraph long. Note: the abstract will appear in the front matter of your book and will also be placed in the description field of the book's RPM spec file.
+ </para>
+ </abstract>
+ <corpauthor>
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="Common_Content/images/title_logo.svg" format="SVG" />
+ </imageobject>
+ </inlinemediaobject>
+ </corpauthor>
+ <xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</bookinfo>
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Chapter.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Chapter.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Chapter.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,33 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="chap-JBoss_Web_Services_User_Guide-Test_Chapter">
+ <title>Test Chapter</title>
+ <para>
+ This is a test paragraph
+ </para>
+ <section id="sect-JBoss_Web_Services_User_Guide-Test_Chapter-Test_Section_1">
+ <title>Test Section 1</title>
+ <para>
+ This is a test paragraph in a section
+ </para>
+ </section>
+
+ <section id="sect-JBoss_Web_Services_User_Guide-Test_Chapter-Test_Section_2">
+ <title>Test Section 2</title>
+ <para>
+ This is a test paragraph in Section 2
+ <orderedlist>
+ <listitem>
+ <para>
+ listitem text
+ </para>
+ </listitem>
+ </orderedlist>
+ </para>
+ </section>
+
+</chapter>
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/JBoss_Web_Services_User_Guide.ent
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/JBoss_Web_Services_User_Guide.ent (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/JBoss_Web_Services_User_Guide.ent 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,6 @@
+<!ENTITY PRODUCT "Documentation">
+<!ENTITY BOOKID "JBoss_Web_Services_User_Guide">
+<!ENTITY YEAR "2010">
+<!ENTITY HOLDER "| You need to change the HOLDER entity in the en-US/JBoss_Web_Services_User_Guide.ent file |">
+
+<!ENTITY HORIZ_LINE "───────────────────────────────────────────────────────────────">
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/JBoss_Web_Services_User_Guide.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/JBoss_Web_Services_User_Guide.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/JBoss_Web_Services_User_Guide.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<book>
+ <xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="sample_web_service_wizards.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="resteasy_simple_project_example.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="web_service_test_view.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <index />
+</book>
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Preface.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Preface.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Preface.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE preface PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<preface id="pref-JBoss_Web_Services_User_Guide-Preface">
+ <title>Preface</title>
+ <xi:include href="Common_Content/Conventions.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude"><xi:include href="Common_Content/Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </xi:fallback>
+ </xi:include>
+</preface>
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Revision_History.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Revision_History.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/Revision_History.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,27 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<appendix id="appe-JBoss_Web_Services_User_Guide-Revision_History">
+ <title>Revision History</title>
+ <simpara>
+ <revhistory>
+ <revision>
+ <revnumber>0</revnumber>
+ <date>Tue Sep 7 2010</date>
+ <author>
+ <firstname>Dude</firstname>
+ <surname>McPants</surname>
+ <email>Dude.McPants(a)example.com</email>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>Initial creation of book by publican</member>
+ </simplelist>
+ </revdescription>
+ </revision>
+ </revhistory>
+ </simpara>
+</appendix>
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/TOC
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/TOC (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/TOC 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,8 @@
+1. Sample Web Service wizards
+ 1.1. Sample Web Service
+ 1.2. Sample RESTful Web Service
+
+2. Web Service Test View
+ 2.1. Testing a Web Service
+ 2.2. Testing a RESTful Web Service
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/deployment-sample_web_service_wizards.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/deployment-sample_web_service_wizards.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/deployment-sample_web_service_wizards.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<section id="sample_web_service_wizards-sample_restful_web_service-deployment">
+ <title>Deployment</title>
+ <para>
+ Once created, the sample web service can be deployed to the target runtime as described in <xref linkend="proc-jbt-export-war_export"/>
+ </para>
+ <xi:include href="proc-jbt-export-war_export.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/generation-sample_web_service_wizards.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/generation-sample_web_service_wizards.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/generation-sample_web_service_wizards.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<section id="sample_web_service_wizards-sample_restful_web_service-generation">
+ <title>Generation</title>
+ <para>
+ A sample web service can be created by using the <guilabel>Create a Sample Web Service</guilabel> wizard as described in <xref linkend="proc-jbt-generate_a_sample_web_service"/>
+ </para>
+ <xi:include href="proc-jbt-generate_a_sample_web_service.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</section>
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-export-war_export_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-export-war_export_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_02.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_03.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_04.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_05.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_05.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_06.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_restful_web_service_06.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_02.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_03.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_04.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_05.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-generate_a_sample_web_service_05.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-install-add_repository_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-install-add_repository_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-install-add_repository_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-install-add_repository_02.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_01_444.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_01_444.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_02.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_03.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_04.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_05.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_05.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_06.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_dynamic_web_project_06.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_02.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_03.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_04.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_05.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-new_project_example_05.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_02.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_03.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_04.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_05.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_05.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_06.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_JAX-WS_06.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-web_service_test_view_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-web_service_test_view_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/prerequisites-resteasy_simple_project_example.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/prerequisites-resteasy_simple_project_example.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/prerequisites-resteasy_simple_project_example.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,33 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<section id="resteasy_simple_project_example-prerequisites">
+ <title>Prerequisites</title>
+ <para>
+ To be able to build the example RESTEasy project, the Maven plugin <application>M2Eclipse</application> should be installed. The following procedure describes installing the Maven Release, Maven Extras and Subclipse plugins. Subclipse is a dependency of Maven Extras.
+ </para>
+ <para>
+ The update site urls to add in <xref linkend="site_information"/> in the order of installation are:
+ </para>
+ <orderedlist>
+ <listitem>
+ <para>
+ Maven release: <uri>http://m2eclipse.sonatype.org/sites/m2e/</uri>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Subclipse: <uri>http://subclipse.tigris.org/update_1.6.x</uri>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Maven extras: <uri>http://m2eclipse.sonatype.org/sites/m2e-extras/</uri>
+ </para>
+ </listitem>
+ </orderedlist>
+ <xi:include href="proc-jbt-install-add_repository.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-export-war_export.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-export-war_export.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-export-war_export.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,227 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jbt-export-war_export">
+ <title>Export the project as a Web Archive (WAR)</title>
+ <step>
+ <title>Access the Export dialog</title>
+ <orderedlist numeration ="loweralpha">
+ <listitem>
+ <para>
+ Right click on the project name in the <guilabel>Project Explorer</guilabel> view.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Select <menuchoice><guisubmenu>Export</guisubmenu><guimenuitem>WAR file</guimenuitem></menuchoice>.
+ </para>
+ </listitem>
+ </orderedlist>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Export- WAR Export</guilabel> dialog displays with the selected web project highlighted.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-export-war_export_01">
+ <title>Export - WAR Export dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-export-war_export_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Export - WAR Export dialog</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step id="step_02">
+ <title>Complete the export dialog</title>
+ <para>
+ Define the WAR file attributes as described in <xref linkend="table-jbt-export-war_export_01"/>
+ </para>
+ <table id="table-jbt-export-war_export_01" frame='all'>
+ <title>Export - War Export</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="2*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="4*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Web project</entry>
+ <entry>yes</entry>
+ <entry>Enter the web project name</entry>
+ <entry>The project name will default to the highlighted project in the <guilabel>Project Explorer</guilabel>. A different project can be selected from the list or entered directly in the editable drop-down list</entry>
+ </row>
+ <row>
+ <entry>Destination</entry>
+ <entry>yes</entry>
+ <entry>Enter or browse to the destination</entry>
+ <entry>Set the destination as the <filename>build</filename> folder to store the WAR file within the project or deploy directly to the <filename>deploy</filename> directory of the target server profile</entry>
+ </row>
+ <row>
+ <entry>Optimize for a specific server runtime</entry>
+ <entry>no</entry>
+ <entry>Check this box to optimize the <filename>WAR</filename> file for deployment to the targeted runtime</entry>
+ <entry>Selecting this option will [import the necessary libraries] OR [??]. The list of available runtimes will be those configured during the project set up or by selecting <menuchoice><guimenu>File</guimenu><guisubmenu>New</guisubmenu><guimenuitem>Server</guimenuitem></menuchoice></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Deploy the application</title>
+ <para>
+ If not already set as the WAR file destination in <xref linkend="step_02"/>, copy the file to the <filename>deploy</filename> directory of the required target server profile such as the <command>all</command> profile.
+ </para>
+ </step>
+ <!--
+ <step>
+ <title>Access the Generate a Sample Web Service dialog</title>
+ <para>
+ Click the <guibutton>Next</guibutton> button to proceed.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Generate a Sample Web Service - Project and Web Service Name</guilabel> dialog displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-export-war_export_02">
+ <title>Generate a Sample Web Service - Project and Web Service Name</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-export-war_export_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Generate a Sample Web Service - Project and Web Service Name</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Define the service attributes</title>
+ <para>
+ Define the project, web service, package and class names according to the options displayed in <xref linkend="table-jbt-export-war_export_01"/>
+ </para>
+ <table id="table-jbt-export-war_export_01" frame='all'>
+ <title>Project and Web Service Name</title>
+ <tgroup cols='5' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="2*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="1*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <colspec colname='c5' colwidth="4*"/>
+ <thead>
+ <row>
+ <entry>Dialog group</entry>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Dynamic Web Project</entry>
+ <entry>-</entry>
+ <entry>yes</entry>
+ <entry>Enter the project name</entry>
+ <entry>The project name will default to the highlighted project in the <guilabel>Project Explorer</guilabel>. A different project can be selected from the list or entered directly in the editable drop-down list</entry>
+ </row>
+ <row>
+ <entry>Web Service</entry>
+ <entry>Name</entry>
+ <entry>yes</entry>
+ <entry>Enter the name for the web service</entry>
+ <entry>The web service name will be the url for the service as mapped in the deployment descriptor (<filename>web.xml</filename>)</entry>
+ </row>
+ <row>
+ <entry>Sample Web Service Class</entry>
+ <entry>Package</entry>
+ <entry>yes</entry>
+ <entry>Enter the package for the web service servlet</entry>
+ <entry>The default package for the sample web service will be displayed</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>Class</entry>
+ <entry>yes</entry>
+ <entry>Enter the name of the web service servlet</entry>
+ <entry>The default class name will correspond to the default web service name resulting in an equivalent url to servlet name mapping in the deployment descriptor (<filename>web.xml</filename>)</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Generate the web service</title>
+ <para>
+ Click the <guibutton>Finish</guibutton> button to complete the web service setup.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The web service classes will be generated and the web.xml file updated with the deployment details.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-export-war_export_04">
+ <title>HelloWorld Web Service</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-export-war_export_04.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>HelloWorld Web Service</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </step>
+ <step><title>Browse the HelloWorld.java class</title>
+ <para>
+ Double click the <classname>HelloWorld.java</classname> class and note the annotated class name and method. These annotations identify the web service entities to the server.
+ </para>
+ <figure id="figure-jbt-export-war_export_05">
+ <title>web.xml</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-export-war_export_05.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>web.xml</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </step>
+ <step><title>Browse the web.xml deployment decriptor</title>
+ <para>
+ Double click the <filename>web.xml</filename> file and note the servlet mapping as defined in <xref linkend="figure-jbt-export-war_export_02"/>.
+ </para>
+ <figure id="figure-jbt-export-war_export_06">
+ <title>web.xml</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-export-war_export_06.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>web.xml</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ -->
+ </procedure>
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-export-war_export.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-generate_a_sample_restful_web_service.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-generate_a_sample_restful_web_service.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-generate_a_sample_restful_web_service.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,268 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jbt-generate_a_sample_restful_web_service">
+ <title>Generate a sample RESTful web service</title>
+ <important><title>Target runtime must have RESTEasy installed</title>
+ <para>
+ The sample RESTful web service will not work unless it is deployed to a server with RESTEasy installed.
+ </para>
+ </important>
+ <step>
+ <title>Access the New - Select a wizard dialog</title>
+ <orderedlist numeration ="loweralpha">
+ <listitem>
+ <para>
+ Right click on the project name in the <guilabel>Project Explorer</guilabel> view.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Select <menuchoice><guimenu>New</guimenu><guisubmenu>Other</guisubmenu></menuchoice>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guilabel>Create a Sample RESTful Web Service</guilabel> label by expanding the <menuchoice><guimenu>Web Services</guimenu></menuchoice> folder.
+ </para>
+ </listitem>
+ </orderedlist>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>New - Select a wizard</guilabel> dialog displays with the selected wizard type highlighted.
+ </para>
+ </formalpara>
+ <!--
+ <figure id="figure-jbt-generate_a_sample_restful_web_service_01">
+ <title>The New - Other (Wizard selection) dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-generate_a_sample_restful_web_service_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New - Other (Wizard selection) dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ -->
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Access the Generate a Sample RESTful Web Service dialog</title>
+ <para>
+ Click the <guibutton>Next</guibutton> button to proceed.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Generate a Sample RESTful Web Service - Project and Web Service Name</guilabel> dialog displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-generate_a_sample_restful_web_service_02">
+ <title>Generate a Sample RESTful Web Service - Project and Web Service Name</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-generate_a_sample_restful_web_service_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Generate a Sample RESTful Web Service - Project and Web Service Name</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Define the service attributes</title>
+ <para>
+ Define the project, web service, package and class names according to the options displayed in <xref linkend="table-jbt-generate_a_sample_restful_web_service_01"/>
+ </para>
+ <table id="table-jbt-generate_a_sample_restful_web_service_01" frame='all'>
+ <title>Project and Web Service Name</title>
+ <tgroup cols='5' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="2*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="1*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <colspec colname='c5' colwidth="4*"/>
+ <thead>
+ <row>
+ <entry>Dialog group</entry>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>-Dynamic Web Project-</entry>
+ <entry></entry>
+ <entry>yes</entry>
+ <entry>Enter the project name</entry>
+ <entry>The project name will default to the highlighted project in the <guilabel>Project Explorer</guilabel>. A different project can be selected from the list or entered directly in the editable drop-down list</entry>
+ </row>
+ <row>
+ <entry>-Web Service-</entry>
+ <entry>Name</entry>
+ <entry>yes</entry>
+ <entry>Enter the name for the web service</entry>
+ <entry>The web service name will be the url for the service as mapped in the deployment descriptor (<filename>web.xml</filename>)</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>Update web.xml</entry>
+ <entry>no</entry>
+ <entry>Check this box to add the service to the deployment descriptor</entry>
+ <entry>This option is checked by default and may be unchecked when deploying to JBoss AS 6.0 or RESTEasy 2.0 servers. Service information is not required in the deployment descriptor for these servers</entry>
+ </row>
+ <row>
+ <entry>-Sample Web Service Class-</entry>
+ <entry>Package</entry>
+ <entry>yes</entry>
+ <entry>Enter the package for the web service class</entry>
+ <entry>The default package for the sample web service will be displayed</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>Class</entry>
+ <entry>yes</entry>
+ <entry>Enter the name of the web service class containing the JAX-RS annotated path</entry>
+ <entry>
+ <remark>
+ This class defines the path to the web service and is referenced in the Application Class Name. The Application Class Name is declared in the deployment descriptor providing indirect access to the annotated path.
+ </remark>
+ </entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>Application Class Name</entry>
+ <entry>yes</entry>
+ <entry>Enter the name of the Application Class Name</entry>
+ <entry>
+ <remark>
+ The Application Class Name constructor instantiates objects of the web service class containing the JAX-RS annotated path, GET and POST methods. It serves as a single point of access to the application for the web server.
+ </remark>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Generate the web service</title>
+ <para>
+ Click the <guibutton>Finish</guibutton> button to complete the web service setup.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The web service classes will be generated and the web.xml file updated with the deployment details.
+ </para>
+ </formalpara>
+ <!--
+ <figure id="figure-jbt-generate_a_sample_restful_web_service_03">
+ <title>RESTful Web Service</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-generate_a_sample_restful_web_service_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>RESTful Web Service</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ -->
+ </step>
+ <step><title>Browse the MyRESTApplication.java class</title>
+ <para>
+ Double click the <classname>MyRESTApplication.java</classname> class and note the constructor instantiating objects of type HelloWorldResource. The relevance of this will be discussed shortly.
+ </para>
+ <figure id="figure-jbt-generate_a_sample_restful_web_service_04">
+ <title>Application Class - MyRESTApplication.java</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-generate_a_sample_restful_web_service_04.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Application Class - MyRESTApplication.java</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </step>
+ <step><title>Browse the HelloWorldResource.java class</title>
+ <para>
+ Double click the <filename>HelloWorldResource.java</filename> class and note the JAX-RS annotated path and the annotated GET method.
+ </para>
+ <figure id="figure-jbt-generate_a_sample_restful_web_service_05">
+ <title>HelloWorldResource.java</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-generate_a_sample_restful_web_service_05.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>HelloWorldResource.java</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Browse the web.xml deployment descriptor</title>
+ <para>
+ Double click the <filename>web.xml</filename> file and note the jax.ws.rs.Application paramater mapped to the Application Class. Note also:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ The main servlet for the application is org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher which is given the custom name Resteasy.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The main servlet is not mapped to a particular url as indicated by <code>/*</code>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The url for sending GET requests can be resolved as follows:
+ </para>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ identify the Application Class as defined in the deployment descriptor
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ note the object type instantiated in the Application Class and added to the singleton set <classname>HelloWorldResource</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ note the JAX-RS annotated path declared in the corresponding <classname>HelloWorldResource</classname> class; <code>@Path("/MyRESTApplication")</code>.
+ </para>
+ </listitem>
+ </orderedlist>
+ <!--
+ by viewing the class containing the JAX-RS annotated path <code>@Path("/MyRESTApplication")</code> as shoen in <xref linkend="figure-jbt-generate_a_sample_restful_web_service_04"/>. This class can be identified by viewing the Application Class defined in the deployment descriptor. Objects of type (<classname>HelloWorldResource</classname>) are instantiated and added to the singleton set in the Application Class constructor (<xref linkend="figure-jbt-generate_a_sample_restful_web_service_04"/>). The url for sending GET requests therefore resolves to http://localhost:8080/RestfulSample/MyRESTApplication.
+ </para>
+ -->
+ </listitem>
+ </itemizedlist>
+ <figure id="figure-jbt-generate_a_sample_restful_web_service_06">
+ <title>web.xml</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-generate_a_sample_restful_web_service_06.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>web.xml</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The url for sending GET requests is therefore <uri>http://localhost:8080/RestfulSample/MyRESTApplication</uri>. Testing RESTful web services is discussed in LINK HERE WHEN DONE.
+ </para>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ </procedure>
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-generate_a_sample_restful_web_service.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-generate_a_sample_web_service.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-generate_a_sample_web_service.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-generate_a_sample_web_service.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,200 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jbt-generate_a_sample_web_service">
+ <title>Generate a sample web service</title>
+ <step>
+ <title>Access the New - Select a wizard dialog</title>
+ <orderedlist numeration ="loweralpha">
+ <listitem>
+ <para>
+ Right click on the project name in the <guilabel>Project Explorer</guilabel> view.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Select <menuchoice><guimenu>New</guimenu><guisubmenu>Other</guisubmenu></menuchoice>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guilabel>Create a Sample Web Service</guilabel> label by expanding the <menuchoice><guimenu>Web Services</guimenu></menuchoice> folder.
+ </para>
+ </listitem>
+ </orderedlist>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>New - Select a wizard</guilabel> dialog displays with the selected wizard type highlighted.
+ </para>
+ </formalpara>
+ <!--
+ <figure id="figure-jbt-generate_a_sample_web_service_01">
+ <title>The New - Other (Wizard selection) dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-generate_a_sample_web_service_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New - Other (Wizard selection) dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ -->
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Access the Generate a Sample Web Service dialog</title>
+ <para>
+ Click the <guibutton>Next</guibutton> button to proceed.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Generate a Sample Web Service - Project and Web Service Name</guilabel> dialog displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-generate_a_sample_web_service_02">
+ <title>Generate a Sample Web Service - Project and Web Service Name</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-generate_a_sample_web_service_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Generate a Sample Web Service - Project and Web Service Name</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Define the service attributes</title>
+ <para>
+ Define the project, web service, package and class names according to the options displayed in <xref linkend="table-jbt-generate_a_sample_web_service_01"/>
+ </para>
+ <table id="table-jbt-generate_a_sample_web_service_01" frame='all'>
+ <title>Project and Web Service Name</title>
+ <tgroup cols='5' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="2*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="1*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <colspec colname='c5' colwidth="4*"/>
+ <thead>
+ <row>
+ <entry>Dialog group</entry>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>-Dynamic Web Project-</entry>
+ <entry></entry>
+ <entry>yes</entry>
+ <entry>Enter the project name</entry>
+ <entry>The project name will default to the highlighted project in the <guilabel>Project Explorer</guilabel>. A different project can be selected from the list or entered directly in the editable drop-down list</entry>
+ </row>
+ <row>
+ <entry>-Web Service-</entry>
+ <entry>Name</entry>
+ <entry>yes</entry>
+ <entry>Enter the name for the web service</entry>
+ <entry>The web service name will be the url for the service as mapped in the deployment descriptor (<filename>web.xml</filename>)</entry>
+ </row>
+ <row>
+ <entry>-Sample Web Service Class-</entry>
+ <entry>Package</entry>
+ <entry>yes</entry>
+ <entry>Enter the package for the web service servlet</entry>
+ <entry>The default package for the sample web service will be displayed</entry>
+ </row>
+ <row>
+ <entry></entry>
+ <entry>Class</entry>
+ <entry>yes</entry>
+ <entry>Enter the name of the web service servlet</entry>
+ <entry>The default class name will correspond to the default web service name resulting in an equivalent url to servlet name mapping in the deployment descriptor (<filename>web.xml</filename>)</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Generate the web service</title>
+ <para>
+ Click the <guibutton>Finish</guibutton> button to complete the web service setup.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The web service classes will be generated and the web.xml file updated with the deployment details.
+ </para>
+ </formalpara>
+ <!--
+ <figure id="figure-jbt-generate_a_sample_web_service_03">
+ <title>HelloWorld Web Service</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-generate_a_sample_web_service_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>HelloWorld Web Service</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ -->
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Browse the HelloWorld.java class</title>
+ <para>
+ Double click the <classname>HelloWorld.java</classname> class and note the annotated class name and method. These annotations identify the web service entities to the server.
+ </para>
+ <figure id="figure-jbt-generate_a_sample_web_service_04">
+ <title>web.xml</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-generate_a_sample_web_service_04.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>web.xml</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </step>
+ <step><title>Browse the web.xml deployment decriptor</title>
+ <para>
+ Double click the <filename>web.xml</filename> file and note the servlet mapping as defined in <xref linkend="figure-jbt-generate_a_sample_web_service_02"/>. Note also:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ The main servlet for the application is org.jboss.samples.webservices.HelloWorld which is given the custom name HelloWorld.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The main servlet is mapped to the particular url <code>/HelloWorld</code>.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <figure id="figure-jbt-generate_a_sample_web_service_05">
+ <title>web.xml</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-generate_a_sample_web_service_05.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>web.xml</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+
+ <para>
+ Upon start up, the server will write a WSDL file to the <filename>server-profile/data/wsdl/</filename> directory and the WSDL can be accessed with <uri>http://localhost:8080/WebServiceSample/HelloWorld?WSDL</uri>. Testing SOAP based web services is discussed in NEED LINK HERE WHEN DONE.
+ </para>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ </procedure>
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-generate_a_sample_web_service.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-install-add_repository.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-install-add_repository.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-install-add_repository.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,129 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+
+<procedure id="proc-jbt-install-add_repository">
+ <title>Adding an Update Site</title>
+ <step>
+ <title>Access the Install dialog box</title>
+ <para>
+ Select <menuchoice><guimenu>Help</guimenu><guisubmenu>Install New Software</guisubmenu></menuchoice>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Install - Available Software</guilabel> dialog displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-install-add_repository_01">
+ <title>Install - Available Software dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-install-add_repository_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Install - Available Software dialog</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Access the Add Repository dialog</title>
+ <para>
+ Click the <menuchoice><guibutton>Add</guibutton></menuchoice> button.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Add Repository</guilabel> dialog displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-install-add_repository_02">
+ <title>Add Repository</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-install-add_repository_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Add Repository dialog</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step id="site_information">
+ <title>Enter the site information</title>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ Enter a name for the update site such as <application>Maven Release</application> in the <guilabel>Name</guilabel> field.
+ </para>
+ </listitem>
+ <listitem id="update_site_url">
+ <para>
+ Enter the <acronym>url</acronym> of the update site in the <guilabel>Location</guilabel> field.
+ </para>
+ </listitem>
+ </orderedlist>
+ </step>
+ <step>
+ <title>Add the site</title>
+ <para>
+ Once the entered details have been verified, click the <menuchoice><guibutton>OK</guibutton></menuchoice> button to begin the installation.
+ </para>
+ <para>
+ The plug-in details are retrieved by <application>JBoss Tools</application> and the available plug-ins will be displayed in the main window of the <guilabel>Install</guilabel> dialog box.
+ </para>
+ </step>
+ <step>
+ <title>Select the plug-ins</title>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ Choose the required plug-ins and any <guilabel>Optional</guilabel> plug-ins listed by clicking the relevant checkboxes. Sub-items can be selected or deselected as required.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guibutton>Next</guibutton> button.
+ </para>
+ </listitem>
+ </orderedlist>
+ </step>
+ <step>
+ <title>Review the plug-ins</title>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ The plug-ins to be installed will be displayed in the <guilabel>Install Details</guilabel> screen.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Choose the <guibutton>Next</guibutton> button to continue the installation or the <guibutton>Back</guibutton> button to revise the selection.
+ </para>
+ </listitem>
+ </orderedlist>
+ </step>
+ <step>
+ <title>Review the licenses</title>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ Read the license information presented on the screen. Click the <guibutton>I accept</guibutton> radio button to proceed.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Choose the <guibutton>Finish</guibutton> button to complete the installation or the <guibutton>Back</guibutton> button to revise the selection.
+ </para>
+ </listitem>
+ </orderedlist>
+ </step>
+ <step><title>Restart <application>JBoss Tools</application></title>
+ <para>
+ When prompted, it is recommended to restart <application>JBoss Tools</application> by clicking the <guibutton>Yes</guibutton> button.
+ </para>
+ </step>
+</procedure>
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_dynamic_web_project.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_dynamic_web_project.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_dynamic_web_project.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,443 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jbt-new_dynamic_web_project">
+ <title>Creating a dynamic web project</title>
+ <step>
+ <title>Define the Project Type</title>
+ <orderedlist numeration ="loweralpha">
+ <listitem>
+ <para>
+ Click the <guilabel>Dynamic Web Project</guilabel> label by expanding the <menuchoice><guimenu>Web</guimenu></menuchoice> folder.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guibutton>Next</guibutton> button to proceed.
+ </para>
+ </listitem>
+ </orderedlist>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>New Dynamic Web Project</guilabel> screen displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-new_dynamic_web_project_01">
+ <title>Dynamic Web Project Attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-new_dynamic_web_project_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Dynamic Web Project Wizard.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Define the Project Attributes</title>
+ <para>
+ Define the Dynamic Web Project attributes according to the options displayed in <xref linkend="table-jbt-new_dynamic_web_project_01"/>
+ </para>
+ <!-- <table id="table-jbt-new_dynamic_web_project_01" frame='all'>
+ <title>New JSF Project</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Project Name</entry>
+ <entry>yes</entry>
+ <entry>Enter the project name.</entry>
+ <entry>The project name can be any name defined by the user.</entry>
+ </row>
+ <row>
+ <entry>Use default location (checkbox)</entry>
+ <entry>no</entry>
+ <entry>Click this option to define the project location as the default path.</entry>
+ <entry>The path defaults to the Workspace location.</entry>
+ </row>
+ <row>
+ <entry>Location</entry>
+ <entry>yes</entry>
+ <entry>Enter the path to the project.</entry>
+ <entry>The path will default to the Workspace location if the Use default location (checkbox) is selected.</entry>
+ </row>
+ <row>
+ <entry>JSF Environment</entry>
+ <entry>yes</entry>
+ <entry>Select the JSF Environment from the available options</entry>
+ <entry>
+ <para>
+ The JSF Environment defines the base JSF implementation to use as described in <xref linkend="table-jbt-new_dynamic_web_project_02"/>.
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>Template</entry>
+ <entry>yes</entry>
+ <entry>Select the Template from the available options</entry>
+ <entry>
+ <para>
+ The project can be based on a template as described in <xref linkend="table-jbt-new_dynamic_web_project_03"/>.
+ </para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ -->
+ <table id="table-jbt-new_dynamic_web_project_01" frame='all'>
+ <title>New Dynamic Web Project</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Project name</entry>
+ <entry>yes</entry>
+ <entry>Enter the project name.</entry>
+ <entry>The project name can be any name defined by the user.</entry>
+ </row>
+ <row>
+ <entry>Project location</entry>
+ <entry>yes</entry>
+ <entry>Click the <guilabel>Use default location</guilabel> checkbox to define the project location as the Eclipse workspace or define a custom path in the <guilabel>Location</guilabel> field.</entry>
+ <entry>The default location corresponds to the Eclipse workspace.</entry>
+ </row>
+ <row>
+ <entry>Target runtime</entry>
+ <entry>no</entry>
+ <entry>Select a pre-configured runtime from the available options or configure a new runtime environment.</entry>
+ <entry>
+ <para>
+ The target runtime defines the server to which the application will be deployed.
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>Dynamic web module version</entry>
+ <entry>yes</entry>
+ <entry>Select the required web module version.</entry>
+ <entry>
+ <para>
+ This option adds support for the Java Servlet API with module versions corresponding to J2EE levels as listed in <xref linkend="table-jbt-new_dynamic_web_project_02"/>.
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>Configuration</entry>
+ <entry>yes</entry>
+ <entry>Select the project configuration from the available options.</entry>
+ <entry>
+ <para>
+ The project can be based on either a custom or a set of pre-defined configurations as described in <xref linkend="table-jbt-new_dynamic_web_project_03"/>.
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>EAR membership</entry>
+ <entry>no</entry>
+ <entry>Add the project to an existing EAR project.</entry>
+ <entry>
+ <para>
+ The project can be added to an existing EAR project by selecting the checkbox. Once checked, a new EAR project can be defined by clicking the <guibutton>New Project</guibutton> button.
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>Working sets</entry>
+ <entry>no</entry>
+ <entry>Add the project to an existing working set.</entry>
+ <entry>
+ <para>
+ A working set provides the ability to group projects or project attributes in a customized way to improve access. A new working set can be defined once the <guibutton>Select</guibutton> button has been clicked.
+ </para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table id="table-jbt-new_dynamic_web_project_02" frame="all">
+ <!-- <table id="NewJSFProject_Web_ServletVersion" frame='all'> -->
+ <title>New Dynamic Project - Dynamic web module version</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="4*"/>
+ <thead>
+ <row>
+ <entry>Option</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>2.2</entry>
+ <entry>This web module version corresponds to the J2EE 1.2 implementation</entry>
+ </row>
+ <row>
+ <entry>2.3</entry>
+ <entry>This web module version corresponds to the J2EE 1.3 implementation</entry>
+ </row>
+ <row>
+ <entry>2.4</entry>
+ <entry>This web module version corresponds to the J2EE 1.4 implementation</entry>
+ </row>
+ <row>
+ <entry>2.5</entry>
+ <entry>This web module version corresponds to the JEE 5 implementation</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table id="table-jbt-new_dynamic_web_project_03">
+ <title>New Dymanic Project - Configuration</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="2*"/>
+ <thead>
+ <row>
+ <entry>Option</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><custom></entry>
+ <entry>Choosing from one of the pre-defined configurations will minimise the effort required to set up the project</entry>
+ </row>
+ <row>
+ <entry>BIRT Charting Web Project</entry>
+ <entry>A project with the BIRT Charting Runtime Component</entry>
+ </row>
+ <row>
+ <entry>BIRT Charting Web Project</entry>
+ <entry>A project with the BIRT Reporting Runtime Component</entry>
+ </row>
+ <row>
+ <entry>CXF Web Services Project v2.5</entry>
+ <entry>Configures a project with CXF using Web Module v2.5 and Java v5.0</entry>
+ </row>
+ <row>
+ <entry>Default Configuration for JBoss 5.0 Runtime</entry>
+ <entry>This option is a suitable starting point. Additional facets can be installed later to add new functionality</entry>
+ </row>
+ <row>
+ <entry>Dynamic Web Project with Seam 1.2</entry>
+ <entry>Configures a project to use Seam v1.2</entry>
+ </row>
+ <row>
+ <entry>Dynamic Web Project with Seam 2.0</entry>
+ <entry>Configures a project to use Seam v2.0</entry>
+ </row>
+ <row>
+ <entry>Dynamic Web Project with Seam 2.1</entry>
+ <entry>Configures a project to use Seam v2.1</entry>
+ </row>
+ <row>
+ <entry>Dynamic Web Project with Seam 2.2</entry>
+ <entry>Configures a project to use Seam v2.2</entry>
+ </row>
+ <row>
+ <entry>JBoss WS Web Service Project v3.0</entry>
+ <entry>Configures a project with JBossWS using Web Module v2.5 and Java v5.0</entry>
+ </row>
+ <row>
+ <entry>JavaServer Faces v1.2 Project</entry>
+ <entry>Configures a project to use JSF v1.2</entry>
+ </row>
+ <row>
+ <entry>Minimal Configuration</entry>
+ <entry>The minimum required facets are installed. Additional facets can be chosen later to add functionality to the project</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Access the <guilabel>Java</guilabel> sub-dialog</title>
+ <para>
+ Click <guilabel>Next</guilabel> to proceed.
+ </para>
+ <formalpara>
+ <title>Result:</title>
+ <para>
+ The <guilabel>New Dynamic Web Project - Java</guilabel> dialog displays.
+ </para>
+ </formalpara>
+ <!--
+ <figure id="figure-jbt-new_dynamic_web_project_03">
+ <title>New Dynamic Web Project - Java</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-new_dynamic_web_project_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New JPA Project - Java Dialog</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ -->
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Define the source and ouput folders</title>
+ <para>
+ Define the Dynamic Web Project source and output folders by adding or editing folders as required.
+ </para>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Access the <guilabel>Web Module</guilabel> sub-dialog</title>
+ <para>
+ Click <guilabel>Next</guilabel> to proceed.
+ </para>
+ <formalpara>
+ <title>Result:</title>
+ <para>
+ The <guilabel>New Dynamic Web Project - Web Module</guilabel> dialog displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-new_dynamic_web_project_04">
+ <title>New Dynamic Web Project - Web Module</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-new_dynamic_web_project_04.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Dynamic Web Project - Web Module Dialog</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Enter the web module settings</title>
+ <para>
+ Define the settings as listed in <xref linkend="table-jbt-new_dynamic_web_project_04"/> root folder for path names in the web project context and the name of the web content directory.
+ </para>
+ <table id="table-jbt-new_dynamic_web_project_04" frame='all'>
+ <title>New Dynamic Web Project - Web Module</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Context root</entry>
+ <entry>yes</entry>
+ <entry>Enter the context root for the project</entry>
+ <entry>The context root identifies a web application to the server and which URLs to delegate to the application</entry>
+ </row>
+ <row>
+ <entry>Content directory</entry>
+ <entry>yes</entry>
+ <entry>Enter the directory name for the web content</entry>
+ <entry>Web resources such as html, jsp files and graphic files will be written to the specified content directory</entry>
+ </row>
+ <row>
+ <entry>Generate web.xml deployment descriptor</entry>
+ <entry>no</entry>
+ <entry>Check this box to generate a deployment descriptor for the project</entry>
+ <entry>URL to servlet mappings and servlet authentication details are written to the deployment descriptor enabling the web server to serve requests</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Open the Java EE perspective.</title>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ Click the <guibutton>Finish</guibutton> button to complete the project setup.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ If not already set, a dialog will appear prompting the user to open the relevant perspective.
+ </para>
+ </formalpara>
+ <!--
+ <figure id="figure-jbt-new_dynamic_web_project_05">
+ <title>Open Associated Perspective Dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-new_dynamic_web_project_05.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Opening the Java EE perspective.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ -->
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guibutton>Yes</guibutton> button to display the Java EE perspective.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The project is configured and the Java EE perspective is displayed.
+ </para>
+ </formalpara>
+ <!--
+ <figure id="figure-jbt-new_dynamic_web_project_06">
+ <title>Java EE Perspective</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-new_dynamic_web_project_06.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The Java EE perspective.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ -->
+ </listitem>
+ </orderedlist>
+ <!--
+ <formalpara><title>Related material</title>
+ <para>
+ Further tasks and information relating to this task are accessible from: <xref linkend="document_navigation-jpa"/>.
+ </para>
+ </formalpara>
+ -->
+ <para>&HORIZ_LINE;</para>
+ </step>
+ </procedure>
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_dynamic_web_project.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_other.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_other.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_other.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,43 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jbt-new_other">
+ <title>JBoss Tools New - Other (Wizard Selection)</title>
+ <step>
+ <title>Access the New - Select a wizard dialog</title>
+ <para>
+ Select <menuchoice><guimenu>File</guimenu><guisubmenu>New</guisubmenu><guisubmenu>Other</guisubmenu></menuchoice>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>New - Select a wizard</guilabel> dialog displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-new_other_01">
+ <title>JSF Tools New - Other (Wizard selection) dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-generate_a_sample_web_service_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New - Other (Wizard selection) dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <figure id="figure-jbt-new_dynamic_web_project_01_444">
+ <title>Dynamic Web Project Attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-new_dynamic_web_project_01_444.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Dynamic Web Project Wizard.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+</procedure>
+
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_other.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_project.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_project.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_project.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,35 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jbt-new_project">
+ <title>JBoss Tools Project Creation</title>
+ <step>
+ <title>Access the New Project Dialog</title>
+ <para>
+ Select <menuchoice><guimenu>File</guimenu><guisubmenu>New</guisubmenu><guisubmenu>Project</guisubmenu></menuchoice>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>New Project</guilabel> screen displays.
+ </para>
+ </formalpara>
+ <!--
+ <figure id="figure-jbt-new_project_01">
+ <title>JBoss Tools Project Creation</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-new_project_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Project Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ -->
+ <para>&HORIZ_LINE;</para>
+
+ </step>
+</procedure>
+
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_project.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_project_example.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_project_example.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_project_example.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,185 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jbt-new_project_example">
+ <title>JBoss Tools New Example Project</title>
+ <step>
+ <title>Access the New Example Project Dialog</title>
+ <para>
+ Select <menuchoice><guimenu>Help</guimenu><guisubmenu>Project Examples</guisubmenu></menuchoice>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>New Example Project</guilabel> dialog displays.
+ </para>
+ </formalpara>
+ <!--
+ <figure id="figure-jbt-new_project_01">
+ <title>JBoss Tools Project Creation</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-new_project_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Project Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ -->
+ <para>&HORIZ_LINE;</para>
+
+ </step>
+ <step>
+ <title>Define the Example Project Type</title>
+ <orderedlist numeration ="loweralpha">
+ <listitem>
+ <para>
+ Click the <guilabel>RESTEasy Simple Example</guilabel> label by expanding the <menuchoice><guimenu>RESTEasy</guimenu></menuchoice> node.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guibutton>Finish</guibutton> button to ccomplete the project set up.
+ </para>
+ </listitem>
+ </orderedlist>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>simple</guilabel> project is configured and ready to build.
+ </para>
+ </formalpara>
+ <!--
+ <figure id="figure-jbt-new_dynamic_web_project_01">
+ <title>Dynamic Web Project Attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-new_dynamic_web_project_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Dynamic Web Project Wizard.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ -->
+ <para>&HORIZ_LINE;</para>
+ <note><title>Project requirements</title>
+ <para>
+ In the event that a message is displayed indicating some requirements could not be configured, click the <guibutton>Details</guibutton> button followed by the <guibutton>Fix</guibutton> button to rectify the problem. The message will be displayed as a result of missing plugins or a requirement to select or configure a suitable runtime.
+ </para>
+ </note>
+ </step>
+ <step>
+ <title>Build the project</title>
+ <para>
+ Right click on the project name and select <menuchoice><guimenu>Run As</guimenu><guisubmenu>Maven package</guisubmenu></menuchoice>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <filename>simple.war</filename> file is written to the <filename>target</filename> directory.
+ </para>
+ </formalpara>
+ <!--
+ <figure id="figure-jbt-new_project_01">
+ <title>JBoss Tools Project Creation</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-new_project_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Project Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ -->
+ <para>&HORIZ_LINE;</para>
+
+ </step>
+ <step>
+ <title>Deploy the project</title>
+ <para>
+ Copy the <filename>simple.war</filename> file to the <filename>deploy</filename> directory of the required server profile such as the <filename>all</filename> profile.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <filename>simple.war</filename> file is written to the <filename>target</filename> directory.
+ </para>
+ </formalpara>
+ <!--
+ <figure id="figure-jbt-new_project_01">
+ <title>JBoss Tools Project Creation</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-new_project_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Project Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ -->
+ <para>&HORIZ_LINE;</para>
+
+ </step>
+ <step><title>Determine the URL for the web service</title>
+ <para>
+ Double click the <filename>web.xml</filename> file and note the jax.ws.rs.Application paramater mapped to the Application Class. Note also:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ The main servlet for the application is org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher which is given the custom name Resteasy.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The main servlet is mapped to the url <code>/rest-services/*</code>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The url for sending GET requests can be resolved as follows:
+ </para>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ identify the Application Class as defined in the deployment descriptor
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ note the object type (<classname>CustomerResource</classname>) instantiated in the Application Class (<classname>ShoppingApplication</classname>) and added to the singleton set (<code>singletons.add(new CustomerResource())</code>)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ note the JAX-RS annotated path declared in the corresponding <classname>CustomerResource</classname> class; <code>@Path("/customers")</code>.
+ </para>
+ </listitem>
+ </orderedlist>
+ <!--
+ by viewing the class containing the JAX-RS annotated path <code>@Path("/MyRESTApplication")</code> as shoen in <xref linkend="figure-jbt-generate_a_sample_restful_web_service_04"/>. This class can be identified by viewing the Application Class defined in the deployment descriptor. Objects of type (<classname>HelloWorldResource</classname>) are instantiated and added to the singleton set in the Application Class constructor (<xref linkend="figure-jbt-generate_a_sample_restful_web_service_04"/>). The url for sending GET requests therefore resolves to http://localhost:8080/RestfulSample/MyRESTApplication.
+ </para>
+ -->
+ </listitem>
+ </itemizedlist>
+ <figure id="figure-jbt-new_project_example_01">
+ <title>web.xml</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-generate_a_sample_restful_web_service_06.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>web.xml</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The url for sending GET requests is therefore <uri>http://localhost:8080/simple/rest-services/customers</uri>. Testing RESTful web services is discussed in LINK HERE WHEN DONE.
+ </para>
+ <para>&HORIZ_LINE;</para>
+ </step>
+
+</procedure>
+
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-new_project_example.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_JAX-RS.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_JAX-RS.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_JAX-RS.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,150 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jbt-test_JAX-RS">
+ <title>Testing a JAX-RS web service</title>
+ <step><title>Preliminary steps</title>
+ <para>
+ Prior to testing a JAX-RS web service:
+ </para>
+ <substeps>
+ <step>
+ <para>
+ The <guilabel>Web Service Test View</guilabel> should be opened as described in <xref linkend="proc-jbt-web_service_test_view"></xref>;
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Web Service Test View</guilabel> displays.
+ </para>
+ </formalpara>
+ <figure id="proc-jbt-test_JAX-RS_01">
+ <title>Web Service Test View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-test_JAX-RS_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Web Service Test View</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </step>
+ <step>
+ <para>
+ A JAX-WS web service has been deployed to the <filename>deploy</filename> directory of the chosen server profile as described in <xref linkend="proc-jbt-export-war_export"/>;
+ </para>
+ </step>
+ <step>
+ <para>
+ The server has been started with <command>run.sh -c <profile></command>
+ </para>
+ </step>
+ </substeps>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <para>
+ Select <guilabel>JAX-WS</guilabel> from the available combo box options
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The SOAP message details are displayed in the <guilabel>Body Text</guilabel> textbox of the <guilabel>Request Details</guilabel> panel .
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-test_JAX-RS_02">
+ <title>JAX-WS Body Text</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-test_JAX-RS_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>JAX-WS Body Text</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <para>
+ Enter the location of the WSDL file in the editable dropdown list. The location for the <application>WebServiceSample</application> web service is <uri> http://localhost:8080/WebServiceSample/HelloWorldResource</uri>
+ </para>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <para>
+ Click the <guibutton>Invoke</guibutton> button
+ </para>
+
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Select WDSL</guilabel> dialog appears.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-test_JAX-RS_03">
+ <title>Select WSDL</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-test_JAX-RS_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Select WSDL</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Select the required service attributes</title>
+ <para>
+ Select the <guilabel>Service</guilabel>, <guibutton>Port</guibutton> and <guibutton>Operation</guibutton> from the combo boxes and click <guibutton>OK</guibutton>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <soap:Body/> section of the SOAP message is filled with the SayHello message details;
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-test_JAX-RS_04">
+ <title>JBoss Tools Project Creation</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-test_JAX-RS_04.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Project Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ the response header details are returned;
+ </para>
+ <figure id="figure-jbt-test_JAX-RS_05">
+ <title>JBoss Tools Project Creation</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-test_JAX-RS_05.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Project Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ and the response message body is displayed in the <guilabel>Response Body</guilabel> textbox, all of which indicate a successful test
+ </para>
+ <figure id="figure-jbt-test_JAX-RS_06">
+ <title>JBoss Tools Project Creation</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-test_JAX-RS_06.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Project Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+</procedure>
+
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_JAX-RS.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_JAX-WS.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_JAX-WS.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_JAX-WS.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,150 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jbt-test_JAX-WS">
+ <title>Testing a JAX-WS web service</title>
+ <step><title>Preliminary steps</title>
+ <para>
+ Prior to testing a JAX-WS web service:
+ </para>
+ <substeps>
+ <step>
+ <para>
+ The <guilabel>Web Service Test View</guilabel> should be opened as described in <xref linkend="proc-jbt-web_service_test_view"></xref>;
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Web Service Test View</guilabel> displays.
+ </para>
+ </formalpara>
+ <figure id="proc-jbt-test_JAX-WS_01">
+ <title>Web Service Test View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-test_JAX-WS_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Web Service Test View</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </step>
+ <step>
+ <para>
+ A JAX-WS web service has been deployed to the <filename>deploy</filename> directory of the chosen server profile as described in <xref linkend="proc-jbt-export-war_export"/>;
+ </para>
+ </step>
+ <step>
+ <para>
+ The server has been started with <command>run.sh -c <profile></command>
+ </para>
+ </step>
+ </substeps>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <para>
+ Select <guilabel>JAX-WS</guilabel> from the available combo box options
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The SOAP message details are displayed in the <guilabel>Body Text</guilabel> textbox of the <guilabel>Request Details</guilabel> panel.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-test_JAX-WS_02">
+ <title>JAX-WS Body Text</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-test_JAX-WS_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>JAX-WS Body Text</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <para>
+ Enter the location of the WSDL file in the editable dropdown list. The location for the <application>WebServiceSample</application> web service is <uri> http://localhost:8080/WebServiceSample/HelloWorldResource?WSDL</uri>
+ </para>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <para>
+ Click the <guibutton>Invoke</guibutton> button
+ </para>
+
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Select WDSL</guilabel> dialog appears.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-test_JAX-WS_03">
+ <title>Select WSDL</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-test_JAX-WS_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Select WSDL</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Select the required service attributes</title>
+ <para>
+ Select the <guilabel>Service</guilabel>, <guibutton>Port</guibutton> and <guibutton>Operation</guibutton> from the combo boxes and click <guibutton>OK</guibutton>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <soap:Body/> section of the SOAP message is filled with the SayHello message details;
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-test_JAX-WS_04">
+ <title>JBoss Tools Project Creation</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-test_JAX-WS_04.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Project Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ the response header details are returned;
+ </para>
+ <figure id="figure-jbt-test_JAX-WS_05">
+ <title>JBoss Tools Project Creation</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-test_JAX-WS_05.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Project Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ and the response message body is displayed in the <guilabel>Response Body</guilabel> textbox, all of which indicate a successful test
+ </para>
+ <figure id="figure-jbt-test_JAX-WS_06">
+ <title>JBoss Tools Project Creation</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-test_JAX-WS_06.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Project Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+</procedure>
+
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_JAX-WS.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-web_service_test_view.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-web_service_test_view.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-web_service_test_view.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,165 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jbt-web_service_test_view">
+ <title>Web Services Test View</title>
+ <step>
+ <title>Access the Show View dialog</title>
+ <substeps>
+ <step>
+ <para>
+ Select <menuchoice><guimenu>Window</guimenu><guisubmenu>Show View</guisubmenu><guisubmenu>Other</guisubmenu></menuchoice>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Show View</guilabel> dialog displays.
+ </para>
+ </formalpara>
+ </step>
+ <step>
+ <para>
+ Click on the <guilabel>Web Services Tester</guilabel> label by expanding the <guilabel>JBoss Tools Web Services</guilabel> node and click <guibutton>OK</guibutton>.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The Web Services test view displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-web_service_test_view">
+ <title>Web Service Test View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-web_service_test_view_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Web Service Test View</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ </substeps>
+ <para>
+ The main components of the Web Service Tester View are:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ WSDL path/button bar (<xref linkend="table-jbt-web_service_test_view_01"/>)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Request details panel (<xref linkend="table-jbt-web_service_test_view_02"/>)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Response details panel (<xref linkend="table-jbt-web_service_test_view_03"/>)
+ </para>
+ </listitem>
+ </itemizedlist>
+ <table id="table-jbt-web_service_test_view_01" frame='all'>
+ <title>WSDL path/button bar</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Component</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Editable dropdown list</entry>
+ <entry>Enter the location of the WSDL file or HTTP address of the service to be tested. The combo box requires the path to the WSDL be in URI format</entry>
+ </row>
+ <row>
+ <entry>Combo box</entry>
+ <entry>Select the type of service to test. The options are <guilabel>JAX-WS</guilabel> or any other option to test a <guilabel>JAX-RS</guilabel> service using HTTP request methods (PUT, GET, POST, DELETE or OPTIONS)</entry>
+ </row>
+ <row>
+ <entry>Toolbar button - Get From WSDL</entry>
+ <entry>
+ Click this button to display the <guilabel>Select WSDL</guilabel> dialog. Enter the <guibutton>URL</guibutton>, <guibutton>File system</guibutton> location or Eclipse <guibutton>Workspace</guibutton> location of the WSDL file. Given a vaild file, the dialog will allow selection of the <guilabel>Port</guilabel> and <guilabel>Operation</guilabel> to test. Once selected, the request details will be displayed in the Request details panel.
+ </entry>
+ </row>
+ <row>
+ <entry>Toolbar button - Invoke</entry>
+ <entry>Once the WSDL file has been selected, the service can be invoked by clicking this button. Reponse details will be displayed in the Response details panel</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table id="table-jbt-web_service_test_view_02" frame='all'>
+ <title>Request details panel</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Component</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Prompt for Basic Authentication</entry>
+ <entry>Check this box to send a username and password with the request. Entering the user details for each subsequent request is not necessary as the details are stored in memory</entry>
+ </row>
+ <row>
+ <entry>Headers</entry>
+ <entry>Enter (<guibutton>Add</guibutton>) one or more <varname>name</varname>=<literal>value</literal> pairs. These headers will be passed with the invocation request at the HTTP level where possible.</entry>
+ </row>
+ <row>
+ <entry>Parameters</entry>
+ <entry>As for header information, enter one or more <varname>name</varname>=<literal>value</literal> pairs by clicking the <guibutton>Add</guibutton> button
+ </entry>
+ </row>
+ <row>
+ <entry>Body</entry>
+ <entry>Enter the JAX-WS SOAP request messages or input for JAX-RS service invocations in this text box</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table id="table-jbt-web_service_test_view_03" frame='all'>
+ <title>Response details panel</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Component</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Response headers</entry>
+ <entry>The headers returned by the service invocation will be displayed in this panel.</entry>
+ </row>
+ <row>
+ <entry>Response body</entry>
+ <entry>The JAX-WS and JAX-RS response bodies will be displayed in this box. The raw text returned form the web service invocation can be displayed by clicking the <guibutton>Show Raw</guibutton> button. The output will be embedded in a html browser by clicking the <guibutton>Show in Browser</guibutton> button. The output can alternatively be displayed in the Eclipse editor as xml or raw text (depending on the response content type) by clicking the <guibutton>Show in Editor</guibutton> button</entry>
+ </row>
+ <row>
+ <entry>Parameters</entry>
+ <entry>As for header information, enter one or more <varname>name</varname>=<literal>value</literal> pairs by clicking the <guibutton>Add</guibutton> button</entry>
+ </row>
+ <row>
+ <entry>Body</entry>
+ <entry>Enter JAX-WS SOAP request messages and input for JAX-RS service invocations in this text box</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </step>
+</procedure>
+
Property changes on: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/proc-jbt-web_service_test_view.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/resteasy_simple_project_example.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/resteasy_simple_project_example.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/resteasy_simple_project_example.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="resteasy_simple_project_example">
+ <title>RestEasy simple project example</title>
+ <para>
+ JBoss Tools has many example projects available by selecting <menuchoice><guimenu>Help</guimenu><guisubmenu>Project Examples</guisubmenu></menuchoice>. The following sections decribe setting up the example RESTEasy project.
+ </para>
+ <xi:include href="prerequisites-resteasy_simple_project_example.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="the_example_project-resteasy_simple_project_example.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</chapter>
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/sample_restful_web_service-sample_web_service_wizards.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/sample_restful_web_service-sample_web_service_wizards.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/sample_restful_web_service-sample_web_service_wizards.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<section id="sample_web_service_wizards-sample_restful_web_service">
+ <title>Sample RESTful Web Service</title>
+ <para>
+ A sample Restful web service can be generated by following the steps outlined in <xref linkend="proc-jbt-generate_a_sample_restful_web_service"/>.
+ </para>
+ <xi:include href="proc-jbt-generate_a_sample_restful_web_service.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/sample_web_service-sample_web_service_wizards.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/sample_web_service-sample_web_service_wizards.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/sample_web_service-sample_web_service_wizards.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<section id="sample_web_service_wizards-sample_web_service">
+ <title>Sample Web Service</title>
+ <para>
+ These sections describe how to generate and deploy a sample web service.
+ </para>
+ <!--
+ <xi:include href="proc-jbt-new_other.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ -->
+ <xi:include href="generation-sample_web_service_wizards.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="deployment-sample_web_service_wizards.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+
+</section>
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/sample_web_service_wizards.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/sample_web_service_wizards.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/sample_web_service_wizards.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,32 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="sample_web_service_wizards">
+ <title>Sample Web Service wizards</title>
+ <para>
+ JBoss Tools includes wizards for the creation of sample web services. These include:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <guilabel>Create a sample Web Service</guilabel> for a Java API for XML Web Services (<acronym>JAX-WS</acronym>) and;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <guilabel>Create a sample RESTful Web Service</guilabel> for a Java API for RESTful Web Services (<acronym>JAX-WS</acronym>)
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ These wizards are used within a Dynamic Web project. Begin by creating a dynamic web project as shown in <xref linkend="proc-jbt-new_project"/> and <xref linkend="proc-jbt-new_dynamic_web_project"/>.
+ </para>
+ <xi:include href="proc-jbt-new_project.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="proc-jbt-new_dynamic_web_project.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+
+ <xi:include href="sample_web_service-sample_web_service_wizards.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="sample_restful_web_service-sample_web_service_wizards.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</chapter>
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/testing_a_restful_web_service-web_service_test_view.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/testing_a_restful_web_service-web_service_test_view.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/testing_a_restful_web_service-web_service_test_view.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,36 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<section id="web_service_test_view-testing_a_restful_web_service">
+ <title>Testing a RESTful Web Service</title>
+ <para>
+ Testing a RESTful (<acronym>JAX-RS</acronym>) web service is achieved by following a similar procedure to testing a JAX-WS web service. Instead of selecting the JAX-WS option in the combo box, the JAX-RS service is invoked by sending HTTP method requests of the form OPTIONS, GET, POST, PUT and DELETE. As there is no WSDL file associated with a JAX-RS service, the available options can be determined by selecting <guilabel>OPTIONS</guilabel> in the combo box.
+ </para>
+ <orderedlist>
+ <listitem>
+ <para>
+ selecting the any of the HTTP method types such as <guilabel>OPTIONS</guilabel> from the combo box and;
+ </para>
+ </listitem>
+ <listitem>
+ <itemizedlist>
+ <listitem>
+ <para>
+ entering the location of the WDSL file in the editable dropdown list or;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ clicking the <guibutton>Get from WSDL file</guibutton> button and entering the <guibutton>URL</guibutton>, <guibutton>Eclipse workspace</guibutton> or <guibutton>File system</guibutton> details.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </orderedlist>
+ <para>
+ Procedure <xref linkend="proc-jbt-test_JAX-WS"/> demonstrates testing the <application>WebServiceSample</application> project developed in <xref linkend="proc-jbt-generate_a_sample_web_service"/>.
+ </para>
+
+</section>
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/testing_a_web_service-web_service_test_view.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/testing_a_web_service-web_service_test_view.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/testing_a_web_service-web_service_test_view.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<section id="web_service_test_view-testing_a_web_service">
+ <title>Testing a Web Service</title>
+ <para>
+ A JAX-WS Web Service can be tested by using the <guilabel>Web Service Tester View </guilabel> displayed in <xref linkend="figure-jbt-web_service_test_view"/> and:
+ </para>
+ <orderedlist>
+ <listitem>
+ <para>
+ selecting the <guilabel>JAX-WS</guilabel> combo box option and;
+ </para>
+ </listitem>
+ <listitem>
+ <itemizedlist>
+ <listitem>
+ <para>
+ entering the location of the WDSL file in the editable dropdown list or;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ clicking the <guibutton>Get from WSDL file</guibutton> button and entering the <guibutton>URL</guibutton>, <guibutton>Eclipse workspace</guibutton> or <guibutton>File system</guibutton> details.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </orderedlist>
+ <para>
+ Procedure <xref linkend="proc-jbt-test_JAX-WS"/> demonstrates testing the <application>WebServiceSample</application> project developed in <xref linkend="proc-jbt-generate_a_sample_web_service"/>.
+ </para>
+ <xi:include href="proc-jbt-test_JAX-WS.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/the_example_project-resteasy_simple_project_example.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/the_example_project-resteasy_simple_project_example.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/the_example_project-resteasy_simple_project_example.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<section id="resteasy_simple_project_example-the_example_project">
+ <title>The example project</title>
+ <para>
+ Once the required plugins have been installed, the example project can be set up as described in <xref linkend="proc-jbt-new_project_example"/>
+ </para>
+
+ <xi:include href="proc-jbt-new_project_example.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/web_service_test_view.xml
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/web_service_test_view.xml (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/en-US/web_service_test_view.xml 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="web_service_test_view">
+ <title>Web Service Test View</title>
+ <para>
+ JBoss Tools provides a view to test Web Services. The Web Services Test View can be displayed by following the steps in <xref linkend="proc-jbt-web_service_test_view"/>.
+ </para>
+
+ <xi:include href="proc-jbt-web_service_test_view.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <para>
+ The following sections describe testing <acronym>JAX-WS</acronym> and <acronym>JAX-RS</acronym> web services.
+ </para>
+ <xi:include href="testing_a_web_service-web_service_test_view.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="testing_a_restful_web_service-web_service_test_view.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</chapter>
\ No newline at end of file
Added: trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/publican.cfg
===================================================================
--- trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/publican.cfg (rev 0)
+++ trunk/documentation/Web_Service_Test_View/JBoss_Web_Services_User_Guide/publican.cfg 2010-09-17 07:36:37 UTC (rev 24975)
@@ -0,0 +1,9 @@
+# Config::Simple 4.59
+# Tue Sep 7 10:57:22 2010
+
+xml_lang: en-US
+type: Book
+brand: JBoss
+show_remarks: 1
+max_image_width: 444
+
15 years, 7 months
JBoss Tools SVN: r24974 - in trunk/documentation: JBoss_Tools_Reference_Guide_Template and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: benlc
Date: 2010-09-17 03:33:51 -0400 (Fri, 17 Sep 2010)
New Revision: 24974
Added:
trunk/documentation/JBoss_Tools_Reference_Guide_Template/
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Author_Group.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Book_Info.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Chapter.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/JBoss_Tools_Reference_Guide_Template.ent
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/JBoss_Tools_Reference_Guide_Template.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Preface.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Revision_History.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/TOC
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-document_navigation.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-error_and_warning_messages.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-hints.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support_and_java_server_faces-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_basic_task-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-document_navigation.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-error_and_warning_messages.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-hints.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_view-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_wizard-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-document_navigation.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-error_and_warning_messages.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-hints.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/basic_tasks-error_and_warning_messages.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/basic_tasks-hints.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/basic_tasks-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/create_faces-config_file-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/creating_jsp_pages-getting_started.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-document_navigation.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-error_and_warning_messages.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-hints.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/developer_documentation-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/diagram_view-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/dialogs-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/dialogs_link_sets-link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/document_navigation.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/editors-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/editors_link_sets-link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/error_and_warning_messages.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-document_navigation.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-error_and_warning_messages.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-hints.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/faces-config_diagram_view_links-link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/faces-config_editor_tree_view_links-link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/faces-config_file-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/fallback_content/
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/fallback_content/Conventions.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/fallback_content/Feedback.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/fallback_content/Legal_Notice.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/further_resources-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/getting_started.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/hints.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/icons_and_buttons-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/icons_and_buttons_link_sets-link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-pv-import_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-pv-palette_editor_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-pv-show_hide_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-wpv-create_new_jsf_project_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-wpv-create_new_struts_project_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-wpv-import_jsf_project_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-wpv-import_struts_project_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-new_other_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-new_project_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-open_perspective_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-palette_view_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-show_view_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-show_view_02.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-show_view_03.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-web_perspective_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-web_projects_view_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_jsp_page_02.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_jsp_page_03.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_jsp_page_04.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_02.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_03.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_04.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_05.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-editor_faces-config_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-editor_faces-config_02.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-editor_faces-config_03.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-faces_config_editor_tree_view_links_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_faces_config_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_faces_config_02.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_jsf_project_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_jsf_project_02.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_jsf_project_03.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_jsf_project_04.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_02.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_03.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_04.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_05.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-project_verification_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_one_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_one_02.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_one_03.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_02.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_03.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_04.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_05.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_two_01.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_two_02.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_two_03.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_two_04.png
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/jsf_project_verification-latest_developments.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/jsf_tools_configuration_file_editor-getting_started.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/jsf_tools_quick_start_template-getting_started.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/latest_developments.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/legal_notices.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/linking_pages-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-document_navigation.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-error_and_warning_messages.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-hints.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans_and_java_server_faces-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/new_faces_config_wizard-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/new_feature_template-latest_developments.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/new_jsf_project_wizard-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/open_web_development_perspective-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/palette_view-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/perspectives-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/perspectives_link_sets-link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/placeholder_for_a_link-hints.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/preferences_pages-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/preferences_pages_link_sets-link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-new_other.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-new_project.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-open_perspective.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-show_view.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-create_jsp_page.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-create_new_connection.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-editor_faces-config.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_faces_config.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_jsf_project.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_managed_bean.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-project_verification.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_one.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_three.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_two.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/project_creation-getting_started.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_buttons-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_dialogs-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_icons-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_preferences_pages-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/quick_start-getting_started.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/required_installations-getting_started.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-document_navigation.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-error_and_warning_messages.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-hints.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/show_view-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-document_navigation.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-error_and_warning_messages.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-hints.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management_and_java_server_faces-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/template_one_links-link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/template_overview.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/template_two_links-link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/the_concept_and_java_server_faces-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/tree_view-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-concepts.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-document_navigation.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-error_and_warning_messages.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-hints.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-tasks.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/views-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/views_link_sets-link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_development-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_development_perspective_palette_view_links-link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_projects_view-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_projects_view_links-link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/wizards-reference.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/wizards_link_sets-link_sets.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/pom.xml
trunk/documentation/JBoss_Tools_Reference_Guide_Template/publican.cfg
Log:
'committing the template'
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Author_Group.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Author_Group.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Author_Group.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<authorgroup>
+ <author>
+ <firstname>Ben</firstname>
+ <surname>Clare</surname>
+ <affiliation>
+ <orgname>Red Hat</orgname>
+ <orgdiv>Engineering Content Services</orgdiv>
+ </affiliation>
+ <email>bclare(a)redhat.com</email>
+ </author>
+</authorgroup>
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Book_Info.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Book_Info.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Book_Info.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,41 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<bookinfo id="book-JBoss_Tools_Reference_Guide_Template-JBoss_Tools_Reference_Guide_Template">
+ <title>JBoss Tools Reference Guide Template</title>
+ <subtitle>A template to assist in the generation of JBoss Tools Reference Guide material.</subtitle>
+ <productname>JBoss Tools</productname>
+ <productnumber>3.2</productnumber>
+ <edition>1</edition>
+ <pubsnumber>0</pubsnumber>
+ <abstract>
+ <para>
+ This template has been developed to assist in the generation of JBoss Tools reference material. The design is similar to the DITA format for topic based authoring with modifications detailed in <xref linkend="template_overview"></xref>. Design notes have been included throughout the document to assist developers and writers in contributing to the material. JBoss Tools reference material will be incorporated into Eclipse help and this template is an initial step towards this goal.
+ </para>
+ </abstract>
+ <corpauthor>
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="Common_Content/images/title_logo.svg" format="SVG" />
+ </imageobject>
+ </inlinemediaobject>
+ </corpauthor>
+ <!--FOR PUBLICAN -->
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="Common_Content/Legal_Notice.xml">
+ <!--FOR JDOCBOOK:-->
+ <xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:include href="fallback_content/Legal_Notice.xml"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
+ </xi:include>
+ </xi:fallback>
+ </xi:include>
+
+ <!--
+ <xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ -->
+ <xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</bookinfo>
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Chapter.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Chapter.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Chapter.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,33 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="chap-JBoss_Tools_Reference_Guide_Template-Test_Chapter">
+ <title>Test Chapter</title>
+ <para>
+ This is a test paragraph
+ </para>
+ <section id="sect-JBoss_Tools_Reference_Guide_Template-Test_Chapter-Test_Section_1">
+ <title>Test Section 1</title>
+ <para>
+ This is a test paragraph in a section
+ </para>
+ </section>
+
+ <section id="sect-JBoss_Tools_Reference_Guide_Template-Test_Chapter-Test_Section_2">
+ <title>Test Section 2</title>
+ <para>
+ This is a test paragraph in Section 2
+ <orderedlist>
+ <listitem>
+ <para>
+ listitem text
+ </para>
+ </listitem>
+ </orderedlist>
+ </para>
+ </section>
+
+</chapter>
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/JBoss_Tools_Reference_Guide_Template.ent
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/JBoss_Tools_Reference_Guide_Template.ent (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/JBoss_Tools_Reference_Guide_Template.ent 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,179 @@
+<!ENTITY PRODUCT "Documentation">
+<!ENTITY BOOKID "JBoss_Tools_Reference_Guide_Template">
+<!ENTITY YEAR "2010">
+<!ENTITY HOLDER "Red Hat">
+<!ENTITY HORIZ_LINE "───────────────────────────────────────────────────────────────">
+
+<!-- Enter manual entity entries above this line. Those below are generated by the saje program -->
+
+<!-- Jira Details -->
+<!ENTITY URL "https://jira.jboss.org/secure/CreateIssueDetails!init.jspa?">
+<!ENTITY PID "12310980">
+<!ENTITY COMPONENTS "12313101">
+<!ENTITY VERSIONS "12314808">
+<!ENTITY CUSTFIELD "Documentation+(Ref+Guide,+User+Guide,+etc.)">
+
+
+<!-- Section Feedback Links -->
+<!ENTITY FEEDBACK-latest_developments-jsf_project_verification '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+latest_developments-jsf_project_verification&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-latest_developments-new_feature_template '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+latest_developments-new_feature_template&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-getting_started-required_installations '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+getting_started-required_installations&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-getting_started-quick_start-project_creation '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+getting_started-quick_start-project_creation&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-getting_started-quick_start-jsf_tools_configuration_file_editor '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+getting_started-quick_start-jsf_tools_configuration_file_editor&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-getting_started-quick_start-creating_jsp_pages '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+getting_started-quick_start-creating_jsp_pages&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-getting_started-quick_start-jsf_tools_quick_start_template '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+getting_started-quick_start-jsf_tools_quick_start_template&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-concepts-managed_beans-managed_beans_and_java_server_faces '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+concepts-managed_beans-managed_beans_and_java_server_faces&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-concepts-user_interface_components-base '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+concepts-user_interface_components-base&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-concepts-user_interface_components-extended '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+concepts-user_interface_components-extended&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-concepts-user_interface_components-custom '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+concepts-user_interface_components-custom&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-concepts-user_interface_components-reusable '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+concepts-user_interface_components-reusable&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-concepts-state_management-state_management_and_java_server_faces '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+concepts-state_management-state_management_and_java_server_faces&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-concepts-ajax_support-ajax_support_and_java_server_faces '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+concepts-ajax_support-ajax_support_and_java_server_faces&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-concepts-another_concept-the_concept_and_java_server_faces '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+concepts-another_concept-the_concept_and_java_server_faces&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-concepts-further_resources '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+concepts-further_resources&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-tasks-basic_tasks-open_web_development_perspective '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+tasks-basic_tasks-open_web_development_perspective&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-tasks-basic_tasks-show_view '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+tasks-basic_tasks-show_view&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-tasks-basic_tasks-create_faces-config_file '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+tasks-basic_tasks-create_faces-config_file&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-tasks-basic_tasks-linking_pages '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+tasks-basic_tasks-linking_pages&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-tasks-basic_tasks-another_basic_task '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+tasks-basic_tasks-another_basic_task&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-tasks-managed_beans '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+tasks-managed_beans&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-tasks-user_interface_components-base '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+tasks-user_interface_components-base&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-tasks-user_interface_components-custom '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+tasks-user_interface_components-custom&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-tasks-user_interface_components-extended '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+tasks-user_interface_components-extended&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-tasks-user_interface_components-reusable '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+tasks-user_interface_components-reusable&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-tasks-state_management '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+tasks-state_management&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-tasks-ajax_support '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+tasks-ajax_support&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-tasks-another_concept '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+tasks-another_concept&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-wizards-new_jsf_project_wizard '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-wizards-new_jsf_project_wizard&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-wizards-new_faces_config_wizard '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-wizards-new_faces_config_wizard&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-wizards-another_wizard '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-wizards-another_wizard&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-perspectives-web_development '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-perspectives-web_development&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-views-web_projects_view '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-views-web_projects_view&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-views-palette_view '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-views-palette_view&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-views-another_view '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-views-another_view&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-faces-config_file-diagram_view '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-faces-config_file-diagram_view&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-faces-config_file-tree_view '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-faces-config_file-tree_view&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-preferences_pages-questionable_to_include_preferences_pages '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-preferences_pages-questionable_to_include_preferences_pages&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-dialogs-questionable_to_include_dialogs '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-dialogs-questionable_to_include_dialogs&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-icons_and_buttons-questionable_to_include_icons '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-icons_and_buttons-questionable_to_include_icons&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-icons_and_buttons-questionable_to_include_buttons '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-icons_and_buttons-questionable_to_include_buttons&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-reference-developer_documentation '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+reference-developer_documentation&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-error_and_warning_messages-basic_tasks '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+error_and_warning_messages-basic_tasks&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-error_and_warning_messages-managed_beans '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+error_and_warning_messages-managed_beans&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-error_and_warning_messages-user_interface_components-base '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+error_and_warning_messages-user_interface_components-base&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-error_and_warning_messages-user_interface_components-custom '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+error_and_warning_messages-user_interface_components-custom&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-error_and_warning_messages-user_interface_components-extended '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+error_and_warning_messages-user_interface_components-extended&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-error_and_warning_messages-user_interface_components-reusable '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+error_and_warning_messages-user_interface_components-reusable&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-error_and_warning_messages-state_management '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+error_and_warning_messages-state_management&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-error_and_warning_messages-ajax_support '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+error_and_warning_messages-ajax_support&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-error_and_warning_messages-another_concept '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+error_and_warning_messages-another_concept&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-hints-basic_tasks '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+hints-basic_tasks&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-hints-managed_beans '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+hints-managed_beans&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-hints-user_interface_components-base '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+hints-user_interface_components-base&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-hints-user_interface_components-extended '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+hints-user_interface_components-extended&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-hints-user_interface_components-custom '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+hints-user_interface_components-custom&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-hints-user_interface_components-reusable '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+hints-user_interface_components-reusable&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-hints-state_management '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+hints-state_management&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-hints-ajax_support '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+hints-ajax_support&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-hints-another_concept '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+hints-another_concept&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-hints-placeholder_for_a_link '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+hints-placeholder_for_a_link&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-link_sets-wizards_link_sets '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+link_sets-wizards_link_sets&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-link_sets-views_link_sets-web_projects_view_links '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+link_sets-views_link_sets-web_projects_view_links&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-link_sets-views_link_sets-web_development_perspective_palette_view_links '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+link_sets-views_link_sets-web_development_perspective_palette_view_links&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-link_sets-views_link_sets-template_one_links '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+link_sets-views_link_sets-template_one_links&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-link_sets-editors_link_sets-faces-config_editor_tree_view_links '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+link_sets-editors_link_sets-faces-config_editor_tree_view_links&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-link_sets-editors_link_sets-faces-config_diagram_view_links '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+link_sets-editors_link_sets-faces-config_diagram_view_links&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-link_sets-editors_link_sets-template_two_links '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+link_sets-editors_link_sets-template_two_links&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-link_sets-perspectives_link_sets '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+link_sets-perspectives_link_sets&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-link_sets-preferences_pages_link_sets '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+link_sets-preferences_pages_link_sets&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-link_sets-dialogs_link_sets '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+link_sets-dialogs_link_sets&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-link_sets-icons_and_buttons_link_sets '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+link_sets-icons_and_buttons_link_sets&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-document_navigation-managed_beans '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+document_navigation-managed_beans&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-document_navigation-user_interface_components-base '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+document_navigation-user_interface_components-base&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-document_navigation-user_interface_components-extended '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+document_navigation-user_interface_components-extended&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-document_navigation-user_interface_components-custom '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+document_navigation-user_interface_components-custom&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-document_navigation-user_interface_components-reusable '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+document_navigation-user_interface_components-reusable&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-document_navigation-state_management '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+document_navigation-state_management&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-document_navigation-ajax_support '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+document_navigation-ajax_support&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
+<!ENTITY FEEDBACK-document_navigation-another_concept '<ulink url="&URL;pid=&PID;&issuetype=1&summary=&BOOKID;+|+document_navigation-another_concept&priority=3&components=&COMPONENTS;&versions=&VERSIONS;&customfield_12310031=&CUSTFIELD;&assignee=-1"><classname>Section Feedback</classname></ulink>'>
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/JBoss_Tools_Reference_Guide_Template.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/JBoss_Tools_Reference_Guide_Template.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/JBoss_Tools_Reference_Guide_Template.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<book>
+ <xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+<!-- <xi:include href="template_overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /> -->
+ <!-- <xi:include href="legal_notices.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /> -->
+ <!-- <xi:include href="latest_developments.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="getting_started.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="error_and_warning_messages.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="hints.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /> -->
+ <!-- <xi:include href="link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /> -->
+ <!-- <xi:include href="document_navigation.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /> -->
+ <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <index />
+</book>
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Preface.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Preface.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Preface.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,30 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE preface PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<preface id="pref-JBoss_Tools_Reference_Guide_Template-Preface">
+ <title>Preface</title>
+ <!--FOR PUBLICAN -->
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="Common_Content/Conventions.xml">
+ <!--FOR JDOCBOOK:-->
+ <xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:include href="fallback_content/Conventions.xml"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
+ </xi:include>
+ </xi:fallback>
+ </xi:include>
+
+ <!--FOR PUBLICAN -->
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="Feedback.xml">
+ <!--FOR JDOCBOOK:-->
+ <xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:include href="fallback_content/Feedback.xml"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
+ </xi:include>
+ </xi:fallback>
+ </xi:include>
+</preface>
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Revision_History.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Revision_History.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/Revision_History.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,27 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<appendix id="appe-JBoss_Tools_Reference_Guide_Template-Revision_History">
+ <title>Revision History</title>
+ <simpara>
+ <revhistory>
+ <revision>
+ <revnumber>0</revnumber>
+ <date>Thu Aug 5 2010</date>
+ <author>
+ <firstname>Ben</firstname>
+ <surname>Clare</surname>
+ <email>bclare(a)redhat.com</email>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>Initial design and compilation of template.</member>
+ </simplelist>
+ </revdescription>
+ </revision>
+ </revhistory>
+ </simpara>
+</appendix>
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/TOC
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/TOC (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/TOC 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,146 @@
+1. Legal notices
+2. Latest developments
+
+ 2.1. JSF project verification
+ 2.2. New feature template
+
+3. Getting started
+
+ 3.1. Required installations
+ 3.2. Quick start
+
+ 3.2.1. Project creation
+ 3.2.2. JSF tools configuration file editor
+ 3.2.3. Creating JSP pages
+ 3.2.4. JSF tools quick start template
+
+4. Concepts
+
+ 4.1. Managed beans
+
+ 4.1.1. Managed beans and java server faces
+
+ 4.2. User interface components
+
+ 4.2.1. Base
+ 4.2.2. Extended
+ 4.2.3. Custom
+ 4.2.4. Reusable
+
+ 4.3. State management
+ 4.4. Ajax support
+ 4.5. Another concept
+
+ 4.5.1. The concept and java server faces
+
+ 4.6. Further resources
+
+5. Tasks
+
+ 5.1. Basic tasks
+
+ 5.1.1. Open web development perspective
+ 5.1.2. Create faces-config file
+ 5.1.3. Linking pages
+ 5.1.4. Another basic task
+
+ 5.2. Managed beans
+ 5.3. User interface components
+
+ 5.3.1. Base
+ 5.3.2. Custom
+ 5.3.3. Extended
+ 5.3.4. Reusable
+
+ 5.4. State management
+ 5.5. Ajax support
+ 5.6. Another concept
+
+6. Reference
+
+ 6.1. Wizards
+
+ 6.1.1. New JSF project wizard
+ 6.1.2. New faces config wizard
+ 6.1.3. Another wizard
+
+ 6.2. Perspectives
+
+ 6.2.1. Web development
+
+ 6.3. Views
+
+ 6.3.1. Web projects view
+ 6.3.2. Palette view
+ 6.3.3. Another view
+
+ 6.4. Editors
+ 6.4.1. faces-config file
+ 6.4.1.1. Diagram view
+ 6.4.1.2. Tree view
+
+ 6.5. Preferences Pages
+
+ 6.5.1. Questionable to include preferences pages
+
+ 6.6. Dialogs
+
+ 6.6.1. Questionable to include dialogs
+
+ 6.7. Icons and Buttons
+
+ 6.7.1. Questionable to include icons
+ 6.7.2. Questionable to include buttons
+
+ 6.8. Developer documentation
+
+7. Error and warning messages
+
+ 7.1. Basic tasks
+ 7.2. Managed beans
+ 7.3. User interface components
+
+ 7.3.1. Base
+ 7.3.2. Custom
+ 7.3.3. Extended
+ 7.3.4. Reusable
+
+ 7.4. State management
+ 7.5. Ajax support
+ 7.6. Another concept
+
+8. Hints
+
+ 8.1. Basic tasks
+ 8.2. Managed beans
+ 8.3. User interface components
+
+ 8.3.1. Base
+ 8.3.2. Extended
+ 8.3.3. Custom
+ 8.3.4. Reusable
+
+ 8.4. State management
+ 8.5. Ajax support
+ 8.6. Another concept
+ 8.7. Placeholder for a link
+
+9. Link Sets
+
+ 9.1. Wizards link sets
+ 9.2. Views link sets
+
+ 9.2.1. Web projects view links
+ 9.2.2. Web development perspective palette view links
+ 9.2.3. Template one links
+
+ 9.3. Editors link sets
+
+ 9.3.1. faces-config editor tree view links
+ 9.3.2. faces-config diagram view links
+ 9.3.3. Template two links
+
+ 9.4. Perspectives link sets
+ 9.5. Preferences pages link sets
+ 9.6. Dialogs link sets
+ 9.7. Icons and buttons link sets
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-ajax_support">
+ <title>Ajax support</title>
+ <para>
+ Ajax is .....
+ </para>
+ <xi:include href="ajax_support_and_java_server_faces-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <!-- <para>&FEEDBACK-concepts-ajax_support;</para> -->
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-document_navigation.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-document_navigation.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-document_navigation.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,46 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="document_navigation-ajax_support">
+ <title>Ajax support</title>
+ <table id="table-document_navigation-ajax_support_01" frame='all'>
+ <title>Ajax support</title>
+ <tgroup cols='3' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="1*"/>
+ <thead>
+ <row>
+ <entry>Concepts</entry>
+ <entry>Tasks</entry>
+ <entry>Reference</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><xref linkend="concepts-ajax_support"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&FEEDBACK-document_navigation-ajax_support;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-error_and_warning_messages.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-error_and_warning_messages.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-error_and_warning_messages.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,88 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="error_and_warning_messages-ajax_support">
+ <title>Ajax support</title>
+ <para>
+ The procedures listed in <xref linkend="tasks-ajax_support"></xref> may return the following errors:
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - Ajax Support.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <formalpara><title>Error messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant Ajax Support Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <formalpara><title>Warning messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant Ajax Support Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-error_and_warning_messages-ajax_support;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-hints.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-hints.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-hints.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,49 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="hints-ajax_support">
+ <title>Ajax support</title>
+ <para>
+ The following details hints may prove useful when applying the tasks detailed in <xref linkend="tasks-ajax_support"></xref>.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the "Ajax Support" tasks - not related to any specific concept discussed in the Concepts section.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <variablelist>
+ <title>Relevant Ajax Support Task</title>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-hints-ajax_support;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-ajax_support">
+ <title>Ajax support</title>
+ <para>
+ The following procedure describes how to implement ajax support for JSF....
+ </para>
+ <para>&FEEDBACK-tasks-ajax_support;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support_and_java_server_faces-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support_and_java_server_faces-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/ajax_support_and_java_server_faces-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,39 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-ajax_support-ajax_support_and_java_server_faces">
+ <title>Ajax support and java server faces</title>
+ <para>
+ JSF supports Ajax by ....
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>&FEEDBACK-concepts-ajax_support-ajax_support_and_java_server_faces;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_basic_task-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_basic_task-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_basic_task-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-basic_tasks-another_basic_task">
+ <title>Another basic task</title>
+ <note><title>***Design Note***</title>
+ <para>
+ The procedures described in this section are "Basic" in that they do not implement an underlying Java feature or concept such as Managed Beans or Persistence etc. They require no (or very little) technical explanation other than a description of how to perform the procedures in JBoss Tools.
+ </para>
+ </note>
+
+ <para>
+ JSF Tools provides the facility to .... This provides the user with ....
+ </para>
+ <para>
+ Following the task/procedure..... as described in <xref linkend="proc-jsf-create_jsp_page"></xref>, this further task/procedure can be performed. This is described in <xref linkend="proc-jsf-create_new_connection"></xref>
+ </para>
+ <xi:include href="proc-jsf-template_three.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <para>&FEEDBACK-tasks-basic_tasks-another_basic_task;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,40 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-another_concept">
+ <title>Another concept</title>
+ <para>
+ This concept/feature is .....
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <xi:include href="the_concept_and_java_server_faces-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-document_navigation.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-document_navigation.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-document_navigation.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,46 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="document_navigation-another_concept">
+ <title>Another concept</title>
+ <table id="table-document_navigation-another_concept_01" frame='all'>
+ <title>Another concept</title>
+ <tgroup cols='3' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="1*"/>
+ <thead>
+ <row>
+ <entry>Concepts</entry>
+ <entry>Tasks</entry>
+ <entry>Reference</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><xref linkend="concepts-another_concept"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&FEEDBACK-document_navigation-another_concept;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-error_and_warning_messages.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-error_and_warning_messages.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-error_and_warning_messages.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,88 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="error_and_warning_messages-another_concept">
+ <title>Another concept</title>
+ <para>
+ The procedures listed in <xref linkend="tasks-another_concept"></xref> may return the following errors:
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - Another Concept.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <formalpara><title>Error messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant Another Concept Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <formalpara><title>Warning messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant Another Concept Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-error_and_warning_messages-another_concept;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-hints.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-hints.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-hints.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,50 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="hints-another_concept">
+ <title>Another concept</title>
+ <para>
+ The following details hints may prove useful when applying the tasks detailed in <xref linkend="tasks-another_concept"></xref>.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - Another task User Interface Components.
+ Perhaps chunk this down into individual sections depending on extent of content - for Context Sensitive Help.
+ </para>
+ </note>
+ <variablelist>
+
+ <title>Relevant Another Concept Task</title>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-hints-another_concept;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_concept-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-another_concept">
+ <title>Another concept</title>
+ <para>
+ The following procedure describes how to implement another concept....
+ </para>
+ <para>&FEEDBACK-tasks-another_concept;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_view-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_view-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_view-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,36 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-views-another_view">
+ <title>Another view</title>
+ <para>
+ Document another view here.
+ </para>
+ <para>
+ Document another view here.
+ </para>
+ <para>
+ Document another view here.
+ </para>
+ <para>
+ Document another view here.
+ </para>
+ <para>
+ Document another view here.
+ </para>
+ <para>
+ Document another view here.
+ </para>
+ <para>
+ Document another view here.
+ </para>
+ <note><title>**Design Note***</title>
+ <para>
+ A link to the relevant "Documentation navigation" section (as in the tasks section) would be relevant where the view relates to a single feature (or concept) detailed in the Concepts chapter.
+ </para>
+
+ </note>
+ <para>&FEEDBACK-reference-views-another_view;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_wizard-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_wizard-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/another_wizard-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-wizards-another_wizard">
+ <title>Another wizard</title>
+ <para>
+ The user has the option to define/create a .....project/file. The use of this wizard is discussed in <xref linkend="proc-jsf-template_one"/>
+ </para>
+
+ <para>
+ Some brief and useful information regarding the project/file and the wizard in general.Include an image below (recycled from the procedure/task):
+ </para>
+ <figure id="figure-reference-wizards-another_wizard">
+ <title>JSF Tools New Faces Config</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_faces_config_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Faces Config Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <note><title>***Design Note***</title>
+ <para>
+ For reference material relating to material covered in the Concepts chapter link to the relevant "Document navigation section"
+ </para>
+ </note>
+ <formalpara><title>Related material</title>
+ <para>
+ Further tasks and information relating to this task are accessible from: <xref linkend="hints-placeholder_for_a_link"/>.
+ </para>
+ </formalpara>
+ <para>&FEEDBACK-reference-wizards-another_wizard;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,39 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-user_interface_components-base">
+ <title>Base</title>
+ <para>
+ The base UI components of JSF include.....
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>&FEEDBACK-concepts-user_interface_components-base;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-document_navigation.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-document_navigation.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-document_navigation.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,49 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="document_navigation-user_interface_components-base">
+ <title>Base</title>
+ <para>
+ <xref linkend="table-document_navigation-user_interface_components-base_01"/> lists the links to related concepts, tasks and references.
+ </para>
+ <table id="table-document_navigation-user_interface_components-base_01" frame='all'>
+ <title>Base user interface components</title>
+ <tgroup cols='3' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="1*"/>
+ <thead>
+ <row>
+ <entry>Concepts</entry>
+ <entry>Tasks</entry>
+ <entry>Reference</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&FEEDBACK-document_navigation-user_interface_components-base;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-error_and_warning_messages.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-error_and_warning_messages.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-error_and_warning_messages.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,88 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="error_and_warning_messages-user_interface_components-base">
+ <title>Base</title>
+ <para>
+ The procedures listed in <xref linkend="tasks-user_interface_components-base"></xref> may return the following errors:
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - Base User Interface Components.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <formalpara><title>Error messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant Base Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <formalpara><title>Warning messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant Base Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-error_and_warning_messages-user_interface_components-base;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-hints.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-hints.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-hints.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,50 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="hints-user_interface_components-base">
+ <title>Base</title>
+ <para>
+ The following details hints may prove useful when applying the tasks detailed in <xref linkend="tasks-user_interface_components-base"></xref>.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - Base User Interface Components.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <variablelist>
+
+ <title>Relevant Base Task</title>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-hints-user_interface_components-base;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/base-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-user_interface_components-base">
+ <title>Base</title>
+ <para>
+ The following procedure describes how to implement Base user interface components....
+ </para>
+ <para>&FEEDBACK-tasks-user_interface_components-base;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/basic_tasks-error_and_warning_messages.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/basic_tasks-error_and_warning_messages.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/basic_tasks-error_and_warning_messages.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,75 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="error_and_warning_messages-basic_tasks">
+ <title>Basic tasks</title>
+ <para>
+ The procedures listed in <xref linkend="tasks-basic_tasks"></xref> may return the following errors:
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the "Basic" tasks - not related to any specific concept discussed in the Concepts section.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ <para>
+ -
+ </para>
+ <para>
+ It is unlikely that basic tasks will have any associated error or warning messages so this "Basic tasks" section could be ommitted.
+ </para>
+ </note>
+ <variablelist>
+ <title>Linking pages error messages</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <title>Linking pages warning messages</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ <para>&FEEDBACK-error_and_warning_messages-basic_tasks;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/basic_tasks-hints.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/basic_tasks-hints.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/basic_tasks-hints.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,49 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="hints-basic_tasks">
+ <title>Basic tasks</title>
+ <para>
+ The following details hints may prove useful when applying the tasks detailed in <xref linkend="tasks-basic_tasks"></xref>.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the "Basic" tasks - not related to any specific concept discussed in the Concepts section.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <variablelist>
+ <title>Linking Pages</title>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-hints-basic_tasks;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/basic_tasks-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/basic_tasks-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/basic_tasks-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-basic_tasks">
+ <title>Basic tasks</title>
+ <para>
+ The following sections describe basic tasks that can be performed in the Tool.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ The procedures described in this section are "Basic" in that they do not implement an underlying Java feature or concept such as Managed Beans or Persistence etc. They require no (or very little) technical explanation other than a description of how to perform the procedures in JBoss Tools.
+ </para>
+ </note>
+ <xi:include href="open_web_development_perspective-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="show_view-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="create_faces-config_file-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="linking_pages-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="another_basic_task-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,81 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="concepts">
+ <title>Concepts</title>
+ <note><title>***Design Note***</title>
+ <para>
+ This chapter discusses the concepts behind the Tool. The aim is to introduce the reader to information which will assist them in understanding the Tool as a whole and will provide a foundation for understanding the tasks discussed in the Tasks chapter (why they are performed and what they implement).
+ </para>
+ <para>
+ -
+ </para>
+ <para>
+ Note that the structure of the Concepts chapter (i.e. each section) is repeated throughout the document in all but the Reference section where the concept is applied or implemented by the Tool. An applied concept is referred to as a "feature" of the Tool.
+ </para>
+ <para>
+ -
+ </para>
+ <para>
+ The rules associated with the implementation of a particular feature or concept should be listed in the relevant section.
+ e.g the requirement to have a zero argument constructor for a persistent class in Hibernate.
+ </para>
+ <para>
+ -
+ </para>
+ <para>
+ Begin with a general overview of the basis of the Tool (eg JSF).
+ </para>
+ </note>
+
+ <formalpara><title>JSF Overview</title>
+ <para>
+ Java Server Faces is a Model View Controller (MVC) framework used for developing User Interfaces (UI).......
+ </para>
+ </formalpara>
+ <!--
+
+ ***Design Note:***
+ Continue by listing the features to be discussed in the following sections.
+
+ -->
+ <para>
+ Java Server Faces consists of the following components and features:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Managed Beans
+ </para>
+ </listitem>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para>
+ User Interface Components
+ </para>
+ </listitem>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para>
+ State Management
+ </para>
+ </listitem>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Ajax Support
+ </para>
+ </listitem>
+ </itemizedlist>
+ <xi:include href="managed_beans-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="user_interface_components-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="state_management-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="ajax_support-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="another_concept-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="further_resources-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</chapter>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/create_faces-config_file-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/create_faces-config_file-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/create_faces-config_file-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-basic_tasks-create_faces-config_file">
+ <title>Create faces-config file</title>
+ <para>
+ The user has the option to define a new faces-config.xml file and to register that file in the web.xml file. The use of this wizard is discussed in the following procedures:
+ </para>
+ <xi:include href="proc-jbt-new_other.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="proc-jsf-new_faces_config.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <para>&FEEDBACK-tasks-basic_tasks-create_faces-config_file;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/creating_jsp_pages-getting_started.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/creating_jsp_pages-getting_started.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/creating_jsp_pages-getting_started.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="getting_started-quick_start-creating_jsp_pages">
+ <title>Creating JSP pages</title>
+ <para>
+ JSP pages can be created in JBoss Tools by using the <guilabel>Diagram</guilabel> view of the <filename>faces-config.xml</filename> editor.
+ </para>
+ <xi:include href="proc-jsf-create_jsp_page.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+ <para>&FEEDBACK-getting_started-quick_start-creating_jsp_pages;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,39 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-user_interface_components-custom">
+ <title>Custom</title>
+ <para>
+ The custom UI components of JSF include....
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>&FEEDBACK-concepts-user_interface_components-custom;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-document_navigation.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-document_navigation.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-document_navigation.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="document_navigation-user_interface_components-custom">
+ <title>Custom</title>
+
+ <para>
+
+ </para>
+ <para>&FEEDBACK-document_navigation-user_interface_components-custom;</para>
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-error_and_warning_messages.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-error_and_warning_messages.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-error_and_warning_messages.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,88 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="error_and_warning_messages-user_interface_components-custom">
+ <title>Custom</title>
+ <para>
+ The procedures listed in <xref linkend="tasks-user_interface_components-custom"></xref> may return the following errors:
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - Custom User Interface Components.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <formalpara><title>Error messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant Custom Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <formalpara><title>Warning messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant Custom Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-error_and_warning_messages-user_interface_components-custom;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-hints.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-hints.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-hints.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,50 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="hints-user_interface_components-custom">
+ <title>Custom</title>
+ <para>
+ The following details hints may prove useful when applying the tasks detailed in <xref linkend="tasks-user_interface_components-custom"></xref>.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - Custom User Interface Components.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <variablelist>
+
+ <title>Relevant Custom Task</title>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-hints-user_interface_components-custom;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/custom-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-user_interface_components-custom">
+ <title>Custom</title>
+ <para>
+ The following procedure describes how to implement custom user interface components....
+ </para>
+ <para>&FEEDBACK-tasks-user_interface_components-custom;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/developer_documentation-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/developer_documentation-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/developer_documentation-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,39 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-developer_documentation">
+ <title>Developer documentation</title>
+ <formalpara><title>Java Server Faces</title>
+ <para>
+ Java Server Faces developer documentation is available at the following links:
+ </para>
+ </formalpara>
+ <para>
+ <ulink url="">Page of choice </ulink>
+ </para>
+ <para>
+ <ulink url="">Page of choice </ulink>
+ </para>
+ <para>
+ <ulink url="">Page of choice </ulink>
+ </para>
+
+ <formalpara><title>JBoss Java Server Faces</title>
+ <para>
+ JBoss Java Server Faces developer documentation is available at the following links:
+ </para>
+ </formalpara>
+ <para>
+ <ulink url="">Page of choice </ulink>
+ </para>
+ <para>
+ <ulink url="">Page of choice </ulink>
+ </para>
+ <para>
+ <ulink url="">Page of choice </ulink>
+ </para>
+
+ <para>&FEEDBACK-reference-developer_documentation;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/diagram_view-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/diagram_view-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/diagram_view-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,30 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-faces-config_file-diagram_view">
+ <title>Diagram view</title>
+ <para>
+ The faces-config file diagram view editor enables editing the file with the aid of a graphical point, drag and click graphical interface. Use of the digram view is described in <xref linkend="proc-jsf-editor_faces-config"></xref>.
+ </para>
+
+ <figure id="figure-jsf-faces-config_file-diagram_view_01.png">
+ <title>The Tool faces-config.xml Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-editor_faces-config_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Diagram view</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <note><title>**Design Note***</title>
+ <para>
+ A link to the relevant "Documentation navigation" section (as in the tasks section) would be relevant where the editor relates to a single feature (or concept) detailed in the Concepts chapter. The Hibernate Tools Reference Guide contains an example. The Hibernate mapping editor is linked to the Mapping section of the "Document navigation" chapter.
+ </para>
+
+ </note>
+ <para>&FEEDBACK-reference-faces-config_file-diagram_view;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/dialogs-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/dialogs-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/dialogs-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-dialogs">
+ <title>Dialogs</title>
+ <para>
+
+ </para>
+ <xi:include href="questionable_to_include_dialogs-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/dialogs_link_sets-link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/dialogs_link_sets-link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/dialogs_link_sets-link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="link_sets-dialogs_link_sets">
+ <title>Dialogs link sets</title>
+ <para>
+
+ </para>
+ <para>&FEEDBACK-link_sets-dialogs_link_sets;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/document_navigation.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/document_navigation.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/document_navigation.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,28 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="document_navigation">
+ <title>Document navigation</title>
+ <para>
+ The sections in this chapter provide a single point of navigation to related concepts, tasks and reference material categorised according to the relevant concept.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ The "Document navigation chapter" lists the concepts, tasks and reference material related to a particular "feature" (implemented concept). Splitting the concepts and tasks according to an underlying feature, as is the fundamental design of this template, allows the related concepts and tasks be easily identified. The exception is the reference section as it is categorized according to the wizards, views, editors and perspectives.
+ </para>
+ <para>
+ -
+ </para>
+ <para>
+ The links to the tasks link to the proc-procedure_name id rather than the "task" section id. This way, the links and the procedures can be moved to a new document and still function (the "task" section id might change but the procedure id will remain constant as this is largely based on the dialog title).
+ </para>
+ </note>
+ <xi:include href="managed_beans-document_navigation.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+<!-- <xi:include href="user_interface_components-document_navigation.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="state_management-document_navigation.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="ajax_support-document_navigation.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="another_concept-document_navigation.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ -->
+</chapter>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/editors-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/editors-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/editors-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-editors">
+ <title>Editors</title>
+ <para>
+
+ </para>
+ <xi:include href="faces-config_file-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/editors_link_sets-link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/editors_link_sets-link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/editors_link_sets-link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="link_sets-editors_link_sets">
+ <title>Editors link sets</title>
+ <para>
+
+ </para>
+ <xi:include href="faces-config_editor_tree_view_links-link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="faces-config_diagram_view_links-link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="template_two_links-link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/error_and_warning_messages.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/error_and_warning_messages.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/error_and_warning_messages.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="error_and_warning_messages">
+ <title>Error and warning messages</title>
+ <para>
+ Error and warning messages appear in the <guilabel>Error Log</guilabel> view. This view can be added to the <guilabel>Web Development</guilabel> perspective according the procedure described in <xref linkend="tasks-basic_tasks-show_view"></xref>.
+ </para>
+
+ <xi:include href="basic_tasks-error_and_warning_messages.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="managed_beans-error_and_warning_messages.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="user_interface_components-error_and_warning_messages.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="state_management-error_and_warning_messages.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="ajax_support-error_and_warning_messages.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="another_concept-error_and_warning_messages.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</chapter>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,39 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-user_interface_components-extended">
+ <title>Extended</title>
+ <para>
+ The custom UI components of JSF include....
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>&FEEDBACK-concepts-user_interface_components-extended;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-document_navigation.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-document_navigation.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-document_navigation.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,46 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="document_navigation-user_interface_components-extended">
+ <title>Extended</title>
+ <table id="table-document_navigation-user_interface_components-extended_01" frame='all'>
+ <title>Base user interface components</title>
+ <tgroup cols='3' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="1*"/>
+ <thead>
+ <row>
+ <entry>Concepts</entry>
+ <entry>Tasks</entry>
+ <entry>Reference</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><xref linkend="concepts-user_interface_components-extended"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&FEEDBACK-document_navigation-user_interface_components-extended;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-error_and_warning_messages.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-error_and_warning_messages.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-error_and_warning_messages.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,88 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="error_and_warning_messages-user_interface_components-extended">
+ <title>Extended</title>
+ <para>
+ The procedures listed in <xref linkend="tasks-user_interface_components-extended"></xref> may return the following errors:
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - Extended User Interface Components.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <formalpara><title>Error messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant Extended Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <formalpara><title>Warning messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant Extended Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-error_and_warning_messages-user_interface_components-extended;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-hints.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-hints.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-hints.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,50 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="hints-user_interface_components-extended">
+ <title>Extended</title>
+ <para>
+ The following details hints may prove useful when applying the tasks detailed in <xref linkend="tasks-user_interface_components-extended"></xref>.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - Extended User Interface Components.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <variablelist>
+
+ <title>Relevant Extended Task</title>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-hints-user_interface_components-extended;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/extended-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-user_interface_components-extended">
+ <title>Extended</title>
+ <para>
+ The following procedure describes how to implement extended user interface components....
+ </para>
+ <para>&FEEDBACK-tasks-user_interface_components-extended;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/faces-config_diagram_view_links-link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/faces-config_diagram_view_links-link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/faces-config_diagram_view_links-link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,135 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="link_sets-editors_link_sets-faces-config_diagram_view_links">
+ <title>faces-config diagram view links</title>
+ <para>
+ Links to further information and tasks relating to the faces-config editor diagram view are listed here:
+ </para>
+
+ <figure id="figure-faces_config_editor_diagram_view_links">
+ <title>JSF Tools <filename>faces-config-*.xml</filename> editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_faces_config_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para><filename>faces-config-*.xml</filename> editor <guilabel>Diagram</guilabel> view</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <note><title>***Design Note***</title>
+ <para>
+ Listed below are the links that link to further tasks or information relating to the "faces-config.xml Diagram View" Editor.
+ </para>
+ <para>
+ * Use the "Placeholder_for_a_link section" as as a reminder that all relevant links haven't been included (or uncommented). You can search for the "placeholder" to ensure all links have been included.
+ </para>
+ <para>
+ This link set relates to icons. Links to concepts may not be relevant. If so, delete them.
+ </para>
+ </note>
+
+ <variablelist>
+ <title>Concepts</title>
+ <varlistentry>
+
+ <term>Select</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Marquee</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Create New Connection</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>View Template</term>
+ <listitem>
+ <!-- <para><xref linkend="proc-JSF_NewManagedBean"></xref>.</para> -->
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <title>Tasks</title>
+ <varlistentry>
+
+ <term>Select</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Marquee</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Create New Connection</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>View Template</term>
+ <listitem>
+ <!-- <para><xref linkend="proc-JSF_NewManagedBean"></xref>.</para> -->
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <title>Reference</title>
+ <varlistentry>
+
+ <term>Select</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Marquee</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Create New Connection</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>View Template</term>
+ <listitem>
+ <!-- <para><xref linkend="proc-JSF_NewManagedBean"></xref>.</para> -->
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-link_sets-editors_link_sets-faces-config_diagram_view_links;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/faces-config_editor_tree_view_links-link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/faces-config_editor_tree_view_links-link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/faces-config_editor_tree_view_links-link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,240 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="link_sets-editors_link_sets-faces-config_editor_tree_view_links">
+ <title>faces-config editor tree view links</title>
+ <para>
+ Links to further information and tasks relating to the faces-config tree view are listed here:
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ In this instance, only the relevant part of the image has been displayed. As this image is unique to this section, the image has been named according to the current section: <filename>image-jsf-faces_config_editor_tree_view_links_01.png</filename>.
+ </para>
+ </note>
+
+ <figure id="figure-faces_config_editor_tree_view_links">
+ <title>JSF Tools faces-config.xml editor - Tree View - Connection</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-faces_config_editor_tree_view_links_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Tree View - Connection</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <note><title>***Design Note***</title>
+ <para>
+ Listed below are the links that link to further tasks or information relating to to the "faces-config.xml Tree View" Editor.
+ </para>
+ <para>
+ * Use the "Placeholder_for_a_link section" as as a reminder that all relevant links haven't been included (or uncommented). You can search for the "placeholder" to ensure all links have been included.
+ </para>
+ </note>
+
+ <variablelist>
+ <title>Concepts</title>
+ <varlistentry>
+ <term>Application</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Components</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Converters</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Managed Beans</term>
+ <listitem>
+ <!-- <para><xref linkend="proc-JSF_NewManagedBean"></xref>.</para> -->
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Navigational Rules</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Referenced Beans</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Render Kits</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Validators</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Extensions</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <title>Tasks</title>
+ <varlistentry>
+ <term>Application</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Components</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Converters</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Managed Beans</term>
+ <listitem>
+ <!-- <para><xref linkend="proc-JSF_NewManagedBean"></xref>.</para> -->
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Navigational Rules</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Referenced Beans</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Render Kits</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Validators</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Extensions</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ <variablelist>
+ <title>References</title>
+ <varlistentry>
+ <term>Application</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Components</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Converters</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Managed Beans</term>
+ <listitem>
+ <!-- <para><xref linkend="proc-JSF_NewManagedBean"></xref>.</para> -->
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Navigational Rules</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Referenced Beans</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Render Kits</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Validators</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Extensions</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-link_sets-editors_link_sets-faces-config_editor_tree_view_links;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/faces-config_file-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/faces-config_file-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/faces-config_file-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-editors-faces-config_file">
+ <title>faces-config file</title>
+ <para>
+
+ </para>
+ <xi:include href="diagram_view-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="tree_view-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/fallback_content/Conventions.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/fallback_content/Conventions.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/fallback_content/Conventions.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,165 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+<section>
+ <title>Document Conventions</title>
+ <para>
+ This manual uses several conventions to highlight certain words and phrases and draw attention to specific pieces of information.
+ </para>
+ <para>
+ In PDF and paper editions, this manual uses typefaces drawn from the <ulink url="https://fedorahosted.org/liberation-fonts/">Liberation Fonts</ulink> set. The Liberation Fonts set is also used in HTML editions if the set is installed on your system. If not, alternative but equivalent typefaces are displayed. Note: Red Hat Enterprise Linux 5 and later includes the Liberation Fonts set by default.
+ </para>
+ <section>
+ <title>Typographic Conventions</title>
+ <para>
+ Four typographic conventions are used to call attention to specific words and phrases. These conventions, and the circumstances they apply to, are as follows.
+ </para>
+ <para>
+ <literal>Mono-spaced Bold</literal>
+ </para>
+ <para>
+ Used to highlight system input, including shell commands, file names and paths. Also used to highlight keycaps and key combinations. For example:
+ </para>
+ <blockquote>
+ <para>
+ To see the contents of the file <filename>my_next_bestselling_novel</filename> in your current working directory, enter the <command>cat my_next_bestselling_novel</command> command at the shell prompt and press <keycap>Enter</keycap> to execute the command.
+ </para>
+ </blockquote>
+ <para>
+ The above includes a file name, a shell command and a keycap, all presented in mono-spaced bold and all distinguishable thanks to context.
+ </para>
+ <para>
+ Key combinations can be distinguished from keycaps by the hyphen connecting each part of a key combination. For example:
+ </para>
+ <blockquote>
+ <para>
+ Press <keycap>Enter</keycap> to execute the command.
+ </para>
+ <para>
+ Press <keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>F1</keycap></keycombo> to switch to the first virtual terminal. Press <keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>F7</keycap></keycombo> to return to your X-Windows session.
+ </para>
+ </blockquote>
+ <para>
+ The first paragraph highlights the particular keycap to press. The second highlights two key combinations (each a set of three keycaps with each set pressed simultaneously).
+ </para>
+ <para>
+ If source code is discussed, class names, methods, functions, variable names and returned values mentioned within a paragraph will be presented as above, in <literal>mono-spaced bold</literal>. For example:
+ </para>
+ <blockquote>
+ <para>
+ File-related classes include <classname>filesystem</classname> for file systems, <classname>file</classname> for files, and <classname>dir</classname> for directories. Each class has its own associated set of permissions.
+ </para>
+ </blockquote>
+ <para>
+ <application>Proportional Bold</application>
+ </para>
+ <para>
+ This denotes words or phrases encountered on a system, including application names; dialog box text; labeled buttons; check-box and radio button labels; menu titles and sub-menu titles. For example:
+ </para>
+ <blockquote>
+ <para>
+ Choose <menuchoice><guimenu>System</guimenu><guisubmenu>Preferences</guisubmenu><guimenuitem>Mouse</guimenuitem></menuchoice> from the main menu bar to launch <application>Mouse Preferences</application>. In the <guilabel>Buttons</guilabel> tab, click the <guilabel>Left-handed mouse</guilabel> check box and click <guibutton>Close</guibutton> to switch the primary mouse button from the left to the right (making the mouse suitable for use in the left hand).
+ </para>
+ <para>
+ To insert a special character into a <application>gedit</application> file, choose <menuchoice><guimenu>Applications</guimenu><guisubmenu>Accessories</guisubmenu><guimenuitem>Character Map</guimenuitem></menuchoice> from the main menu bar. Next, choose <menuchoice><guimenu>Search</guimenu><guimenuitem>Find…</guimenuitem></menuchoice> from the <application>Character Map</application> menu bar, type the name of the character in the <guilabel>Search</guilabel> field and click <guibutton>Next</guibutton>. The character you sought will be highlighted in the <guilabel>Character Table</guilabel>. Double-click this highlighted character to place it in the <guilabel>Text to copy</guilabel> field and then click the <guibutton>Copy</guibutton> button. Now switch back to your document and choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Paste</guimenuitem></menuchoice> from the <application>gedit</application> menu bar.
+ </para>
+ </blockquote>
+ <para>
+ The above text includes application names; system-wide menu names and items; application-specific menu names; and buttons and text found within a GUI interface, all presented in proportional bold and all distinguishable by context.
+ </para>
+ <para>
+ <command><replaceable>Mono-spaced Bold Italic</replaceable></command> or <application><replaceable>Proportional Bold Italic</replaceable></application>
+ </para>
+ <para>
+ Whether mono-spaced bold or proportional bold, the addition of italics indicates replaceable or variable text. Italics denotes text you do not input literally or displayed text that changes depending on circumstance. For example:
+ </para>
+ <blockquote>
+ <para>
+ To connect to a remote machine using ssh, type <command>ssh <replaceable>username</replaceable>@<replaceable>domain.name</replaceable></command> at a shell prompt. If the remote machine is <filename>example.com</filename> and your username on that machine is john, type <command>ssh john(a)example.com</command>.
+ </para>
+ <para>
+ The <command>mount -o remount <replaceable>file-system</replaceable></command> command remounts the named file system. For example, to remount the <filename>/home</filename> file system, the command is <command>mount -o remount /home</command>.
+ </para>
+ <para>
+ To see the version of a currently installed package, use the <command>rpm -q <replaceable>package</replaceable></command> command. It will return a result as follows: <command><replaceable>package-version-release</replaceable></command>.
+ </para>
+ </blockquote>
+ <para>
+ Note the words in bold italics above — username, domain.name, file-system, package, version and release. Each word is a placeholder, either for text you enter when issuing a command or for text displayed by the system.
+ </para>
+ <para>
+ Aside from standard usage for presenting the title of a work, italics denotes the first use of a new and important term. For example:
+ </para>
+ <blockquote>
+ <para>
+ Publican is a <firstterm>DocBook</firstterm> publishing system.
+ </para>
+ </blockquote>
+ </section>
+
+ <section>
+ <title>Pull-quote Conventions</title>
+ <para>
+ Terminal output and source code listings are set off visually from the surrounding text.
+ </para>
+ <para>
+ Output sent to a terminal is set in <computeroutput>mono-spaced roman</computeroutput> and presented thus:
+ </para>
+
+<screen>books Desktop documentation drafts mss photos stuff svn
+books_tests Desktop1 downloads images notes scripts svgs
+</screen>
+ <para>
+ Source-code listings are also set in <computeroutput>mono-spaced roman</computeroutput> but add syntax highlighting as follows:
+ </para>
+
+<programlisting language="Java">package org.jboss.book.jca.ex1;
+
+import javax.naming.InitialContext;
+
+public class ExClient
+{
+ public static void main(String args[])
+ throws Exception
+ {
+ InitialContext iniCtx = new InitialContext();
+ Object ref = iniCtx.lookup("EchoBean");
+ EchoHome home = (EchoHome) ref;
+ Echo echo = home.create();
+
+ System.out.println("Created Echo");
+
+ System.out.println("Echo.echo('Hello') = " + echo.echo("Hello"));
+ }
+}
+</programlisting>
+ </section>
+
+ <section>
+ <title>Notes and Warnings</title>
+ <para>
+ Finally, we use three visual styles to draw attention to information that might otherwise be overlooked.
+ </para>
+ <note>
+ <title>Note</title>
+ <para>
+ Notes are tips, shortcuts or alternative approaches to the task at hand. Ignoring a note should have no negative consequences, but you might miss out on a trick that makes your life easier.
+ </para>
+ </note>
+ <important>
+ <title>Important</title>
+ <para>
+ Important boxes detail things that are easily missed: configuration changes that only apply to the current session, or services that need restarting before an update will apply. Ignoring a box labeled 'Important' won't cause data loss but may cause irritation and frustration.
+ </para>
+ </important>
+ <warning>
+ <title>Warning</title>
+ <para>
+ Warnings should not be ignored. Ignoring warnings will most likely cause data loss.
+ </para>
+ </warning>
+ </section>
+
+</section>
+
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/fallback_content/Feedback.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/fallback_content/Feedback.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/fallback_content/Feedback.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+<section>
+ <title>We Need Feedback!</title>
+ <indexterm>
+ <primary>feedback</primary>
+ <secondary>contact information for this manual</secondary>
+ </indexterm>
+ <para>
+ You should over ride this by creating your own local Feedback.xml file.
+ </para>
+</section>
+
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/fallback_content/Legal_Notice.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/fallback_content/Legal_Notice.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/fallback_content/Legal_Notice.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE legalnotice PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+<legalnotice>
+ <para>
+ Copyright <trademark class="copyright"></trademark> &YEAR; &HOLDER; This material may only be distributed subject to the terms and conditions set forth in the GNU Free Documentation License (GFDL), V1.2 or later (the latest version is presently available at <!-- <ulink url="http://www.gnu.org/licenses/fdl.txt">http://www.gnu.org/licenses/fdl.txt</ulink>). -->
+ </para>
+</legalnotice>
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/further_resources-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/further_resources-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/further_resources-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,49 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-further_resources">
+ <title>Further resources</title>
+ <note><title>***Design Note***</title>
+ <para>
+ It is probably best to chunk the material down into separate sections if there is a lot of content or there are
+ numerous topics for which further resources are listed. This is to support Context Sensitive Help and the rendering of a
+ single topic or section within a single window.
+ </para>
+ </note>
+ <formalpara><title>Background Information</title>
+ <para>
+ Further information relating to JSF can be found at the following links:
+ </para>
+ </formalpara>
+ <para>
+ <ulink url="http://java.sun.com/javaee/javaserverfaces/">Java's JSF Page</ulink>
+ </para>
+
+ <para>
+ <ulink url="http://java.sun.com/javaee/javaserverfaces/">Page of Choice</ulink>
+ </para>
+ <!--
+ Design Note:
+ List any relevant tutorials here.
+ -->
+ <formalpara><title>Tutorials</title>
+ <para>
+ JSF Tutorials can be found at the following links:
+ </para>
+ </formalpara>
+
+ <para>
+ <ulink url="http://jsftutorials.net/">JSF Tutorials Net</ulink>
+ </para>
+
+ <para>
+ <ulink url="http://jsftutorials.net/">Page of Choice</ulink>
+ </para>
+
+ <para>
+ <ulink url="http://jsftutorials.net/">Page of Choice</ulink>
+ </para>
+ <para>&FEEDBACK-concepts-further_resources;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/getting_started.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/getting_started.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/getting_started.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="getting_started">
+ <title>Getting started</title>
+ <para>
+ The following sections detail the installations required to use The Tool and provide a quick overview of The Tool and its use.
+ </para>
+ <xi:include href="required_installations-getting_started.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="quick_start-getting_started.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</chapter>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/hints.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/hints.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/hints.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="hints">
+ <title>Hints</title>
+ <para>
+
+ </para>
+ <xi:include href="basic_tasks-hints.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="managed_beans-hints.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="user_interface_components-hints.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="state_management-hints.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="ajax_support-hints.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="another_concept-hints.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="placeholder_for_a_link-hints.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</chapter>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/icons_and_buttons-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/icons_and_buttons-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/icons_and_buttons-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-icons_and_buttons">
+ <title>Icons and Buttons</title>
+ <para>
+
+ </para>
+ <xi:include href="questionable_to_include_icons-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="questionable_to_include_buttons-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/icons_and_buttons_link_sets-link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/icons_and_buttons_link_sets-link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/icons_and_buttons_link_sets-link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="link_sets-icons_and_buttons_link_sets">
+ <title>Icons and buttons link sets</title>
+ <para>
+
+ </para>
+ <para>&FEEDBACK-link_sets-icons_and_buttons_link_sets;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-pv-import_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-pv-import_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-pv-palette_editor_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-pv-palette_editor_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-pv-show_hide_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-pv-show_hide_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-wpv-create_new_jsf_project_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-wpv-create_new_jsf_project_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-wpv-create_new_struts_project_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-wpv-create_new_struts_project_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-wpv-import_jsf_project_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-wpv-import_jsf_project_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-wpv-import_struts_project_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/icon-jbt-wpv-import_struts_project_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-new_other_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-new_other_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-new_project_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-new_project_01.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-open_perspective_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-open_perspective_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-palette_view_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-palette_view_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-show_view_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-show_view_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-show_view_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-show_view_02.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-show_view_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-show_view_03.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-web_perspective_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-web_perspective_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-web_projects_view_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jbt-web_projects_view_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_jsp_page_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_jsp_page_02.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_jsp_page_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_jsp_page_03.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_jsp_page_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_jsp_page_04.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_02.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_03.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_04.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_05.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-create_new_connection_05.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-editor_faces-config_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-editor_faces-config_01.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-editor_faces-config_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-editor_faces-config_02.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-editor_faces-config_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-editor_faces-config_03.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-faces_config_editor_tree_view_links_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-faces_config_editor_tree_view_links_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_faces_config_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_faces_config_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_faces_config_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_faces_config_02.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_jsf_project_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_jsf_project_01.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_jsf_project_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_jsf_project_02.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_jsf_project_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_jsf_project_03.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_jsf_project_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_jsf_project_04.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_02.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_03.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_04.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_05.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-new_managed_bean_05.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-project_verification_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-project_verification_01.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_one_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_one_01.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_one_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_one_02.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_one_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_one_03.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_01.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_02.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_03.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_04.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_05.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_three_05.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_two_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_two_01.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_two_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_two_02.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_two_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_two_03.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_two_04.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/images/image-jsf-template_two_04.png
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/jsf_project_verification-latest_developments.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/jsf_project_verification-latest_developments.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/jsf_project_verification-latest_developments.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="latest_developments-jsf_project_verification">
+ <title>JSF project verification</title>
+ <para>
+ The Tool now supports project verification. The user is able to define a set of properties and attributes to be verified each time the project is saved. Any errors which may affect the project flow will be reported to the user.
+ </para>
+
+ <xi:include href="proc-jsf-project_verification.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+ <para>&FEEDBACK-latest_developments-jsf_project_verification;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/jsf_tools_configuration_file_editor-getting_started.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/jsf_tools_configuration_file_editor-getting_started.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/jsf_tools_configuration_file_editor-getting_started.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="getting_started-quick_start-jsf_tools_configuration_file_editor">
+ <title>JSF tools configuration file editor</title>
+ <para>
+ The main configuration file <filename>faces.config.xml</filename> can be opened in a custom editor. <xref linkend="proc-jsf-editor_faces-config"></xref> details the steps to open the editor.
+ </para>
+ <xi:include href="proc-jsf-editor_faces-config.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <para>&FEEDBACK-getting_started-quick_start-jsf_tools_configuration_file_editor;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/jsf_tools_quick_start_template-getting_started.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/jsf_tools_quick_start_template-getting_started.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/jsf_tools_quick_start_template-getting_started.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="getting_started-quick_start-jsf_tools_quick_start_template">
+ <title>JSF tools quick start template</title>
+ <para>
+ A description of a "quick start" following on from the previous view or possibly a new "quick start" that is considered important enough to discuss.
+ </para>
+ <xi:include href="proc-jsf-template_two.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <para>&FEEDBACK-getting_started-quick_start-jsf_tools_quick_start_template;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/latest_developments.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/latest_developments.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/latest_developments.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="latest_developments">
+ <title>Latest developments</title>
+ <para>
+ The following sections describe the new features added to the Tool for release 3.1.
+ </para>
+
+ <xi:include href="jsf_project_verification-latest_developments.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="new_feature_template-latest_developments.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</chapter>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/legal_notices.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/legal_notices.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/legal_notices.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="legal_notices">
+ <title>Legal notices</title>
+ <para>
+
+ </para>
+</chapter>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,44 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="link_sets">
+ <title>Link Sets</title>
+ <note><title>***Design Note***</title>
+ <para>
+ The link sets are designed to minimise maintenance. Instead of duplicating links (alternate paths) in each procedure, list a link set (paths to tasks) for the wizard ,view or dialog etc. Include a screenshot.
+ </para>
+ <para>
+ A concepts heading and links to concepts can also be included.
+ </para>
+ </note>
+
+ <para>
+ The following sections list the links relating to a particular topic or the paths accessible from a single dialog or view.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Note that "links" is included in the title of the destination section (and section id). This is to distinguish the links in the doc from the actual Reference material.
+ </para>
+ <para>
+ Where links are provided to "Tasks" they will either be:
+ </para>
+ <para>
+ 1. Links to the individual tasks from an interface which includes many different options or many paths.
+ </para>
+ <para>
+ 2. Links to further tasks that would naturally follow the resolution of a particular task.
+ </para>
+ <para>
+ A continuation of a task forming a single linear path would be designated as a single link at the end of the relevant procedure and not contained within a linkset.
+ </para>
+ </note>
+ <xi:include href="wizards_link_sets-link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="views_link_sets-link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="editors_link_sets-link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="perspectives_link_sets-link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="preferences_pages_link_sets-link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="dialogs_link_sets-link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="icons_and_buttons_link_sets-link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</chapter>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/linking_pages-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/linking_pages-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/linking_pages-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-basic_tasks-linking_pages">
+ <title>Linking pages</title>
+ <para>
+ JSF Tools provides the facility to define links between pages in a graphical manner. This provides the user with a mapping of the project showing the existing links and a simple interface to enable the user to define further links.
+ </para>
+
+ <para>
+ Pages can be linked by defining a <literal>navigation rule</literal>. This is described in <xref linkend="proc-jsf-create_new_connection"></xref>
+ </para>
+ <xi:include href="proc-jsf-create_new_connection.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <para>&FEEDBACK-tasks-basic_tasks-linking_pages;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,19 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-managed_beans">
+ <title>Managed beans</title>
+ <note><title>***Design Note***</title>
+ <para>
+ For a concept being discussed, begin with a general introduction to the concept where possible (if the concept being discussed is not specific to the Tool for instance). The "general" discussion can then be reused as a concept on its own or act as a preamble to other Tools that implement the concept/feature.
+ </para>
+ </note>
+
+ <para>
+ A Managed Bean or MBean is a JavaBean which is created using dependency injection.....
+ </para>
+ <xi:include href="managed_beans_and_java_server_faces-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-document_navigation.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-document_navigation.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-document_navigation.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,53 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="document_navigation-managed_beans">
+ <title>Managed beans</title>
+ <para>
+ <xref linkend="table-document_navigation-managed_beans_01"/> lists the links to related concepts, tasks and references.
+ </para>
+
+ <table id="table-document_navigation-managed_beans_01" frame='all'>
+ <title>Managed beans</title>
+ <tgroup cols='3' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="1*"/>
+ <thead>
+ <row>
+ <entry>Concepts</entry>
+ <entry>Tasks</entry>
+ <entry>Reference</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+
+ <entry><xref linkend="concepts-managed_beans-managed_beans_and_java_server_faces"></xref></entry>
+ <entry><xref linkend="proc-jsf-new_managed_bean"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <para>&FEEDBACK-document_navigation-managed_beans;</para>
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-error_and_warning_messages.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-error_and_warning_messages.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-error_and_warning_messages.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,89 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="error_and_warning_messages-managed_beans">
+ <title>Managed beans</title>
+ <para>
+ The procedures listed in <xref linkend="tasks-managed_beans"></xref> may return the following errors:
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - Managed beans.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <formalpara><title>Error messages</title>
+ <para>
+ </para>
+ </formalpara>
+
+ <variablelist>
+ <title>Configuring Managed Beans in JSF Tools</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="proc-jsf-new_managed_bean"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="proc-jsf-new_managed_bean"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <formalpara><title>Warning messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Configuring Managed Beans in JSF Tools</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="proc-jsf-new_managed_bean"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="proc-jsf-new_managed_bean"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-error_and_warning_messages-managed_beans;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-hints.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-hints.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-hints.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,50 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="hints-managed_beans">
+ <title>Managed beans</title>
+<para>
+ The following details hints may prove useful when applying the tasks detailed in <xref linkend="tasks-managed_beans"></xref>.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - Managed beans.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <variablelist>
+
+ <title>Configuring Managed Beans in JSF Tools</title>
+<varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="proc-jsf-new_managed_bean"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="proc-jsf-new_managed_bean"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-hints-managed_beans;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-managed_beans">
+ <title>Managed beans</title>
+ <note><title>***Design Note***</title>
+ <para>
+ Here are listed the procedures which implement or make use of an underlying feature or concept. The tasks (procedures) are categorized according to the concept discussed in the Concept chapter e.g. Managed beans.
+ </para>
+ </note>
+ <formalpara><title>Description</title>
+ <para>
+ As described in <xref linkend="concepts-managed_beans"></xref> a Managed Bean is a JavaBean which is created using dependency injection.
+ </para>
+ </formalpara>
+
+ <formalpara><title>Configuring Managed Beans in JSF Tools</title>
+ <para>
+ The faces-config.xml file editor <guilabel>Tree</guilabel> view as displayed in <xref linkend="proc-jsf-create_new_connection"></xref> provides an interface to create a Managed Bean without editing the file directly. This can be achieved according to <xref linkend="proc-jsf-new_managed_bean"></xref>.
+ </para>
+ </formalpara>
+ <xi:include href="proc-jsf-new_managed_bean.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <para>&FEEDBACK-tasks-managed_beans;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans_and_java_server_faces-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans_and_java_server_faces-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/managed_beans_and_java_server_faces-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,52 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-managed_beans-managed_beans_and_java_server_faces">
+ <title>Managed beans and java server faces</title>
+ <note><title>***Design Note***</title>
+ <para>
+ Continue with specifics of how the concept (or feature) impacts JSF (or Hibernate or Seam) for example. Separating out the specifics will aid in the reuse of material.
+ </para>
+ </note>
+ <para>
+ Managed Beans in Java Server Faces assist the developer by simplifying the use of Plain Old Java Objects (<acronym>POJO</acronym>s) and JavaBeans. Any class with a zero-argument constructor can be registered as a Managed Bean by including it in the <filename>faces.config.xml</filename> file.
+ </para>
+
+ <note><title>***Design Note***</title>
+ <para>
+ Where there are rules associated with a concept (or Java implementation) list them here under "Formal Paragraphs" as in the following example. Be specific in the context of the Tool where possible (eg JSF, Seam, Hibernate)
+ </para>
+ </note>
+
+ <formalpara><title>Managed Beans Rules and Conventions</title>
+ <para>
+ A managed bean, when used in the context of Java Server Faces has the following properties:
+ </para>
+ </formalpara>
+ <itemizedlist>
+ <listitem>
+ <para>
+ a zero-argument constructor;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ setters and getters;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ ....
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ ....
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <para>&FEEDBACK-concepts-managed_beans-managed_beans_and_java_server_faces;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/new_faces_config_wizard-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/new_faces_config_wizard-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/new_faces_config_wizard-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,36 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-wizards-new_faces_config_wizard">
+ <title>New faces config wizard</title>
+ <para>
+ Some brief and useful information regarding the faces-config file and the wizard in general. Include an image recycled from the relevant procedure/task.
+ </para>
+ <figure id="figure-reference-wizards-new_faces_config_wizard">
+ <title>JSF Tools New Faces Config</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_faces_config_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Faces Config Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Use of the <guilabel>New faces config</guilabel> wizard is detailed in <xref linkend="tasks-basic_tasks-create_faces-config_file"></xref>.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ For reference material relating to material covered in the Concepts chapter link to the relevant "Document navigation section"
+ </para>
+ </note>
+ <formalpara><title>Related material</title>
+ <para>
+ Further tasks and information relating to this task are accessible from: <xref linkend="hints-placeholder_for_a_link"/>.
+ </para>
+ </formalpara>
+ <para>&FEEDBACK-reference-wizards-new_faces_config_wizard;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/new_feature_template-latest_developments.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/new_feature_template-latest_developments.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/new_feature_template-latest_developments.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="latest_developments-new_feature_template">
+ <title>New feature template</title>
+ <para>
+ The Tool now supports this feature. It allows.....
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+
+ The procedure below is based on procedure template one:
+ </para>
+ <para>
+ * Basic steps which render a new basic dialog
+ </para>
+ </note>
+ <xi:include href="proc-jsf-template_one.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <para>&FEEDBACK-latest_developments-new_feature_template;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/new_jsf_project_wizard-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/new_jsf_project_wizard-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/new_jsf_project_wizard-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,42 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-wizards-new_jsf_project_wizard">
+ <title>New JSF project wizard</title>
+ <para>
+ Some brief and useful information regarding a JSF project and the wizard in general. Include the image recycled from the procedure/task.
+ </para>
+ <figure id="figure-reference-wizards-new_jsf_project_wizar">
+ <title>The Tool Project Attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_jsf_project_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New JSF Project Wizard.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <note><title>***Design Note***</title>
+ <para>
+ Link to the relevant task (procedure id) relating to the wizard.
+ </para>
+ </note>
+ <para>
+ Use of the <guilabel>New JSF project wizard</guilabel> is detailed in <xref linkend="proc-jsf-new_jsf_project"></xref>.
+ </para>
+
+ <note><title>***Design Note***</title>
+ <para>
+ For reference material relating to material covered in the Concepts chapter link to the relevant "Document navigation section"
+ </para>
+ </note>
+ <formalpara><title>Related material</title>
+ <para>
+ Further tasks and information relating to this task are accessible from: <xref linkend="hints-placeholder_for_a_link"/>.
+ </para>
+ </formalpara>
+ <para>&FEEDBACK-reference-wizards-new_jsf_project_wizard;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/open_web_development_perspective-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/open_web_development_perspective-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/open_web_development_perspective-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-basic_tasks-open_web_development_perspective">
+ <title>Open web development perspective</title>
+ <para>
+ <xref linkend="proc-jbt-open_perspective"/> describes the steps to open the web development perspective.
+ </para>
+ <xi:include href="proc-jbt-open_perspective.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <para>&FEEDBACK-tasks-basic_tasks-open_web_development_perspective;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/palette_view-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/palette_view-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/palette_view-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,96 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-views-palette_view">
+ <title>Palette view</title>
+ <para>
+ The <guilabel>Palette</guilabel> view is activated when a Java Server Page (.jsp) file is selected. The <guilabel>Palette</guilabel> view is displayed in <xref linkend="figure-jbt-palette_view"></xref>.
+ </para>
+ <figure id="figure-jbt-palette_view">
+ <title>Web Development Perspective - Palette View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-palette_view_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Palette View</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ These tabs refer to the tag set available for insertion into the jsp page. Once the tab is selected, the list will be expanded and a tag can be inserted. Further palettes may be selected by clicking on the <guilabel>Palette Editor</guilabel> icon listed in <xref linkend="table-jbt-palette_view_01"></xref>
+ </para>
+ <formalpara><title>Icons</title>
+ <para>
+ The icons associated with the <guilabel>Web Projects</guilabel> view are listed in <xref linkend="table-jbt-palette_view_01"></xref>
+ </para>
+ </formalpara>
+ <table id="table-jbt-palette_view_01" frame='all'>
+ <title>Web Development Perspective - Web Projects View</title>
+ <tgroup cols='3' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="4*"/>
+ <colspec colname='c3' colwidth="6*"/>
+ <thead>
+ <row>
+ <entry>Icon</entry>
+ <entry>Mouse-Over Description</entry>
+ <entry>Result</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/icon-jbt-pv-palette_editor_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Palette Editor Icon</para>
+ </textobject>
+ </mediaobject>
+ </entry>
+ <entry><guilabel>Palette Editor</guilabel></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/icon-jbt-pv-show_hide_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Show/Hide Icon</para>
+ </textobject>
+ </mediaobject>
+ </entry>
+ <entry><guilabel>Show/Hide</guilabel></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/icon-jbt-pv-import_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Import Icon</para>
+ </textobject>
+ </mediaobject>
+ </entry>
+ <entry><guilabel>Import</guilabel></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <note><title>**Design Note***</title>
+ <para>
+ A link to the relevant "Documentation navigation" section (as in the tasks section) would be relevant where the view relates to a single feature (or concept) detailed in the Concepts chapter.
+ </para>
+ </note>
+ <para>&FEEDBACK-reference-views-palette_view;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/perspectives-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/perspectives-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/perspectives-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-perspectives">
+ <title>Perspectives</title>
+ <para>
+
+ </para>
+ <xi:include href="web_development-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/perspectives_link_sets-link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/perspectives_link_sets-link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/perspectives_link_sets-link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="link_sets-perspectives_link_sets">
+ <title>Perspectives link sets</title>
+ <para>
+
+ </para>
+ <para>&FEEDBACK-link_sets-perspectives_link_sets;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/placeholder_for_a_link-hints.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/placeholder_for_a_link-hints.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/placeholder_for_a_link-hints.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="hints-placeholder_for_a_link">
+ <title>Placeholder for a link</title>
+ <para>
+
+ </para>
+ <para>&FEEDBACK-hints-placeholder_for_a_link;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/preferences_pages-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/preferences_pages-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/preferences_pages-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-preferences_pages">
+ <title>Preferences Pages</title>
+ <para>
+
+ </para>
+ <xi:include href="questionable_to_include_preferences_pages-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/preferences_pages_link_sets-link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/preferences_pages_link_sets-link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/preferences_pages_link_sets-link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="link_sets-preferences_pages_link_sets">
+ <title>Preferences pages link sets</title>
+ <para>
+
+ </para>
+ <para>&FEEDBACK-link_sets-preferences_pages_link_sets;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-new_other.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-new_other.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-new_other.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jbt-new_other">
+ <title>JBoss Developer Studio New - Other (Wizard Selection)</title>
+ <step>
+ <title>Access the New - Select a wizard dialog</title>
+ <para>
+ Select <menuchoice><guimenu>File</guimenu><guisubmenu>New</guisubmenu><guisubmenu>Other</guisubmenu></menuchoice>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>New - Select a wizard</guilabel> screen displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-new_other_01">
+ <title>JSF Tools New - Other (Wizard selection) dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-new_other_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New - Other (Wizard selection) dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ <note><title>Expanding Folders</title>
+ <para>
+ The <guilabel>General</guilabel> folder in the above image can be expanded by clicking on the arrow highlighted in the image. This same technique can be applied to expanding folders in the <guilabel>Package Explorer</guilabel> view and is the technique used throughout this document.
+ </para>
+ </note>
+ </step>
+</procedure>
+
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-new_other.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-new_project.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-new_project.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-new_project.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jbt-new_project">
+ <title>JBoss Tools Project Creation</title>
+ <step>
+ <title>Access the New Project Dialog</title>
+ <para>
+ Select <menuchoice><guimenu>File</guimenu><guisubmenu>New</guisubmenu><guisubmenu>Project</guisubmenu></menuchoice>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>New Project</guilabel> screen displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-new_project_01">
+ <title>JBoss Tools Project Creation</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-new_project_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Project Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ <note><title>Expanding Folders</title>
+ <para>
+ The <guilabel>General</guilabel> folder in the above image can be expanded by clicking on the arrow highlighted in the image. This same technique can be applied to expanding folders in the <guilabel>Package Explorer</guilabel> view and is the technique used throughout this document.
+ </para>
+ </note>
+ </step>
+</procedure>
+
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-new_project.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-open_perspective.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-open_perspective.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-open_perspective.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,63 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+
+ <procedure id="proc-jbt-open_perspective">
+ <title>Open Perspective</title>
+
+
+ <note><title>***Design Note***</title>
+ <para>
+ This is a generic JBoss Tools "JBT" procedure (which is not specific to any one tool). Note that the text is non-specific in terms of the
+ selected perspective. As a result, this procedure can be imported when describing other perspectives for other tools (reuse of
+ procedures).
+ </para>
+ </note>
+ <step>
+ <title>Access the Open Perspective dialog</title>
+ <para>
+ Select <menuchoice><guimenu>Window</guimenu><guisubmenu>Open Perspective</guisubmenu><guisubmenu>Other</guisubmenu></menuchoice>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The Open perspective dialog is displayed.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-open_perspective_01">
+ <title>Open Perspective dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-open_perspective_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Open Perspective dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Select the perspective</title>
+ <orderedlist numeration ="loweralpha">
+ <listitem>
+ <para>
+ Highlight the required perspective.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guibutton>OK</guibutton> button to proceed.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The user is returned to the main display with the development perspective changed to the selected type.
+ </para>
+ </formalpara>
+ </listitem>
+ </orderedlist>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ </procedure>
+
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-show_view.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-show_view.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jbt-show_view.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,84 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jbt-show_view">
+ <title>Show View</title>
+ <step>
+ <title>Access the <guilabel>Show View</guilabel> dialog</title>
+ <para>
+ Select <menuchoice><guimenu>Window</guimenu><guisubmenu>Show View</guisubmenu><guisubmenu>Other</guisubmenu></menuchoice>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Show View</guilabel> dialog is displayed.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-show_view_01">
+ <title>Show View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-show_view_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Show View</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Select the appropriate view</title>
+ <orderedlist numeration ="loweralpha">
+ <listitem>
+ <para>
+ Expand the relevant folder to display a list of available views
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The relevant view can be selected
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-show_view_02.png">
+ <title>View Selected </title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-show_view_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>View Selected</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guibutton>OK</guibutton> button to render the view.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The view is added to the relevant development perspective.
+ </para>
+ </formalpara>
+ <figure id="figure-jbt-show_view_03">
+ <title>View Added</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-show_view_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>View Added</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ </orderedlist>
+ <para>&HORIZ_LINE;</para>
+ <note><title>***Design Note***</title>
+ <para>
+ As this is a basic task there is no corresponding section in the "Concepts" chapter. Similarly, as the "Documentation navigation" chapter is structured according to the Concepts chapter there is no link to "Related concepts, tasks and reference material". This is implemented by linking to the "Documentation navigation" chapter for concept/feature based tasks.
+ </para>
+ </note>
+ </step>
+ </procedure>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-create_jsp_page.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-create_jsp_page.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-create_jsp_page.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,173 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jsf-create_jsp_page">
+ <title>Creating JSP Pages</title>
+ <step>
+ <title>Access the <guilabel>Diagram</guilabel> view</title>
+ <para>
+ Once the steps outlined in <xref linkend="open_faces-config.xml"></xref> of <xref linkend="proc-jsf-editor_faces-config"></xref> are completed, click the <guilabel>Diagram</guilabel> tab to render the Diagram view.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <filename>faces-config.xml</filename> file is opened in its custom editor, defaulting to the <guilabel>Diagram</guilabel> view
+ </para>
+ </formalpara>
+ <note><title>***Design Note***</title>
+ <para>
+ This image is borrowed from another procedure - proc-jsf-editor_faces-config. The figure id differs in that it
+ reflects the current procedure name and the image sequence number within this procedure - figure-jsf-create_jsp_page_01.
+ </para>
+ </note>
+ <figure id="figure-jsf-create_jsp_page_01">
+ <title>JSF faces-config.xml Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-editor_faces-config_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Diagram view</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Access the New View dialog.</title>
+ <orderedlist numeration = "loweralpha">
+ <listitem>
+ <para>
+ Right click within the editor and select <guilabel>Rule</guilabel> from the displayed menu.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>New View</guilabel> dialog is displayed.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-create_jsp_page_02">
+ <title>JSF New View - JSF process View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-create_jsp_page_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>JSF New View - JSF process View</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem>
+ <para>
+ Enter the file's relative path and chosen name in the <guilabel>From-View-ID:</guilabel> textbox.
+ </para>
+ </listitem>
+ </orderedlist>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Define the Project Attributes</title>
+ <para>
+ Select the page <guilabel>Template</guilabel> to use from the available options displayed in <xref linkend="table-jsf-create_jsp_page_01"/>
+ </para>
+ <table id="table-jsf-create_jsp_page_01" frame='all'>
+ <title>Template</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="2*"/>
+ <thead>
+ <row>
+ <entry>Label</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>Blank</entry>
+ <entry>Generates a blank page.</entry>
+ </row>
+ <row>
+ <entry>FaceletBlank.xhtml</entry>
+ <entry>Generates a blank facelet page.</entry>
+ </row>
+ <row>
+ <entry>FaceletCommon.xhtml</entry>
+ <entry>Generates a facelet page according to the most common features.</entry>
+ </row>
+ <row>
+ <entry>FaceletForm.xhtml</entry>
+ <entry>Generates a facelet form.</entry>
+ </row>
+ <row>
+ <entry>JSFBasePage</entry>
+ <entry>This is the default value. This setting generates a base JSF page to which the user can add content.</entry>
+ </row>
+ <row>
+ <entry>JSPRedirect</entry>
+ <entry>Generates a Java Server pages redirect page.</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Generate the page.</title>
+ <para>
+ Click the <guibutton>Finish</guibutton> button to generate the required page.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The page is displayed graphically in the <guilabel>Diagram</guilabel> view.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-create_jsp_page_03.png">
+ <title>JSF Graphical representation of the generated page.</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-create_jsp_page_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>JSF Graphical representation of the generated page.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Begin working with the page.</title>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ Access the <guilabel>login.jsp</guilabel> file by expanding the <menuchoice><guimenu>Project Name</guimenu><guisubmenu>WebContent</guisubmenu><guisubmenu>WEB_INF</guisubmenu><guisubmenu>pages</guisubmenu></menuchoice> folders in the <guilabel>Package Explorer</guilabel> view.
+ </para>
+ <para>
+ The <guilabel>pages </guilabel>folder corresponds to the path defined by the user in the <guilabel>New View</guilabel> dialog of <xref linkend="figure-jsf-create_jsp_page_02"></xref>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Double click the <guilabel>login.jsp</guilabel> file.
+ </para>
+ </listitem>
+ </orderedlist>
+ <formalpara><title>Result:</title>
+ <para>
+ The <filename>login.jsp</filename> file is opened in the JSP editor.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-create_jsp_page_04.png">
+ <title>JSP Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-create_jsp_page_04.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>JSP Editor</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The file can now be edited and previewed in a single screen by clicking the <guilabel>Visual/Source</guilabel> tab or edited and previewed individually by clicking the <guilabel>Source</guilabel> and <guilabel>Preview</guilabel> tabs respectively. For further details regarding the JSP editor refer to <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ <para>&HORIZ_LINE;</para>
+ </step>
+</procedure>
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-create_jsp_page.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-create_new_connection.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-create_new_connection.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-create_new_connection.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,255 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jsf-create_new_connection">
+ <title>Creating connections or links between pages in JSF Tools.</title>
+ <step>
+ <title>Preliminary procedure</title>
+ <note><title>***Design Note***</title>
+ <para>
+ Add links to procedures that are required as prerequisites to completing the current procedure.
+ </para>
+ </note>
+
+ <para>
+ Prior to attempting to link pages, at least two pages should have been created as described in <xref linkend="proc-jsf-create_jsp_page"></xref>. Click the <guilabel>Diagram</guilabel> tab to render the Diagram view.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <filename>faces-config.xml</filename> file is opened in the <guilabel>Diagram</guilabel> view of its custom editor.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-create_new_connection_01">
+ <title>JSF Tools faces-config.xml Editor - Diagram View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-create_new_connection_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Diagram View</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Activate the Create New Connection icon</title>
+ <para>
+ Click the <guibutton>Create New Connection</guibutton> icon of the <guilabel>Diagram View</guilabel> as highlighted in <xref linkend="figure-jsf-create_new_connection_02"></xref>. The mouse pointer graphic will change to a two-pronged power plug.
+ </para>
+ <figure id="figure-jsf-create_new_connection_02">
+ <title>JSF Tools faces-config.xml editor - Diagram View Toolbar - Create New Connection</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-create_new_connection_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Diagram View - Toolbar - Create New Connection</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Generate the connection</title>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ Click the page representing the source of the link.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click the page representing the destination of the link.
+ </para>
+ </listitem>
+ </orderedlist>
+ <formalpara><title>Result:</title>
+ <para>
+ The pages are linked as displayed in <xref linkend="figure-jsf-create_new_connection_03"></xref>. The link destination is indicated by the label above the connecting line (connector).
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-create_new_connection_03">
+ <title>JSF Tools faces-config.xml editor - Diagram View Toolbar - Connection</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-create_new_connection_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Diagram View - Toolbar - Connection</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>View the tree</title>
+ <note><title>***Design Note***</title>
+ <para>
+ The material that follows could be placed in an "Editing the faces config file" Task.
+ </para>
+ </note>
+ <para>
+ Click the <guilabel>Tree</guilabel> tab to view the changes made to the <filename>faces-config.xml</filename> file in a graphical representation.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ Highlighting the <guilabel>welcome</guilabel> <guilabel>Navigation Case</guilabel> displays numerous options as shown in <xref linkend="figure-jsf-create_new_connection_04"></xref>.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-create_new_connection_04">
+ <title>JSF Tools faces-config.xml editor - Tree View - Connection</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-create_new_connection_04.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Tree View - Connection</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The <guilabel>Navigation Case</guilabel> options available to the user are described in <xref linkend="table-jsf-create_new_connection_01"></xref>
+ </para>
+ <table id="table-jsf-create_new_connection_01" frame='all'>
+ <title>Navigation Case</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>From Outcome</entry>
+ <entry>yes</entry>
+ <entry>Enter the output</entry>
+ <entry>This corresponds to the output of the <guilabel>From View ID</guilabel> listed in <literal>Table link here</literal>. This output is generated by the <guilabel>To View ID</guilabel> page.</entry>
+ </row>
+ <row>
+ <entry>From Action</entry>
+ <entry>no</entry>
+ <entry></entry>
+ <entry>This field </entry>
+ </row>
+ <row>
+ <entry>To View ID</entry>
+ <entry>yes</entry>
+ <entry>Enter the destination page.</entry>
+ <entry>The destination page will generate the <guilabel>From Outcome</guilabel>.</entry>
+ </row>
+ <row>
+ <entry>Redirect</entry>
+ <entry>yes</entry>
+ <entry>Enter the redirect option</entry>
+ <entry>
+ <para>
+ The user has the option to redirect to another page from the destination page (<guilabel>To View ID</guilabel>).
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>Description</entry>
+ <entry>no</entry>
+ <entry>Enter a description if required.</entry>
+ <entry>
+ <para>
+ The user has the option to enter a description for the Navigation Case.
+ </para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>
+ The <guilabel>Advanced</guilabel> options available to the user are described in <xref linkend="table-jsf-create_new_connection_02"></xref>
+ </para>
+ <table id="table-jsf-create_new_connection_02" frame='all'>
+ <title>Advanced</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>ID</entry>
+ <entry>no</entry>
+ <entry>Enter the ID</entry>
+ <entry>This corresponds to ....</entry>
+ </row>
+ <row>
+ <entry>Display Name</entry>
+ <entry>no</entry>
+ <entry>Enter the display name</entry>
+ <entry>This field ....</entry>
+ </row>
+ <row>
+ <entry>Small Icon</entry>
+ <entry>no</entry>
+ <entry>Enter the small icon.</entry>
+ <entry>The destination page will generate the <guilabel>From Outcome</guilabel>.</entry>
+ </row>
+ <row>
+ <entry>Large Icon</entry>
+ <entry>no</entry>
+ <entry>Enter the large icon</entry>
+ <entry>
+ <para>
+ This allows .....
+ </para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>View the source</title>
+ <para>
+ Click the <guilabel>Source</guilabel> tab to view the changes to the <filename>faces-config.xml</filename> file.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The source (<literal>from-view-id</literal>) and destination (<literal>to-view-id</literal>) links have been defined in the file as shown in <xref linkend="figure-jsf-create_new_connection_05"></xref>.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-create_new_connection_05">
+ <title>JSF Tools faces-config.xml editor - Source View - Connection</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-create_new_connection_05.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Source View - Connection</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <note><title>***Design Note***</title>
+ <para>
+ As this is a basic task there is no corresponding section in the "Concepts" chapter. Similarly, as the "Documentation navigation" chapter is structured according to the Concepts chapter there is no link to "Related concepts, tasks and reference material". This is implemented by linking to the "Documentation navigation" chapter for concept/feature based tasks.
+ </para>
+ </note>
+ <para>&HORIZ_LINE;</para>
+ </step>
+</procedure>
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-create_new_connection.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-editor_faces-config.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-editor_faces-config.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-editor_faces-config.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,90 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jsf-editor_faces-config">
+ <title>Accessing the JSF configuration file editor</title>
+ <step id="open_faces-config.xml">
+ <title>Access the Editor</title>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ Access the <guilabel>faces-config</guilabel> file by expanding the <menuchoice><guimenu>Project Name</guimenu><guisubmenu>WebContent</guisubmenu><guisubmenu>WEB_INF</guisubmenu></menuchoice> folders in the <guilabel>Package Explorer</guilabel> view
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Double click the <guilabel>faces-config</guilabel> file.
+ </para>
+ </listitem>
+ </orderedlist>
+ <formalpara><title>Result:</title>
+ <para>
+ The <filename>faces-config</filename> file is opened in its custom editor, defaulting to the <guilabel>Diagram</guilabel> view
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-editor_faces-config_01.png">
+ <title>The Tool faces-config Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-editor_faces-config_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config editor - Diagram view</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ For an example of the use of the Diagram view to create pages refer to <xref linkend="getting_started-quick_start-creating_jsp_pages"></xref>
+ </para>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Explore the different views</title>
+ <orderedlist numeration = "loweralpha">
+ <listitem>
+ <para>
+ Click the <guilabel>Tree</guilabel> tab to render the Tree view.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <filename>faces-config</filename> file is opened in the <guilabel>Tree</guilabel> view
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-editor_faces-config_02">
+ <title>The Tool faces-config editor - Tree view</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-editor_faces-config_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config editor - Tree view</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guilabel>Source</guilabel> tab to render the Source view.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <filename>faces-config</filename> file is opened in the <guilabel>Source</guilabel> view
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-editor_faces-config_03">
+ <title>The Tool faces-config editor - Source view</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-editor_faces-config_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config editor - Source view</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ </orderedlist>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ </procedure>
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-editor_faces-config.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_faces_config.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_faces_config.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_faces_config.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,148 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+
+<procedure id="proc-jsf-new_faces_config">
+ <title>New Faces Config</title>
+ <step>
+ <title>Access the New - Select a wizard dialog</title>
+ <orderedlist numeration ="loweralpha">
+ <listitem>
+ <para>
+ Click the <guilabel>Faces Config</guilabel> label by expanding the <menuchoice><guimenu>JBoss Tools Web</guimenu><guisubmenu>JSF</guisubmenu></menuchoice> folders.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guibutton>Next</guibutton> button to proceed.
+ </para>
+ </listitem>
+ </orderedlist>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>New Faces Config - Faces Config</guilabel> screen displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-new_faces_config_01">
+ <title>JSF Tools New Faces Config</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_faces_config_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New Faces Config Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Define the Project Attributes</title>
+ <para>
+ Define the JSF Project Attributes according to the options displayed in <xref linkend="table-jsf-new_faces_config_01"/>
+ </para>
+ <table id="table-jsf-new_faces_config_01" frame='all'>
+ <title>New Faces Config</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Folder</entry>
+ <entry>yes</entry>
+ <entry>Enter the folder to host the config file.</entry>
+ <entry>The folder is usually the <filename>WEB-INF/lib</filename> folder.</entry>
+ </row>
+ <row>
+ <entry>Name</entry>
+ <entry>yes</entry>
+ <entry>Enter the name of the config file.</entry>
+ <entry>Remember to name the file differently to any existing config files. The <filename>.xml</filename> extension is not required</entry>
+ </row>
+ <row>
+ <entry>Version</entry>
+ <entry>yes</entry>
+ <entry>Specify the config file version number.</entry>
+ <entry>The user has the option to select from multiple option as listed in <xref linkend="table-jsf-new_faces_config_02"/>.</entry>
+ </row>
+ <row>
+ <entry>Register in web.xml</entry>
+ <entry>no</entry>
+ <entry>Select this option to register the file in the web.xml deployment descriptor.</entry>
+ <entry>
+ Registering the file in the deployment descriptor will result in the file being read and available once the application is deployed.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table id="table-jsf-new_faces_config_02">
+ <title>New Config File - Version</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="2*"/>
+ <thead>
+ <row>
+ <entry>Label</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>1.0 </entry>
+ <entry>This option specifies the faces-config version 1.0 implementation.</entry>
+ </row>
+ <row>
+ <entry>1.1 </entry>
+ <entry>This option specifies the faces-config version 1.1 implementation.</entry>
+ </row>
+ <row>
+ <entry>1.2 </entry>
+ <entry>This option specifies the faces-config version 1.0 implementation.</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Access the config file editor.</title>
+ <para>
+ Click the <guibutton>Finish</guibutton> button to complete the New Faces Config wizard.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The new file is opened in the <guilabel>Diagram</guilabel> view of the faces-config-*.xml editor.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-new_faces_config_02">
+ <title>JSF Tools <filename>faces-config-*.xml</filename> editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_faces_config_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para><filename>faces-config-*.xml</filename> editor <guilabel>Diagram</guilabel> view</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <note><title>***Design Note***</title>
+ <para>
+ As this is a basic task there is no corresponding section in the "Concepts" chapter. Similarly, as the "Documentation navigation" chapter is structured according to the Concepts chapter there is no link to "Related concepts, tasks and reference material". This is implemented by linking to the "Documentation navigation" chapter for concept/feature based tasks.
+ </para>
+ </note>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ </procedure>
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_faces_config.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_jsf_project.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_jsf_project.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_jsf_project.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,313 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jsf-new_jsf_project">
+ <title>The Tool Project Creation</title>
+ <step>
+ <title>Define the Project Type</title>
+ <orderedlist numeration ="loweralpha">
+ <listitem>
+ <para>
+ Click the <guilabel>JSF Project</guilabel> label by expanding the <menuchoice><guimenu>JBoss Tools Web</guimenu><guisubmenu>JSF</guisubmenu></menuchoice> folders.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guibutton>Next</guibutton> button to proceed.
+ </para>
+ </listitem>
+ </orderedlist>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>New JSF Project - Create JSF Project</guilabel> screen displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-new_jsf_project_01">
+ <title>The Tool Project Attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_jsf_project_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New JSF Project Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Define the Project Attributes</title>
+ <para>
+ Define the JSF Project Attributes according to the options displayed in <xref linkend="table-jsf-new_jsf_project_01"/>
+ </para>
+ <table id="table-jsf-new_jsf_project_01" frame='all'>
+ <title>New JSF Project</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Project Name</entry>
+ <entry>yes</entry>
+ <entry>Enter the project name.</entry>
+ <entry>The project name can be any name defined by the user.</entry>
+ </row>
+ <row>
+ <entry>Use default path (tickbox)</entry>
+ <entry>no</entry>
+ <entry>Click this option to define the project location as the default path.</entry>
+ <entry>The path defaults to the Workspace location.</entry>
+ </row>
+ <row>
+ <entry>Location</entry>
+ <entry>yes</entry>
+ <entry>Enter the path to the project.</entry>
+ <entry>The path will default to the Workspace location if the Use default path (tickbox) is selected.</entry>
+ </row>
+ <row>
+ <entry>JSF Environment</entry>
+ <entry>yes</entry>
+ <entry>Select the JSF Environment from the available options</entry>
+ <entry>
+ <para>
+ The JSF Environment defines the base JSF implementation to use as described in <xref linkend="table-jsf-new_jsf_project_02"/>.
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>Template</entry>
+ <entry>yes</entry>
+ <entry>Select the Template from the available options</entry>
+ <entry>
+ <para>
+ The project can be based on a template as described in <xref linkend="table-jsf-new_jsf_project_03"/>.
+ </para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table id="table-jsf-new_jsf_project_02">
+ <!-- OR BETTER = <table id="table-jsf-new_jsf_project_JSFEnvironment" frame='all'> ?-->
+ <title>New JSF Project - JSF Environment</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="2*"/>
+ <thead>
+ <row>
+ <entry>Label</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>JSF 1.1.02- Reference Implementation</entry>
+ <entry>This implementation.....</entry>
+ </row>
+ <row>
+ <entry>JSF 1.2</entry>
+ <entry>This implementation...</entry>
+ </row>
+ <row>
+ <entry>JSF 1.2 with Facelets</entry>
+ <entry>This implementation...</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table id="table-jsf-new_jsf_project_03">
+ <title>New JSF Project - Template</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <thead>
+ <row>
+ <entry>Label</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>JSFBlankWithoutLibs</entry>
+ <entry>This template defines a blank project without JSF support to avoid conflicts arising from the target server JSF configuration.</entry>
+ </row>
+ <row>
+ <entry>JSFKickStartWithoutLibs</entry>
+ <entry>This template defines a demonstration project without JSF support to avoid conflicts arising from the target server JSF configuration.</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Access the <guilabel>Web</guilabel> sub-screen</title>
+ <para>
+ Click <guilabel>Next</guilabel> to proceed.
+ </para>
+ <formalpara>
+ <title>Result:</title>
+ <para>
+ The <guilabel>New JSF Project - Web</guilabel> screen displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-new_jsf_project_02">
+ <title>The Tool New JSF Project - Web</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_jsf_project_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New JSF Project - Web Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Define the Web Attributes</title>
+ <para>
+ Define the JSF Project Web Attributes according to the options displayed in <xref linkend="table-jsf-new_jsf_project_04"/>
+ </para>
+ <table id="table-jsf-new_jsf_project_04" frame="all">
+ <!-- <table id="NewJSFProject-Web" frame='all'> -->
+ <title>New JSF Project - Web</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Servlet Version</entry>
+ <entry>yes</entry>
+ <entry>Select the j2ee servlet version to base the project on.</entry>
+ <entry>The servlet version can be chosen from the options as listed in <xref linkend="table-jsf-new_jsf_project_05"/>.</entry>
+ </row>
+ <row>
+ <entry>Context Path</entry>
+ <entry>yes</entry>
+ <entry>Define the path to the project.</entry>
+ <entry>The path defaults to the project name.</entry>
+ </row>
+ <row>
+ <entry>Runtime</entry>
+ <entry>yes</entry>
+ <entry>Select the runtime used to compile the application.</entry>
+ <entry>The runtime defaults to the runtime corresponding to the Target Server. Other runtimes can be added by clicking the <guibutton>New</guibutton> button next to the <guilabel>Runtime</guilabel> dropdown list.</entry>
+ </row>
+ <row>
+ <entry>Target Server</entry>
+ <entry>no</entry>
+ <entry>Select the server to which the application will be deployed</entry>
+ <entry>
+ <para>
+ Selecting from one of the preconfigured servers will result in the server jar files being included in the project's classpath. New servers can be added by clicking the <guibutton>New</guibutton> button next to the <guilabel>Target Server</guilabel> dropdown list. This procedure is decribed in <procedureLinkHere> <literal>Bug here?</literal> I can only select one server at a time but there is a "Select All" option.
+ </para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table id="table-jsf-new_jsf_project_05" frame="all">
+ <!-- <table id="NewJSFProject_Web_ServletVersion" frame='all'> -->
+ <title>New JSF Project - Web - Servlet</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="4*"/>
+ <thead>
+ <row>
+ <entry>Label</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>2.3 </entry>
+ <entry>This servlet version supports/introduced .....</entry>
+ </row>
+ <row>
+ <entry>2.4</entry>
+ <entry>This servlet version supports/introduced .....</entry>
+ </row>
+ <row>
+ <entry>2.5</entry>
+ <entry>This servlet version supports/introduced .....</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+
+ <step><title>Open the Web Development perspective.</title>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ Click the <guibutton>Finish</guibutton> button to complete the project setup.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ A dialog will appear prompting the user to open the relevant perspective.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-new_jsf_project_03">
+ <title>The Tool Open Perspective Dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_jsf_project_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Opening the Web Development perspective.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guibutton>Yes</guibutton> button to display the Web Development perspective.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The project is configured and the Web development perspective is displayed.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-new_jsf_project_04">
+ <title>The Tool Web Development Perspective</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_jsf_project_04.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The JBoss Developer Studio Web Development perspective.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ </orderedlist>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ </procedure>
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_jsf_project.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_managed_bean.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_managed_bean.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_managed_bean.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,218 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+
+<procedure id="proc-jsf-new_managed_bean">
+ <title>Creating Managed Beans in JSF Tools</title>
+ <step>
+ <title>Access the Managed Bean dialog</title>
+ <note><title>***Design Note***</title>
+ <para>
+ Add links to procedures that are required as prerequisites to completing the current procedure or that contain the screenshot.
+ </para>
+ </note>
+ <para>
+ Click the <guilabel>Managed Bean</guilabel> label of the <filename>faces-config.xml</filename> Editor as displayed in <xref linkend="proc-jsf-create_new_connection"></xref>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Managed Bean</guilabel> dialog is displayed.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-new_managed_bean_01">
+ <title>JSF Tools faces-config.xml Editor - Managed Beans</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_managed_bean_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Managed Beans</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Access the New Managed Bean dialog</title>
+ <para>
+ Click the <guibutton>Add</guibutton> button to create a new Managed Bean.
+ </para>
+ <figure id="figure-jsf-new_managed_bean_02">
+ <title>JSF Tools faces-config.xml editor - New Managed Bean</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_managed_bean_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - New Managed Bean</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Define the Managed Bean properties</title>
+ <para>
+ Define the Managed Bean properties according to the options displayed in <xref linkend="table-jsf-new_managed_bean_01"/>
+ </para>
+ <table id="table-jsf-new_managed_bean_01" frame='all'>
+ <title>New Managed Bean</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Scope</entry>
+ <entry>yes</entry>
+ <entry>Select the appropriate scope that applies to the Managed Bean</entry>
+ <entry>The available scope options are described in <xref linkend="table-jsf-new_managed_bean_02"/></entry>
+ </row>
+ <row>
+ <entry>Class</entry>
+ <entry>yes</entry>
+ <entry>Enter the class associated with the Managed Bean</entry>
+ <entry>The class can be entered directly in the form class.BeanName or selected by clicking the <guibutton>Browse</guibutton> button. Clicking the Class label will generate the <guilabel>New Java Class</guilabel> dialog to enable the user the enter the class details as displayed in <xref linkend="hints-placeholder_for_a_link"></xref>.</entry>
+ </row>
+ <row>
+ <entry>Name</entry>
+ <entry>yes</entry>
+ <entry>Enter an abbreviated name for the Managed Bean.</entry>
+ <entry>The name should reflect the type of bean being created and the Class property.</entry>
+ </row>
+ <row>
+ <entry>Generate Source Code</entry>
+ <entry>no</entry>
+ <entry>Check this box to generate the source code automatically.</entry>
+ <entry>
+ <para>
+ The Managed Bean constructor will be generated.
+ </para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table id="table-jsf-new_managed_bean_02">
+ <title>New Managed Bean - Scope</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="2*"/>
+ <thead>
+ <row>
+ <entry>Label</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>request</entry>
+ <entry>The bean persists for the request only</entry>
+ </row>
+ <row>
+ <entry>session</entry>
+ <entry>The bean persists for the duration of the session</entry>
+ </row>
+ <row>
+ <entry>application</entry>
+ <entry>The bean persists over the scope of the application</entry>
+ </row>
+ <row>
+ <entry>none</entry>
+ <entry>The bean does not persist</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Generate the Managed Bean</title>
+ <para>
+ Click the <guibutton>Finish</guibutton> button to generate the Managed Bean.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <filename>faces-config.xml</filename> <guilabel>Tree</guilabel> view is displayed with the entered values.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-new_managed_bean_04">
+ <title>JSF Tools faces-config.xml editor - Tree View - Managed Bean details</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_managed_bean_04.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Tree View - Managed Bean details</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>View the source</title>
+ <para>
+ Click the <guilabel>Source</guilabel> tab to view the changes to the <filename>faces-config.xml</filename> file.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The Managed Bean Details have been added to the <filename>faces-config.xml</filename> file as shown in <xref linkend="figure-jsf-new_managed_bean_05"></xref>.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-new_managed_bean_05">
+ <title>JSF Tools faces-config.xml editor - Source View - Managed Bean</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-new_managed_bean_05.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Source View - Managed Bean</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Save the project</title>
+ <para>
+ Click the <guilabel>Save</guilabel> icon or select <menuchoice><guimenu>File</guimenu><guilabel>Save</guilabel></menuchoice> to save the project.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Link to the relevant "Documentation navigation section" which lists:
+ </para>
+ <para>
+ * related concepts.
+ </para>
+ <para>
+ * related tasks;
+ </para>
+ <para>
+ * related reference material.
+ </para>
+ <para>
+ The navigation section acts as a single source of links related to a single task helping to minimise document maintenance.
+ </para>
+ </note>
+ <!-- Design Notes:
+ Provide a single link to a document navigation section relating to the current task. This section will include all of the relevant concepts, tasks and references in a single table facilitating ease of maintenance.
+ -->
+ <formalpara><title>Related material</title>
+ <para>
+ Further tasks and information relating to this task are accessible from: <xref linkend="document_navigation-managed_beans"/>.
+ </para>
+ </formalpara>
+ </step>
+</procedure>
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-new_managed_bean.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-project_verification.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-project_verification.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-project_verification.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,52 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jsf-project_verification">
+ <title>JSF Project Verification</title>
+ <step>
+ <title>Access the Preferences dialog</title>
+ <para>
+ Select <menuchoice><guimenu>Window</guimenu><guisubmenu>Preferences</guisubmenu><guisubmenu>JBoss Tools</guisubmenu><guisubmenu>Web</guisubmenu><guimenuitem>Verification</guimenuitem></menuchoice>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>Preferences</guilabel> screen is displayed.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-project_verification_01">
+ <title>JSF Project Verification</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-project_verification_01.png" format="PNG" width="444px"/>
+ </imageobject>
+ <textobject>
+ <para>A short statement describing the screenshot above.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Select the appropriate JSF Rules</title>
+ <substeps>
+ <step>
+ <para>
+ Tick the checkboxes corresponding to the appropriate attributes or rules.
+ </para>
+ </step>
+ <step>
+ <para>
+ Click the <guibutton>OK</guibutton> button to configure JSF project verification.
+ </para>
+ </step>
+ </substeps>
+ <formalpara><title>Result:</title>
+ <para>
+ Project verification is configured and the user is returned to the main perspective.
+ </para>
+ </formalpara>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ </procedure>
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-project_verification.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_one.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_one.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_one.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,172 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+
+<procedure id="proc-jsf-template_one">
+ <title>(New Feature) (Procedure) Name</title>
+ <note><title>***Template Description***</title>
+ <para>
+ This template forms the basis for the simplest of procedures.
+ It consists of a sequence of steps which result in a separate (new) dialog. The dialog is displayed following the relevant step.
+ </para>
+ </note>
+ <note><title>***Template instructions***</title>
+ <para>
+ The procedure id (and the resultant file name for the procedure) is the same as the title of the main dialog where possible.
+ Otherwise choose a logical name describing the task or procedure.
+ </para>
+ <para>
+ * The proc-jsf-template_one.xml filename will be changed to proc-jsf-procedure_name.xml"
+ </para>
+ <para>
+ The figure names reflect the procedure name and are numbered according to their position within the procedure:
+ </para>
+ <para>
+ * figure id="figure-jsf-procedure_name_01"
+ </para>
+ </note>
+ <step>
+ <title>Step One Title</title>
+ <para>
+ Select <menuchoice><guimenu>Menu A</guimenu><guisubmenu>Menu B</guisubmenu><guisubmenu>Menu C</guisubmenu><guisubmenu>Menu D</guisubmenu><guimenuitem>Menu E</guimenuitem></menuchoice>
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ A short description of the result of the action(s).
+ </para>
+ </formalpara>
+ <figure id="figure-procedure_name_one_01">
+ <title><Feature Name></title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_one_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>A short statement describing the screenshot above.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Step Two Title</title>
+ <substeps>
+ <step>
+ <para>
+ Sub step a
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ A short description of the result of the action(s).
+ </para>
+ </formalpara>
+ <figure id="figure-procedure_name_one_02">
+ <title><Feature Name></title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_one_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>A short statement describing the screenshot above.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </step>
+ <step>
+ <para>
+ Sub step b <Click the <guibutton>OK</guibutton> button to complete the task>.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ A short description of the result of the action(s).
+ </para>
+ </formalpara>
+ <figure id="figure-procedure_name_one_03">
+ <title><Feature Name></title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_one_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>A short statement describing the screenshot above.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </step>
+ </substeps>
+ <!--
+ <orderedlist numeration ="loweralpha">
+ <listitem>
+ <para>
+ Sub step a
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ A short description of the result of the action(s).
+ </para>
+ </formalpara>
+ <figure id="figure-procedure_name_one_02">
+ <title><Feature Name></title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_one_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>A short statement describing the screenshot above.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem>
+ <para>
+ Sub step b <Click the <guibutton>OK</guibutton> button to complete the task>.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ A short description of the result of the action(s).
+ </para>
+ </formalpara>
+ <figure id="figure-procedure_name_one_03">
+ <title><Feature Name></title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_one_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>A short statement describing the screenshot above.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ </orderedlist>
+ -->
+ <note><title>***Design Note***</title>
+ <para>
+ Link to the relevant "Documentation navigation" section which lists:
+ </para>
+ <para>
+ * related concepts;
+ </para>
+ <para>
+ * related tasks;
+ </para>
+ <para>
+ * related reference material.
+ </para>
+ <para>
+ The navigation section acts as a single source of links related to a single task helping to minimise document maintenance.
+ </para>
+ </note>
+ <!-- Design Notes:
+ Provide a single link to a document navigation section relating to the current task. This section will include all of the relevant concepts, tasks and references in a single table facilitating ease of maintenance.
+ -->
+ <formalpara><title>Related material</title>
+ <para>
+ Further tasks and information relating to this task are accessible from: <xref linkend="hints-placeholder_for_a_link"/>.
+ </para>
+ </formalpara>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ </procedure>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_three.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_three.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_three.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,303 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+
+<procedure id="proc-jsf-template_three">
+ <title>Task Name</title>
+ <note><title>***Template Description***</title>
+ <para>
+ This template is identical to template two, with the exception that there is a pre-requisite task declared at the start of the procedure. It consists of a sequence of steps which result in a separate (new) dialog. The dialog is displayed following the relevant step.
+ </para>
+ <para>
+ -
+ </para>
+ <para>
+ A table (or numerous tables) describe the fields within a dialog. Any field which includes a set of pre-defined choices is detailed in a separate table. This child table is linked to from the parent table.
+ </para>
+ </note>
+ <note><title>***Template instructions***</title>
+ <para>
+ 1. The procedure id (and the resultant file name for the procedure) is the same as the title of the main dialog where possible. Otherwise choose a logical name describing the task or procedure.
+ </para>
+
+ <para>
+ * the proc-jsf-template_two.xml filename will be changed to proc-jsf-procedure_name.xml"
+ </para>
+ <para>
+ 2. The figure names reflect the procedure name numbered according to their position in the procedure.
+ </para>
+ <para>
+ 3. For dialogs consisting of multiple fields produce a table in a separate step immediately following the dialog with the following fields:
+ </para>
+ <para>
+ ------------------------------------------------------------
+ </para>
+ <para>
+ * Field | Mandatory | Instruction | Description
+ </para>
+ <para>
+ ------------------------------------------------------------
+ </para>
+ <para>
+ 4. Where there are multiple options for a particular field, produce a second table below the first with the titles:
+ </para>
+ <para>
+ ----------------------------
+ </para>
+ <para>
+ * Option | Description
+ </para>
+ <para>
+ ----------------------------
+ </para>
+ <para>
+ Where "Option" is the choice available and the "Description" describes the result of selecting that option.
+ </para>
+ <para>
+ Link to this secondary table from the "Description" field of the parent table.
+ </para>
+ </note>
+ <step>
+ <title>Preliminary procedure</title>
+ <note><title>***Design Note***</title>
+ <para>
+ Add links to procedures that are required as pre-requisites to the current procedure.
+ </para>
+ </note>
+ <para>
+ Prior to attempting to link pages, at least two pages should have been created as described in <xref linkend="proc-jsf-create_jsp_page"></xref>. Click the <guilabel>Diagram</guilabel> tab to render the Diagram view.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The <filename>faces-config.xml</filename> file is opened in the <guilabel>Diagram</guilabel> view of its custom editor.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-template_three_01">
+ <title>JSF Tools faces-config.xml Editor - Diagram View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_three_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Diagram View</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Activate the Create New Connection icon</title>
+ <para>
+ Click the <guibutton>Create New Connection</guibutton> icon of the <guilabel>Diagram View</guilabel> as highlighted in <xref linkend="figure-jsf-template_three_02"></xref>. The mouse pointer graphic will change to a two-pronged power plug.
+ </para>
+ <figure id="figure-jsf-template_three_02">
+ <title>JSF Tools faces-config.xml editor - Diagram View Toolbar - Create New Connection</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_three_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Diagram View - Toolbar - Create New Connection</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Generate the connection</title>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ Click the page representing the source of the link.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click the page representing the destination of the link.
+ </para>
+ </listitem>
+ </orderedlist>
+ <formalpara><title>Result:</title>
+ <para>
+ The pages are linked as displayed in <xref linkend="figure-jsf-template_three_03"></xref>. The link destination is indicated by the label above the connecting line (connector).
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-template_three_03">
+ <title>JSF Tools faces-config.xml editor - Diagram View Toolbar - Connection</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_three_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Diagram View - Toolbar - Connection</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>View the tree</title>
+ <para>
+ Click the <guilabel>Tree</guilabel> tab to view the changes made to the <filename>faces-config.xml</filename> file in a graphical representation.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ Highlighting the <guilabel>welcome</guilabel> <guilabel>Navigation Case</guilabel> displays numerous options as shown in <xref linkend="figure-jsf-template_three_04"></xref>.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-template_three_04">
+ <title>JSF Tools faces-config.xml editor - Tree View - Connection</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_three_04.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Tree View - Connection</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The <guilabel>Navigation Case</guilabel> options available to the user are described in <xref linkend="table-jsf-template_three_01"></xref>
+ </para>
+ <table id="table-jsf-template_three_01" frame='all'>
+ <title>Navigation Case</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>From Outcome</entry>
+ <entry>yes</entry>
+ <entry>Enter the output</entry>
+ <entry>This corresponds to the output of the <guilabel>From View ID</guilabel> listed in <literal>Table link here</literal>. This output is generated by the <guilabel>To View ID</guilabel> page.</entry>
+ </row>
+ <row>
+ <entry>From Action</entry>
+ <entry>no</entry>
+ <entry></entry>
+ <entry>This field </entry>
+ </row>
+ <row>
+ <entry>To View ID</entry>
+ <entry>yes</entry>
+ <entry>Enter the destination page.</entry>
+ <entry>The destination page will generate the <guilabel>From Outcome</guilabel>.</entry>
+ </row>
+ <row>
+ <entry>Redirect</entry>
+ <entry>yes</entry>
+ <entry>Enter the redirect option</entry>
+ <entry>
+ <para>
+ The user has the option to redirect to another page from the destination page (<guilabel>To View ID</guilabel>).
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>Description</entry>
+ <entry>no</entry>
+ <entry>Enter a description if required.</entry>
+ <entry>
+ <para>
+ The user has the option to enter a description for the Navigation Case.
+ </para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>
+ The <guilabel>Advanced</guilabel> options available to the user are described in <xref linkend="table-jsf-template_three_02"></xref>
+ </para>
+ <table id="table-jsf-template_three_02" frame='all'>
+ <title>Advanced</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>ID</entry>
+ <entry>no</entry>
+ <entry>Enter the ID</entry>
+ <entry>This corresponds to ....</entry>
+ </row>
+ <row>
+ <entry>Display Name</entry>
+ <entry>no</entry>
+ <entry>Enter the display name</entry>
+ <entry>This field ....</entry>
+ </row>
+ <row>
+ <entry>Small Icon</entry>
+ <entry>no</entry>
+ <entry>Enter the small icon.</entry>
+ <entry>The destination page will generate the <guilabel>From Outcome</guilabel>.</entry>
+ </row>
+ <row>
+ <entry>Large Icon</entry>
+ <entry>no</entry>
+ <entry>Enter the large icon</entry>
+ <entry>
+ <para>
+ This allows .....
+ </para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>View the source</title>
+ <para>
+ Click the <guilabel>Source</guilabel> tab to view the changes to the <filename>faces-config.xml</filename> file.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The source (<literal>from-view-id</literal>) and destination (<literal>to-view-id</literal>) links have been defined in the file as shown in <xref linkend="figure-jsf-template_three_05"></xref>.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-template_three_05">
+ <title>JSF Tools faces-config.xml editor - Source View - Connection</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_three_05.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Source View - Connection</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ <note><title>***Design Note***</title>
+ <para>
+ As this is a basic task there is no corresponding section in the "Concepts" chapter. Similarly, as the "Documentation navigation" chapter is structured according to the Concepts chapter there is no link to "Related concepts, tasks and reference material". This is implemented by linking to the "Documentation navigation" chapter for concept/feature based tasks.
+ </para>
+ </note>
+ </step>
+</procedure>
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_three.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_two.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_two.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_two.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,392 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<procedure id="proc-jsf-template_two">
+ <title>(Feature) (Procedure) quick start</title>
+ <note><title>***Template Description***</title>
+ <para>
+ This template forms the basis for a procedure which can best be described as having an order of complexity above template_one.
+ It consists of a sequence of steps which result in a separate (new) dialog. The dialog is displayed following the relevant step.
+ </para>
+ <para>
+ -
+ </para>
+ <para>
+ The addition in this template is the inclusion of a table (or numerous tables) describing the fields within a dialog.
+ Any field which includes a set of pre-defined choices is detailed in a separate table. This child table is linked to from the
+ parent table.
+ </para>
+ </note>
+ <note><title>***Template instructions***</title>
+ <para>
+ 1. The procedure id (and the resultant file name for the procedure) is the same as the title of the main dialog where possible. Otherwise choose a logical name describing the task or procedure.
+ </para>
+
+ <para>
+ * the proc-jsf-template_two.xml filename will be changed to proc-jsf-procedure_name.xml"
+ </para>
+ <para>
+ 2. The figure names reflect the procedure name numbered according to their position in the procedure.
+ </para>
+ <para>
+ 3. For dialogs consisting of multiple fields produce a table in a separate step immediately following the dialog with the following fields:
+ </para>
+ <para>
+ ------------------------------------------------------------
+ </para>
+ <para>
+ * Field | Mandatory | Instruction | Description
+ </para>
+ <para>
+ ------------------------------------------------------------
+ </para>
+ <para>
+ 4. Where there are multiple options for a particular field, produce a second table below the first with the titles:
+ </para>
+ <para>
+ ----------------------------
+ </para>
+ <para>
+ * Option | Description
+ </para>
+ <para>
+ ----------------------------
+ </para>
+ <para>
+ Where "Option" is the choice available and the "Description" describes the result of selecting that option.
+ </para>
+ <para>
+ Link to this secondary table from the "Description" field of the parent table.
+ </para>
+ </note>
+ <step>
+ <title>Define the Project Type</title>
+ <orderedlist numeration ="loweralpha">
+ <listitem>
+ <para>
+ Click the <guilabel>JSF Project</guilabel> label by expanding the <menuchoice><guimenu>JBoss Tools Web</guimenu><guisubmenu>JSF</guisubmenu></menuchoice> folders.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guibutton>Next</guibutton> button to proceed.
+ </para>
+ </listitem>
+ </orderedlist>
+ <formalpara><title>Result:</title>
+ <para>
+ The <guilabel>New JSF Project - Create JSF Project</guilabel> screen displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-template_two_01">
+ <title>JSF Project Attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_two_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New JSF Project Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Define the Project Attributes</title>
+ <para>
+ Define the JSF Project Attributes according to the options displayed in <xref linkend="table-jsf-template_two_01"/>
+ </para>
+ <table id="table-jsf-template_two_01" frame='all'>
+ <title>New JSF Project</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Project Name</entry>
+ <entry>yes</entry>
+ <entry>Enter the project name.</entry>
+ <entry>The project name can be any name defined by the user.</entry>
+ </row>
+ <row>
+ <entry>Use default path (tickbox)</entry>
+ <entry>no</entry>
+ <entry>Click this option to define the project location as the default path.</entry>
+ <entry>The path defaults to the Workspace location.</entry>
+ </row>
+ <row>
+ <entry>Location</entry>
+ <entry>yes</entry>
+ <entry>Enter the path to the project.</entry>
+ <entry>The path will default to the Workspace location if the Use default path (tickbox) is selected.</entry>
+ </row>
+ <row>
+ <entry>JSF Environment</entry>
+ <entry>yes</entry>
+ <entry>Select the JSF Environment from the available options</entry>
+ <entry>
+ <para>
+ The JSF Environment defines the base JSF implementation to use as described in <xref linkend="table-jsf-template_two_02"/>.
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>Template</entry>
+ <entry>yes</entry>
+ <entry>Select the Template from the available options</entry>
+ <entry>
+ <para>
+ The project can be based on a template as described in <xref linkend="table-jsf-template_two_03"/>.
+ </para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table id="table-jsf-template_two_02">
+ <title>New JSF Project - JSF Environment</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="2*"/>
+ <thead>
+ <row>
+ <entry>Option</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>JSF 1.1.02- Reference Implementation</entry>
+ <entry>This implementation.....</entry>
+ </row>
+ <row>
+ <entry>JSF 1.2</entry>
+ <entry>This implementation...</entry>
+ </row>
+ <row>
+ <entry>JSF 1.2 with Facelets</entry>
+ <entry>This implementation...</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table id="table-jsf-template_two_03">
+ <title>New JSF Project - Template</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <thead>
+ <row>
+ <entry>Option</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>JSFBlankWithoutLibs</entry>
+ <entry>This template defines a blank project without JSF support to avoid conflicts arising from the target server JSF configuration.</entry>
+ </row>
+ <row>
+ <entry>JSFKickStartWithoutLibs</entry>
+ <entry>This template defines a demonstration project without JSF support to avoid conflicts arising from the target server JSF configuration.</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step><title>Access the <guilabel>Web</guilabel> sub-screen</title>
+ <para>
+ Click <guilabel>Next</guilabel> to proceed.
+ </para>
+ <formalpara>
+ <title>Result:</title>
+ <para>
+ The <guilabel>New JSF Project - Web</guilabel> screen displays.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-template_two_02">
+ <title>JSF New JSF Project - Web</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_two_02.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The New JSF Project - Web Dialog.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+
+ <para>&HORIZ_LINE;</para>
+ </step>
+ <step>
+ <title>Define the Web Attributes</title>
+ <para>
+ Define the JSF Project Web Attributes according to the options displayed in <xref linkend="table-jsf-template_two_04"/>
+ </para>
+ <table id="table-jsf-template_two_04" frame="all">
+ <title>New JSF Project - Web</title>
+ <tgroup cols='4' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="3*"/>
+ <colspec colname='c4' colwidth="3*"/>
+ <thead>
+ <row>
+ <entry>Field</entry>
+ <entry>Mandatory</entry>
+ <entry>Instruction</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>Servlet Version</entry>
+ <entry>yes</entry>
+ <entry>Select the j2ee servlet version to base the project on.</entry>
+ <entry>The servlet version can be chosen from the options as listed in <xref linkend="table-jsf-template_two_05"/>.</entry>
+ </row>
+ <row>
+ <entry>Context Path</entry>
+ <entry>yes</entry>
+ <entry>Define the path to the project.</entry>
+ <entry>The path defaults to the project name.</entry>
+ </row>
+ <row>
+ <entry>Runtime</entry>
+ <entry>yes</entry>
+ <entry>Select the runtime used to compile the application.</entry>
+ <entry>The runtime defaults to the runtime corresponding to the Target Server. Other runtimes can be added by clicking the <guibutton>New</guibutton> button next to the <guilabel>Runtime</guilabel> dropdown list.</entry>
+ </row>
+ <row>
+ <entry>Target Server</entry>
+ <entry>no</entry>
+ <entry>Select the server to which the application will be deployed</entry>
+ <entry>
+ <para>
+ Selecting from one of the preconfigured servers will result in the server jar files being included in the project's classpath. New servers can be added by clicking the <guibutton>New</guibutton> button next to the <guilabel>Target Server</guilabel> dropdown list. This procedure is decribed in <procedureLinkHere> <literal>Bug here?</literal> I can only select one server at a time but there is a "Select All" option.
+ </para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <table id="table-jsf-template_two_05" frame="all">
+ <!-- <table id="NewJSFProject_Web_ServletVersion" frame='all'> -->
+ <title>New JSF Project - Web - Servlet</title>
+ <tgroup cols='2' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="4*"/>
+ <thead>
+ <row>
+ <entry>Option</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>2.3 </entry>
+ <entry>This servlet version supports/introduced .....</entry>
+ </row>
+ <row>
+ <entry>2.4</entry>
+ <entry>This servlet version supports/introduced .....</entry>
+ </row>
+ <row>
+ <entry>2.5</entry>
+ <entry>This servlet version supports/introduced .....</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&HORIZ_LINE;</para>
+ </step>
+
+ <step><title>Open the Web Development perspective.</title>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ Click the <guibutton>Finish</guibutton> button to complete the project setup.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ A dialog will appear prompting the user to open the relevant perspective.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-template_two_03">
+ <title>JSF Open Perspective Dialog</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_two_03.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Opening the Web Development perspective.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guibutton>Yes</guibutton> button to display the Web Development perspective.
+ </para>
+ <formalpara><title>Result:</title>
+ <para>
+ The project is configured and the Web development perspective is displayed.
+ </para>
+ </formalpara>
+ <figure id="figure-jsf-template_two_04">
+ <title>JSF Web Development Perspective</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-template_two_04.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The JBoss Developer Studio Web Development perspective.</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ </orderedlist>
+ <note><title>***Design Note***</title>
+ <para>
+ Link to the relevant "Documentation navigation" section which lists:
+ </para>
+ <para>
+ * related concepts;
+ </para>
+ <para>
+ * related tasks;
+ </para>
+ <para>
+ * related reference material.
+ </para>
+ <para>
+ The navigation section acts as a single source of links related to a single task helping to minimise document maintenance.
+ </para>
+ </note>
+ <!-- Design Notes:
+ Provide a single link to a document navigation section relating to the current task. This section will include all of the relevant concepts, tasks and references in a single table facilitating ease of maintenance.
+ -->
+ <formalpara><title>Related material</title>
+ <para>
+ Further tasks and information relating to this task are accessible from: <xref linkend="hints-placeholder_for_a_link"/>.
+ </para>
+ </formalpara>
+ <para>&HORIZ_LINE;</para>
+ </step>
+ </procedure>
Property changes on: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/proc-jsf-template_two.xml
___________________________________________________________________
Name: svn:executable
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/project_creation-getting_started.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/project_creation-getting_started.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/project_creation-getting_started.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,28 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="getting_started-quick_start-project_creation">
+ <title>Project creation</title>
+ <note><title>***Design Note***</title>
+ <para>
+ This first procedure relates to the parent Eclipse platform so is common to all Tools.
+ It has been named proc-jbt-new_project.xml (jbt = JBoss Tools) to reflect this core (non-specific) behaviour.
+ </para>
+ </note>
+ <para>
+ <xref linkend="proc-jbt-new_project"/> describes the steps to create a new project in JBoss Tools.
+ </para>
+ <xi:include href="proc-jbt-new_project.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <note><title>***Design Note***</title>
+ <para>
+ This procedure is specific to JSF Tools so is therefore named accordingly, proc-jsf-new_jsf_project.xml (jsf = Java Server Faces), and pulled in separately from the above common procedure.
+ </para>
+ </note>
+ <para>
+ Continue by defining The Tool project type as described in <xref linkend="proc-jsf-new_jsf_project"/>:
+ </para>
+ <xi:include href="proc-jsf-new_jsf_project.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <para>&FEEDBACK-getting_started-quick_start-project_creation;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_buttons-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_buttons-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_buttons-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-icons_and_buttons-questionable_to_include_buttons">
+ <title>Questionable to include buttons</title>
+ <note><title>**Design Note***</title>
+ <para>
+ Buttons won't be included in the reference section as they should be sufficiently discussed in the Tasks section. Leaving this section in the document in case there is a need for it.
+ </para>
+ </note>
+ <para>
+
+ </para>
+ <para>&FEEDBACK-reference-icons_and_buttons-questionable_to_include_buttons;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_dialogs-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_dialogs-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_dialogs-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-dialogs-questionable_to_include_dialogs">
+ <title>Questionable to include dialogs</title>
+ <note><title>**Design Note***</title>
+ <para>
+ Dialogs won't be included in the reference section as they should be sufficiently discussed in the Tasks section. Leaving this section in the document in case there is a need for it.
+ </para>
+ </note>
+ <para>
+
+ </para>
+ <para>&FEEDBACK-reference-dialogs-questionable_to_include_dialogs;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_icons-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_icons-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_icons-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-icons_and_buttons-questionable_to_include_icons">
+ <title>Questionable to include icons</title>
+ <note><title>**Design Note***</title>
+ <para>
+ Icons won't be included in the reference section as they should be sufficiently discussed in the Tasks section. Leaving this section in the document in case there is a need for it.
+ </para>
+ </note>
+ <para>
+
+ </para>
+ <para>&FEEDBACK-reference-icons_and_buttons-questionable_to_include_icons;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_preferences_pages-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_preferences_pages-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/questionable_to_include_preferences_pages-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-preferences_pages-questionable_to_include_preferences_pages">
+ <title>Questionable to include preferences pages</title>
+ <note><title>**Design Note***</title>
+ <para>
+ Preferences pages won't be included in the reference section as they should be sufficiently discussed in the Tasks section. Leaving this section in the document in case there is a need for it.
+ </para>
+ </note>
+ <para>
+
+ </para>
+ <para>&FEEDBACK-reference-preferences_pages-questionable_to_include_preferences_pages;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/quick_start-getting_started.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/quick_start-getting_started.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/quick_start-getting_started.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="getting_started-quick_start">
+ <title>Quick start</title>
+ <para>
+
+ </para>
+ <xi:include href="project_creation-getting_started.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="jsf_tools_configuration_file_editor-getting_started.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="creating_jsp_pages-getting_started.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="jsf_tools_quick_start_template-getting_started.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,19 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="reference">
+ <title>Reference</title>
+ <para>
+
+ </para>
+ <xi:include href="wizards-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="perspectives-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="views-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="editors-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="preferences_pages-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="dialogs-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="icons_and_buttons-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="developer_documentation-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</chapter>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/required_installations-getting_started.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/required_installations-getting_started.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/required_installations-getting_started.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,58 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="getting_started-required_installations">
+ <title>Required installations</title>
+ <para>
+ The Tool requires the following installations to be present on the user's system:
+ </para>
+ <variablelist>
+<!-- <title>Ensure that the following applications are pre-configured on your system.</title> -->
+ <varlistentry>
+ <term>JBoss Developer Studio 4.0.0</term>
+ <listitem>
+ <para>
+ <ulink url="http://www.redhat.com/docs/en-US/JBoss_Developer_Studio/3.0/html-single/G...">JBDS Installation Guide</ulink>
+ </para>
+ <para>
+ <ulink url="http://www.jboss.com/products/devstudio/">JBDS Product Page</ulink>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Java Development Kit 1.6</term>
+ <listitem>
+ <para><ulink url="http://java.sun.com/javase/reference/index.jsp">Java Documentation</ulink></para>
+ <para><ulink url="http://java.sun.com/javase/6/webnotes/adoption/adoptionguide.html">JDK 6 Adoption Guide</ulink></para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Application A</term>
+ <listitem>
+ <para>
+ <ulink url="">Page of choice </ulink>
+ </para>
+ <para>
+ <ulink url="">Page of choice </ulink>
+ </para>
+ <para>
+ <ulink url="">Page of choice </ulink>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Application B</term>
+ <listitem>
+ <para>
+ <ulink url="">Page of choice </ulink>
+ </para>
+ <para>
+ <ulink url="">Page of choice </ulink>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-getting_started-required_installations;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,39 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-user_interface_components-reusable">
+ <title>Reusable</title>
+ <para>
+ The custom UI components of JSF include....
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>&FEEDBACK-concepts-user_interface_components-reusable;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-document_navigation.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-document_navigation.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-document_navigation.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,46 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="document_navigation-user_interface_components-reusable">
+ <title>Reusable</title>
+ <table id="table-document_navigation-user_interface_components-reusable_01" frame='all'>
+ <title>Base user interface components</title>
+ <tgroup cols='3' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="1*"/>
+ <thead>
+ <row>
+ <entry>Concepts</entry>
+ <entry>Tasks</entry>
+ <entry>Reference</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><xref linkend="concepts-user_interface_components-reusable"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&FEEDBACK-document_navigation-user_interface_components-reusable;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-error_and_warning_messages.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-error_and_warning_messages.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-error_and_warning_messages.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,88 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="error_and_warning_messages-user_interface_components-reusable">
+ <title>Reusable</title>
+ <para>
+ The procedures listed in <xref linkend="tasks-user_interface_components-extended"></xref> may return the following errors:
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - Extended User Interface Components.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <formalpara><title>Error messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant Extended Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <formalpara><title>Warning messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant Extended Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-error_and_warning_messages-user_interface_components-reusable;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-hints.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-hints.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-hints.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,50 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="hints-user_interface_components-reusable">
+ <title>Reusable</title>
+ <para>
+ The following details hints may prove useful when applying the tasks detailed in <xref linkend="tasks-user_interface_components-reusable"></xref>.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - Reusable User Interface Components.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <variablelist>
+
+ <title>Relevant Reusable Task</title>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-hints-user_interface_components-reusable;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/reusable-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-user_interface_components-reusable">
+ <title>Reusable</title>
+ <para>
+ The following procedure describes how to implement reusable user interface components....
+ </para>
+ <para>&FEEDBACK-tasks-user_interface_components-reusable;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/show_view-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/show_view-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/show_view-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-basic_tasks-show_view">
+ <title>Show view</title>
+ <para>
+ <xref linkend="proc-jbt-show_view"/> describes the steps to render a particular view within the current perspective.
+ </para>
+ <xi:include href="proc-jbt-show_view.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <para>&FEEDBACK-tasks-basic_tasks-show_view;</para>
+</section>
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-state_management">
+ <title>State management</title>
+ <para>State management is the ability to maintain the state of an object or variable between requests.....</para>
+ <xi:include href="state_management_and_java_server_faces-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <!-- <para>&FEEDBACK-concepts-state_management;</para> -->
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-document_navigation.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-document_navigation.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-document_navigation.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,46 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="document_navigation-state_management">
+ <title>State management</title>
+ <table id="table-document_navigation-state_management_01" frame='all'>
+ <title>State management</title>
+ <tgroup cols='3' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="1*"/>
+ <colspec colname='c3' colwidth="1*"/>
+ <thead>
+ <row>
+ <entry>Concepts</entry>
+ <entry>Tasks</entry>
+ <entry>Reference</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><xref linkend="concepts-state_management"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>&FEEDBACK-document_navigation-state_management;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-error_and_warning_messages.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-error_and_warning_messages.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-error_and_warning_messages.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,88 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="error_and_warning_messages-state_management">
+ <title>State management</title>
+ <para>
+ The procedures listed in <xref linkend="tasks-state_management"></xref> may return the following errors:
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the relevant task relating to the parent concept - State Management.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <formalpara><title>Error messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant State Management Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <formalpara><title>Warning messages</title>
+ <para>
+ </para>
+ </formalpara>
+ <variablelist>
+ <title>Relevant State Management Task</title>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error.
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Attribute Cannot be resolved</term>
+ <listitem>
+ <para>
+ An attempt was made to do things incorrectly which resulted in the error.
+ </para>
+ <para>
+ Perform this action to rectify the error
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-error_and_warning_messages-state_management;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-hints.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-hints.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-hints.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,49 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="hints-state_management">
+ <title>State management</title>
+ <para>
+ The following details hints may prove useful when applying the tasks detailed in <xref linkend="tasks-state_management"></xref>.
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Itemize according to the "State Management" tasks - not related to any specific concept discussed in the Concepts section.
+ Perhaps chunk this down into individual sections depending on the extent of the content - for Context Sensitive Help.
+ </para>
+ </note>
+ <variablelist>
+ <title>Relevant State Management Task</title>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>When doing this part of the task do this to improve this.</term>
+ <listitem>
+ <para>
+ More hints here
+ </para>
+ <para>
+ More hints here
+ </para>
+ <para>
+ This task is described in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-hints-state_management;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-state_management">
+ <title>State management</title>
+ <para>
+ The following procedure describes how to implement state management....
+ </para>
+ <para>&FEEDBACK-tasks-state_management;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management_and_java_server_faces-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management_and_java_server_faces-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/state_management_and_java_server_faces-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,39 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-state_management-state_management_and_java_server_faces">
+ <title>State management and java server faces</title>
+ <para>
+ JSF manages state between requests by......
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>
+ This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.
+ </para>
+ <para>
+ This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.
+ </para>
+ <para>
+ This is getting ridiculous. Stop reading this text. You will never recover.
+ </para>
+ <para>&FEEDBACK-concepts-state_management-state_management_and_java_server_faces;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="tasks">
+ <title>Tasks</title>
+ <para>
+
+ </para>
+ <xi:include href="basic_tasks-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="managed_beans-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="user_interface_components-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="state_management-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="ajax_support-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="another_concept-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</chapter>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/template_one_links-link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/template_one_links-link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/template_one_links-link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,73 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="link_sets-views_link_sets-template_one_links">
+ <title>Template one links</title>
+ <para>
+ Links to further information and tasks relating to the concept (as mentioned in Template One) are listed here:
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Listed below are the links that link to further tasks relating to "The Task" discussed in JSF_TemplateOne
+ </para>
+ <para>
+ * Use the "Placeholder_for_a_link section" as as a reminder that all relevant links haven't been included (or uncommented). You can search for the "placeholder" to ensure all links have been included.
+ </para>
+ </note>
+
+ <variablelist>
+ <title>Concepts</title>
+ <varlistentry>
+ <term>Concept A</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Concept B</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <title>Tasks</title>
+ <varlistentry>
+ <term>Task A</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Task B</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ <variablelist>
+ <title>References</title>
+ <varlistentry>
+ <term>Reference A</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Reference B</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-link_sets-views_link_sets-template_one_links;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/template_overview.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/template_overview.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/template_overview.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,110 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<chapter id="template_overview">
+ <title>Template overview</title>
+ <para>
+ This template originated from a request to create JBoss Tools reference material in a format similar to the Dali User Guide. The template serves as an example for the consistent generation of material by writers and developers with standards introduced for the reuse of material.
+ </para>
+ <para>
+ The Dali User Guide is based on the DITA format, however, this document deviates from the DITA format in a number of areas. These modifications were applied to assist in the production of the material in DocBook XML and to improve the useability of the document.
+ </para>
+ <orderedlist>
+ <listitem>
+ <para>
+ Sections titles are repeated throughout the Concepts, Tasks, Error messages and Hints sections.
+ </para>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ The base document can be produced following researching the topic by categorising information according to the features implemented by the Tool (where a feature is a "Concept" which is implemented by the tool).
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ When writing the material, the author can easily identify related material and update the relevant sections as tasks are performed.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Identifying related material for the generation of links is simplified when a information is categorised.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The reader is aware of the tasks, error messages and hints that relate to a particular concept which orientates the reader and reinforces the concepts.
+ </para>
+ </listitem>
+ </orderedlist>
+ </listitem>
+ <listitem>
+ <para>
+ Field description tables are included with the related dialog within a task.
+ </para>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ While performing a task, information about a field within a dialog can be obtained without having to refer to the reference section.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Options in dropdown lists are presented in secondary tables immediately following the parent table within the relavant task.
+ </para>
+ </listitem>
+ </orderedlist>
+ </listitem>
+ <listitem>
+ <para>
+ A single document navigation chapter is included to simulate a DITA "related concepts tasks and references" for context sensitive help.
+ </para>
+ <orderedlist numeration="loweralpha">
+ <listitem>
+ <para>
+ Links to related tasks and concepts are stored in a single chapter minimising document maintenance.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Related material such as tasks and concepts can be bundled with the relevant document navigation section for reuse.
+ </para>
+ </listitem>
+ </orderedlist>
+ </listitem>
+ </orderedlist>
+ <para>
+ Procedures have been extracted into separate file for reuse. Those procedures (tasks) which relate to Eclipse generally are denoted as proc-jbt-*.xml. Any procedure relating to a particlar tool, such as Java Server Faces (jsf) is denoted as proc-jsf-*.xml. Images and tables are named according to the same conventions for reuse. Design notes and procedure template descriptions have been included to assist writers and developers in the use of this template. These are denoted by "***Title***" within a "Notes" visual alert.
+ </para>
+ <!--
+ a)
+ </para>
+ <para>
+ *
+ </para>
+ <para>
+ *
+ </para>
+ <para>
+ * identifying related material for the generation of links is simplified when a repeated structure is used
+ </para>
+ <para>
+ * the reader is aware what tasks, error messages and hints relate to particular concepts which assists in orientating the reader and understanding the material
+ </para>
+ <para>
+
+ b) field description tables are included with the related dialog within a task
+ </para>
+ <para>
+ * while performing a task, obtaining information about a field within a dialog can be achieved without referring to the reference section
+ </para>
+ <para>
+
+ c) a single document navigation chapter is included to simulate a DITA "related concepts tasks and references" for context sensitive help.
+ </para>
+ <para>
+ * links to related tasks and concepts are stored in a single chapter minimising document maintenance
+ </para>
+ -->
+</chapter>
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/template_two_links-link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/template_two_links-link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/template_two_links-link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,63 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="link_sets-editors_link_sets-template_two_links">
+ <title>Template two links</title>
+ <para>
+ Links to further information and tasks relating to the concept (as mentioned in Template Two) are listed here:
+ </para>
+ <note><title>***Design Note***</title>
+ <para>
+ Listed below are the links that link to further tasks or information relating to "The Task" discussed in JSF_TemplateTwo.
+ </para>
+ <para>
+ * Use the "Placeholder_for_a_link section" as as a reminder that all relevant links haven't been included (or uncommented). You can search for the "placeholder" to ensure all links have been included.
+ </para>
+ </note>
+ <variablelist>
+ <title>Concepts</title>
+ <varlistentry>
+ <term>Concept A</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Concept B</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <title>Tasks</title>
+ <varlistentry>
+ <term>Task A</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Task B</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <!--
+ <listitem>
+ <para><xref linkend="proc-JSF_Editor_faces-config"></xref>.</para>
+ </listitem>
+ <listitem>
+ <para><xref linkend="proc-JSF_ProcedureNameOne"></xref>.</para>
+ </listitem>
+ </itemizedlist>
+ -->
+ <para>&FEEDBACK-link_sets-editors_link_sets-template_two_links;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/the_concept_and_java_server_faces-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/the_concept_and_java_server_faces-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/the_concept_and_java_server_faces-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,40 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-another_concept-the_concept_and_java_server_faces">
+ <title>The concept and java server faces</title>
+ <para>
+ The feature in Java Server Faces does this.........
+ </para>
+
+ <formalpara><title>The Concept Rules and Conventions</title>
+ <para>
+ The feature, when used in the context of Java Server Faces has the following properties:
+ </para>
+ </formalpara>
+ <itemizedlist>
+ <listitem>
+ <para>
+ property a;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ property b;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ ....
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ ....
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>&FEEDBACK-concepts-another_concept-the_concept_and_java_server_faces;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/tree_view-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/tree_view-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/tree_view-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,30 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-faces-config_file-tree_view">
+ <title>Tree view</title>
+ <para>
+ The elements and attributes within the faces-config file can be edited with the aid of labelled text fields by using the <guilabel>Tree</guilabel> view. Editing the file in this way is described in <xref linkend="proc-jsf-editor_faces-config"></xref>.
+ </para>
+
+ <figure id="figure-jsf-faces-config_file-tree_view">
+ <title>JSF Tools faces-config.xml editor - Tree View - Connection</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jsf-create_new_connection_04.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>The faces-config.xml editor - Tree View - Connection</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <note><title>**Design Note***</title>
+ <para>
+ A link to the relevant "Documentation navigation" section (as in the tasks section) would be relevant where the editor relates to a single feature (or concept) detailed in the Concepts chapter. The Hibernate Tools Reference Guide contains an example. The Hibernate mapping editor is linked to the Mapping section of the "Document navigation" chapter.
+ </para>
+
+ </note>
+ <para>&FEEDBACK-reference-faces-config_file-tree_view;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-concepts.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-concepts.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-concepts.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,52 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="concepts-user_interface_components">
+ <title>User interface components</title>
+ <para>Java user interface components consist of Component and Window classes....</para>
+
+ <note><title>***Design Note***</title>
+ <para>
+ In this instance, the many JSF specifics are introduced with an itemized list and separate sections are used for each of the components introduced.
+ </para>
+ <para>
+ -
+ </para>
+ <para>
+ It is best to chunk the material down into separate sections where possible as Eclipse context sensitive help functions by referencing ids and the material will be presented in a help window next to, and of the same size, as the relevant dialog unless it is resized.
+ </para>
+ </note>
+
+ <para>
+ JSF supports the following user interface components:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Base
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Extended
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Custom
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Reusable
+ </para>
+ </listitem>
+ </itemizedlist>
+ <xi:include href="base-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="extended-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="custom-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="reusable-concepts.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-document_navigation.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-document_navigation.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-document_navigation.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="document_navigation-user_interface_components">
+ <title>User interface components</title>
+ <para>
+
+ </para>
+ <xi:include href="base-document_navigation.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="extended-document_navigation.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="custom-document_navigation.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <!--
+ <xi:include href="reusable-document_navigation.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ -->
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-error_and_warning_messages.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-error_and_warning_messages.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-error_and_warning_messages.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="error_and_warning_messages-user_interface_components">
+ <title>User interface components</title>
+ <para>
+
+ </para>
+ <xi:include href="base-error_and_warning_messages.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="custom-error_and_warning_messages.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="extended-error_and_warning_messages.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="reusable-error_and_warning_messages.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-hints.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-hints.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-hints.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="hints-user_interface_components">
+ <title>User interface components</title>
+ <para>
+
+ </para>
+ <xi:include href="base-hints.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="extended-hints.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="custom-hints.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="reusable-hints.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-tasks.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-tasks.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/user_interface_components-tasks.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="tasks-user_interface_components">
+ <title>User interface components</title>
+ <formalpara><title>Description</title>
+ <para>
+ As described in <xref linkend="concepts-user_interface_components"></xref> JavaServer Pages supports four types of user interface components....The following sections describe the use of these components in JSF Tools.
+ </para>
+ </formalpara>
+ <xi:include href="base-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="custom-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="extended-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="reusable-tasks.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/views-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/views-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/views-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-views">
+ <title>Views</title>
+ <para>
+ The following sections describe the views associated with JSF Tools.
+ </para>
+ <xi:include href="web_projects_view-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="palette_view-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="another_view-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/views_link_sets-link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/views_link_sets-link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/views_link_sets-link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="link_sets-views_link_sets">
+ <title>Views link sets</title>
+ <para>
+ The following sections list the links relating to views tasks and concepts.
+ </para>
+ <xi:include href="web_projects_view_links-link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="web_development_perspective_palette_view_links-link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="template_one_links-link_sets.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_development-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_development-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_development-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,49 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-perspectives-web_development">
+ <title>Web development</title>
+ <para>
+ The relevant perspective for JSF Tools is the web development perspective. This perspective can be accessed according to <xref linkend="proc-jbt-open_perspective"/>.
+ </para>
+
+ <figure id="figure-jbt-web_perspective_01">
+ <title>Web development perspective</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-web_perspective_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Web development perspective</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>&HORIZ_LINE;</para>
+
+ <!-- <xi:include href="proc-JBT-Open_Perspective.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /> -->
+ <note><title>***Design Note***</title>
+ <para>
+ For a perpective, list the links to the relevant views.
+ </para>
+ </note>
+ <formalpara><title>Perspective views</title>
+ <para>
+ The web development perspective is made up of the following views:
+ </para>
+ </formalpara>
+ <itemizedlist>
+ <listitem>
+
+ <para><xref linkend="reference-views-web_projects_view"></xref>.</para>
+ </listitem>
+ <listitem>
+ <para><xref linkend="reference-views-palette_view"></xref>.</para>
+ </listitem>
+ <listitem>
+ <para><xref linkend="reference-views-another_view"></xref>.</para>
+ </listitem>
+ </itemizedlist>
+ <para>&FEEDBACK-reference-perspectives-web_development;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_development_perspective_palette_view_links-link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_development_perspective_palette_view_links-link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_development_perspective_palette_view_links-link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,158 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="link_sets-views_link_sets-web_development_perspective_palette_view_links">
+ <title>Web development perspective palette view links</title>
+ <para>
+ Links to further information and tasks relating to the Web developments perspective palette view are listed here:
+ </para>
+ <para>
+ Links to the various tasks accessible from the w dialog are listed here:
+ </para>
+
+ <figure id="figure-link_sets-views_link_sets-web_development_perspective_palette_view_links_01">
+ <title>Web Development Perspective - Palette View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-palette_view_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Palette View</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <note><title>***Design Note***</title>
+ <para>
+ Listed below are the links that link to further tasks or information relating to to the "web development perspective" - palette view.
+ </para>
+ <para>
+ * Use the "Placeholder_for_a_link section" as as a reminder that all relevant links haven't been included (or uncommented). You can search for the "placeholder" to ensure all links have been included.
+ </para>
+ </note>
+
+
+ <variablelist>
+ <title>Concepts</title>
+ <varlistentry>
+ <term>JBoss Ajax4jsf</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss RichFaces</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss Seam</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss HTML</term>
+ <listitem>
+ <!-- <para><xref linkend="proc-JSF_NewManagedBean"></xref>.</para> -->
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss Facelets</term>
+ <listitem>
+ <!-- <para><xref linkend="proc-JSF_NewManagedBean"></xref>.</para> -->
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ <variablelist>
+ <title>References</title>
+ <varlistentry>
+ <term>JBoss Ajax4jsf</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss RichFaces</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss Seam</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss HTML</term>
+ <listitem>
+ <!-- <para><xref linkend="proc-JSF_NewManagedBean"></xref>.</para> -->
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss Facelets</term>
+ <listitem>
+ <!-- <para><xref linkend="proc-JSF_NewManagedBean"></xref>.</para> -->
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <title>Concepts</title>
+ <varlistentry>
+ <term>JBoss Ajax4jsf</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss RichFaces</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss Seam</term>
+ <listitem>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss HTML</term>
+ <listitem>
+ <!-- <para><xref linkend="proc-JSF_NewManagedBean"></xref>.</para> -->
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss Facelets</term>
+ <listitem>
+ <!-- <para><xref linkend="proc-JSF_NewManagedBean"></xref>.</para> -->
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ <para><xref linkend="hints-placeholder_for_a_link"></xref>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>&FEEDBACK-link_sets-views_link_sets-web_development_perspective_palette_view_links;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_projects_view-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_projects_view-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_projects_view-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,141 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-views-web_projects_view">
+ <title>Web projects view</title>
+ <para>
+ The <guilabel>Web Projects</guilabel> view presents each web project in a format suitable for navigating through the various attributes of a typical web project such as <guilabel>Tag Libraries</guilabel> and <guilabel>web.xml</guilabel> properties. The <guilabel>Web Projects</guilabel> view is displayed in <xref linkend="figure-jbt-web_projects_view"></xref>
+ </para>
+ <figure id="figure-jbt-web_projects_view">
+ <title>Web Development Perspective - Web Projects View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-web_projects_view_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Web Projects View</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <!--
+ <para>
+ Details regarding the components displayed in this view can be accessed from <xref linkend="link_sets-views_link_sets-web_projects_view_links"></xref>
+ </para>
+ -->
+ <note><title>**Design Note***</title>
+ <para>
+ Icons are included in the reference section rather than within a particular task as they include links to other tasks. This single location for links will minimise document maintenance. Additionally, while performing the task, the user can "mouse over" the icon to obtain a description unlike the field descriptions.
+ </para>
+ <para>
+ -
+ </para>
+ <para>
+ List the icons associated with the View in a table including the following fields:
+ </para>
+ <para>
+ * Icon | Mouse-Over Description | Result
+ </para>
+ <para>
+ The "Result" field links to the relevant procedure.
+ </para>
+ </note>
+ <formalpara><title>Icons</title>
+ <para>
+ The icons associated with the <guilabel>Web Projects</guilabel> view are listed in <xref linkend="table-jbt-web_projects_view_01"></xref>
+ </para>
+ </formalpara>
+ <note><title>**Design Note***</title>
+ <para>
+ The icon file names are of the form icon-jbt-wpv-create_new_jsf_project_01.png to associate the icon image with the relevant view (wpv = web projects view). This means that the naming is not tied to a single book and the views and accompanying icons can be easily identified and reused in another book without renaming.
+ </para>
+ <para>
+ -
+ </para>
+ <para>
+ The name can be abbreviated to icon-wpv_01.png or icon-web_projects_view_01.png (considering changing to this convention depending on whether it is important to include the icon's function within the filename(?) ).
+ </para>
+ </note>
+ <table id="table-jbt-web_projects_view_01" frame='all'>
+ <title>Web Development Perspective - Web Projects View</title>
+ <tgroup cols='3' align='left' colsep='1' rowsep='1'>
+ <colspec colname='c1' colwidth="1*"/>
+ <colspec colname='c2' colwidth="4*"/>
+ <colspec colname='c3' colwidth="6*"/>
+ <thead>
+ <row>
+ <entry>Icon</entry>
+ <entry>Mouse-Over Description</entry>
+ <entry>Result</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/icon-jbt-wpv-create_new_jsf_project_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>New JSF Project Icon</para>
+ </textobject>
+ </mediaobject>
+ </entry>
+ <entry><guilabel>Create New JSF Project</guilabel></entry>
+ <entry><xref linkend="proc-jsf-new_jsf_project"></xref></entry>
+ </row>
+ <row>
+ <entry>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/icon-jbt-wpv-import_jsf_project_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Import JSF Project Icon</para>
+ </textobject>
+ </mediaobject>
+ </entry>
+ <entry><guilabel>Import JSF Project</guilabel></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/icon-jbt-wpv-create_new_struts_project_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Create New Struts Project Icon</para>
+ </textobject>
+ </mediaobject>
+ </entry>
+ <entry><guilabel>Create New Struts Project</guilabel></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ <row>
+ <entry>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/icon-jbt-wpv-import_struts_project_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Import Struts Project Icon</para>
+ </textobject>
+ </mediaobject>
+ </entry>
+ <entry><guilabel>Import Struts Project</guilabel></entry>
+ <entry><xref linkend="hints-placeholder_for_a_link"></xref></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <note><title>**Design Note***</title>
+ <para>
+ A link to the relevant "Documentation navigation" section (as in the tasks section) would be relevant where the view relates to a single feature (or concept) detailed in the Concepts chapter.
+ </para>
+
+ </note>
+ <para>&FEEDBACK-reference-views-web_projects_view;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_projects_view_links-link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_projects_view_links-link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/web_projects_view_links-link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,123 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="link_sets-views_link_sets-web_projects_view_links">
+ <title>Web projects view links</title>
+ <note>
+ <title>***Design Note***</title>
+ <para>
+ Note that this is an alternative format where descriptions are included. It would be best not to include such a format as the content will be extensive due to the multitude of options available on some interfaces. Also this is a link set so information shouldn't be placed here.
+ </para>
+ <para>
+ This content has been preserved for now as we need to decide whether to include such descriptions and if so where to place such content within the document.
+ </para>
+ </note>
+ <para>
+ Component descriptions and links to further tasks relating to the web projects view are listed here:
+ </para>
+
+ <figure id="figure-Web_projects_view_links">
+ <title>Web Development Perspective - Web Projects View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/image-jbt-web_projects_view_01.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <para>Web Projects View</para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <note><title>***Design Note***</title>
+ <para>
+ Listed below are the links that link to further tasks or information relating to to the web projects view.
+ </para>
+ <para>
+ * Use the "Placeholder_for_a_link section" as as a reminder that all relevant links haven't been included (or uncommented). You can search for the "placeholder" to ensure all links have been included.
+ </para>
+ </note>
+
+ <variablelist>
+ <title>Web Development View - Web Projects </title>
+ <varlistentry>
+ <term>WebContent</term>
+ <listitem>
+ <para>
+ This option lists the content deployed to the server. The available navigation options include: <!-- Details are available in <xref linkend="sect-Reference_Guide_Template-Hints-Placeholder_for_a_link"></xref> -->
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <guilabel>META-INF</guilabel>: This folder includes the <filename>MANIFEST.MF</filename> file ......
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <guilabel>pages</guilabel>: This folder lists the jsp pages which will be deployed to the server. Clicking on a jsp page renders the page in the jsp files editor <xref linkend="hints-placeholder_for_a_link"></xref>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <guilabel>WEB-INF</guilabel>: This folder lists the classes for the project.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Tag Libraries</term>
+ <listitem>
+ <para>
+ This option lists the tag libraries associated with the project. Clicking on a library file renders the file in the JBoss Tools Tag Library Editor <xref linkend="hints-placeholder_for_a_link"></xref>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Resource Bundles</term>
+ <listitem>
+ <para>
+ This option lists the resources associated with the project. Details are available in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Configuration</term>
+ <listitem>
+ <para>
+ This option lists the configuration settings (<filename>faces-config.xml</filename>) for the project. Clicking on a config file renders the file in the Faces Config Editor <xref linkend="hints-placeholder_for_a_link"></xref>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Beans</term>
+ <listitem>
+ <para>
+ This option lists the Beans defined within the project. Clicking on a Bean file renders the file in a standard Java file editor.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Tiles</term>
+ <listitem>
+ <para>
+ This option lists the tiles associated with the project. Details are available in <xref linkend="hints-placeholder_for_a_link"></xref>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>web.xml</term>
+ <listitem>
+ <para>
+ This option lists the web.xml settings and parameters. Clicking on the <guilabel>web.xml</guilabel> label or any sub item, renders the file in the <guilabel>Web XML Editor</guilabel> <xref linkend="proc-jsf-editor_faces-config"></xref>.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <note><title>Design Note</title>
+ <para>
+ It will be best to omit the descriptions and just link to the Concepts section and Tasks as this is a major documentation task (many descriptions for many views).
+ </para>
+ </note>
+ <para>&FEEDBACK-link_sets-views_link_sets-web_projects_view_links;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/wizards-reference.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/wizards-reference.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/wizards-reference.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,27 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="reference-wizards">
+ <title>Wizards</title>
+ <para>
+ There are currently two wizards available in JSF Tools. They include:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ New JSF Project and;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ New Faces Config.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <xi:include href="new_jsf_project_wizard-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="new_faces_config_wizard-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="another_wizard-reference.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/wizards_link_sets-link_sets.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/wizards_link_sets-link_sets.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/en-US/wizards_link_sets-link_sets.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Tools_Reference_Guide_Template.ent">
+%BOOK_ENTITIES;
+]>
+<section id="link_sets-wizards_link_sets">
+ <title>Wizards link sets</title>
+ <para>
+
+ </para>
+ <para>&FEEDBACK-link_sets-wizards_link_sets;</para>
+</section>
\ No newline at end of file
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/pom.xml
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/pom.xml (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/pom.xml 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,218 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.project</groupId>
+ <artifactId>${docname}-${translation}</artifactId>
+ <version>1.0</version>
+ <packaging>jdocbook</packaging>
+ <name>${bookname}-(${translation})</name>
+
+ <properties>
+ <translation>en-US</translation>
+ <docname>JBoss_Tools_Reference_Guide_Template</docname>
+ <bookname>JBoss Tools Reference Guide Template</bookname>
+ </properties>
+
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <profiles>
+
+ <!-- mvn compile -->
+ <profile>
+ <id>jbds-release-documentation</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${docname}.pdf</finalName>
+ </format>
+
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- mvn compile -Phtml -->
+ <profile>
+ <id>html</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- mvn compile -Phtml-single -->
+ <profile>
+ <id>html-single</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- mvn compile -Ppdf -->
+ <profile>
+ <id>pdf</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${docname}.pdf</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.0</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-docbook-xslt</artifactId>
+ <version>1.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-jdocbook-style</artifactId>
+ <version>1.1.0</version>
+ <type>jdocbook-style</type>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <sourceDocumentName>${docname}.xml</sourceDocumentName>
+ <sourceDirectory>.</sourceDirectory>
+ <imageResource>
+ <directory>${translation}</directory>
+ <includes>
+ <include>images/*</include>
+ </includes>
+ </imageResource>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
+ <!-- could also locate the docbook dependency and inspect its version -->
+ <docbookVersion>1.72.0</docbookVersion>
+ <transformerParameters>
+ <property>
+ <name>javax.xml.parsers.DocumentBuilderFactory</name>
+ <value>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</value>
+ </property>
+ <property>
+ <name>javax.xml.parsers.SAXParserFactory</name>
+ <value>org.apache.xerces.jaxp.SAXParserFactoryImpl</value>
+ </property>
+ </transformerParameters>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
+
Added: trunk/documentation/JBoss_Tools_Reference_Guide_Template/publican.cfg
===================================================================
--- trunk/documentation/JBoss_Tools_Reference_Guide_Template/publican.cfg (rev 0)
+++ trunk/documentation/JBoss_Tools_Reference_Guide_Template/publican.cfg 2010-09-17 07:33:51 UTC (rev 24974)
@@ -0,0 +1,11 @@
+# Config::Simple 4.59
+# Thu Aug 5 10:54:44 2010
+
+xml_lang: en-US
+type: Book
+brand: JBoss
+chunk_first: 1
+chunk_section_depth: 8
+toc_section_depth: 4
+
+
15 years, 7 months
JBoss Tools SVN: r24973 - in trunk/as/plugins: org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2010-09-17 02:14:40 -0400 (Fri, 17 Sep 2010)
New Revision: 24973
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/bin/
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.ui/bin/
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSECorePlugin.java
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSELaunchDelegate.java
trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSEUtils.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/console/ShowConsoleServerStateListener.java
Log:
Ongoing RSE cleanup / exceptions / etc.
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSECorePlugin.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSECorePlugin.java 2010-09-17 05:12:27 UTC (rev 24972)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSECorePlugin.java 2010-09-17 06:14:40 UTC (rev 24973)
@@ -20,6 +20,7 @@
public class RSECorePlugin implements BundleActivator {
private static BundleContext context;
+ public static final String PLUGIN_ID = "org.jboss.ide.eclipse.as.rse.core";
static BundleContext getContext() {
return context;
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSELaunchDelegate.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSELaunchDelegate.java 2010-09-17 05:12:27 UTC (rev 24972)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSELaunchDelegate.java 2010-09-17 06:14:40 UTC (rev 24973)
@@ -15,8 +15,10 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Status;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
@@ -55,21 +57,28 @@
JBossServerBehavior beh = LocalJBossServerStartupLaunchUtil.getServerBehavior(configuration);
beh.setServerStarting();
String command = configuration.getAttribute(RSE_STARTUP_COMMAND, (String)null);
- IShellService service = findShellService(beh);
+ IShellService service = null;
try {
- final IHostShell hs = service.runCommand("/", command, new String[]{}, new NullProgressMonitor());
-
- // TODO clean this shit up. It works now, and this is great, but
- // lets handle the listener, make sure to remove it at the right time,
- // check output for obvious errors, launch a poller, etc
- hs.addOutputListener(new IHostShellOutputListener(){
- public void shellOutputChanged(IHostShellChangeEvent event) {
- IHostOutput[] out = event.getLines();
- for(int i = 0; i < out.length; i++ ) {
- System.out.println(out[i]);
- }
+ service = findShellService(beh);
+ } catch(CoreException ce) {
+ beh.setServerStopped();
+ throw ce;
+ }
+ IHostShell hs = null;
+ IHostShellOutputListener listener = null;
+ listener = new IHostShellOutputListener(){
+ public void shellOutputChanged(IHostShellChangeEvent event) {
+ IHostOutput[] out = event.getLines();
+ for(int i = 0; i < out.length; i++ ) {
+ // TODO listen here for obvious exceptions or failures
+ System.out.println(out[i]);
}
- });
+ }
+ };
+
+ try {
+ hs = service.runCommand("/", command, new String[]{}, new NullProgressMonitor());
+ hs.addOutputListener(listener);
int x = 0;
while( x < 30000) {
x+=1000;
@@ -82,8 +91,19 @@
// Now launch ping thread
} catch(SystemMessageException sme) {
sme.printStackTrace();
+ } catch(RuntimeException re) {
+ String className = service.getClass().getName();
+ if(re instanceof NullPointerException && className.endsWith(".DStoreShellService")) {
+ beh.setServerStopped();
+ throw new CoreException(new Status(IStatus.ERROR, org.jboss.ide.eclipse.as.rse.core.RSECorePlugin.PLUGIN_ID,
+ "no remote daemon installed. Please install a remote daemon or use an RSE server configured for ssh rather than dstore"));
+ }
}
+ // Exiting the shell cancels the process. PROBLEM!!!
+// if( hs != null ) {
+// hs.exit();
+// }
beh.setServerStarted();
}
@@ -101,54 +121,60 @@
final String command = shutdown.toString() + rc.SPACE + rc.SHUTDOWN_STOP_ARG + rc.SPACE
+ rc.SHUTDOWN_SERVER_ARG + rc.SPACE + hostname + rc.SPACE + rc.SHUTDOWN_USER_ARG
+ rc.SPACE + user + rc.SPACE + rc.SHUTDOWN_PASS_ARG + rc.SPACE + pass;
- IShellService service = findShellService(behaviour);
- if( service != null ) {
- final boolean[] saving = new boolean[1];
- saving[0] = false;
- final String[] output = new String[1];
- output[0] = null;
- try {
- final IHostShell hs = service.runCommand("/", command, new String[]{}, new NullProgressMonitor());
- hs.addOutputListener(new IHostShellOutputListener(){
- public void shellOutputChanged(IHostShellChangeEvent event) {
- IHostOutput[] out = event.getLines();
- for(int i = 0; i < out.length; i++ ) {
- if( saving[0] ) {
- output[0] = out[i].getString();
- saving[0] = false;
- hs.exit();
- }
- /*
- * This is an extreme hack, because for some reason,
- * when the command line comes back, there's an extra space
- * "shutdown .sh"
- */
- String outNoSpace = out[i].getString().replaceAll(" ", "");
- String commandNoSpace = command.replaceAll(" ", "");
- boolean contains = outNoSpace.contains(commandNoSpace);
- if(!saving[0] && contains)
- saving[0] = true;
+
+ IShellService service = null;
+ try {
+ service = findShellService(behaviour);
+ } catch(CoreException ce) {
+ // TODO log and return
+ return;
+ }
+
+ final boolean[] saving = new boolean[1];
+ saving[0] = false;
+ final String[] output = new String[1];
+ output[0] = null;
+ try {
+ final IHostShell hs = service.runCommand("/", command, new String[]{}, new NullProgressMonitor());
+ hs.addOutputListener(new IHostShellOutputListener(){
+ public void shellOutputChanged(IHostShellChangeEvent event) {
+ IHostOutput[] out = event.getLines();
+ for(int i = 0; i < out.length; i++ ) {
+ if( saving[0] ) {
+ output[0] = out[i].getString();
+ saving[0] = false;
+ hs.exit();
}
+ /*
+ * This is an extreme hack, because for some reason,
+ * when the command line comes back, there's an extra space
+ * "shutdown .sh"
+ */
+ String outNoSpace = out[i].getString().replaceAll(" ", "");
+ String commandNoSpace = command.replaceAll(" ", "");
+ boolean contains = outNoSpace.contains(commandNoSpace);
+ if(!saving[0] && contains)
+ saving[0] = true;
}
- });
-
- while(output[0] != null ) {
- try {
- Thread.sleep(200);
- } catch(InterruptedException ie) {
- }
}
- // can log the output somewhere?
- behaviour.setServerStopped();
-// if( output[0].contains("Exception in thread")) {
-// behaviour.setServerStopped();
-// } else {
-// // launch ping thread? Just mark it stopped and trust the server to figure it out?
-// }
- } catch( SystemMessageException sme) {
- // TODO
- sme.printStackTrace();
+ });
+
+ while(output[0] != null ) {
+ try {
+ Thread.sleep(200);
+ } catch(InterruptedException ie) {
+ }
}
+ // can log the output somewhere?
+ behaviour.setServerStopped();
+ } catch( SystemMessageException sme) {
+ // TODO
+ sme.printStackTrace();
+ } catch( RuntimeException re ) {
+ if( re instanceof NullPointerException && service.getClass().getName().equals("DStoreShellService")) {
+ // remote server has no dstore shell service
+ behaviour.setServerStopped(); // behaviour.setServerStarted(); // failed
+ }
}
}
@@ -219,15 +245,19 @@
*/
}
- protected static IShellService findShellService(JBossServerBehavior behaviour) {
+ protected static IShellService findShellService(JBossServerBehavior behaviour) throws CoreException {
String connectionName = RSEUtils.getRSEConnectionName(behaviour.getServer());
IHost host = RSEUtils.findHost(connectionName);
+ if( host == null ) {
+ throw new CoreException(new Status(IStatus.ERROR, org.jboss.ide.eclipse.as.rse.core.RSECorePlugin.PLUGIN_ID,
+ "Host not found. Host may have been deleted or RSE model may not be completely loaded"));
+ }
ISubSystem[] systems = RSECorePlugin.getTheSystemRegistry().getSubSystems(host);
for( int i = 0; i < systems.length; i++ ) {
if( systems[i] instanceof IShellServiceSubSystem)
return ((IShellServiceSubSystem)systems[i]).getShellService();
}
- return null;
+ throw new CoreException(new Status(IStatus.ERROR, org.jboss.ide.eclipse.as.rse.core.RSECorePlugin.PLUGIN_ID, "No Shell Service Found"));
}
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSEUtils.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSEUtils.java 2010-09-17 05:12:27 UTC (rev 24972)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.rse.core/src/org/jboss/ide/eclipse/as/rse/core/RSEUtils.java 2010-09-17 06:14:40 UTC (rev 24973)
@@ -94,6 +94,7 @@
}
public static IHost findHost(String connectionName) {
+ // TODO ensure that all hosts are actually loaded, christ
IHost[] allHosts = RSECorePlugin.getTheSystemRegistry().getHosts();
for( int i = 0; i < allHosts.length; i++ ) {
if( allHosts[i].getAliasName().equals(connectionName))
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/console/ShowConsoleServerStateListener.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/console/ShowConsoleServerStateListener.java 2010-09-17 05:12:27 UTC (rev 24972)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/console/ShowConsoleServerStateListener.java 2010-09-17 06:14:40 UTC (rev 24973)
@@ -22,8 +22,10 @@
import org.jboss.ide.eclipse.as.core.publishers.LocalPublishMethod;
import org.jboss.ide.eclipse.as.core.server.IJBossServerPublishMethodType;
import org.jboss.ide.eclipse.as.core.server.UnitedServerListener;
+import org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior;
import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
import org.jboss.ide.eclipse.as.core.util.DeploymentPreferenceLoader;
+import org.jboss.ide.eclipse.as.core.util.ServerConverter;
public class ShowConsoleServerStateListener extends UnitedServerListener {
private static ShowConsoleServerStateListener instance;
@@ -42,7 +44,9 @@
if ((eventKind & ServerEvent.STATE_CHANGE) != 0) {
if( event.getServer().getServerState() == IServer.STATE_STARTING ) {
// do not launch console for remotes, for now
- IJBossServerPublishMethodType type = DeploymentPreferenceLoader.getCurrentDeploymentMethodType(jbs.getServer());
+ DeployableServerBehavior beh = ServerConverter.getDeployableServerBehavior(server);
+ IJBossServerPublishMethodType type = beh.createPublishMethod().getPublishMethodType();
+ //IJBossServerPublishMethodType type = DeploymentPreferenceLoader.getCurrentDeploymentMethodType(jbs.getServer());
if( !type.getId().equals(LocalPublishMethod.LOCAL_PUBLISH_METHOD))
return;
15 years, 7 months