[forge-dev] Questions about a new javaee portlet plugin

Jérémie jer at printstacktrace.org
Sun Apr 1 15:00:52 EDT 2012

Hi Forge Team!

I would like to create a plugin to manage javaee portlets.
A first commit is available here http://goo.gl/OKgsG .

Before going further and create a Forge Jira ticket  I would appreciate
your opinion.
 - Do you think core/javaee-api and core /javaee-impl  is a right place or
I need to create an other project?
 - The JBoss Shrinkwrap project doesn't currently include the portlet.xml
description. I think it's interesting to do that. (I can create an other
Jira ticket)
 - The quickstart option  would be interesting to push the generated code
in a GateIn instance (not implemented yet).
 - Command names and options are correct?
Thanks for your comments.

For now here's what you can do:
 $ portlet setup
 $ portlet add --named helloportlet --title "My forge portlet"
--short-title ForgePortlet --keywords "demo,forge,portlet"
 $ portlet add-param --portlet helloportlet --name
javax.portlet.faces.defaultViewId.view --value "/home.xhtml"
 $ portlet add-param --portlet helloportlet --name
javax.portlet.faces.defaultViewId.edit --value "/edit.xhtml"
 $ portlet add-param --portlet helloportlet --name
javax.portlet.faces.defaultViewId.help --value "/help.xhtml"

And the result is :
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0"
      <title>My forge portlet</title>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20120401/f2c96b31/attachment.html 

More information about the forge-dev mailing list