On 1/12/09 5:22 PM, Brad Gardner wrote:
I am working on using Wicket for Portlet development.  So far I haven't had
much difficulty, but now I'm looking at trying to modify some attributes of
the portlet, such as the Portlet Mode.  How do you go about modifying the
portlet mode of a portlet from somewhere like the onSubmit method of a
form?  I've been looking for a way to get ahold of the PortletResponse to do
this, am I chasing my tail by going that route?

The requestcontext (RequestContext.get()) is a PortletRequestContext so from there you should be able to get and set most of stuff. Els have a look at getResponse/getRequest,

Reply via email to