JBoss Tools SVN: r12023 - in trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor: util and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-11-25 11:19:25 -0500 (Tue, 25 Nov 2008)
New Revision: 12023
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeLinkCreator.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeStyleCreator.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/VpeStyleUtil.java
Log:
JBIDE-3131, support for full paths for css files was added
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeLinkCreator.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeLinkCreator.java 2008-11-25 16:14:16 UTC (rev 12022)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeLinkCreator.java 2008-11-25 16:19:25 UTC (rev 12023)
@@ -84,7 +84,6 @@
pageContext.getVisualBuilder().removeLinkNodeFromHead(linkNode);
visualNodeMap.remove(this);
}
- //MozillaSupports.release(linkNode);
}
public void refreshElement(VpePageContext pageContext, Element sourceElement, Map visualNodeMap) {
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeStyleCreator.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeStyleCreator.java 2008-11-25 16:14:16 UTC (rev 12022)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeStyleCreator.java 2008-11-25 16:19:25 UTC (rev 12023)
@@ -24,10 +24,9 @@
public VpeStyleCreator(Element element, VpeDependencyMap dependencyMap,
boolean caseSensitive) {
- // this.caseSensitive = caseSensitive;
- // build(element, dependencyMap);
}
+ @Override
public VpeCreatorInfo create(VpePageContext pageContext, Node sourceNode,
nsIDOMDocument visualDocument, nsIDOMElement visualElement,
Map visualNodeMap) {
@@ -45,6 +44,7 @@
return null;
}
+ @Override
public void removeElement(VpePageContext pageContext,
Element sourceElement, Map visualNodeMap) {
@@ -57,6 +57,7 @@
}
+ @Override
public void refreshElement(VpePageContext pageContext,
Element sourceElement, Map visualNodeMap) {
nsIDOMNode oldStyleNode = (nsIDOMNode) visualNodeMap.get(this);
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/VpeStyleUtil.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/VpeStyleUtil.java 2008-11-25 16:14:16 UTC (rev 12022)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/VpeStyleUtil.java 2008-11-25 16:19:25 UTC (rev 12023)
@@ -483,7 +483,15 @@
startPathIndex + 1);
String filePath = urls[i].substring(startPathIndex + 1,
endPathIndex);
-
+
+ try {
+ URL url = new URL(filePath);
+ //with url all ok
+ continue;
+ } catch (MalformedURLException e) {
+ //ignore, continue work with url
+ }
+
if (filePath.indexOf(FILE_PROTOCOL) != -1) {
continue;
}
17 years, 4 months
JBoss Tools SVN: r12022 - in trunk/seam: tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/WebContent and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2008-11-25 11:14:16 -0500 (Tue, 25 Nov 2008)
New Revision: 12022
Added:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/WebContent/Authenticator.java
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-784 Fixed
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java 2008-11-25 15:38:16 UTC (rev 12021)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java 2008-11-25 16:14:16 UTC (rev 12022)
@@ -16,6 +16,7 @@
import java.util.Set;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
@@ -50,6 +51,7 @@
import org.jboss.tools.common.el.core.resolver.ElVarSearcher;
import org.jboss.tools.common.el.core.resolver.TypeInfoCollector;
import org.jboss.tools.common.el.core.resolver.Var;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.common.util.FileUtil;
import org.jboss.tools.seam.core.ISeamContextVariable;
import org.jboss.tools.seam.core.ISeamProject;
@@ -77,6 +79,8 @@
private SeamELCompletionEngine engine;
private List<Var> varListForCurentValidatedNode = new ArrayList<Var>();
private ElVarSearcher elVarSearcher;
+ private IProject currentProject;
+ private IResource[] currentSources;
public SeamELValidator(SeamValidatorManager validatorManager,
SeamContextValidationHelper coreHelper, IReporter reporter,
@@ -135,23 +139,45 @@
return OK_STATUS;
}
+ private static final String JAVA_EXT = "java"; //$NON-NLS-1$
+
+ private boolean shouldFileBeValidated(IFile file) {
+ if(!file.isSynchronized(IResource.DEPTH_ZERO)) {
+ // The resource is out of sync with the file system
+ // Just ignore this resource.
+ return false;
+ }
+ if(!JAVA_EXT.equalsIgnoreCase(file.getFileExtension())) {
+ return true;
+ }
+ IProject project = file.getProject();
+ if(!project.equals(currentProject)) {
+ currentProject = project;
+ currentSources = EclipseResourceUtil.getJavaSourceRoots(project);
+ }
+ for (int i = 0; i < currentSources.length; i++) {
+ if(currentSources[i].getLocation().isPrefixOf(file.getLocation())) {
+ return true;
+ }
+ }
+ return false;
+ }
+
private void validateFile(IFile file) {
+ if(!shouldFileBeValidated(file)) {
+ return;
+ }
displaySubtask(VALIDATING_EL_FILE_MESSAGE_ID, new String[]{projectName, file.getName()});
elVarSearcher.setFile(file);
String ext = file.getFileExtension();
String content = null;
try {
- if(!file.isSynchronized(IResource.DEPTH_ZERO)) {
- // The resource is out of sync with the file system
- // Just ignore this resource.
- return;
- }
content = FileUtil.readStream(file.getContents());
} catch (CoreException e) {
SeamCorePlugin.getPluginLog().logError(e);
return;
}
- if(ext.equalsIgnoreCase("java")) { //$NON-NLS-1$
+ if(ext.equalsIgnoreCase(JAVA_EXT)) {
validateJava(file, content);
} else {
validateDom(file, content);
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/WebContent/Authenticator.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/WebContent/Authenticator.java (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/WebContent/Authenticator.java 2008-11-25 16:14:16 UTC (rev 12022)
@@ -0,0 +1,23 @@
+package org.domain.SeamWebWarTestProject.session;
+
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.security.Identity;
+
+@Name("authenticator")
+public class Authenticator {
+ @Logger Log log;
+
+ @In Identity identity;
+
+ public boolean authenticate() {
+ log.info("authenticating #0", identity.getUsername());
+ //write your authentication logic here,
+ //return true if the authentication was
+ //successful, false otherwise
+ identity.addRole("#{aaaaaaaa.bbbbbbbbb}");
+ return true;
+ }
+}
\ No newline at end of file
Property changes on: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/WebContent/Authenticator.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java 2008-11-25 15:38:16 UTC (rev 12021)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java 2008-11-25 16:14:16 UTC (rev 12022)
@@ -16,7 +16,6 @@
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.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.preference.IPersistentPreferenceStore;
@@ -32,7 +31,6 @@
import org.jboss.tools.test.util.JUnitUtils;
import org.jboss.tools.test.util.JobUtils;
import org.jboss.tools.test.util.ProjectImportTestSetup;
-import org.jboss.tools.test.util.ResourcesUtils;
import org.jboss.tools.tests.AbstractResourceMarkerTest;
public class SeamValidatorsTest extends AbstractResourceMarkerTest {
@@ -61,7 +59,6 @@
JobUtils.waitForIdle();
}
-
private ISeamProject getSeamProject(IProject project) {
refreshProject(project);
@@ -76,6 +73,16 @@
}
/**
+ * Test for https://jira.jboss.org/jira/browse/JBIDE-784
+ * @throws CoreException
+ */
+ public void testJavaFileOutsideClassPath() throws CoreException {
+ IFile file = project.getFile("WebContent/Authenticator.java");
+ String[] messages = getMarkersMessage(file);
+ assertTrue("Problem marker was found in WebContent/Authenticator.java file. Seam EL validator should not validate it.", messages.length == 0);
+ }
+
+ /**
* Test for http://jira.jboss.com/jira/browse/JBIDE-1318
* @throws CoreException
*/
17 years, 4 months
JBoss Tools SVN: r12021 - in trunk/portlet/docs/reference/en/images: portlets_support and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-11-25 10:38:16 -0500 (Tue, 25 Nov 2008)
New Revision: 12021
Added:
trunk/portlet/docs/reference/en/images/portlets_support/
trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_1.png
trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_10.png
trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_11.png
trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_12.png
trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_13.png
trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_2.png
trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_3.png
trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_4.png
trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_5.png
trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_6.png
trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_7.png
trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_8.png
trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_9.png
Log:
https://jira.jboss.org/jira/browse/JBDS-479 - reverting the changes;
Added: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_1.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_10.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_10.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_11.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_11.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_12.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_12.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_13.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_13.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_2.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_3.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_3.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_4.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_4.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_5.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_5.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_6.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_6.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_7.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_7.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_8.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_8.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_9.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/portlets_support/portlets_support_9.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 4 months
JBoss Tools SVN: r12020 - trunk/portlet/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-11-25 10:37:46 -0500 (Tue, 25 Nov 2008)
New Revision: 12020
Added:
trunk/portlet/docs/reference/en/modules/portlets_support.xml
Modified:
trunk/portlet/docs/reference/en/modules/intro.xml
trunk/portlet/docs/reference/en/modules/starting_project.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-479 - reverting the changes;
Modified: trunk/portlet/docs/reference/en/modules/intro.xml
===================================================================
--- trunk/portlet/docs/reference/en/modules/intro.xml 2008-11-25 15:37:11 UTC (rev 12019)
+++ trunk/portlet/docs/reference/en/modules/intro.xml 2008-11-25 15:37:46 UTC (rev 12020)
@@ -77,7 +77,7 @@
Bridge</para>
</entry>
<entry>
- <link linkend="jsf_seam_portlets">Adding JSF/Seam Portlet to a
+ <link linkend="adding_JsfSeam_portlet">Adding JSF/Seam Portlet to a
project</link>
</entry>
</row>
Added: trunk/portlet/docs/reference/en/modules/portlets_support.xml
===================================================================
--- trunk/portlet/docs/reference/en/modules/portlets_support.xml (rev 0)
+++ trunk/portlet/docs/reference/en/modules/portlets_support.xml 2008-11-25 15:37:46 UTC (rev 12020)
@@ -0,0 +1,228 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="portlets_support" xreflabel="portlets_support">
+ <?dbhtml filename="portlets_support.html"?>
+ <title>JBoss Portlet Support</title>
+
+ <para><property>JBoss Tools</property> (starting from 3.0 Alpha) support the JSR-168 Portlet
+ Specification (Portlet 1.0), JSR-286 Portlet Specification (Portlet 2.0) and work with
+ <property>Portlet Bridge</property> for supporting Portlets in JSF/Seam applications.
+ All these are performed through the Create New Portlet wizards.</para>
+
+ <para>There are two kinds of the Create Portlet wizards: <property>Java Portlet</property> and
+ <property>JSF/Seam Portlet</property>.</para>
+
+ <para>How to create Java Portlet within just organized Dynamic Web Project we will show you
+ further in this chapter.</para>
+
+ <section id="adding_java_portlet">
+ <title>Adding a Java Portlet to the Project</title>
+
+ <para>Here, we'll show how you can add a new Java Portlet to our project.</para>
+
+ <para>Call the New Java Portlet wizard by selecting <emphasis>
+ <property>New > Other > JBoss Tools Web > Portlet > Java
+ Portlet</property>.</emphasis></para>
+
+ <figure>
+ <title>New Java Portlet</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_1.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>The wizard fills in The Web Project and Source Folder fields for you. Then you need to
+ specify the Java package and the Class name and click <emphasis>
+ <property>Next</property>
+ </emphasis>.</para>
+
+ <figure>
+ <title>Specifying Class File Destination</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_2.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>On the other page you will be able to set the display name of the Portlet, a title, a
+ description, the supported modes and init parameters.</para>
+
+ <figure>
+ <title>Specifying Class File Destination</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_3.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>On the next screen you can define which methods from
+ <emphasis>GenericPortlet</emphasis> you want to override.</para>
+
+ <figure>
+ <title>Specifying Class File Destination</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_4.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>The last screen lets you build <property>JBoss Portal</property> specific descriptors
+ to create an instance during the deployment and place it directly on the Portal.</para>
+
+ <figure>
+ <title>Specifying Class File Destination</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_5.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <tip>
+ <title>Tip:</title>
+
+ <para>If you uncheck the <emphasis> Create Portlet Instance</emphasis> checkbox,
+ <property>JBoss Tools</property> won't create the deployment elements
+ in the <emphasis> default-object.xml</emphasis> and <emphasis>
+ portlet-instances.xml</emphasis> files.</para>
+ </tip>
+
+ <para>Once Java Portlet is created, new resources have been added to the project structure.
+ As you can see on the figure below, it adds a Java Portlet class (<emphasis>
+ <property>TestPortlet.java</property>
+ </emphasis> in our case), <emphasis>
+ <property>default-object.xml</property>
+ </emphasis> and <emphasis>
+ <property>portlet-instances.xml</property>
+ </emphasis> files and updates <emphasis>
+ <property>portlet.xml</property>
+ </emphasis> as well.</para>
+
+ <figure>
+ <title>The structure of Web Project with Java Portlet created</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_6.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Thus, now the Project is ready to be built and deployed.</para>
+ </section>
+
+ <section id="adding_JsfSeam_portlet">
+ <title>Adding JSF/Seam Portlets</title>
+
+ <para>What comes to JSF/Seam Portlets, you need to have a Web Project with enabled JSF/Seam
+ Portlet Facets. Thus in this case when starting a new Dynamic Web Project, you should
+ point to <emphasis>JBoss JSF/Seam Portlet Project v1.0</emphasis> (or
+ <emphasis>v2.0</emphasis>) Configuration respectively.</para>
+
+ <figure>
+ <title>Dynamic Web Project with JSF/Seam Portlet Facet</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_7.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>To create Portlet in the JSF/Seam Project you should go to <emphasis>
+ <property>New > Other > JBoss Tools Web > Portlet > JSF/Seam
+ Portlet</property>.</emphasis></para>
+
+ <figure>
+ <title>Calling the JSF/Seam Portlet Wizard</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_8.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>If a project contains the Seam Portlet facet, default values in the wizard will be set
+ as for a Seam Portlet.</para>
+
+ <figure>
+ <title>JBoss JSF/Seam Portlet Wizard Page with JSF defaults</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_9.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Otherwise, the default values are as defined for a JSF Portlet.</para>
+
+ <figure>
+ <title>JBoss JSF/Seam Portlet Wizard Page with Seam defaults</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_10.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </section>
+
+ <section>
+ <title>Deploying a Portlet to JBoss Portal</title>
+
+ <para>You can deploy the created project in the way you deploy any other Web Application.
+ Right click on the project and do <emphasis>
+ <property>Run As > Run On Server</property>
+ </emphasis> and accept the defaults. On the <emphasis>
+ <property>Add and Remove Projects</property>
+ </emphasis> page move the created Project to the right and click <emphasis>
+ <property>Finish</property>.</emphasis></para>
+
+ <figure>
+ <title>Deploying the Portlet Application</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_11.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>It will deploy the Portlet Web Application and start <property>JBoss AS</property>.</para>
+
+ <tip>
+ <title>Tip:</title>
+
+ <para>You should use <emphasis>http://localhost:8080/portal</emphasis> URL to see your
+ Portlet in the Browser.</para>
+ </tip>
+
+ <figure>
+ <title>Java Portlet in the Browser Window</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_12.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>The JSF Portlet looks in the Browser as follows.</para>
+
+ <figure>
+ <title>JSF Portlet in the Browser Window</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/portlets_support/portlets_support_13.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>With this document you've learnt how to get started with <property>JBoss
+ Portal</property> using <property>JBoss Tools</property> suite of Eclipse plugins. The
+ above chapters walked you through the steps on how to organize a web project with portlets
+ which includes a sample staff and deploy it onto the <property>JBoss Portal</property>.</para>
+
+ <para>If you still have questions or suggestions you are always welcome on our <ulink
+ url="http://www.jboss.com/index.html?module=bb&op=viewforum&f=201"
+ >Forum</ulink>. Your feedback will be very much appreciated.</para>
+ </section>
+</chapter>
Modified: trunk/portlet/docs/reference/en/modules/starting_project.xml
===================================================================
--- trunk/portlet/docs/reference/en/modules/starting_project.xml 2008-11-25 15:37:11 UTC (rev 12019)
+++ trunk/portlet/docs/reference/en/modules/starting_project.xml 2008-11-25 15:37:46 UTC (rev 12020)
@@ -5,9 +5,7 @@
<para>To get started with <property>JBoss Portal</property> and <property>JBoss
Tools</property>, you should first have a Web Project pointed to the JBoss Portal Runtime.
- Thus, in this chapter we are going to show you how to create a
- Dynamic Web Project, add Java Portlet to it and deploy it to the <property>JBoss
- Portal</property>.</para>
+ Thus, this chapter is intended to give you a detail look at how you can get it.</para>
<section id="creating_project_with_jbossportal">
<title>Creating a Dynamic Web Project</title>
@@ -27,12 +25,12 @@
</mediaobject>
</figure>
- <para>Fill out the name of your project. Next, click the <emphasis>
- <property>New</property>
+ <para>Fill in the name of your project. Next, click on the <emphasis>
+ <property>New...</property>
</emphasis> button in the <emphasis>
<property>Target Runtime</property>
- </emphasis> section to specify a new Target Runtime. Click <emphasis>JBoss 4.2
- Runtime</emphasis> and press <emphasis>
+ </emphasis> section to specify a new Target Runtime. Click <emphasis>Jboss 4.2
+ Runtime</emphasis> and press <emphasis>
<property>Next</property>.</emphasis></para>
<figure>
@@ -65,19 +63,13 @@
</mediaobject>
</figure>
- <para>Click <emphasis>
- <property>Finish</property>.</emphasis></para>
-
- <para>On the next step you should click the <emphasis>
- <property>Modify</property>
- </emphasis> button next to the <property>Configuration</property> section to enable Portlet
- Facets for the project.</para>
-
- <!--para>where it's also necessary to set the project
+ <para>Click on <emphasis>
+ <property>Finish</property>.</emphasis> It returns you to the <property>New Dynamic
+ Web Project</property> wizard where it's also necessary to set the project
Configuration. <property>JBoss Tools</property> (starting from 3.0.0.Alpha1) support the
JSR-168 Portlet Specification (Portlet 1.0), JSR-286 Portlet Specification (Portlet
2.0). Thus you can choose <emphasis>Portlet Project v1.0</emphasis> or <emphasis>Portlet
- Project v2.0</emphasis>.</para-->
+ Project v2.0</emphasis>.</para>
<figure>
<title>Setting the Project Configuration</title>
@@ -88,21 +80,6 @@
</mediaobject>
</figure>
- <para>On this page you should check the <emphasis>
- <property>JBoss Core Portlet</property>
- </emphasis> and press <emphasis>
- <property>OK</property>
- </emphasis>.</para>
-
- <figure>
- <title>Enabling the Portlet Facet</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/starting_project/starting_project_4_a.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
<para>The last wizard page is for configuring web modules. Here all values are set, so you
can leave everything as it is.</para>
@@ -137,165 +114,10 @@
</mediaobject>
</figure>
- <para>Here <property>JBoos Tools</property> added JBoss Portlet facet to the project,
- created an empty <emphasis>
+ <para>Here <property>JBoos Tools</property> have added JBoss
+ Portlet facet to the project, created an empty <emphasis>
<property>portlet.xml</property>
- </emphasis> file and added the Portlet library to the project classpath.</para>
+ </emphasis> file and added the portlet library to the project classpath.</para>
</section>
- <section id="adding_java_portlet">
- <title>Adding a Java Portlet to the Project</title>
-
- <para>At this point we'll show what the steps you need to proceed to add a new Java Portlet
- to the project.</para>
-
- <para>Call the <property>Create Portlet wizard</property> by selecting <emphasis>
- <property>New > Other > JBoss Tools Web > Portlet > Java
- Portlet</property>.</emphasis></para>
-
- <figure>
- <title>New Java Portlet</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_1.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>The wizard fills in the Web Project and Source Folder fields for you. Then you need to
- specify the Java package and the Class name and click <emphasis>
- <property>Next</property>
- </emphasis>.</para>
-
- <figure>
- <title>Specifying Class File Destination</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_2.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>On the other page you will be able to set the display name of the Portlet, a title, a
- description, the supported modes and init parameters.</para>
-
- <figure>
- <title>Specifying Class File Destination</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_3.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>On the next screen you can define which methods from
- <emphasis>GenericPortlet</emphasis> you want to override.</para>
-
- <figure>
- <title>Specifying Class File Destination</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_4.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>The last screen lets you build <property>JBoss Portal</property> specific descriptors
- to create an instance during the deployment and place it directly on the Portal.</para>
-
- <figure>
- <title>Specifying Class File Destination</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_5.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <tip>
- <title>Tip:</title>
-
- <para>If you uncheck the <emphasis> Create Portlet Instance</emphasis> checkbox,
- <property>JBoss Tools</property> won't create the deployment elements
- in the <emphasis> default-object.xml</emphasis> and <emphasis>
- portlet-instances.xml</emphasis> files.</para>
- </tip>
-
- <para>Once Java Portlet is created, new resources have been added to the project structure.
- As you can see on the figure below, it adds a Java Portlet class (<emphasis>
- <property>TestPortlet.java</property>
- </emphasis> in our case), <emphasis>
- <property>default-object.xml</property>
- </emphasis> and <emphasis>
- <property>portlet-instances.xml</property>
- </emphasis> files and updates <emphasis>
- <property>portlet.xml</property>
- </emphasis> as well.</para>
-
- <figure>
- <title>The structure of Web Project with Java Portlet created</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_6.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>Thus, now the Project is ready to be built and deployed.</para>
- </section>
-
- <section id="deploying_to_portal">
- <title>Deploying a Portlet to JBoss Portal</title>
-
- <para>You can deploy the created project in the way you deploy any other Web Application.
- Right click on the project and do <emphasis>
- <property>Run As > Run On Server</property>
- </emphasis> and accept the defaults. On the <emphasis>
- <property>Add and Remove Projects</property>
- </emphasis> page move the created Project to the right and click <emphasis>
- <property>Finish</property>.</emphasis></para>
-
- <figure>
- <title>Deploying the Portlet Application</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_11.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>It will deploy the Portlet Web Application and start <property>JBoss
- AS</property>.</para>
-
- <tip>
- <title>Tip:</title>
-
- <para>You should use <emphasis>http://localhost:8080/portal</emphasis> URL to see your
- Portlet in the Browser.</para>
- </tip>
-
- <figure>
- <title>Java Portlet in the Browser Window</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_12.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <!--para>The JSF Portlet looks in the Browser as follows.</para>
-
- <figure>
- <title>JSF Portlet in the Browser Window</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/portlets_support/portlets_support_13.png"/>
- </imageobject>
- </mediaobject>
- </figure-->
-
- <para>This way just created Portlet looks in the Browser. </para>
-
- </section>
-
</chapter>
17 years, 4 months
JBoss Tools SVN: r12019 - trunk/portlet/docs/reference/en.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-11-25 10:37:11 -0500 (Tue, 25 Nov 2008)
New Revision: 12019
Modified:
trunk/portlet/docs/reference/en/master.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-479 - reverting the changes;
Modified: trunk/portlet/docs/reference/en/master.xml
===================================================================
--- trunk/portlet/docs/reference/en/master.xml 2008-11-25 15:25:32 UTC (rev 12018)
+++ trunk/portlet/docs/reference/en/master.xml 2008-11-25 15:37:11 UTC (rev 12019)
@@ -5,8 +5,7 @@
[<!ENTITY intro SYSTEM "modules/intro.xml">
<!ENTITY installation SYSTEM "modules/installation.xml">
<!ENTITY starting_project SYSTEM "modules/starting_project.xml">
-<!ENTITY jsf_seam_portlets SYSTEM "modules/jsf_seam_portlets.xml">
-<!ENTITY portlets_to_nonWTP_projects SYSTEM "modules/portlets_to_nonWTP_projects.xml">
+<!ENTITY portlets_support SYSTEM "modules/portlets_support.xml">
<!ENTITY seamlink "../../seam/html_single/index.html">
<!ENTITY aslink "../../as/html_single/index.html">
@@ -55,7 +54,6 @@
&intro;
&installation;
&starting_project;
- &jsf_seam_portlets;
- &portlets_to_nonWTP_projects;
+ &portlets_support;
</book>
17 years, 4 months
JBoss Tools SVN: r12017 - trunk/portlet/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-11-25 10:24:50 -0500 (Tue, 25 Nov 2008)
New Revision: 12017
Removed:
trunk/portlet/docs/reference/en/modules/jsf_seam_portlets.xml
trunk/portlet/docs/reference/en/modules/portlets_to_nonWTP_projects.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-479 - deleting incorret info;
Deleted: trunk/portlet/docs/reference/en/modules/jsf_seam_portlets.xml
===================================================================
--- trunk/portlet/docs/reference/en/modules/jsf_seam_portlets.xml 2008-11-25 14:39:26 UTC (rev 12016)
+++ trunk/portlet/docs/reference/en/modules/jsf_seam_portlets.xml 2008-11-25 15:24:50 UTC (rev 12017)
@@ -1,229 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<chapter id="jsf_seam_portlets" xreflabel="jsf_seam_portlets">
- <?dbhtml filename="jsf_seam_portlets.html"?>
- <title>Adding JSF/Seam Portlets to a Dynamic Web Project</title>
-
- <para>This chapter will explain how you can configure JSF and Seam Portlets within Dynamic Web
- Project by using the wizards <property>JBoss Tools</property> provides.</para>
-
- <section id="jsf_portlet">
- <title>Adding JSF Portlet to a Dynamic Web Project</title>
- <para>To add JSF Portlet to a Dynamic Web Project, you should set the Configuration to <emphasis>
- <property>JavaServer Faces v1.1 Project</property>
- </emphasis> or <emphasis>
- <property>JavaServer Faces v1.2 Project</property>
- </emphasis> and configure the JSF Portlet Facets in the <property>New Dynamic Web
- Project wizard</property> by clicking the <emphasis>
- <property>Modify</property>
- </emphasis> button.</para>
-
- <figure>
- <title>Setting the JSF Configuration</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets1.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>On the Project Facets dialog you should select <property>JBoss Core Portlet</property>
- and <property>JBoss JSF Portlet</property> check boxes.</para>
-
- <figure>
- <title>Enabling the Portlet Facets</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets2.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>Next wizard page is for configuring JSF Capabilities. You can leave everything as it
- is here.</para>
-
- <figure>
- <title>JSF Capabilities</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets3.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>To support Portlets in JSF/Seam applications <property>JBoss Tools</property> works
- with <property>JBoss Portlet Bridge</property>. Thus on the next page you should add JSF Portlet
- capabilities by pointing to the Portletbridge Runtime location.</para>
-
- <figure>
- <title>JSF Capabilities</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets4.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <tip>
- <title>Tip:</title>
-
- <para>You can download JBoss Portlet Bridge 1.0.0.B4 from <ulink
- url="http://www.jboss.org/portletbridge/download/">here</ulink>.</para>
- </tip>
-
- <para>Next click <emphasis>
- <property>Finish</property>
- </emphasis> to organize the Project.</para>
- <para id="add_jsf_portlet">To add JSF Portlet to generated project you should call the
- <property>Create Portlet wizard</property> by navigating to <emphasis>
- <property>New > Other > JBoss Tools Web > Portlet > JSF/Seam
- Portlet</property>.</emphasis></para>
-
- <figure>
- <title>Calling New Portlet Wizard</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets5.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>As you see, the Seam and JSF Portlet wizards are merged into one. We set JSF
- Configuration for the project, so default values in this wizard will be set as for a JSF
- portlet.</para>
-
- <figure>
- <title>Creating JSF Portlet</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets6.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>Click <emphasis>
- <property>Finish</property>
- </emphasis> to complete JSF Portlet creation. Now you can deploy the project the same
- way as it was <link linkend="deploying_to_portal">described above</link>.</para>
-
- <para>In the Browser JSF Portlet looks as follows.</para>
-
- <figure>
- <title>JSF Portlet in the Browser</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets7.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- </section>
-
- <section id="seam_portlet">
- <title>Adding Seam Portlet to a Dynamic Web Project</title>
-
- <para>To add Seam Portlet to a Dynamic Web Project first you should organize New Dynamic Web
- Project with the Configuration setting to <emphasis>
- <property>JBoss Seam Portlet Project v2.0</property>.</emphasis></para>
-
- <figure>
- <title>Calling New Portlet Wizard</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets8.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>It will add all needed facets to your project. By clicking the <emphasis>
- <property>Modify</property>
- </emphasis> button you can observe the chosen configuration of facets as well as modify
- it. As you can see, all JBoss Portlets are checked.</para>
-
- <figure>
- <title>Project Facets</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets9.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>Next wizard pages are for adjusting the Project Web Modules and JSF Configuration.
- They include default values, so you can skip them by pressing <emphasis>
- <property>Next</property>.</emphasis></para>
-
- <para>On the <property>Seam Facet</property> page <ulink url="&seamlink;#seamFacet">set
- Connection Profile</ulink> and hit <emphasis>
- <property>Next</property>.</emphasis></para>
-
- <figure>
- <title>Seam Facet Settings</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets10.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>Last wizard page will prompt you to set the path to Portletbridge Runtime
- location.</para>
-
- <figure>
- <title>Setting the Portletbridge Runtime</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets11.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <tip>
- <title>Tip:</title>
-
- <para>Thus you should have JBoss Portlet Bridge downloaded and extracted somewhere on
- your hard drive. You can download JBoss Portlet Bridge 1.0.0.B4 from <ulink
- url="http://www.jboss.org/portletbridge/download/">here</ulink>.</para>
- </tip>
-
- <para>Now, to add Seam Portlet to the project you should follow to <emphasis>
- <property>New > Other > JBoss Tools Web > Portlet > JSF/Seam
- Portlet</property>.</emphasis> This will call the wizard for creating JSF/Seam
- Portlets.</para>
-
- <figure>
- <title>Calling the Create Portlet Wizard</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets12.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>As we set Seam Configuration for the Dynamic Web Project, the wizard puts the values
- as for Seam Portlet.</para>
-
- <figure>
- <title>Creating Seam Portlet</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets13.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>After creating the Seam Portlet, you should <link linkend="deploying_to_portal">deploy
- the project to JBoss Portal</link> and start the Server. In a Browser
- you'll see the following:</para>
-
- <figure>
- <title>Seam Portlet in the Browser</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/jsf_seam_portlets/jsf_seam_portlets14.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>Thus in this chapter you've learnt how to add JSF/Seam Portlets to a Dynamic
- Web Project.</para>
- </section>
-</chapter>
Deleted: trunk/portlet/docs/reference/en/modules/portlets_to_nonWTP_projects.xml
===================================================================
--- trunk/portlet/docs/reference/en/modules/portlets_to_nonWTP_projects.xml 2008-11-25 14:39:26 UTC (rev 12016)
+++ trunk/portlet/docs/reference/en/modules/portlets_to_nonWTP_projects.xml 2008-11-25 15:24:50 UTC (rev 12017)
@@ -1,118 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<chapter id="portlets_to_nonWTP_projects" xreflabel="portlets_to_nonWTP_projects">
- <?dbhtml filename="portlets_to_nonWTP_projects.html"?>
- <title>Adding Portlets to non-WTP Projects</title>
-
- <para>Starting from <property>JBoss Tools 3.0.0.Beta1</property> version the JBoss Portlet
- wizards no longer require a WTP project to be able to create Portlets. Hence, in this
- chapter we will consider the steps to perform in order to add a Portlet to non-WTP projects
- such as JSF Project and Seam Project.</para>
-
- <note>
- <title>Note:</title>
- <para>Please note, if the project does not have the proper portlet API jar's, the generated
- classes will have compile errors.</para>
- </note>
-
- <section id="jsf_portlet_to_nonWTP_project">
- <title>Adding a Portlet to the JSF Project</title>
- <para>How to organize a JSF Project you can find out in our <ulink
- url="&jsfreflink;#new_jsf_project">JSF Tools Reference Guide</ulink>. Just
- remember to point Target Runtime to JBoss Portal directory location.</para>
-
- <figure>
- <title>Creating New JSF Project</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/non_wtp/non_wtp1.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>Before adding a Portlet to the project you should enable necessary facets for it.
- Right-click the created project and click <emphasis>
- <property>Preferences</property>
- </emphasis> to open the <property>Project Preferences</property> screen.</para>
- <para>On the <property>Project Facets</property> page select the <emphasis>
- <property>JBoss Core Portlet</property>
- </emphasis> and <emphasis>
- <property>JBoss JSF Portlet</property>
- </emphasis> checkboxes. And then the screen will ask you to enable <emphasis>
- <property>JavaServer Faces</property>
- </emphasis> facet as well.</para>
-
- <figure>
- <title>Project Facets</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/non_wtp/non_wtp2.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>Notice, <emphasis>
- <property>"Further configuration required..."</property>
- </emphasis> warning appears at the bottom of the screen. It means that you should click
- it to configure JSF and JSF Portlet Capabilities in the project.</para>
-
- <figure>
- <title>JSF Capabilities</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/non_wtp/non_wtp3.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <figure>
- <title>Project Facets</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/non_wtp/non_wtp4.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>After setting the path to Portletbridge Runtime location, click <emphasis>
- <property>OK</property>
- </emphasis> and then <emphasis>
- <property>OK</property>
- </emphasis> again.</para>
-
- <para>Now you can add JSF Portlet to the generated JSF Project. How to do it we showed in
- <link linkend="add_jsf_portlet">the previous chapter</link>.</para>
- </section>
-
- <section id="seam_portlet_to_nonWTP_project">
- <title>Adding a Portlet to the Seam Project</title>
- <para>First start a Seam Project by following to <emphasis>
- <property>New > Other > Seam > Seam Web Project</property>. </emphasis> On the first
- wizard page specify JBoss Portal directory location as <property>Target
- Runtime</property> and <emphasis>
- <property>JBoss Seam Portlet Project v2.0</property>
- </emphasis> as <property>Configuration</property>.</para>
-
- <figure>
- <title>Project Facets</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/non_wtp/non_wtp5.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>Next steps will be the same as we did for the Dynamic Web Project in the <link
- linkend="seam_portlet">Adding Seam Portlet to a Dynamic Web Project</link>
- section.</para>
-
- <para>In conclusion, with this document you've learnt how to get started with <property>JBoss
- Portal</property> using <property>JBoss Tools</property> suite of Eclipse plugins.
- The above chapters walked you through the steps on how to organize a web project with
- portlets which includes a sample staff and deploy it onto the <property>JBoss
- Portal</property>.</para>
-
- <para>If you still have questions or suggestions you are always welcome on our <ulink
- url="http://www.jboss.com/index.html?module=bb&op=viewforum&f=201"
- >Forum</ulink>. Your feedback will be very much appreciated.</para>
- </section>
-</chapter>
17 years, 4 months
JBoss Tools SVN: r12015 - trunk/portlet/docs/reference/en/images/starting_project.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-11-25 09:39:05 -0500 (Tue, 25 Nov 2008)
New Revision: 12015
Added:
trunk/portlet/docs/reference/en/images/starting_project/starting_project_4_a.png
Log:
https://jira.jboss.org/jira/browse/JBDS-479 - adding a new screen;
Added: trunk/portlet/docs/reference/en/images/starting_project/starting_project_4_a.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/starting_project/starting_project_4_a.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 4 months
JBoss Tools SVN: r12014 - in trunk/portlet/docs/reference/en/images: jsf_seam_portlets and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-11-25 09:38:12 -0500 (Tue, 25 Nov 2008)
New Revision: 12014
Added:
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets1.png
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets10.png
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets11.png
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets12.png
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets13.png
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets14.png
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets2.png
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets3.png
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets4.png
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets5.png
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets6.png
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets7.png
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets8.png
trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets9.png
trunk/portlet/docs/reference/en/images/non_wtp/
trunk/portlet/docs/reference/en/images/non_wtp/non_wtp1.png
trunk/portlet/docs/reference/en/images/non_wtp/non_wtp2.png
trunk/portlet/docs/reference/en/images/non_wtp/non_wtp3.png
trunk/portlet/docs/reference/en/images/non_wtp/non_wtp4.png
trunk/portlet/docs/reference/en/images/non_wtp/non_wtp5.png
Log:
https://jira.jboss.org/jira/browse/JBDS-479 - adding new screens;
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets1.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets10.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets10.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets11.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets11.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets12.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets12.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets13.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets13.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets14.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets14.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets2.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets3.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets3.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets4.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets4.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets5.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets5.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets6.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets6.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets7.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets7.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets8.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets8.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets9.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/jsf_seam_portlets/jsf_seam_portlets9.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/non_wtp/non_wtp1.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/non_wtp/non_wtp1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/non_wtp/non_wtp2.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/non_wtp/non_wtp2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/non_wtp/non_wtp3.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/non_wtp/non_wtp3.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/non_wtp/non_wtp4.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/non_wtp/non_wtp4.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/portlet/docs/reference/en/images/non_wtp/non_wtp5.png
===================================================================
(Binary files differ)
Property changes on: trunk/portlet/docs/reference/en/images/non_wtp/non_wtp5.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 4 months