[
https://jira.jboss.org/jira/browse/JBIDE-4218?page=com.atlassian.jira.plu...
]
Joao Paulo Viragine commented on JBIDE-4218:
--------------------------------------------
Max,
Currently JBDS facets creates required files for portlets, but wizard creates portlet for
an *existing* portal (JBDS creates a new page in default portal and it's not always
the desired behavior).
What I'm proposing is to have an option to inform a portal name, so when project is
deployed, JBoss Portal automatically creates the new portal. (this avoids us to have to
create the new portal in JBoss Portal Admin)
To do this, JBDS may ask for a portal name and include this tags in default-object.xml:
<parent-ref />
<if-exists>overwrite</if-exists>
<portal>
<portal-name>myNewPortal</portal-name>
<...>
Even better, JBDS may create a myNewPortal.sar (instead of simple war) with all portal
stuffs that user generally customized for every portal, like: layouts, themes and so on.
(if you agree is this, I can enumerate all required files for this approach...We can
discuss this with Thomas too).
So, we would have a completely independent (from JBoss Portal/Admin) portal project that
could be easily customized.
Add option to create a JBoss Portal project
-------------------------------------------
Key: JBIDE-4218
URL:
https://jira.jboss.org/jira/browse/JBIDE-4218
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Portal
Affects Versions: 3.0.0.GA
Environment: JBDS 2.0.0.GA
Reporter: Joao Paulo Viragine
Fix For: 3.1.0.M3
It would be nice if we could create a portal in JBoss Portal directly from JBDS/Tools.
We could have an option named: 'Create JBoss Portal Project', which included
facets like JBoss Portlet and Seam (among others)
and created: portlet.xml, portlet-instances.xml and default-object.xml.
This option could prompt for a portal name, so we don't need to even define/create
the portal in JBoss Portal Admin console. Everything would be done directly from
JBDS/Tools.
Note that option would be slight different from an existing 'JBoss JSF/Seam
Portlet' option that doesn't create a portal, only a portal page in an existing
portal.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira