[
https://jira.jboss.org/jira/browse/JBIDE-2233?page=com.atlassian.jira.plu...
]
Thomas Heute commented on JBIDE-2233:
-------------------------------------
Thanks !
This is really cool, and a very good start.
Few comments:
- There is too much restrictions on the Web Module version and portlet version (for
example you can do a portlet 1.0 with a web-app 2.5. The thing is that if you use JBoss
Portal 2.6 you will need to have a portlet 1.0 spec file.
- Portlet modes are not necessarily limited to View Edit and Mode, but for the first
iteration that's fine since there is no real cases using other modes
- For the method stubs, it's a bit buguy:
doDispatch appears twice (i understand that it's because it's defined by
Generic Portlet and Portlet, but we should filter)
When you uncheck "inherited abstract class" then click on doHelp for
example, it becomes grey (unselectable)
- The last step "Create Portlet" should be made optional, because you can do
it through the administration portlet.
For the -object.xml files, there is one file created per portlet. A common scenario is to
put them all in the same file usually called default-object.xml. But that's not a big
deal, both works fine.
Also is there a particular reason to include portal-common.jar ? If not i suggest that we
remove it.
Again, thanks a lot !
Ability to create a new "Portlet" project
-----------------------------------------
Key: JBIDE-2233
URL:
https://jira.jboss.org/jira/browse/JBIDE-2233
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Portal
Reporter: Thomas Heute
Assignee: Snjezana Peco
Fix For: 3.0.0.beta1
Attachments: JBossPortlet.zip, org.jboss.tools.portlet.updatesite.zip
A portlet application is a standard application with an additional file:
WEB-INF/portlet.xml
Two versions of the portlet specification exist at the moment, we can simply focus on the
second one.
The schema for the first version of the portlet specification is available at:
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
The new version should be available at the following address anytime soon:
http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd
--
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