JBoss Tools SVN: r15759 - workspace/snjeza/seam-examples.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-06-06 16:57:04 -0400 (Sat, 06 Jun 2009)
New Revision: 15759
Modified:
workspace/snjeza/seam-examples/booking-mavenized-2.1.1.zip
Log:
https://jira.jboss.org/jira/browse/JBIDE-4413 Problem when executing TestNG tests in the mavenized booking EAR example
Modified: workspace/snjeza/seam-examples/booking-mavenized-2.1.1.zip
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Tools SVN: r15758 - trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-06-05 17:13:41 -0400 (Fri, 05 Jun 2009)
New Revision: 15758
Modified:
trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test/KbModelTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2808
Modified: trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test/KbModelTest.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test/KbModelTest.java 2009-06-05 17:33:50 UTC (rev 15757)
+++ trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test/KbModelTest.java 2009-06-05 21:13:41 UTC (rev 15758)
@@ -10,13 +10,18 @@
******************************************************************************/
package org.jboss.tools.jst.web.test;
+import java.util.List;
+
+import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.jboss.tools.common.test.util.TestProjectProvider;
import org.jboss.tools.jst.web.kb.IKbProject;
-import org.jboss.tools.jst.web.kb.KbProjectFactory;
+import org.jboss.tools.jst.web.kb.internal.scanner.LoadedDeclarations;
+import org.jboss.tools.jst.web.kb.internal.scanner.ScannerException;
+import org.jboss.tools.jst.web.kb.internal.scanner.XMLScanner;
import org.jboss.tools.jst.web.kb.taglib.ITagLibrary;
import org.jboss.tools.test.util.JUnitUtils;
@@ -52,7 +57,44 @@
public void testXMLScanner() {
IKbProject kbProject = getKbProject();
- ITagLibrary[] ls = kbProject.getTagLibraries();
+
+ IFile f = project.getFile("WebContent/WEB-INF/faces-config.xml");
+ assertNotNull(f);
+ XMLScanner scanner = new XMLScanner();
+ List<ITagLibrary> ls = null;
+ try {
+ LoadedDeclarations ds = scanner.parse(f, kbProject);
+ ls = ds.getLibraries();
+ } catch (ScannerException e) {
+ JUnitUtils.fail("Error in xml scanner",e);
+ }
+ assertEquals(1, ls.size());
+ assertTrue(ls.get(0).getComponents().length > 0);
+
+ ls = null;
+ f = project.getFile("WebContent/facelet-taglib.xml");
+ assertNotNull(f);
+ try {
+ LoadedDeclarations ds = scanner.parse(f, kbProject);
+ ls = ds.getLibraries();
+ } catch (ScannerException e) {
+ JUnitUtils.fail("Error in xml scanner",e);
+ }
+ assertEquals(1, ls.size());
+ assertTrue(ls.get(0).getComponents().length > 0);
+
+ ls = null;
+ f = project.getFile("WebContent/WEB-INF/taglib2.tld");
+ assertNotNull(f);
+ try {
+ LoadedDeclarations ds = scanner.parse(f, kbProject);
+ ls = ds.getLibraries();
+ } catch (ScannerException e) {
+ JUnitUtils.fail("Error in xml scanner",e);
+ }
+ assertEquals(1, ls.size());
+ assertTrue(ls.get(0).getComponents().length > 0);
+
// System.out.println("Libraries found=" + ls.length);
// for (int i = 0; i < ls.length; i++) {
// System.out.println(ls[i] + ":=>" + ls[i].getComponents().length + " " + ls[i].getURI());
15 years, 9 months
JBoss Tools SVN: r15757 - trunk/jsf/docs/jsf_tools_tutorial/en/modules.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2009-06-05 13:33:50 -0400 (Fri, 05 Jun 2009)
New Revision: 15757
Modified:
trunk/jsf/docs/jsf_tools_tutorial/en/modules/introduction.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-153 - Key Features chapter created
Modified: trunk/jsf/docs/jsf_tools_tutorial/en/modules/introduction.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_tutorial/en/modules/introduction.xml 2009-06-05 17:26:54 UTC (rev 15756)
+++ trunk/jsf/docs/jsf_tools_tutorial/en/modules/introduction.xml 2009-06-05 17:33:50 UTC (rev 15757)
@@ -21,10 +21,79 @@
will display the familiar message, "Hello <name>!" This
tutorial will show you how to create and run such an application from the beginning along the
way demonstrating some of the powerful features of <property>JBoss Tools</property>.</para>
+ <section><title>Key Features of JSF Tools</title>
+ <para>Here, we provide you with a key functionality which is integrated in JSF tooling.</para>
+ <table>
+ <title>Key Functionality for JSF Tools</title>
+ <tgroup cols="2">
+
+ <colspec colnum="1" align="left" colwidth="2*"/>
+ <colspec colnum="2" colwidth="4*"/>
+
+
+ <thead>
+ <row>
+ <entry>Feature</entry>
+ <entry>Benefit</entry>
+
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry>JSF and Facelets support</entry>
+ <entry>Step-by-step wizards for creating new JSF and Facelets projects with a number of predefined templates, importing existing ones and adding JSF capabilities to non-jsf web projects.</entry>
+
+ </row>
+
+ <row>
+ <entry>Flexible and customizable project template management</entry>
+ <entry>Jump-start development with out-of-the-box templates or easily
+ customized templates for re-use.</entry>
+
+ </row>
+
+ <row>
+ <entry>Support for JSF Configuration File</entry>
+ <entry>Working on file using three modes: diagram, tree and source.
+ Synchronization between the modes and full control over the code. Easy
+ moving around the diagram using the Diagram Navigator.</entry>
+
+ </row>
+
+ <row>
+ <entry>Support for Managed Beans</entry>
+ <entry>Adding new managed beans, generating code for attributes, properties
+ and getter/setter methods.</entry>
+
+ </row>
+
+ <row>
+ <entry>Support for Custom Converters and Validators</entry>
+ <entry>Fast creating of custom converters and validators with tree view of
+ faces-config.xml file.</entry>
+
+ </row>
+
+ <row>
+ <entry>Verification and Validation</entry>
+ <entry>All occuring errors will be immediately reported by verification
+ feature, no matter in what view you are working. Constant validation and
+ errors checking allows to catch many of the errors during development
+ process that significantly reduces development time.</entry>
+
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ </section>
+
+
<section>
<title>Other relevant resources on the topic</title>
- <para>All JBoss Developer Studio/JBoss Tools release documentation you can find at<ulink url="http://docs.jboss.org/tools/">http://docs.jboss.org/tools</ulink> in the corresponding release directory.</para>
+ <para>All JBoss Developer Studio/JBoss Tools release documentation you can find at <ulink url="http://docs.jboss.org/tools/">http://docs.jboss.org/tools</ulink> in the corresponding release directory.</para>
<para>The latest documentation builds are available at <ulink url="http://download.jboss.org/jbosstools/nightly-docs/">http://download.jboss.org/jbosstools/nightly-docs</ulink>.</para>
</section>
15 years, 9 months
JBoss Tools SVN: r15756 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2009-06-05 13:26:54 -0400 (Fri, 05 Jun 2009)
New Revision: 15756
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4422 - fixed
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java 2009-06-05 17:16:44 UTC (rev 15755)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java 2009-06-05 17:26:54 UTC (rev 15756)
@@ -508,39 +508,50 @@
ArrayList<IPath> pathsSrc = new ArrayList<IPath>();
ArrayList<IPath> pathsOut = new ArrayList<IPath>();
ArrayList<IPath> pathsFull = new ArrayList<IPath>();
- try {
- for (int i = 0; i < projs.length; i++) {
- IJavaProject proj = projs[i];
- IPath projPath = proj.getPath();
- IPath projPathFull = proj.getResource().getLocation();
- IPath projPathOut = proj.getOutputLocation();
+ for (int i = 0; i < projs.length; i++) {
+ IJavaProject proj = projs[i];
+ IPath projPathFull = proj.getResource().getLocation();
+ IPath projPath = proj.getPath();
+ IPath projPathOut = null;
+ try {
+ projPathOut = proj.getOutputLocation();
projPathOut = projPathOut.makeRelativeTo(projPath);
- IPackageFragmentRoot[] pfrs = proj.getAllPackageFragmentRoots();
- for (int j = 0; j < pfrs.length; j++) {
- // TODO: think about possibility to open resources from jar files
- if (pfrs[j].getClass() != PackageFragmentRoot.class) {
- continue;
- }
- pathsSrc.add(((PackageFragmentRoot)pfrs[j]).getPath());
- pathsOut.add(projPathOut);
- pathsFull.add(projPathFull);
+ } catch (JavaModelException e) {
+ // just ignore
+ }
+ IPackageFragmentRoot[] pfrs = new IPackageFragmentRoot[0];
+ try {
+ pfrs = proj.getAllPackageFragmentRoots();
+ } catch (JavaModelException e) {
+ // just ignore
+ }
+ for (int j = 0; j < pfrs.length; j++) {
+ // TODO: think about possibility to open resources from jar files
+ if (pfrs[j].getClass() != PackageFragmentRoot.class) {
+ continue;
}
+ final IPath pathSrc = ((PackageFragmentRoot)pfrs[j]).getPath();
+ final IPath pathOut = projPathOut;
+ final IPath pathFull = projPathFull;
+ pathsSrc.add(pathSrc);
+ pathsOut.add(pathOut);
+ pathsFull.add(pathFull);
}
- } catch (JavaModelException e) {
- HibernateConsolePlugin.getDefault().logErrorMessage(HibernateConsoleMessages.OpenFileActionUtils_problems_while_get_project_package_fragment_roots, e);
}
int scanSize = Math.min(pathsSrc.size(), pathsOut.size());
scanSize = Math.min(pathsFull.size(), scanSize);
for (int i = 0; i < scanSize && file == null; i++) {
- IPath pathSrc = pathsSrc.get(i);
- IPath pathOut = pathsOut.get(i);
- IPath pathFull = pathsFull.get(i);
+ final IPath pathSrc = pathsSrc.get(i);
+ final IPath pathOut = pathsOut.get(i);
+ final IPath pathFull = pathsFull.get(i);
Iterator<String> it = documentPaths.iterator();
while (it.hasNext() && file == null) {
String docPath = it.next();
IPath path2DocFull = Path.fromOSString(docPath);
IPath resPath = path2DocFull.makeRelativeTo(pathFull);
- resPath = resPath.makeRelativeTo(pathOut);
+ if (pathOut != null) {
+ resPath = resPath.makeRelativeTo(pathOut);
+ }
resPath = pathSrc.append(resPath);
file = ResourcesPlugin.getWorkspace().getRoot().getFile(resPath);
if (file == null || !file.exists()) {
15 years, 9 months
JBoss Tools SVN: r15755 - in trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb: internal/taglib and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-06-05 13:16:44 -0400 (Fri, 05 Jun 2009)
New Revision: 15755
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageProcessor.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractComponent.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/taglib/CustomTagLibManager.java
Log:
JBIDE-2808: Improve/refactor org.jboss.tools.common.kb plugin.
A number of methods are fixed: a number of NullPointerException's are fixed.
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageProcessor.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageProcessor.java 2009-06-05 16:31:06 UTC (rev 15754)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageProcessor.java 2009-06-05 17:16:44 UTC (rev 15755)
@@ -55,7 +55,7 @@
proposals.add(libProposals[j]);
}
}
- for (int i = 0; i < customTagLibs.length; i++) {
+ for (int i = 0; customTagLibs != null && i < customTagLibs.length; i++) {
// TODO
}
if(query.getType() == KbQuery.Type.ATTRIBUTE_VALUE || ((query.getType() == KbQuery.Type.TEXT )&& context instanceof IFaceletPageContext)) {
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractComponent.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractComponent.java 2009-06-05 16:31:06 UTC (rev 15754)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractComponent.java 2009-06-05 17:16:44 UTC (rev 15755)
@@ -285,11 +285,11 @@
}
} else if(query.getType() == KbQuery.Type.ATTRIBUTE_VALUE) {
for (int i = 0; i < attributes.length; i++) {
- TextProposal[] attributeProposals = attributes[i].getProposals(query, context);
- if(attributeProposals.length > 0 && proposals == null) {
+ TextProposal[] attributeProposals = (attributes[i] == null ? null : attributes[i].getProposals(query, context));
+ if(attributeProposals != null && attributeProposals.length > 0 && proposals == null) {
proposals = new ArrayList<TextProposal>();
}
- for (int j = 0; j < attributeProposals.length; j++) {
+ for (int j = 0; attributeProposals != null && j < attributeProposals.length; j++) {
proposals.add(attributeProposals[j]);
}
}
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/taglib/CustomTagLibManager.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/taglib/CustomTagLibManager.java 2009-06-05 16:31:06 UTC (rev 15754)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/taglib/CustomTagLibManager.java 2009-06-05 17:16:44 UTC (rev 15755)
@@ -53,6 +53,8 @@
Set<ICustomTagLibrary> libSet = new HashSet<ICustomTagLibrary>();
IExtensionRegistry registry = Platform.getExtensionRegistry();
IExtensionPoint extensionPoint = registry.getExtensionPoint("org.jboss.tools.jst.web.kb.KbTagLib"); //$NON-NLS-1$
+ if (extensionPoint == null)
+ return null;
IExtension[] extensions = extensionPoint.getExtensions();
for (int i=0; i<extensions.length; i++) {
IExtension extension = extensions[i];
15 years, 9 months
JBoss Tools SVN: r15754 - in trunk/seam/plugins: org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/refactoring and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-06-05 12:31:06 -0400 (Fri, 05 Jun 2009)
New Revision: 15754
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/RenameSeamContextVariableProcessor.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/refactoring/SeamRefactorContributionFactory.java
Log:
Rename Seam Context Variable https://jira.jboss.org/jira/browse/JBIDE-1077
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/RenameSeamContextVariableProcessor.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/RenameSeamContextVariableProcessor.java 2009-06-05 15:28:15 UTC (rev 15753)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/RenameSeamContextVariableProcessor.java 2009-06-05 16:31:06 UTC (rev 15754)
@@ -37,7 +37,7 @@
public class RenameSeamContextVariableProcessor extends SeamRenameProcessor {
IFile file;
/**
- * @param component Renamed component
+ * @param file where refactor was called
*/
public RenameSeamContextVariableProcessor(IFile file, String oldName) {
super();
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/refactoring/SeamRefactorContributionFactory.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/refactoring/SeamRefactorContributionFactory.java 2009-06-05 15:28:15 UTC (rev 15753)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/refactoring/SeamRefactorContributionFactory.java 2009-06-05 16:31:06 UTC (rev 15754)
@@ -51,8 +51,13 @@
import org.eclipse.wst.sse.core.StructuredModelManager;
import org.eclipse.wst.sse.core.internal.provisional.IModelManager;
import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
+import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion;
+import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegion;
+import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegionList;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
+import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
import org.jboss.tools.common.el.core.model.ELInstance;
import org.jboss.tools.common.el.core.model.ELInvocationExpression;
import org.jboss.tools.common.el.core.model.ELModel;
@@ -73,6 +78,8 @@
import org.jboss.tools.seam.ui.SeamUIMessages;
import org.jboss.tools.seam.ui.wizard.RenameComponentWizard;
import org.jboss.tools.seam.ui.wizard.RenameSeamContextVariableWizard;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
/**
* @author Daniel Azarov
@@ -103,7 +110,7 @@
public void createContributionItems(IServiceLocator serviceLocator,
IContributionRoot additions) {
- //System.out.println("createContributionItems");
+ System.out.println("createContributionItems");
if(serviceLocator.hasService(IWorkbenchLocationService.class)){
IWorkbenchLocationService service = (IWorkbenchLocationService)serviceLocator.getService(IWorkbenchLocationService.class);
@@ -243,7 +250,7 @@
if (model instanceof IDOMModel) {
IDOMModel domModel = (IDOMModel) model;
IDOMDocument document = domModel.getDocument();
- //scanChildNodes(file, document);
+ scanChildNodes(file, document, selection);
}
} catch (CoreException e) {
SeamCorePlugin.getDefault().logError(e);
@@ -256,9 +263,36 @@
}
return false;
}
+
+ private void scanChildNodes(IFile file, Node parent, TextSelection selection) {
+ NodeList children = parent.getChildNodes();
+ for(int i=0; i<children.getLength(); i++) {
+ Node curentValidatedNode = children.item(i);
+ if(Node.ELEMENT_NODE == curentValidatedNode.getNodeType()) {
+ scanNodeContent(file, ((IDOMNode)curentValidatedNode).getFirstStructuredDocumentRegion(), DOMRegionContext.XML_TAG_ATTRIBUTE_VALUE, selection);
+ } else if(Node.TEXT_NODE == curentValidatedNode.getNodeType()) {
+ scanNodeContent(file, ((IDOMNode)curentValidatedNode).getFirstStructuredDocumentRegion(), DOMRegionContext.XML_CONTENT, selection);
+ }
+ scanChildNodes(file, curentValidatedNode, selection);
+ }
+ }
+ private void scanNodeContent(IFile file, IStructuredDocumentRegion node, String regionType, TextSelection selection) {
+ ITextRegionList regions = node.getRegions();
+ for(int i=0; i<regions.size(); i++) {
+ ITextRegion region = regions.get(i);
+ if(region.getType() == regionType) {
+ String text = node.getFullText(region);
+ if(text.indexOf("{")>-1) { //$NON-NLS-1$
+ int offset = node.getStartOffset() + region.getStart();
+ scanString(file, text, offset, selection);
+ }
+ }
+ }
+ }
+
private boolean checkContextVariableInProperties(IFile file, String content, TextSelection selection){
- return false;
+ return scanString(file, content, 0, selection);
}
private IAnnotation getNameAnnotation(IFile file){
15 years, 9 months
JBoss Tools SVN: r15753 - trunk/ws/docs/reference/en.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-05 11:28:15 -0400 (Fri, 05 Jun 2009)
New Revision: 15753
Modified:
trunk/ws/docs/reference/en/master_output.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-743 - updating the master_output.xml;
Modified: trunk/ws/docs/reference/en/master_output.xml
===================================================================
--- trunk/ws/docs/reference/en/master_output.xml 2009-06-05 15:27:56 UTC (rev 15752)
+++ trunk/ws/docs/reference/en/master_output.xml 2009-06-05 15:28:15 UTC (rev 15753)
@@ -11,6 +11,17 @@
<bookinfo>
<title>JBoss WS User Guide</title>
+
+ <corpauthor diffmk:change="added">
+ <inlinemediaobject diffmk:change="added">
+ <imageobject diffmk:change="added" role="fo">
+ <imagedata diffmk:change="added" fileref="images/jbosstools_logo.png" format="PNG"></imagedata>
+ </imageobject>
+ <imageobject diffmk:change="added" role="html">
+ <imagedata diffmk:change="added"></imagedata>
+ </imageobject>
+ </inlinemediaobject>
+ </corpauthor>
<author><firstname>Denny</firstname><surname>Xu</surname><email>dxu(a)redhat.com</email></author>
<author><firstname>Grid</firstname><surname>Qian</surname><email>fqian(a)redhat.com</email></author>
<pubdate>July 2008</pubdate>
@@ -20,7 +31,7 @@
<holder>JBoss, a division of Red Hat</holder>
</copyright>
<releaseinfo><diffmk:wrapper diffmk:change="changed">
- Version: 1.0.1.GA
+ Version: 1.1.0.M1
</diffmk:wrapper></releaseinfo>
<abstract>
<title></title>
@@ -38,7 +49,7 @@
<title>JBossWS Runtime Overview</title>
<para>JBossWS is a web service framework developed as a part of the JBoss Application Server. It implements the JAX-WS specification that defines a programming model and run-time architecture for implementing web services in Java, targeted at the Java Platform, Enterprise Edition 5 (Java EE 5).</para>
- <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">JBossWS integrates with most current JBoss Application Server releases as well as earlier ones, that did implement the J2EE 1.4 specifications. Even though JAX-RPC, the web service specification for J2EE 1.4, is still supported JBossWS does put a clear focus on JAX-WS.</diffmk:wrapper></para>
+ <para>JBossWS integrates with most current JBoss Application Server releases as well as earlier ones, that did implement the J2EE 1.4 specifications. Even though JAX-RPC, the web service specification for J2EE 1.4, is still supported JBossWS does put a clear focus on JAX-WS.</para>
</chapter>
<chapter id="create_ws_topdown" xml:base="file:///home/ochikvina/WORK/for_compare/trunk/ws/docs/reference/en/modules/topdown.xml">
@@ -52,8 +63,8 @@
</chapterinfo>
<title>Creating a Web Service using JBossWS runtime</title>
- <para><diffmk:wrapper diffmk:change="changed">In this chapter we provide you with the necessary steps to create a Web Service using
- JBossWS runtime. First you need to create a Dynamic Web project:</diffmk:wrapper></para>
+ <para>In this chapter we provide you with the necessary steps to create a Web Service using
+ JBossWS runtime. First you need to create a Dynamic Web project:</para>
<section id="createproject">
<title>Creating a Dynamic Web project</title>
@@ -101,13 +112,13 @@
</figure>
</listitem>
</itemizedlist>
- <para>Click on the <property moreinfo="none">Finish</property><diffmk:wrapper diffmk:change="changed"> button. Next you will need to add JBoss Web Service facet to the project:</diffmk:wrapper></para>
+ <para>Click on the <property moreinfo="none">Finish</property> button. Next you will need to add JBoss Web Service facet to the project:</para>
</section>
<section id="addfacet">
<title>Configure JBoss Web Service facet settings</title>
- <para><diffmk:wrapper diffmk:change="added">If you have already created a new Dynamic Web project, the next step is to add JBoss Web
- Service facet to the project. Right-click on the project, select its </diffmk:wrapper><emphasis diffmk:change="added"><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Properties</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> and then find </diffmk:wrapper><emphasis diffmk:change="added"><diffmk:wrapper diffmk:change="added">Project Facets</diffmk:wrapper></emphasis><diffmk:wrapper diffmk:change="added"> in the tree-view on the left-side of the project properties dialog. Tick on the check box for JBoss Web Services and open additional configuration for it, having clicked on the </diffmk:wrapper><emphasis diffmk:change="added"><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Further configuration required...</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> link. In the opened window</diffmk:wrapper></para>
+ <para>If you have already created a new Dynamic Web project, the next step is to add JBoss Web
+ Service facet to the project. Right-click on the project, select its <emphasis><property moreinfo="none">Properties</property></emphasis> and then find <emphasis>Project Facets</emphasis> in the tree-view on the left-side of the project properties dialog. Tick on the check box for JBoss Web Services and open additional configuration for it, having clicked on the <emphasis><property moreinfo="none">Further configuration required...</property></emphasis> link. In the opened window</para>
<figure float="0" id="figure_addfacet">
<title>Configure JBoss Web Service Facet</title>
<mediaobject>
@@ -136,7 +147,7 @@
</imageobject>
</mediaobject>
</figure>
- <para>See how to configure a new JBossWS runtime <link linkend="preference">here</link><diffmk:wrapper diffmk:change="changed">.</diffmk:wrapper></para>
+ <para>See how to configure a new JBossWS runtime <link linkend="preference">here</link>.</para>
</section>
@@ -147,7 +158,7 @@
WSDL document using JBossWS runtime.</para>
<para>At first, please make sure that you have already created a dynamic Web project with
JBoss Web Service facet installed. </para>
- <para>See how to make it <link linkend="createproject">here</link><diffmk:wrapper diffmk:change="changed"> and </diffmk:wrapper><link linkend="addfacet">here</link>.</para>
+ <para>See how to make it <link linkend="createproject">here</link> and <link linkend="addfacet">here</link>.</para>
<para>To create a Web Service using JBossWS runtime select<emphasis>
<property moreinfo="none">File > New > Other > Web Services > Web Service</property>
@@ -161,10 +172,10 @@
</imageobject>
</mediaobject>
</figure>
- <para>First, please select <property moreinfo="none">Top down Java bean Web Service</property><diffmk:wrapper diffmk:change="changed"> from the Web
+ <para>First, please select <property moreinfo="none">Top down Java bean Web Service</property> from the Web
Service type list, and select a WSDL document from workspace, click on the Server name
link on the page will bring you to another dialog. Here you can specify the server to a
- JBoss Server and Web Service runtime to JBossWS runtime:</diffmk:wrapper></para>
+ JBoss Server and Web Service runtime to JBossWS runtime:</para>
<figure float="0" id="figure_create_ws_topdown_setserver">
<title>Select Server and Web Service runtime</title>
<mediaobject>
@@ -232,7 +243,7 @@
</imageobject>
</mediaobject>
</figure>
-<para diffmk:change="added"><diffmk:wrapper diffmk:change="added">In the next chapter you will find out how to create a Web service from a Java bean.</diffmk:wrapper></para>
+<para>In the next chapter you will find out how to create a Web service from a Java bean.</para>
</section>
<section id="bottomupws" role="updated">
@@ -253,7 +264,7 @@
<para>In the Project Explorer view, select the bean that you created or imported into
the source folder of your Web project.</para>
<figure float="0">
- <title><diffmk:wrapper diffmk:change="changed">Select the Bean Created</diffmk:wrapper></title>
+ <title>Select the Bean Created</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/topdown/jbossws_bottomup.png" scale="80"></imagedata>
@@ -392,7 +403,7 @@
<listitem>
<para>If you selected to generate a WSDL file, you will get the file in your project's wsdl folder.</para>
<figure float="0">
- <title><diffmk:wrapper diffmk:change="changed">The Generated HelloWorldService.wsdl File in the wsdl Folder</diffmk:wrapper></title>
+ <title>The Generated HelloWorldService.wsdl File in the wsdl Folder</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/topdown/jbossws_bottomup_6.png" scale="80"></imagedata>
@@ -414,7 +425,7 @@
</figure>
</listitem>
</itemizedlist>
- <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">In the next chapter you will be able to create a Web Service Client from a WSDL document using JBoss WS.</diffmk:wrapper></para>
+ <para>In the next chapter you will be able to create a Web Service Client from a WSDL document using JBoss WS.</para>
</section>
@@ -423,17 +434,17 @@
<chapter id="client" revisionflag="added" xml:base="file:///home/ochikvina/WORK/for_compare/trunk/ws/docs/reference/en/modules/client.xml">
<title>Creating a Web Service Client from a WSDL Document using JBoss WS</title>
- <para><diffmk:wrapper diffmk:change="changed">To create a Web Service Client from a WSDL Document using JBoss WS you need to fulfil the following steps:</diffmk:wrapper></para>
+ <para>To create a Web Service Client from a WSDL Document using JBoss WS you need to fulfil the following steps:</para>
<para>Setup <link linkend="preference">JBoss WS and development environment</link>.</para>
- <para><link linkend="createproject"><diffmk:wrapper diffmk:change="changed">Create a Dynamic Web project</diffmk:wrapper></link>.</para>
+ <para><link linkend="createproject">Create a Dynamic Web project</link>.</para>
<para><link linkend="addfacet">Add JBossWS Facet to Web project</link>.</para>
- <para><diffmk:wrapper diffmk:change="changed">Then you can create a Web Service Client from a WSDL document: </diffmk:wrapper></para>
+ <para>Then you can create a Web Service Client from a WSDL document: </para>
<itemizedlist>
<listitem>
<para>Switch to the Java EE perspective <emphasis><property moreinfo="none">Window > Open Perspective > Java EE</property></emphasis>.</para>
</listitem>
<listitem>
- <para>Click <emphasis><property moreinfo="none">File > New > Other</property></emphasis><diffmk:wrapper diffmk:change="changed">. Select Web Services in order to display the various Web service wizards. Select the Web Service Client wizard. Click on the </diffmk:wrapper><property moreinfo="none">Next</property> button.</para>
+ <para>Click <emphasis><property moreinfo="none">File > New > Other</property></emphasis>. Select Web Services in order to display the various Web service wizards. Select the Web Service Client wizard. Click on the <property moreinfo="none">Next</property> button.</para>
<figure float="0">
<title>New Web Service Client</title>
<mediaobject>
@@ -444,7 +455,7 @@
</figure>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="changed">The first and the second Web Service Client wizard pages are the same as for </diffmk:wrapper><link linkend="topdownwebservice">Web Service from a WSDL document</link>.</para>
+ <para>The first and the second Web Service Client wizard pages are the same as for <link linkend="topdownwebservice">Web Service from a WSDL document</link>.</para>
<figure float="0">
<title>Set Web Service Common values</title>
<mediaobject>
@@ -454,20 +465,20 @@
</mediaobject>
</figure>
<figure float="0">
- <title><diffmk:wrapper diffmk:change="changed">Set Web Service values related to WSDL file</diffmk:wrapper></title>
+ <title>Set Web Service values related to WSDL file</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/client/jbossws_client_2.png"></imagedata>
</imageobject>
</mediaobject>
</figure>
- <para><diffmk:wrapper diffmk:change="changed">The only difference is:</diffmk:wrapper></para>
+ <para>The only difference is:</para>
<itemizedlist>
<listitem>
- <para><property moreinfo="none">Client Type:</property><diffmk:wrapper diffmk:change="changed"> Support of Java Proxy only.</diffmk:wrapper></para>
+ <para><property moreinfo="none">Client Type:</property> Support of Java Proxy only.</para>
</listitem>
</itemizedlist>
- <para><diffmk:wrapper diffmk:change="changed">Click on the </diffmk:wrapper><property moreinfo="none">Finish</property> button.</para>
+ <para>Click on the <property moreinfo="none">Finish</property> button.</para>
</listitem>
</itemizedlist>
<para>After the Web Service Client has been created, the following may occur depending on the options you selected:</para>
@@ -494,7 +505,7 @@
<chapter id="preference" revisionflag="added" xml:base="file:///home/ochikvina/WORK/for_compare/trunk/ws/docs/reference/en/modules/preference.xml">
<title>JBoss WS and development environment</title>
- <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">In this chapter you will learn how to change JBossWS preferences and how to set default server and runtime.</diffmk:wrapper></para>
+ <para>In this chapter you will learn how to change JBossWS preferences and how to set default server and runtime.</para>
<section id="jbosswspreference">
@@ -524,9 +535,9 @@
<property moreinfo="none">Add</property>
</emphasis> or <emphasis>
<property moreinfo="none">Edit</property>
- </emphasis><diffmk:wrapper diffmk:change="changed"> button will open the form where you can configure a new JBossWS runtime and
+ </emphasis> button will open the form where you can configure a new JBossWS runtime and
change the path to JBossWS runtime home folder, modify the name and version of the
- existing JBossWS runtime settings. Press </diffmk:wrapper><property moreinfo="none">Finish</property> to apply the
+ existing JBossWS runtime settings. Press <property moreinfo="none">Finish</property> to apply the
changes.</para>
<figure float="0">
@@ -552,7 +563,7 @@
</mediaobject>
</figure>
<para>Click on <emphasis><property moreinfo="none">Apply</property></emphasis> and then on <emphasis><property moreinfo="none">Ok</property></emphasis>.</para>
- <para><diffmk:wrapper diffmk:change="changed">To change JavaDoc Location choose </diffmk:wrapper><emphasis><property moreinfo="none">Javadoc Location</property></emphasis> and specify URL to the documentation generated by Javadoc. The Javadoc location will contain a file called <emphasis><property moreinfo="none">package-list</property></emphasis>:</para>
+ <para>To change JavaDoc Location choose <emphasis><property moreinfo="none">Javadoc Location</property></emphasis> and specify URL to the documentation generated by Javadoc. The Javadoc location will contain a file called <emphasis><property moreinfo="none">package-list</property></emphasis>:</para>
<figure float="0">
<title>Classpath Container: Javadoc Location</title>
@@ -575,7 +586,7 @@
<para>Open <emphasis>
<property moreinfo="none">Window > Preferences > Web Services > Server and Runtime</property></emphasis>. On this page, you can specify a default server and runtime.</para>
<para>For ease of use, the better way is to set runtime to JBoss WS.</para>
- <para>After server and runtime are specified, click on the <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">Apply</diffmk:wrapper></property> button
+ <para>After server and runtime are specified, click on the <property moreinfo="none">Apply</property> button
to save the values.</para>
<figure float="0">
<title></title>
@@ -591,7 +602,7 @@
JBossWS Runtime and adjust JBossWS and development environment as well.</para>
<para>If the information on JBossWS tools in this guide isn't enough for you, ask
- questions on our <ulink url="http://www.jboss.com/index.html?module=bb&op=viewforum&f=201">forum</ulink>. Your comments and suggestions are also welcome.</para>
+ questions on our <ulink url="http://www.jboss.com/index.html?module=bb'op=viewforum'f=201">forum</ulink>. Your comments and suggestions are also welcome.</para>
</section>
</chapter>
15 years, 9 months
JBoss Tools SVN: r15752 - trunk/struts/docs/struts_tools_tutorial/en.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-05 11:27:56 -0400 (Fri, 05 Jun 2009)
New Revision: 15752
Modified:
trunk/struts/docs/struts_tools_tutorial/en/master_output.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-743 - updating the master_output.xml;
Modified: trunk/struts/docs/struts_tools_tutorial/en/master_output.xml
===================================================================
--- trunk/struts/docs/struts_tools_tutorial/en/master_output.xml 2009-06-05 15:27:40 UTC (rev 15751)
+++ trunk/struts/docs/struts_tools_tutorial/en/master_output.xml 2009-06-05 15:27:56 UTC (rev 15752)
@@ -26,7 +26,16 @@
<bookinfo>
<title>Struts Tools Tutorial</title>
-
+ <corpauthor diffmk:change="added">
+ <inlinemediaobject diffmk:change="added">
+ <imageobject diffmk:change="added" role="fo">
+ <imagedata diffmk:change="added" fileref="images/jbosstools_logo.png" format="PNG"></imagedata>
+ </imageobject>
+ <imageobject diffmk:change="added" role="html">
+ <imagedata diffmk:change="added"></imagedata>
+ </imageobject>
+ </inlinemediaobject>
+ </corpauthor>
<author><firstname>Anatoly</firstname><surname>Fedosik</surname></author>
<author><firstname>Olga</firstname><surname>Chikvina</surname></author>
<author><firstname>Svetlana</firstname><surname>Mukhina</surname><email>smukhina(a)exadel.com</email></author>
@@ -37,9 +46,9 @@
<year>2009</year>
<holder>JBoss, a division of Red Hat</holder>
</copyright>
- <releaseinfo>
- Version: 3.0.0.GA
- </releaseinfo>
+ <releaseinfo><diffmk:wrapper diffmk:change="changed">
+ Version: 3.1.0.M1
+ </diffmk:wrapper></releaseinfo>
<abstract>
<title></title>
@@ -82,8 +91,8 @@
<section>
<title>Other relevant resources on the topic</title>
- <para><diffmk:wrapper diffmk:change="changed">All JBoss Developer Studio/JBoss Tools release documentation you can find at</diffmk:wrapper><ulink url="http://docs.jboss.org/tools/"><diffmk:wrapper diffmk:change="changed">http://docs.jboss.org/tools</diffmk:wrapper></ulink><diffmk:wrapper diffmk:change="changed"> in the corresponding release directory.</diffmk:wrapper></para>
- <para><diffmk:wrapper diffmk:change="changed">The latest documentation builds are available at </diffmk:wrapper><ulink url="http://download.jboss.org/jbosstools/nightly-docs/"><diffmk:wrapper diffmk:change="changed">http://download.jboss.org/jbosstools/nightly-docs</diffmk:wrapper></ulink>.</para>
+ <para>All JBoss Developer Studio/JBoss Tools release documentation you can find at<ulink url="http://docs.jboss.org/tools/">http://docs.jboss.org/tools</ulink> in the corresponding release directory.</para>
+ <para>The latest documentation builds are available at <ulink url="http://download.jboss.org/jbosstools/nightly-docs/">http://download.jboss.org/jbosstools/nightly-docs</ulink>.</para>
</section>
@@ -102,8 +111,8 @@
<title>Creating a Simple Struts Application</title>
- <para><diffmk:wrapper diffmk:change="added">Firstly, we assume that you have already launched Eclipse with </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">JBoss Tools</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added"> installed and
- also that the </diffmk:wrapper><property moreinfo="none">Web Development perspective</property> is the current perspective. (If not, make it
+ <para>Firstly, we assume that you have already launched Eclipse with <property moreinfo="none">JBoss Tools</property> installed and
+ also that the <property moreinfo="none">Web Development perspective</property> is the current perspective. (If not, make it
active by selecting <emphasis>
<property moreinfo="none">Window > Open Perspective > Other > Web
Development</property>
@@ -115,22 +124,22 @@
<itemizedlist>
<listitem>
<para>Go to the menu bar and select <emphasis>
- <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">File > New > Struts Project</diffmk:wrapper></property>
+ <property moreinfo="none">File > New > Struts Project</property>
</emphasis></para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">Next enter "StrutsHello" as the project name</diffmk:wrapper></para>
+ <para>Next enter "StrutsHello" as the project name</para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="changed">Leave everything else as it is, and click </diffmk:wrapper><emphasis>
- <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">Next</diffmk:wrapper></property>
+ <para>Leave everything else as it is, and click <emphasis>
+ <property moreinfo="none">Next</property>
</emphasis></para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">If you have server runtime already defined, just pass to next point. Otherwise in the </diffmk:wrapper><emphasis>
- <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">Runtime</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> section click the </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">New</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> button and target at needed server runtime environment. Click </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Finish</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">.</diffmk:wrapper></emphasis></para>
+ <para>If you have server runtime already defined, just pass to next point. Otherwise in the <emphasis>
+ <property moreinfo="none">Runtime</property></emphasis> section click the <emphasis>
+ <property moreinfo="none">New</property></emphasis> button and target at needed server runtime environment. Click <emphasis>
+ <property moreinfo="none">Finish</property>.</emphasis></para>
</listitem>
<listitem>
<para>Click <emphasis>
@@ -144,13 +153,13 @@
<property moreinfo="none">struts-html.tld</property>
</emphasis>, and <emphasis>
<property moreinfo="none">struts-logic.tld</property>
- </emphasis><diffmk:wrapper diffmk:change="changed"> are checked in the list of included tag libraries and then hit </diffmk:wrapper><emphasis>
+ </emphasis> are checked in the list of included tag libraries and then hit <emphasis>
<property moreinfo="none">Finish</property>
</emphasis></para>
</listitem>
</itemizedlist>
- <para><diffmk:wrapper diffmk:change="added">A "StrutsHello" node should appear in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Package
- Explorer view</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">.</diffmk:wrapper></para>
+ <para>A "StrutsHello" node should appear in the <property moreinfo="none">Package
+ Explorer view</property>.</para>
<itemizedlist>
<listitem>
<para>Click the plus sign next to <emphasis>
@@ -160,14 +169,14 @@
<listitem>
<para>Click the plus sign next to <emphasis>
<property moreinfo="none">WebContent</property>
- </emphasis><diffmk:wrapper diffmk:change="added"> under </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">StrutsHello</diffmk:wrapper></property></emphasis></para>
+ </emphasis> under <emphasis>
+ <property moreinfo="none">StrutsHello</property></emphasis></para>
</listitem>
<listitem>
<para>Click the plus sign next to <emphasis>
<property moreinfo="none">WEB-INF</property>
- </emphasis><diffmk:wrapper diffmk:change="added"> under </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">WebContent</diffmk:wrapper></property></emphasis></para>
+ </emphasis> under <emphasis>
+ <property moreinfo="none">WebContent</property></emphasis></para>
</listitem>
<listitem>
<para>Then, double-click on the <emphasis>
@@ -182,9 +191,9 @@
<section id="CreatingtheApplicationComponents">
<?dbhtml filename="CreatingtheApplicationComponents.html"?>
<title>Creating the Application Components</title>
- <para><diffmk:wrapper diffmk:change="changed">Now, we will design the application by creating the individual components as
+ <para>Now, we will design the application by creating the individual components as
placeholders first. (We don't have to complete all of the details inside the components
- until afterwards.)</diffmk:wrapper></para>
+ until afterwards.)</para>
<section id="CreatingJSPPagePlaceholders">
<title>Creating JSP Page Placeholders</title>
<para>Next, let's create and place two JSP pages. We will not write any code
@@ -194,15 +203,15 @@
<title>Creating the Page Placeholders</title>
<itemizedlist>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">Bring the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Web Projects view</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added"> to the front of the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Package Explorer view</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">
- by selecting the </diffmk:wrapper><emphasis>
+ <para>Bring the <property moreinfo="none">Web Projects view</property> to the front of the <property moreinfo="none">Package Explorer view</property>
+ by selecting the <emphasis>
<property moreinfo="none">Web Projects</property>
</emphasis> tab next to that tab.</para>
</listitem>
<listitem>
<para>Right-click the <emphasis>
<property moreinfo="none">StrutsHello > WEB-ROOT (WebContent)</property>
- </emphasis><diffmk:wrapper diffmk:change="added"> folder in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Web Projects view</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added"> and select </diffmk:wrapper><emphasis>
+ </emphasis> folder in the <property moreinfo="none">Web Projects view</property> and select <emphasis>
<property moreinfo="none">New > Folder...</property>
</emphasis></para>
</listitem>
@@ -219,9 +228,9 @@
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">Right-click the </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">pages</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> folder and select </diffmk:wrapper><emphasis>
- <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">New > File > JSP...</diffmk:wrapper></property>
+ <para>Right-click the <emphasis>
+ <property moreinfo="none">pages</property></emphasis> folder and select <emphasis>
+ <property moreinfo="none">New > File > JSP...</property>
</emphasis>
</para>
</listitem>
@@ -236,16 +245,16 @@
</emphasis> button</para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">Right-click the </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">pages</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> folder again and select </diffmk:wrapper><emphasis>
+ <para>Right-click the <emphasis>
+ <property moreinfo="none">pages</property></emphasis> folder again and select <emphasis>
<property moreinfo="none">New > File > JSP...</property>
</emphasis></para>
</listitem>
<listitem>
<para>For Name type in <emphasis>
<property moreinfo="none">greeting</property>
- </emphasis><diffmk:wrapper diffmk:change="added">, for Template leave as </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Blank</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">,</diffmk:wrapper></emphasis><diffmk:wrapper diffmk:change="changed"> and then click on the </diffmk:wrapper><emphasis>
+ </emphasis>, for Template leave as <emphasis>
+ <property moreinfo="none">Blank</property>,</emphasis> and then click on the <emphasis>
<property moreinfo="none">Finish</property>
</emphasis> button</para>
</listitem>
@@ -259,19 +268,19 @@
<listitem>
<para>Click on the <emphasis>
<property moreinfo="none">struts-config.xml</property>
- </emphasis><diffmk:wrapper diffmk:change="changed"> tab in the editing area to bring the diagram to the
- front</diffmk:wrapper></para>
+ </emphasis> tab in the editing area to bring the diagram to the
+ front</para>
</listitem>
<listitem>
<para>Click on the <emphasis>
<property moreinfo="none">inputname.jsp</property>
- </emphasis><diffmk:wrapper diffmk:change="added"> page in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Web Projects view</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">, drag it onto the diagram, and
- drop it</diffmk:wrapper></para>
+ </emphasis> page in the <property moreinfo="none">Web Projects view</property>, drag it onto the diagram, and
+ drop it</para>
</listitem>
<listitem><para>Click on the <emphasis>
<property moreinfo="none">greeting.jsp</property>
- </emphasis><diffmk:wrapper diffmk:change="added"> page in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Web Projects view</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">, drag it onto the diagram, and
- drop it to the right of the </diffmk:wrapper><emphasis>
+ </emphasis> page in the <property moreinfo="none">Web Projects view</property>, drag it onto the diagram, and
+ drop it to the right of the <emphasis>
<property moreinfo="none">/pages/inputname.jsp</property>
</emphasis> icon with some extra space</para></listitem>
</itemizedlist>
@@ -285,7 +294,7 @@
<itemizedlist>
<listitem>
<para>Right-click between the two icons and select <emphasis>
- <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">New > Action</diffmk:wrapper></property>
+ <property moreinfo="none">New > Action</property>
</emphasis></para>
</listitem>
<listitem>
@@ -331,34 +340,30 @@
<para>The <emphasis>
<property moreinfo="none">/greeting</property>
- </emphasis><diffmk:wrapper diffmk:change="added"> action should appear in four places, in the diagram, under the
- </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">action-mappings</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> node, under the </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">struts-config.xml</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> node in Tree view, in </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Web Projects
- view</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added"> and in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Outline view</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">. Also, note the asterisk to the right of the name,
- </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">struts-config.xml</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">,</diffmk:wrapper></emphasis><diffmk:wrapper diffmk:change="added"> in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Outline view</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added"> showing that the file has been changed, but
- not saved to disk.</diffmk:wrapper></para>
+ </emphasis> action should appear in four places, in the diagram, under the
+ <emphasis>
+ <property moreinfo="none">action-mappings</property></emphasis> node, under the <emphasis>
+ <property moreinfo="none">struts-config.xml</property></emphasis> node in Tree view, in <property moreinfo="none">Web Projects
+ view</property> and in the <property moreinfo="none">Outline view</property>. Also, note the asterisk to the right of the name,
+ <emphasis>
+ <property moreinfo="none">struts-config.xml</property>,</emphasis> in the <property moreinfo="none">Outline view</property> showing that the file has been changed, but
+ not saved to disk.</para>
</section>
<section id="CreatingaLink">
<title>Creating a Link</title>
- <para><diffmk:wrapper diffmk:change="added">Let's now create a link from the </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">inputname.jsp</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> page to the action.</diffmk:wrapper></para>
+ <para>Let's now create a link from the <emphasis>
+ <property moreinfo="none">inputname.jsp</property></emphasis> page to the action.</para>
<itemizedlist>
<listitem>
- <para>On the left-hand side of the diagram in the column of icons, click on this
- icon:</para>
+ <para><diffmk:wrapper diffmk:change="added">On the left-hand side of the diagram in the column of icons, click on the Create New Connection
+ icon( </diffmk:wrapper><inlinemediaobject diffmk:change="added">
+ <imageobject>
+ <imagedata fileref="images/struts_application/struts_application_1.png"></imagedata>
+ </imageobject>
+ </inlinemediaobject><diffmk:wrapper diffmk:change="added">).</diffmk:wrapper></para>
</listitem>
</itemizedlist>
- <figure float="0">
- <title>Create New Connection Icon</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/struts_application/struts_application_1.png"></imagedata>
- </imageobject>
- </mediaobject>
- </figure>
- <itemizedlist>
+ <itemizedlist>
<listitem>
<para>In the connect-the-components mode you are in now, click on the <emphasis>
<property moreinfo="none">/pages/inputname.jsp</property>
@@ -374,18 +379,16 @@
<para>Next, we are going to create a forward for the action.</para>
<itemizedlist>
<listitem>
- <para>On the left-hand side of the diagram in the column of icons, click on this
- icon, again:</para>
+ <para><diffmk:wrapper diffmk:change="added">On the left-hand side of the diagram in the column of icons, click on
+ the Create New Connection
+ icon( </diffmk:wrapper><inlinemediaobject diffmk:change="added">
+ <imageobject>
+ <imagedata fileref="images/struts_application/struts_application_1.png"></imagedata>
+ </imageobject>
+ </inlinemediaobject><diffmk:wrapper diffmk:change="added">), again.</diffmk:wrapper></para>
</listitem>
</itemizedlist>
- <figure float="0">
- <title>Create New Connection Icon</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/struts_application/struts_application_1.png"></imagedata>
- </imageobject>
- </mediaobject>
- </figure>
+
<itemizedlist>
<listitem>
<para>Click on the <emphasis>
@@ -395,11 +398,11 @@
</emphasis> icon</para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">That's it. A link will be drawn from the actions new greeting
- forward to the </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">greeting.jsp</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> JSP page. Note that the forwards name will be
+ <para>That's it. A link will be drawn from the actions new greeting
+ forward to the <emphasis>
+ <property moreinfo="none">greeting.jsp</property></emphasis> JSP page. Note that the forwards name will be
set based on the name of the target JSP file name. If you don't
- like it, you can easily change it</diffmk:wrapper></para>
+ like it, you can easily change it</para>
</listitem>
<listitem>
<para>Select the <emphasis>
@@ -409,13 +412,13 @@
</listitem>
<listitem>
<para>Expand the <emphasis>
- <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">struts-config.xml/action-mappings/ /greeting</diffmk:wrapper></property>
+ <property moreinfo="none">struts-config.xml/action-mappings/ /greeting</property>
</emphasis> node and then select the greeting forward</para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">In the Properties Editor to the right, change the text to
- "sayHello" in the </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Name</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> field</diffmk:wrapper></para>
+ <para>In the Properties Editor to the right, change the text to
+ "sayHello" in the <emphasis>
+ <property moreinfo="none">Name</property></emphasis> field</para>
</listitem>
<listitem>
<para>Select the <emphasis>
@@ -431,14 +434,14 @@
<itemizedlist>
<listitem>
<para>Somewhere in the top-left corner of diagram, right-click and select <emphasis>
- <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">New > Global Forward</diffmk:wrapper></property>
+ <property moreinfo="none">New > Global Forward</property>
</emphasis></para>
</listitem>
<listitem>
<para>Enter <emphasis>
<property moreinfo="none">getName</property>
- </emphasis><diffmk:wrapper diffmk:change="added"> in the </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Name</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="changed"> field</diffmk:wrapper></para>
+ </emphasis> in the <emphasis>
+ <property moreinfo="none">Name</property></emphasis> field</para>
</listitem>
<listitem>
<para>Select the <emphasis>
@@ -488,9 +491,9 @@
<para>One last thing that we need to do is to create a form bean.</para>
<itemizedlist>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">Switch to the Tree viewer in the editor for the </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">struts-config.xml</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> file, by
- selecting the </diffmk:wrapper><emphasis>
+ <para>Switch to the Tree viewer in the editor for the <emphasis>
+ <property moreinfo="none">struts-config.xml</property></emphasis> file, by
+ selecting the <emphasis>
<property moreinfo="none">Tree</property>
</emphasis> tab at the bottom of the editor window</para>
</listitem>
@@ -517,8 +520,8 @@
</emphasis> from the menu bar</para>
</listitem>
</itemizedlist>
- <para><diffmk:wrapper diffmk:change="added">Note the disappearance of the asterisk next to the name, </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">struts-config.xml</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">.</diffmk:wrapper></emphasis></para>
+ <para>Note the disappearance of the asterisk next to the name, <emphasis>
+ <property moreinfo="none">struts-config.xml</property>.</emphasis></para>
</section>
</section>
</chapter>
@@ -569,9 +572,9 @@
</itemizedlist>
<para>The Java files will be generated in a <emphasis>
<property moreinfo="none">JavaSource > sample</property>
- </emphasis><diffmk:wrapper diffmk:change="added"> folder that you can see in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Package Explorer view</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added"> under the
+ </emphasis> folder that you can see in the <property moreinfo="none">Package Explorer view</property> under the
"StrutsHello" node. One Action stub and one FormBean stub will have
- been generated.</diffmk:wrapper></para>
+ been generated.</para>
</chapter>
<chapter id="coding_files" xml:base="file:///home/ochikvina/WORK/for_compare/trunk/struts/docs/struts_tools_tutorial/en/modules/coding_files.xml" xreflabel="coding_files">
@@ -608,8 +611,8 @@
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="changed">You are looking at a Java stub class that was generated by JBoss
- Tools. Now we are going to edit the file</diffmk:wrapper></para>
+ <para>You are looking at a Java stub class that was generated by JBoss
+ Tools. Now we are going to edit the file</para>
</listitem>
<listitem>
@@ -641,19 +644,19 @@
<itemizedlist>
<listitem>
<para>Right-click and select <emphasis>
- <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">Source > Generate Getters and Setters</diffmk:wrapper></property>
+ <property moreinfo="none">Source > Generate Getters and Setters</property>
</emphasis>from the context menu</para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">In the dialog box, check the check box for </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">name</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">,</diffmk:wrapper></emphasis><diffmk:wrapper diffmk:change="added">
- select First method for Insertion point, and click on the </diffmk:wrapper><emphasis>
+ <para>In the dialog box, check the check box for <emphasis>
+ <property moreinfo="none">name</property>,</emphasis>
+ select First method for Insertion point, and click on the <emphasis>
<property moreinfo="none">OK</property>
</emphasis> button</para>
</listitem>
</itemizedlist>
- <para><diffmk:wrapper diffmk:change="added">The final </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">GetNameForm.java</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> file should look like this:</diffmk:wrapper></para>
+ <para>The final <emphasis>
+ <property moreinfo="none">GetNameForm.java</property></emphasis> file should look like this:</para>
<programlisting format="linespecific" role="JAVA"><![CDATA[package sample;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
@@ -701,8 +704,8 @@
<title>GreetingAction.java</title>
<itemizedlist>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">Open </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">GreetingAction.java</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> for editing</diffmk:wrapper></para>
+ <para>Open <emphasis>
+ <property moreinfo="none">GreetingAction.java</property></emphasis> for editing</para>
</listitem>
<listitem>
<para>Inside the execute method, delete the TO DO lines and add the
@@ -716,8 +719,8 @@
return mapping.findForward(FORWARD_sayHello);
]]></programlisting>
- <para><diffmk:wrapper diffmk:change="added">The final version of </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">GreetingAction.java</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> should look like this:</diffmk:wrapper></para>
+ <para>The final version of <emphasis>
+ <property moreinfo="none">GreetingAction.java</property></emphasis> should look like this:</para>
<programlisting format="linespecific" role="JAVA"><![CDATA[package sample;
import javax.servlet.http.HttpServletRequest;
@@ -784,9 +787,9 @@
<listitem>
<para>Drag it and drop it between the quotes for the <emphasis role="italic">
<property moreinfo="none">"action"</property>
- </emphasis> attribute to the <emphasis role="bold">
- <property moreinfo="none"><html:form></property>
- </emphasis> element in the Source pane of the editor</para>
+ </emphasis><diffmk:wrapper diffmk:change="added"> attribute to the
+ </diffmk:wrapper><code diffmk:change="added"><html:form></code><diffmk:wrapper diffmk:change="added">
+ element in the Source pane of the editor</diffmk:wrapper></para>
</listitem>
<listitem>
<para>Then type this text on a new line just below this line:</para>
@@ -831,7 +834,7 @@
</emphasis></para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">In the StrutsForm library in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">JBoss Tools Palette</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">, select </diffmk:wrapper><emphasis>
+ <para>In the StrutsForm library in the <property moreinfo="none">JBoss Tools Palette</property>, select <emphasis>
<property moreinfo="none">submit</property>
</emphasis>, and drag it to right after the text box in the Visual pane
of the editor</para>
@@ -839,9 +842,9 @@
<listitem>
<para>Right-click the <emphasis>
<property moreinfo="none">submit</property>
- </emphasis> button and select <emphasis role="bold">
- <property moreinfo="none"><html:submit></property>
- </emphasis> Attributes from the context menu</para>
+ </emphasis><diffmk:wrapper diffmk:change="added"> button and select
+ </diffmk:wrapper><code diffmk:change="added"><html:submit></code><diffmk:wrapper diffmk:change="added">
+ Attributes from the context menu</diffmk:wrapper></para>
</listitem>
<listitem>
<para>In the Attributes dialog box, select the <emphasis>
@@ -885,21 +888,21 @@
</html>
]]></programlisting>
- <para><diffmk:wrapper diffmk:change="added">To complete editing of this file, we will use macros from the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">JBoss Tools
- Palette</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">. This palette is a view that should be available to the right of the
- editing area.</diffmk:wrapper></para>
+ <para>To complete editing of this file, we will use macros from the <property moreinfo="none">JBoss Tools
+ Palette</property>. This palette is a view that should be available to the right of the
+ editing area.</para>
<itemizedlist>
<listitem>
<para>Click on the <emphasis>
<property moreinfo="none">Struts Common</property>
- </emphasis><diffmk:wrapper diffmk:change="added"> folder in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">JBoss Tools Palette</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added"> to open it</diffmk:wrapper></para>
+ </emphasis> folder in the <property moreinfo="none">JBoss Tools Palette</property> to open it</para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">Position the cursor at the beginning of the </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">greeting.jsp</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> file in the
- Source pane and then click on </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">bean taglib</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">JBoss Tools
- Palette</diffmk:wrapper></property></para>
+ <para>Position the cursor at the beginning of the <emphasis>
+ <property moreinfo="none">greeting.jsp</property></emphasis> file in the
+ Source pane and then click on <emphasis>
+ <property moreinfo="none">bean taglib</property></emphasis> in the <property moreinfo="none">JBoss Tools
+ Palette</property></para>
</listitem>
</itemizedlist>
<para>This will insert the following line at the top of the file:</para>
@@ -910,24 +913,24 @@
<listitem>
<para>Click on the <emphasis>
<property moreinfo="none">Struts Bean</property>
- </emphasis><diffmk:wrapper diffmk:change="added"> folder in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">JBoss Tools Palette</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added"> to open it</diffmk:wrapper></para>
+ </emphasis> folder in the <property moreinfo="none">JBoss Tools Palette</property> to open it</para>
</listitem>
<listitem>
- <para>Position the cursor inside the <emphasis role="bold">
- <property moreinfo="none"><p></property>
- </emphasis> element</para>
+ <para><diffmk:wrapper diffmk:change="added">Position the cursor inside the
+ </diffmk:wrapper><code diffmk:change="added"><p></code><diffmk:wrapper diffmk:change="added">
+ element</diffmk:wrapper></para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">Click on </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">write</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">JBoss Tools Palette</diffmk:wrapper></property></para>
+ <para>Click on <emphasis>
+ <property moreinfo="none">write</property></emphasis> in the <property moreinfo="none">JBoss Tools Palette</property></para>
</listitem>
<listitem>
<para>Type in "GetNameForm" for the <emphasis role="italic">
- <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">name</diffmk:wrapper></property>
+ <property moreinfo="none">name</property>
</emphasis> attribute and add a <emphasis role="italic">
- <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">property</diffmk:wrapper></property>
- </emphasis><diffmk:wrapper diffmk:change="changed"> attribute with "name" as its
- value</diffmk:wrapper></para>
+ <property moreinfo="none">property</property>
+ </emphasis> attribute with "name" as its
+ value</para>
</listitem>
</itemizedlist>
<para>The editor should now look like this:</para>
@@ -942,31 +945,31 @@
</section>
<section id="index.jsp">
<title>index.jsp</title>
- <para><diffmk:wrapper diffmk:change="added">Finally, we will need to create and edit an </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">index.jsp</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> page. This page will use
- a Struts forward to simply redirect us to the getName global forward.</diffmk:wrapper></para>
+ <para>Finally, we will need to create and edit an <emphasis>
+ <property moreinfo="none">index.jsp</property></emphasis> page. This page will use
+ a Struts forward to simply redirect us to the getName global forward.</para>
<itemizedlist>
<listitem>
<para>In the Web Projects view, right-click on <emphasis>
<property moreinfo="none">StrutsHello > WEB-ROOT(WebContent)</property>
</emphasis> node and select <emphasis>
- <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">New > File > JSP</diffmk:wrapper></property>
+ <property moreinfo="none">New > File > JSP</property>
</emphasis></para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">Type </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">index</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> for Name and click on the </diffmk:wrapper><emphasis>
+ <para>Type <emphasis>
+ <property moreinfo="none">index</property></emphasis> for Name and click on the <emphasis>
<property moreinfo="none">Finish</property>
</emphasis> button</para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">On the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">JBoss Tools Palette</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">, select the </diffmk:wrapper><emphasis>
+ <para>On the <property moreinfo="none">JBoss Tools Palette</property>, select the <emphasis>
<property moreinfo="none">Struts Common</property>
</emphasis> folder of macros by clicking on it in the palette</para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">Click on the </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">logic taglib</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> icon</diffmk:wrapper></para>
+ <para>Click on the <emphasis>
+ <property moreinfo="none">logic taglib</property></emphasis> icon</para>
</listitem>
<listitem>
<para>Press the <emphasis>
@@ -979,8 +982,8 @@
</emphasis> folder of macros</para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="added">Click on </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">redirect</diffmk:wrapper></property></emphasis></para>
+ <para>Click on <emphasis>
+ <property moreinfo="none">redirect</property></emphasis></para>
</listitem>
<listitem>
<para>Delete the ending tag, put a forward slash in front of the closing
@@ -1139,50 +1142,35 @@
<listitem><para>In the JBoss Tools Palette view to the right, open the Struts HTML folder and click on the javascript tag</para></listitem>
<listitem><para>Back in the editor, just in front of the closing slash for this inserted tag, hit Ctrl+Space and select "formName" from the prompting menu</para></listitem>
<listitem><para>Over in the Web Projects view, select GetNameForm under the <emphasis><property moreinfo="none">StrutsHello > Configuration > default > struts-config.xml > form-beans</property></emphasis> node, drag it, and drop it between the quotes in the editor</para></listitem>
-<listitem><para>Modify the <emphasis role="bold"><property moreinfo="none"><html:form></property></emphasis> tag by inserting this attribute:</para></listitem>
+<listitem><para>Modify the <code diffmk:change="added"><html:form></code> tag by inserting this attribute:</para></listitem>
</itemizedlist>
<programlisting format="linespecific" role="XML"><![CDATA[onsubmit="return validateGetNameForm(this)"
]]></programlisting>
<para></para>
<para>The file should now look like this:</para>
<programlisting format="linespecific" role="XML"><![CDATA[
-<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
-<html:html>
-<head>
- <title>Input name</title>
- <html:javascript formName="GetNameForm"/>
-</head>
-<body>
- <html:form action="/greeting.do" onsubmit="return
- <para>validateGetNameForm(this)"></para>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><b>Input name:</b></td>
- </tr>
- <tr>
- <td>
- <html:text property="name" />
- <html:submit value=" Say Hello! " />
- </td>
- </tr>
- </table>
- </html:form>
-</body>
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+
+<html:html >
+ <head>
+ <html:javascript formName="GetNameForm"/>
+ <title></title>
+ </head>
+ <body>
+ <html:form action="/greeting.do" onsubmit="return validateGetNameForm(this)">
+ Input name:<html:text property="name"/><html:submit value="Say Hello!"/>
+ </html:form>
+ </body>
</html:html>
]]></programlisting>
<itemizedlist>
<listitem><para>Select<emphasis><property moreinfo="none"> File > Save </property></emphasis>from the menu bar</para></listitem>
<listitem><para>Start JBoss Application Server by clicking on its icon (a right-pointing arrow) in the toolbar</para></listitem>
-<listitem><para>Click the Run icon or right click your project folder and select <emphasis><property moreinfo="none">Run As > Run on Server</property></emphasis></para></listitem>
+ <listitem><para><diffmk:wrapper diffmk:change="added">Click the Run icon(</diffmk:wrapper><inlinemediaobject diffmk:change="added"> <imageobject diffmk:change="added">
+ <imagedata diffmk:change="added" fileref="images/struts_validation/struts_validation_1.png"></imagedata>
+ </imageobject></inlinemediaobject><diffmk:wrapper diffmk:change="added">) or right click your project folder and select </diffmk:wrapper><emphasis><property moreinfo="none">Run As > Run on Server</property></emphasis></para></listitem>
</itemizedlist>
-<figure float="0">
- <title>Run Icon</title>
-<mediaobject>
- <imageobject>
- <imagedata fileref="images/struts_validation/struts_validation_1.png"></imagedata>
- </imageobject>
-</mediaobject>
-</figure>
+
<itemizedlist><listitem><para>In the browser window, click on the "Say Hello!" button without having entered any name in the form</para></listitem></itemizedlist>
<para>A JavaScript error message should be displayed in an alert box.</para>
</section>
@@ -1197,34 +1185,26 @@
<title>Editing the JSP File</title>
<itemizedlist>
<listitem><para>Reopen inputname.jsp for editing</para></listitem>
-<listitem><para>Delete the <emphasis role="italic"><property moreinfo="none">"onsubmit"</property></emphasis> attribute in the <emphasis role="bold"><property moreinfo="none"><html:form></property></emphasis> element that you put in for client-side validation</para></listitem>
+<listitem><para>Delete the <emphasis role="italic"><property moreinfo="none">"onsubmit"</property></emphasis> attribute in the <code diffmk:change="added"><html:form></code> element that you put in for client-side validation</para></listitem>
-<listitem><para>Add an <emphasis role="bold"><property moreinfo="none"><html:errors></property></emphasis> tag after the <emphasis role="bold"><property moreinfo="none"><html:form></property></emphasis> tag</para></listitem>
+<listitem><para>Add an <code diffmk:change="added"><diffmk:wrapper diffmk:change="added"><html:errors/></diffmk:wrapper></code><diffmk:wrapper diffmk:change="added"> tag after the
+ </diffmk:wrapper><code diffmk:change="added"><html:form></code><diffmk:wrapper diffmk:change="added">
+ tag</diffmk:wrapper></para></listitem>
</itemizedlist>
<para>The JSP file should now look like this:</para>
-<programlisting format="linespecific" role="XML"><![CDATA[<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
-<html:html>
+ <programlisting format="linespecific" role="XML"><![CDATA[<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html >
<head>
- <title>Input name</title>
- <html:javascript formName="GetNameForm"/>
-</head>
-<body>
- <html:form action="/greeting.do">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><b>Input name:</b></td>
- </tr>
- <tr>
- <td>
- <html:text property="name" />
- <html:submit value=" Say Hello! " />
- </td>
- </tr>
- </table>
- </html:form>
- <html:errors />
-</body>
+ <html:javascript formName="GetNameForm"/>
+ <title></title>
+ </head>
+ <body>
+ <html:form action="/greeting.do" >Input name:<html:text property="name"/>
+ <html:submit value="Say Hello!"/>
+ </html:form>
+ <html:errors/>
+ </body>
</html:html>
]]></programlisting>
@@ -1289,11 +1269,11 @@
}
// public ActionErrors validate(ActionMapping actionMapping,
- HttpServletRequest request)
- {
- // ActionErrors errors = new ActionErrors();
- // return errors;
- // }
+ // HttpServletRequest request)
+ //{
+ // ActionErrors errors = new ActionErrors();
+ // return errors;
+ // }
}
]]></programlisting>
@@ -1338,7 +1318,7 @@
<para>To find out all the features of <property moreinfo="none">JBoss Tools</property> for working with Struts
refer to our <ulink url="../../struts_tools_ref_guide/html_single/index.html">Struts Tools Reference Guide</ulink>. If you
- still have questions you are always welcome on <ulink url="http://www.jboss.com/index.html?module=bb&op=viewforum&f=201">JBoss
+ still have questions you are always welcome on <ulink url="http://www.jboss.com/index.html?module=bb'op=viewforum'f=201">JBoss
Tools Forum</ulink>.</para>
</chapter>
15 years, 9 months
JBoss Tools SVN: r15751 - trunk/struts/docs/struts_tools_ref_guide/en.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-05 11:27:40 -0400 (Fri, 05 Jun 2009)
New Revision: 15751
Modified:
trunk/struts/docs/struts_tools_ref_guide/en/master_output.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-743 - updating the master_output.xml;
Modified: trunk/struts/docs/struts_tools_ref_guide/en/master_output.xml
===================================================================
--- trunk/struts/docs/struts_tools_ref_guide/en/master_output.xml 2009-06-05 15:27:20 UTC (rev 15750)
+++ trunk/struts/docs/struts_tools_ref_guide/en/master_output.xml 2009-06-05 15:27:40 UTC (rev 15751)
@@ -30,6 +30,16 @@
<bookinfo>
<title>Struts Tools Reference Guide</title>
+ <corpauthor diffmk:change="added">
+ <inlinemediaobject diffmk:change="added">
+ <imageobject diffmk:change="added" role="fo">
+ <imagedata diffmk:change="added" fileref="images/jbosstools_logo.png" format="PNG"></imagedata>
+ </imageobject>
+ <imageobject diffmk:change="added" role="html">
+ <imagedata diffmk:change="added"></imagedata>
+ </imageobject>
+ </inlinemediaobject>
+ </corpauthor>
<author><firstname>Anatoly</firstname><surname>Fedosik</surname></author>
<author><firstname>Olga</firstname><surname>Chikvina</surname></author>
<author><firstname>Svetlana</firstname><surname>Mukhina</surname><email>smukhina(a)exadel.com</email></author>
@@ -40,9 +50,9 @@
<year>2009</year>
<holder>JBoss, a division of Red Hat</holder>
</copyright>
- <releaseinfo>
- Version: 3.0.0.GA
- </releaseinfo>
+ <releaseinfo><diffmk:wrapper diffmk:change="changed">
+ Version: 3.1.0.M1
+ </diffmk:wrapper></releaseinfo>
<abstract>
<title></title>
@@ -142,10 +152,10 @@
<row>
<entry><para>Verification and Validation</para></entry>
- <entry><para><diffmk:wrapper diffmk:change="changed">All occurring errors will be immediately reported by verification
+ <entry><para>All occurring errors will be immediately reported by verification
feature, no matter in what view you are working. Constant validation and
errors checking allows to catch many of the errors during development
- process that significantly reduces development time.</diffmk:wrapper></para></entry>
+ process that significantly reduces development time.</para></entry>
<entry>
<link linkend="project_verification">verification and validation</link>
</entry>
@@ -420,9 +430,9 @@
</mediaobject>
</figure>
- <para><diffmk:wrapper diffmk:change="changed">When done, you can open end edit the struts-config.xml file using useful Struts
+ <para>When done, you can open end edit the struts-config.xml file using useful Struts
configuration file editor provided by JBDS. (The Struts configuration is shown below in
- the Tree viewer).</diffmk:wrapper></para>
+ the Tree viewer).</para>
<figure float="0">
<title>Struts-config.xml File</title>
@@ -434,6 +444,12 @@
</figure>
</section>
+ <section diffmk:change="added">
+ <title diffmk:change="added"><diffmk:wrapper diffmk:change="added">Relevant Resources Links</diffmk:wrapper></title>
+
+ <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">You can find more in-depth explanation on how to work with special wizards, editors and views that can
+ be used in various scenarios while developing Struts applications in our </diffmk:wrapper><ulink diffmk:change="added" url="../../jsf/html_single/index.html"><diffmk:wrapper diffmk:change="added">Visual Web Tools guide</diffmk:wrapper></ulink><diffmk:wrapper diffmk:change="added">.</diffmk:wrapper></para>
+ </section>
</chapter>
@@ -1256,8 +1272,8 @@
Tools</property>.</para>
<para>If you'd like to contribute your feedback is always appreciated. You can
- leave your questions and suggestions on our <ulink url="http://www.jboss.com/index.html?module=bb&op=viewforum&f=201">Forum</ulink>.</para>
- <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">We hope, this guide helped you to get started with the JBoss Struts Tools. Besides, for additional information you are welcome on </diffmk:wrapper><ulink diffmk:change="added" url="http://www.jboss.com/index.html?module=bb&op=viewforum&f=201"><diffmk:wrapper diffmk:change="added">JBoss forum</diffmk:wrapper></ulink><diffmk:wrapper diffmk:change="added">.</diffmk:wrapper></para>
+ leave your questions and suggestions on our <ulink url="http://www.jboss.com/index.html?module=bb'op=viewforum'f=201">Forum</ulink>.</para>
+ <para>We hope, this guide helped you to get started with the JBoss Struts Tools. Besides, for additional information you are welcome on <ulink url="http://www.jboss.com/index.html?module=bb'op=viewforum'f=201">JBoss forum</ulink>.</para>
</chapter>
</book>
15 years, 9 months
JBoss Tools SVN: r15750 - trunk/smooks/docs/reference/en.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-05 11:27:20 -0400 (Fri, 05 Jun 2009)
New Revision: 15750
Modified:
trunk/smooks/docs/reference/en/master_output.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-743 - updating the master_output.xml;
Modified: trunk/smooks/docs/reference/en/master_output.xml
===================================================================
--- trunk/smooks/docs/reference/en/master_output.xml 2009-06-05 15:27:02 UTC (rev 15749)
+++ trunk/smooks/docs/reference/en/master_output.xml 2009-06-05 15:27:20 UTC (rev 15750)
@@ -13,6 +13,16 @@
<bookinfo>
<title>Smooks Dev Tools Reference Guide</title>
+ <corpauthor diffmk:change="added">
+ <inlinemediaobject diffmk:change="added">
+ <imageobject diffmk:change="added" role="fo">
+ <imagedata diffmk:change="added" fileref="images/jbosstools_logo.png" format="PNG"></imagedata>
+ </imageobject>
+ <imageobject diffmk:change="added" role="html">
+ <imagedata diffmk:change="added"></imagedata>
+ </imageobject>
+ </inlinemediaobject>
+ </corpauthor>
<author>
<firstname>Xue(Dart)</firstname>
<surname>Peng</surname>
@@ -23,9 +33,9 @@
<year>2009</year>
<holder>JBoss, a division of Red Hat</holder>
</copyright>
- <releaseinfo>
- Version: 1.0.0.GA
- </releaseinfo>
+ <releaseinfo><diffmk:wrapper diffmk:change="changed">
+ Version: 1.1.0.M1
+ </diffmk:wrapper></releaseinfo>
<abstract>
<title></title>
@@ -48,7 +58,7 @@
</keywordset>
</chapterinfo>
<title>Introduction</title>
- <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">This chapter give you a short introduction to Smooks, Smooks tools and its installation</diffmk:wrapper></para>
+ <para>This chapter give you a short introduction to Smooks, Smooks tools and its installation</para>
<section>
<title>What is Smooks?</title>
@@ -97,12 +107,12 @@
<para> For More informations about <property moreinfo="none">Smooks</property>, please visit <ulink url="http://www.smooks.org">Smooks official site</ulink>.</para>
</section>
<section>
- <title><diffmk:wrapper diffmk:change="changed">What is Smooks Tools?</diffmk:wrapper></title>
+ <title>What is Smooks Tools?</title>
- <para><diffmk:wrapper diffmk:change="changed">Smooks tools is a set of graphical tools for editing Smooks configuration file
- based on Eclipse.</diffmk:wrapper></para>
+ <para>Smooks tools is a set of graphical tools for editing Smooks configuration file
+ based on Eclipse.</para>
<figure float="0">
- <title><diffmk:wrapper diffmk:change="changed">Smooks Form editor</diffmk:wrapper></title>
+ <title>Smooks Form editor</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/introduction/introduction2.png" scale="90"></imagedata>
@@ -113,14 +123,14 @@
<section>
<title>How to install Smooks dev tools?</title>
- <para><diffmk:wrapper diffmk:change="changed"> The Smooks tools was included by the </diffmk:wrapper><property moreinfo="none">JBoss Tools</property> since 3.0.0
- Beta1 version. You can download the <property moreinfo="none">JBoss Tools</property> from <ulink url="http://www.jboss.org/tools/download/index.html"><diffmk:wrapper diffmk:change="changed">JBoss download site</diffmk:wrapper></ulink>.</para>
- <para><diffmk:wrapper diffmk:change="changed"> Smooks tools (</diffmk:wrapper><property moreinfo="none">JBoss Tools</property>) run with the latest Eclipse and
+ <para> The Smooks tools was included by the <property moreinfo="none">JBoss Tools</property> since 3.0.0
+ Beta1 version. You can download the <property moreinfo="none">JBoss Tools</property> from <ulink url="http://jboss.org/tools/download.html">JBoss download site</ulink>.</para>
+ <para> Smooks tools (<property moreinfo="none">JBoss Tools</property>) run with the latest Eclipse and
other required plug-ins (GEF, EMF, etc.).</para>
- <para><diffmk:wrapper diffmk:change="changed"> You should download the latest IDE for Java EE developers from </diffmk:wrapper><ulink url="http://www.eclipse.org/downloads/"><diffmk:wrapper diffmk:change="changed"> Eclipse site</diffmk:wrapper></ulink><diffmk:wrapper diffmk:change="added">. It contains many plug-ins (
- GEF, EMF, etc. ) required by Smooks dev tools. </diffmk:wrapper></para>
+ <para> You should download the latest IDE for Java EE developers from <ulink url="http://www.eclipse.org/downloads/"> Eclipse site</ulink>. It contains many plug-ins (
+ GEF, EMF, etc. ) required by Smooks dev tools. </para>
- <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">Now let's progress to more advanced topics.</diffmk:wrapper></para>
+ <para>Now let's progress to more advanced topics.</para>
</section>
</chapter>
@@ -139,22 +149,22 @@
<title>Quick Start</title>
<para> This "Quick Start" will show how to use the <property moreinfo="none">Smooks tools</property> to create/edit the Smooks
configuration file for Java2Java data transformation.</para>
- <para><diffmk:wrapper diffmk:change="changed"> This chapter gives you a brief understanding of the </diffmk:wrapper><property moreinfo="none"><diffmk:wrapper diffmk:change="changed">Smooks tools</diffmk:wrapper></property>.</para>
+ <para> This chapter gives you a brief understanding of the <property moreinfo="none">Smooks tools</property>.</para>
<section>
<title>Download Smooks Java-to-Java Example</title>
<para> Visit <ulink url="http://www.smooks.org/documentation/documentation-smooks-1-1-x/examples/e...">here</ulink> to download the "java-to-java" example project. </para>
<tip>
<title>Tip:</title>
- <para><diffmk:wrapper diffmk:change="changed"> The example project is based on Maven, we suggest you to create a new eclipse
+ <para> The example project is based on Maven, we suggest you to create a new eclipse
Java project, copy the example code and .jar files from the example project and paste
- them into the eclipse Java project. </diffmk:wrapper></para>
+ them into the eclipse Java project. </para>
</tip>
</section>
<section>
<title>Smooks Configuration File Wizard</title>
- <para><diffmk:wrapper diffmk:change="changed">Select the Smooks Java-to-Java example project that you created and right-click,
- select the menu </diffmk:wrapper><emphasis><property moreinfo="none">New > Other</property>,</emphasis> then find
+ <para>Select the Smooks Java-to-Java example project that you created and right-click,
+ select the menu <emphasis><property moreinfo="none">New > Other</property>,</emphasis> then find
<emphasis><property moreinfo="none">Smooks > Smooks Configuration File</property>.</emphasis>
Click the <emphasis>
<property moreinfo="none">Next</property>
@@ -180,60 +190,61 @@
</imageobject>
</mediaobject>
</figure>
- <para>The second wizard page is a transform data type choose page.</para>
- <para> As the quick start introduces how to create/edit the Java-to-Java Smooks
- configuration file, let's select the<emphasis>
- <property moreinfo="none">Java-to-Java</property>
+ <para><diffmk:wrapper diffmk:change="added">The second wizard page is a Smooks configuration file version choose page.Select appropriate one and click finish.</diffmk:wrapper></para>
+ <!--<para> As the quick start introduces how to create/edit the Java-to-Java Smooks
+ configuration file, let's select the<emphasis>
+ <property>Java-to-Java</property>
</emphasis> type as the source/target transform data type. </para>
- <figure float="0">
+ <figure>
<title>Selecting Data Type</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/quick_start/quick_start3.png" scale="90"></imagedata>
+ <imagedata fileref="images/quick_start/quick_start3.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
<para>On the next page you are prompted to choose the source data for transformation.
- Let's select the <property moreinfo="none">Order</property> class from the example project as
+ Let's select the <property>Order</property> class from the example project as
the source JavaBean class.</para>
- <figure float="0">
+ <figure>
<title>Selecting the Source Data</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/quick_start/quick_start4.png" scale="90"></imagedata>
+ <imagedata fileref="images/quick_start/quick_start4.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
<para>Then the wizard page asks you to choose the target data for transformation. We select
- the <property moreinfo="none">ListOrder</property> class as the target JavaBean class.</para>
- <figure float="0">
+ the <property>ListOrder</property> class as the target JavaBean class.</para>
+ <figure>
<title>Selecting the Target Data</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/quick_start/quick_start5.png" scale="90"></imagedata>
+ <imagedata fileref="images/quick_start/quick_start5.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para></para>
+ <para/>
<tip>
<title>Tip:</title>
<para>You can omit two these steps and just press
- <emphasis><property moreinfo="none">Finish</property>.</emphasis> This will open the empty
- Smooks Configuration file. It's possible to <link linkend="graphicaleditor_datalink">select source/target data</link> afterwards
+ <emphasis><property>Finish</property>.</emphasis> This will open the empty
+ Smooks Configuration file. It's possible to <link
+ linkend="graphicaleditor_datalink">select source/target data</link> afterwards
in the Smooks Graph editor.</para>
- </tip>
+ </tip>-->
</section>
<section id="quickstart_formeditor">
<title>Smooks Editor</title>
<para>When all the wizard steps are passed, a new Smooks Configuration file is created and
- the <property moreinfo="none">Smooks Editor</property> will be opened automatically:</para>
+ the <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">Smooks Configuration Editor</diffmk:wrapper></property> will be opened automatically:</para>
<figure float="0">
<title>Smooks Editor</title>
<mediaobject>
@@ -243,12 +254,12 @@
</mediaobject>
</figure>
- <para> This editor contains several parts: <table>
+ <!--<para> This editor contains several parts: <table>
<title>The Smooks Editor Parts</title>
<tgroup cols="2">
- <colspec align="left" colnum="1" colwidth="1*"></colspec>
- <colspec colnum="2" colwidth="5*"></colspec>
+ <colspec colnum="1" align="left" colwidth="1*"/>
+ <colspec colnum="2" colwidth="5*"/>
<thead>
<row>
@@ -264,8 +275,8 @@
<para>Problems area</para>
</entry>
<entry>
- <para><diffmk:wrapper diffmk:change="changed">If there are any errors when you are editing the file, the
- Problems area displays them</diffmk:wrapper></para>
+ <para>If there are any errors when you are editing the file, the
+ Problems area displays them</para>
</entry>
</row>
@@ -274,8 +285,8 @@
<para>Source data tree</para>
</entry>
<entry>
- <para><diffmk:wrapper diffmk:change="changed">The tree displays a structure of the transformed source
- data</diffmk:wrapper></para>
+ <para>The tree displays a structure of the transformed source
+ data</para>
</entry>
</row>
@@ -284,8 +295,8 @@
<para>Target data tree</para>
</entry>
<entry>
- <para><diffmk:wrapper diffmk:change="changed">The tree displays a structure of the transformed target
- data</diffmk:wrapper></para>
+ <para>The tree displays a structure of the transformed target
+ data</para>
</entry>
</row>
@@ -303,41 +314,27 @@
<para>Source/Target data selection links</para>
</entry>
<entry>
- <para>Click the link, and <link linkend="graphicaleditor_datalink">Data Selection wizard</link><diffmk:wrapper diffmk:change="changed"> is opened helping you to
- choose the source/target data</diffmk:wrapper></para>
+ <para>Click the link, and <link linkend="graphicaleditor_datalink"
+ >Data Selection wizard</link> is opened helping you to
+ choose the source/target data</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
- </para>
+ </para>-->
</section>
<section id="graphicaleditor_datalink">
- <title>Choosing the Source/Target Data</title>
+ <title><diffmk:wrapper diffmk:change="changed">Choosing the transform data</diffmk:wrapper></title>
- <para>To choose the transform data you should make use of the data selection links:</para>
-
- <itemizedlist>
- <listitem>
- <para><emphasis>
- <property moreinfo="none">Source Select</property>
- </emphasis> for selecting source data</para>
- </listitem>
-
- <listitem>
- <para><emphasis>
- <property moreinfo="none">Target Select</property>
- </emphasis> for selecting target data</para>
- </listitem>
- </itemizedlist>
-
- <para>After clicking the link the <property moreinfo="none">Data Type Selection wizard</property><diffmk:wrapper diffmk:change="changed"> is
- opened, and there are two data types on the list: Java and XML.</diffmk:wrapper></para>
+ <para><diffmk:wrapper diffmk:change="added">To choose the transform data you should click add button in the Input Data section.</diffmk:wrapper></para>
+ <para><diffmk:wrapper diffmk:change="changed">After clicking the button the </diffmk:wrapper><property moreinfo="none">Data Type Selection wizard</property> is
+ opened, and there are two data types on the list: Java and XML.</para>
<note>
<title>Note</title>
- <para><diffmk:wrapper diffmk:change="changed"> There will become more and more data types on the list as the development goes on.
- </diffmk:wrapper></para>
+ <para> There will become more and more data types on the list as the development goes on.
+ </para>
</note>
<figure float="0">
@@ -363,10 +360,10 @@
</mediaobject>
</figure>
- <para>When you select all the necessary java classes, click <emphasis>
+ <para><diffmk:wrapper diffmk:change="changed"> Let's select the Order class from the example project as the source JavaBean class and the ListOrder class as the target JavaBean class.When you selected the necessary java classes, click </diffmk:wrapper><emphasis>
<property moreinfo="none">Finish</property>
- </emphasis><diffmk:wrapper diffmk:change="changed"> and the structure of the java class is displayed on the source/target
- data tree.</diffmk:wrapper></para>
+ </emphasis><diffmk:wrapper diffmk:change="changed"> and you should see all added java classes displayed in the Input Data Section
+ .</diffmk:wrapper></para>
<figure float="0">
<title>Displaying the Structure of the Transformed Data</title>
<mediaobject>
@@ -380,8 +377,8 @@
<section id="quickstart_mapping">
<title>Mapping</title>
- <para> As you see, the source/target data tree displays the structure of the java class. </para>
- <para>How to map it?</para>
+
+ <para><diffmk:wrapper diffmk:change="changed">How to map the java class just added?</diffmk:wrapper></para>
<para>First, you should know what to transform:</para>
@@ -423,302 +420,137 @@
</listitem>
</orderedlist>
- <para> Make sense?</para>
- <para> OK, let's select the <emphasis>
- <property moreinfo="none">"customerName"</property>
- </emphasis> item of the <emphasis>
- <property moreinfo="none">"header"</property>
- </emphasis> item on the source data tree and start to drag it. When the drag item
- crosses the Mapping graphical area, you will see a connection line. Drop the item onto
- the <emphasis>
- <property moreinfo="none">"customerName"</property>
- </emphasis> of the <property moreinfo="none">LineOrder</property> on the target data
- view.</para>
- <para> Now a dialog is opened asking you to connect the root node:</para>
-
+ <para><diffmk:wrapper diffmk:change="added"> Make sense?
+You should right click Resource List , select Add Smooks Resource>Java Binding>Bindings
+ </diffmk:wrapper></para>
+ <para><diffmk:wrapper diffmk:change="changed">First of all, you should bind Order to LineOrder. To do this one Bindings Item should be added to the Resource List.</diffmk:wrapper></para>
+ <figure diffmk:change="added" float="0">
+ <title><diffmk:wrapper diffmk:change="changed">Mapping</diffmk:wrapper></title>
+ <mediaobject diffmk:change="added">
+ <imageobject diffmk:change="added">
+ <imagedata fileref="images/quick_start/quick_start10.png" scale="90"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure><para><diffmk:wrapper diffmk:change="changed">Click on it and you should see Bindings Section to the right of Message Filtering Resources.Write </diffmk:wrapper><emphasis> <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">lineOrder</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added"> in the Bean id field.</diffmk:wrapper></para>
+ <para><diffmk:wrapper diffmk:change="added">Select example.trgmodel.LineOrder in the Class field and example.srcmodel.Order in the Name field.Your >Smooks Configuration Editor should look like this: </diffmk:wrapper></para>
<figure float="0">
- <title>Dialog Asking You to Connect to the Root Nodes</title>
+ <title><diffmk:wrapper diffmk:change="changed">Mapping</diffmk:wrapper></title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/quick_start/quick_start10.png" scale="90"></imagedata>
+ <imagedata fileref="images/quick_start/quick_start11.png" scale="90"></imagedata>
</imageobject>
</mediaobject>
</figure>
- <para> Please, click <emphasis>
- <property moreinfo="none">Yes</property>
- </emphasis><diffmk:wrapper diffmk:change="changed"> to connect the root node. If you don't do that, this dialog is
- opened again when you connect other nodes.</diffmk:wrapper></para>
- <note>
- <title>Note:</title>
- <para><diffmk:wrapper diffmk:change="changed">Please, remember that the root nodes of the source data and target data *MUST* be
- connected.</diffmk:wrapper></para>
- <para><diffmk:wrapper diffmk:change="changed">This rule is not only for Java-to-Java, but also is relevant for
- XML-to-Java </diffmk:wrapper></para>
- </note>
- <para> Now let's do the same operation with the <emphasis>
- <property moreinfo="none">"customerNumber"</property>,</emphasis> that is what you
- should see:</para>
+
+ <para><diffmk:wrapper diffmk:change="changed">Now you should bind two values </diffmk:wrapper><emphasis> <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">"customerNumber"</diffmk:wrapper></property>
+ </emphasis><diffmk:wrapper diffmk:change="added"> property of the </diffmk:wrapper><property moreinfo="none"><diffmk:wrapper diffmk:change="changed">Order#header</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added"> to the </diffmk:wrapper><emphasis>
+ <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">"customerId"</diffmk:wrapper></property>
+ </emphasis><diffmk:wrapper diffmk:change="added"> property of </diffmk:wrapper><property moreinfo="none"><diffmk:wrapper diffmk:change="changed">LineOrder</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">.To do this right click your just created </diffmk:wrapper><emphasis>
+ <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">Bindings Item >Add Smooks Resource>Value</diffmk:wrapper></property></emphasis><diffmk:wrapper diffmk:change="added">
+ .</diffmk:wrapper></para>
+
<figure float="0">
- <title>Correctly Mapping Editor</title>
+ <title><diffmk:wrapper diffmk:change="changed"> Mapping Editor</diffmk:wrapper></title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/quick_start/quick_start11.png" scale="90"></imagedata>
+ <imagedata fileref="images/quick_start/quick_start12.png" scale="90"></imagedata>
</imageobject>
</mediaobject>
- </figure>
- <para>Next, you are going to bind the properties of the <property moreinfo="none">OrderItem</property> to
- the properties of the <property moreinfo="none">LineItem</property>.</para>
+ </figure><note diffmk:change="added">
+ <title><diffmk:wrapper diffmk:change="changed">Note:</diffmk:wrapper></title>
+ <para><diffmk:wrapper diffmk:change="added">Please, remember that the root nodes of the source data and target data *MUST* be
+ connected.</diffmk:wrapper></para>
+ <para><diffmk:wrapper diffmk:change="changed">This rule is not only for Java-to-Java, but also is relevant for
+ XML-to-Java </diffmk:wrapper></para>
+ </note>
+ <para><diffmk:wrapper diffmk:change="added"> Do the same operation with the
+ other properties in this and other classes.</diffmk:wrapper></para>
+<!--
+ <para>Next, you are going to bind the properties of the <property>OrderItem</property> to
+ the properties of the <property>LineItem</property>.</para>
<para>Select the <emphasis>
- <property moreinfo="none">"price"</property>
+ <property>"price"</property>
</emphasis> and drag it onto the <emphasis>
- <property moreinfo="none">"unitPrice"</property>
- </emphasis><diffmk:wrapper diffmk:change="changed"> of the other side tree viewer. The Problems area shows an
- error:</diffmk:wrapper></para>
- <figure float="0">
+ <property>"unitPrice"</property>
+ </emphasis> of the other side tree viewer. The Problems area shows an
+ error:</para>
+ <figure>
<title>Connection Error 1</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/quick_start/quick_start12.png" scale="90"></imagedata>
+ <imagedata fileref="images/quick_start/quick_start12.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
<para>How to deal with the error?</para>
<para>Please click the <emphasis>
- <property moreinfo="none">Fix it</property></emphasis> link, a menu is popped-up with several
+ <property>Fix it</property></emphasis> link, a menu is popped-up with several
resolve methods on it.</para>
- <figure float="0">
+ <figure>
<title>Fixing the Connection Error</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/quick_start/quick_start13.png" scale="90"></imagedata>
+ <imagedata fileref="images/quick_start/quick_start13.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
<para> Select the first resolve method: <emphasis>
- 'Connect the "OrderItem" to the
- "LineItem" '.</emphasis> As the result the <emphasis>
- <property moreinfo="none">"OrderItem"</property></emphasis> is connected with
+ 'Connect the "OrderItem" to the
+ "LineItem" '.</emphasis> As the result the <emphasis>
+ <property>"OrderItem"</property></emphasis> is connected with
the <emphasis>
- <property moreinfo="none">"LineItem"</property>.</emphasis></para>
+ <property>"LineItem"</property>.</emphasis></para>
<para>But the notify message area still shows some other errors:</para>
- <figure float="0">
+ <figure>
<title>Connection Error 2</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/quick_start/quick_start14.png" scale="90"></imagedata>
+ <imagedata fileref="images/quick_start/quick_start14.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para>OK, let's deal with the fire error. Click the <emphasis>
- <property moreinfo="none">Fix it</property></emphasis> link and
+ <para>OK, let's deal with the fire error. Click the <emphasis>
+ <property>Fix it</property></emphasis> link and
select the first resolve method. The <emphasis>
- <property moreinfo="none">"orderItems"</property></emphasis> is connected with
+ <property>"orderItems"</property></emphasis> is connected with
the <emphasis>
- <property moreinfo="none">"lineItems"</property>.</emphasis></para>
+ <property>"lineItems"</property>.</emphasis></para>
<tip>
<title>Tip:</title>
<para> Why does the error occur?</para>
<para> You will find that, if you only connect the property node without connecting the
- parent node of the property, the "connection error" occurs.</para>
- <para>The connection of the "price-to-unitPrice" is the
- "Binding Connection", but it needs an "Instance Creation
- Connection" - the connection of the
- "OrderItem-to-LineItem".</para>
+ parent node of the property, the "connection error" occurs.</para>
+ <para>The connection of the "price-to-unitPrice" is the
+ "Binding Connection", but it needs an "Instance Creation
+ Connection" - the connection of the
+ "OrderItem-to-LineItem".</para>
</tip>
<para> After that, connect <emphasis>
- <property moreinfo="none">"quantity"</property></emphasis> to the <emphasis>
- <property moreinfo="none">"unitQuantity"</property></emphasis> and <emphasis>
- <property moreinfo="none">"productId"</property></emphasis> to the
+ <property>"quantity"</property></emphasis> to the <emphasis>
+ <property>"unitQuantity"</property></emphasis> and <emphasis>
+ <property>"productId"</property></emphasis> to the
<emphasis>
- <property moreinfo="none">"productCode"</property>:</emphasis></para>
- <figure float="0">
+ <property>"productCode"</property>:</emphasis></para>
+ <figure>
<title>Complete Mapping</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/quick_start/quick_start15.png" scale="90"></imagedata>
+ <imagedata fileref="images/quick_start/quick_start15.png" scale="90"/>
</imageobject>
</mediaobject>
- </figure>
- <para>Now, you should save the file and the <property moreinfo="none">Smooks tools</property><diffmk:wrapper diffmk:change="changed"> generate the correct
- configuration file content.</diffmk:wrapper></para>
+ </figure>-->
+ <para>Now, you should save the file and the <property moreinfo="none">Smooks tools</property> generate the correct
+ configuration file content.</para>
<para>OK, let run the test class: <property moreinfo="none">example.Main</property>. (Please, make sure that the Smooks engine
loads the correct configuration file).</para>
<para>Success!</para>
</section>
</chapter>
+ <!--&smooksformeditor_graphicaltab;-->
-<chapter id="smooksformeditor_graphicaltab" role="updated" xml:base="file:///home/ochikvina/WORK/for_compare/trunk/smooks/docs/reference/en/modules/smooksformeditor_graphicalpage.xml" xreflabel="Smooks Graphical Editor Page">
- <?dbhtml filename="smooks_form_editor_graphicaltab.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>JBoss Tools</keyword>
- <keyword>Smooks</keyword>
- <keyword>JBDS</keyword>
- </keywordset>
- </chapterinfo>
- <title>Smooks Graphical Editor Page</title>
- <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">This chapter is packed with useful information about Smooks Graphical Editor Page usage</diffmk:wrapper></para>
- <para>Smooks Graphical Editor page is one tab of the <property moreinfo="none">Smooks Editor</property>.</para>
- <figure float="0">
- <title>Graphical Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/graph_editor/graph_editor1.png" scale="90"></imagedata>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para> This <property moreinfo="none">Graphical editor</property> allows you to perform drug/drop operations
- with the nodes of transform data to map the source data to target data. </para>
- <para><diffmk:wrapper diffmk:change="added"> When you save the changes in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Graphical editor</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added"> the correct Smooks
- Configuration file content is generated. </diffmk:wrapper></para>
-
- <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">To adjust the properties of the connection lines in the editor, you should use the </diffmk:wrapper><link diffmk:change="added" linkend="graphicalpage_propertiesview"><diffmk:wrapper diffmk:change="added">Properties view</diffmk:wrapper></link><diffmk:wrapper diffmk:change="added"> (activate it by following
- to </diffmk:wrapper><emphasis diffmk:change="added">
- <property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Window > Show View > Other > General > Properties</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added">).</diffmk:wrapper></emphasis></para>
-
- <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">For example, if you defined a date decoder in the </diffmk:wrapper><link diffmk:change="added" linkend="configurationpage_datedecoder"><diffmk:wrapper diffmk:change="added">Smooks Configuration Editor</diffmk:wrapper></link><diffmk:wrapper diffmk:change="added">, in the </diffmk:wrapper><property diffmk:change="added" moreinfo="none"><diffmk:wrapper diffmk:change="added">Properties view</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added"> you can
- select it as a Mapping type for the "Date" type element.</diffmk:wrapper></para>
-
- <figure diffmk:change="added" float="0">
- <title diffmk:change="added"><diffmk:wrapper diffmk:change="added">Browsing Custom Type for the Date Type Element</diffmk:wrapper></title>
- <mediaobject diffmk:change="added">
- <imageobject diffmk:change="added">
- <imagedata diffmk:change="added" fileref="images/graph_editor/graph_editor1a.png" scale="90"></imagedata>
- </imageobject>
- </mediaobject>
- </figure>
- <section>
-
- <title>Introducing the areas of graphical editor</title>
- <para>Information on the topic could be found in the <link linkend="quickstart_formeditor">Quick Start/Smooks Editor</link> section.</para>
- </section>
- <section>
-
- <title>Load Source/Target Data</title>
- <para> Click the links under the data view, the <property moreinfo="none"><diffmk:wrapper diffmk:change="changed">Data Type Selection
- wizard</diffmk:wrapper></property><diffmk:wrapper diffmk:change="changed"> page will be shown.</diffmk:wrapper></para>
- <figure float="0">
- <title>Data Type Selection Wizard Page</title>
- <mediaobject>
- <imageobject>
-
- <imagedata fileref="images/graph_editor/graph_editor2.png" scale="90"></imagedata>
-
- </imageobject>
- </mediaobject>
- </figure>
-
- <para> There are sets of transform data type on the wizard page, select one type and click
- <emphasis><property moreinfo="none">Next</property>,</emphasis> the data source selection wizard
- page will be shown.</para>
-
- <tip>
- <title>Note:</title>
- <para>For different data type, the Data source selection wizard are different too.
- </para>
- </tip>
- <figure float="0">
- <title>Java Data Source Selection Wizard Page</title>
- <mediaobject>
- <imageobject>
-
- <imagedata fileref="images/graph_editor/graph_editor3.png" scale="90"></imagedata>
-
- </imageobject>
- </mediaobject>
- </figure>
-
- <figure float="0">
- <title>XML File Path Selection Wizard Page</title>
- <mediaobject>
- <imageobject>
-
- <imagedata fileref="images/graph_editor/graph_editor4.png" scale="90"></imagedata>
-
- </imageobject>
- </mediaobject>
- </figure>
-
- <para> When you finish the data selection (file path selection), click
- <emphasis><property moreinfo="none">Finish</property>,</emphasis><diffmk:wrapper diffmk:change="changed"> the data view displays the
- selected data structure.</diffmk:wrapper></para>
- </section>
- <section>
-
- <title>Using Graphical Editor for Mapping</title>
- <para>To get information on the topic please, read the <link linkend="quickstart_mapping">Quick Start/Mapping</link> section. </para>
- </section>
- <section>
-
- <title>Error Messages</title>
- <para>When you do any mapping operations, the <property moreinfo="none">Smooks tools</property> validate the
- file content with "Mapping Logic". If there are any errors of the configuration file
- content, error messages are shown in the <link linkend="quickstart_formeditor">Problems
- area</link>.</para>
- <para> Please, read the <link linkend="quickstart_mapping">Quick Start/Mapping</link><diffmk:wrapper diffmk:change="changed">
- section to find how to fix the errors.</diffmk:wrapper></para>
- </section>
- <section id="graphicalpage_propertiesview">
- <title>Properties View</title>
-
- <para> You can edit the properties of the connection lines with the <property moreinfo="none">Properties
- view</property>.</para>
- <para>Navigate to <emphasis><property moreinfo="none">Window > Show View > Other >
- Properties</property>,</emphasis> to open the <property moreinfo="none">Properties
- view</property>.</para>
- <para><diffmk:wrapper diffmk:change="changed"> When you select the connection line, the </diffmk:wrapper><property moreinfo="none">Properties view</property><diffmk:wrapper diffmk:change="changed"> will
- show a set of section GUI for editing its properties.</diffmk:wrapper></para>
- <tip>
-
- <title>Tip:</title>
- <para>This GUI on the <property moreinfo="none">Properties view</property> is displayed when the Smooks
- Graphical editor is active, if not, the <property moreinfo="none">Properties view</property>
- displays empty GUI.</para>
- <para>If the source data type of the selected connection line is
- "XML", the <property moreinfo="none">Properties view</property> shows an XML
- Properties section GUI.</para>
- <para>But if the source data type of the selected connection line is
- "Java", the XML Properties section GUI isn't
- displayed.</para>
- <para>It means that if the source/target data type of the selected connection line is
- different, the <property moreinfo="none">Properties view</property><diffmk:wrapper diffmk:change="changed"> shows a different GUI.</diffmk:wrapper></para>
- </tip>
- <figure float="0">
- <title>JavaBean Properties Section</title>
- <mediaobject>
- <imageobject>
-
- <imagedata fileref="images/graph_editor/graph_editor5.png" scale="90"></imagedata>
-
- </imageobject>
- </mediaobject>
- </figure>
- <figure float="0">
- <title>XML Properties Section</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/graph_editor/graph_editor6.png" scale="90"></imagedata>
- </imageobject>
- </mediaobject>
- </figure>
- <figure float="0">
- <title>Mapping Properties Section</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/graph_editor/graph_editor7.png" scale="90"></imagedata>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">To discover about other Editor pages, read the next chapters</diffmk:wrapper></para>
- </section>
-</chapter>
-
-
-<chapter id="smooksformeditor_configurationtab" xml:base="file:///home/ochikvina/WORK/for_compare/trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml" xreflabel="Smooks Configuration Editor Page">
+<chapter diffmk:change="added" id="smooksformeditor_configurationtab" xml:base="file:///home/ochikvina/WORK/for_compare/trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml" xreflabel="Smooks Configuration Editor Page">
<?dbhtml filename="smooks_form_editor_configurationtab.html"?>
<chapterinfo>
<keywordset>
@@ -728,8 +560,8 @@
</keywordset>
</chapterinfo>
<title>Smooks Configuration Editor Page</title>
- <para><diffmk:wrapper diffmk:change="added">In this section you will explore the details of Smooks Configuration Editor usage</diffmk:wrapper></para>
- <para diffmk:change="added"><property moreinfo="none"><diffmk:wrapper diffmk:change="added">Smooks Configuration Editor</diffmk:wrapper></property><diffmk:wrapper diffmk:change="added"> is one tab of the </diffmk:wrapper><property diffmk:change="added" moreinfo="none">Smooks Editor</property>. </para>
+ <para>In this section you will explore the details of Smooks Configuration Editor usage</para>
+ <para><property moreinfo="none">Smooks Configuration Editor</property> is one tab of the <property moreinfo="none">Smooks Editor</property>. </para>
<figure float="0">
<title>Graphical Editor</title>
<mediaobject>
@@ -740,9 +572,9 @@
</figure>
<para> You can add/edit/remove the <link linkend="configurationpage_datedecoder">Date
- Decoder</link><diffmk:wrapper diffmk:change="changed"> on the Configuration page of the </diffmk:wrapper><property moreinfo="none">Smooks Editor</property>. </para>
- <para><diffmk:wrapper diffmk:change="changed"> The configuration editor also edits the </diffmk:wrapper><link linkend="configurationpage_parsetype">Smooks parse
- type</link><diffmk:wrapper diffmk:change="changed"> and manages the </diffmk:wrapper><link linkend="configurationpage_importfile">Import
+ Decoder</link> on the Configuration page of the <property moreinfo="none">Smooks Editor</property>. </para>
+ <para> The configuration editor also edits the <link linkend="configurationpage_parsetype">Smooks parse
+ type</link> and manages the <link linkend="configurationpage_importfile">Import
Files</link>.</para>
<section id="configurationpage_parsetype">
@@ -760,7 +592,7 @@
</imageobject>
</mediaobject>
</figure>
- <para><diffmk:wrapper diffmk:change="changed">Select the needed radio button to change the Smooks parse type. </diffmk:wrapper></para>
+ <para>Select the needed radio button to change the Smooks parse type. </para>
</section>
<section id="configurationpage_importfile">
@@ -769,7 +601,7 @@
<property moreinfo="none">Other Configurations</property>
</emphasis> section, there is an <emphasis>
<property moreinfo="none">Import Files</property>
- </emphasis><diffmk:wrapper diffmk:change="changed"> list under the Smooks parse type buttons (see the figure above).</diffmk:wrapper></para>
+ </emphasis> list under the Smooks parse type buttons (see the figure above).</para>
<para>There are three buttons on the right side of the <emphasis>
<property moreinfo="none">File Import</property>
@@ -778,9 +610,9 @@
<tip>
<title>Tip:</title>
- <para><diffmk:wrapper diffmk:change="changed"> If the import file doesn&t exist, the image of the import file is changed to
+ <para> If the import file doesn&t exist, the image of the import file is changed to
"Error Image". If you double-click the import file in the Import File list, the file
- is opened with a new default editor. </diffmk:wrapper></para>
+ is opened with a new default editor. </para>
</tip>
</section>
@@ -817,16 +649,16 @@
<itemizedlist>
<listitem>
- <para><diffmk:wrapper diffmk:change="changed">Format</diffmk:wrapper></para>
+ <para>Format</para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="changed">Locale-Language</diffmk:wrapper></para>
+ <para>Locale-Language</para>
</listitem>
<listitem>
- <para><diffmk:wrapper diffmk:change="changed">Locale-Country</diffmk:wrapper></para>
+ <para>Locale-Country</para>
</listitem>
</itemizedlist>
@@ -845,9 +677,9 @@
</figure>
<para> When you defined a new <emphasis>
- <property moreinfo="none">Date Decoder</property></emphasis><diffmk:wrapper diffmk:change="changed">, then you can use the </diffmk:wrapper><link linkend="graphicalpage_propertiesview">JavaBean Properties</link><diffmk:wrapper diffmk:change="changed"> GUI to set
- it to be the "Java type".</diffmk:wrapper></para>
- <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">Now when we've learnt Smooks Configuration Editor Page, let's have a look at one more Smooks Editor Page - Smooks Source Editor Page and investigate its functionality</diffmk:wrapper></para>
+ <property moreinfo="none">Date Decoder</property></emphasis>, then you can use the <link linkend="graphicalpage_propertiesview">JavaBean Properties</link> GUI to set
+ it to be the "Java type".</para>
+ <para>Now when we've learnt Smooks Configuration Editor Page, let's have a look at one more Smooks Editor Page - Smooks Source Editor Page and investigate its functionality</para>
<!--
<para> The XML fragment generated by Smooks tools for the "Date
@@ -878,7 +710,7 @@
</keywordset>
</chapterinfo>
<title>Smooks Source Editor Page</title>
- <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">This section provides information about Smooks Source Editor Page</diffmk:wrapper></para>
+ <para>This section provides information about Smooks Source Editor Page</para>
<section>
<title>XML Source Editor</title>
<para>You can use this editor to edit the Smooks Configuration file directly. </para>
@@ -893,9 +725,9 @@
</section>
<section>
<title>Error Messages GUI</title>
- <para>If the <property moreinfo="none">Smooks tools</property><diffmk:wrapper diffmk:change="changed"> can't understand the configuration
+ <para>If the <property moreinfo="none">Smooks tools</property> can't understand the configuration
file or the configuration file is illegal (XML structure isn't right for Smooks
- Configuration file, etc.), the error is underlined.</diffmk:wrapper></para>
+ Configuration file, etc.), the error is underlined.</para>
<figure float="0">
<title>Graphical Editor</title>
<mediaobject>
@@ -911,7 +743,7 @@
<para> You can't edit the configuration file with other editors until file becomes
valid. </para>
</note-->
- <para diffmk:change="added"><diffmk:wrapper diffmk:change="added">We hope, our guide will help you to get started with JBoss Smooks Tools. Besides, for additional information you are welcome on </diffmk:wrapper><ulink diffmk:change="added" url="http://www.jboss.com/index.html?module=bb&op=viewforum&f=201"><diffmk:wrapper diffmk:change="added">JBoss forum</diffmk:wrapper></ulink><diffmk:wrapper diffmk:change="added">.</diffmk:wrapper></para>
+ <para>We hope, our guide will help you to get started with JBoss Smooks Tools. Besides, for additional information you are welcome on <ulink url="http://www.jboss.com/index.html?module=bb'op=viewforum'f=201">JBoss forum</ulink>.</para>
</section>
</chapter>
15 years, 9 months