You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Scott Nicklous (JIRA)" <ji...@apache.org> on 2017/01/04 12:38:58 UTC

[jira] [Closed] (PLUTO-604) how to use annotation @renderMode(name="custom")

     [ https://issues.apache.org/jira/browse/PLUTO-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Nicklous closed PLUTO-604.
--------------------------------
    Resolution: Fixed

nothing to do.

> how to use annotation @renderMode(name="custom") 
> -------------------------------------------------
>
>                 Key: PLUTO-604
>                 URL: https://issues.apache.org/jira/browse/PLUTO-604
>             Project: Pluto
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>         Environment: eclipse3.6 + mvn + tomcat6 + pluto2.0.2
>            Reporter: cmd
>
> ref doc: http://us.apachecon.com/presentation/materials/0000/0048/ApacheConUS2008-S15-JSR-286.pdf
> and how to invoke the mothod over this annotation 
> my test :
> 1.portlet code:
> @renderMode(name="clipboard")
> void renderClipboardMode(RenderRequest request, RenderResponse response).....
> 2.and jsp 
> <portlet:renderURL var="pu2" >
>   <portlet:param name="javax.portlet.render" value="clipboard" />     //???but it did not invoke renderClipboardMode method ,it still invoke doView method
>   <portlet:param name="mark" value="testparam1"/>
> </portlet:renderURL>
> <A href="<%=pu2%>">enter:clipboard page </A>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)