portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ate Douma <...@douma.nu>
Subject Re: How can i obtain current portlet name
Date Wed, 27 Jun 2012 08:53:55 GMT
On 06/27/2012 10:45 AM, Gary Kuang wrote:
> I need to obtain current Portlet Name which defines in portlet.xml. But I've no idea
how to get it with the code. Please help me.
>

javax.portlet.PortletConfig:

   /**
    * Returns the name of the portlet.
    * <P>
    * The name may be provided via server administration, assigned in the
    * portlet application deployment descriptor with the <code>portlet-name</code>
    * tag.
    *
    * @return   the portlet name
    */

   public String getPortletName ();

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message