[jboss-user] [JBoss Portal] - Re: Jboss Portal - Partial Refresh
do-not-reply at jboss.com
Tue May 27 03:53:55 EDT 2008
1. To enable partial refresh for a page you must add the following property to the page / portal properties (properties are inherited by children).
2. make a simple portlet with two or three modes. (VIEW, EDIT, HELP).
3. make your View mode display hyperlinks to Edit and Help modes, and Edit mode display links to Help and View (and so on...), by using the following examples :
| RenderResponse rres = (RenderResponse) response;
| PortletURL ru = rres.createRenderURL();
| String url_edit = ru.toString();
| String url_help = ru.toString();
these Strings go into the HREF attribute of the A tag in your output like this link:
TO PARTIALLY REFRESHED EDIT MODE
of course you may want to adjust this knowledge to your environment, maybe a JSF portlet.
After clicking the link on the page you can see that the modes are interchangeable without page refresh.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153489#4153489
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153489
More information about the jboss-user