voyent
Accessing Portlet information from an Iceface JSF page  XML
Forum Index -> Portals & Portlets
Author Message
rgordon

Joined: 27/Mar/2007 00:00:00
Messages: 3
Offline


How do you access portlet specific information within the IceFaces JSF page, such as if the portlet is in minimized or maximized mode?
I know that in a jsp page there is a tag library that allows you access certain parameters and create action and response URLs. How is this done from the JSF page?
deryk.sinotte


Joined: 26/Oct/2004 00:00:00
Messages: 1008
Offline


The portlet support in the 1.6 release doesn't include proper access to the Portlet API. In the 1.7 release we will correctly expose the API so that you'll be able to access it from your managed beans. At that point, you should be able to expose the information to your page via the standard expression language syntax.

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
rgordon

Joined: 27/Mar/2007 00:00:00
Messages: 3
Offline


Thanks for your quick reply. So, as an example, how would the rendering of an action URL take place, setting the window state, parameters, etc? Are you saying that this would all be done in the Managed bean using Value Binding?
deryk.sinotte


Joined: 26/Oct/2004 00:00:00
Messages: 1008
Offline


That would be one way to do it, I suppose. I can't say all the details have been worked out but the various Portlet artifacts (PortletRequest, PortletPreferences, etc) will be accessible from your managed beans and you should be able to manipulate them there. There might be other mechanisms we'd consider in the future based on community requirements.

Action URLs are interesting in that they are not currently implemented (not to say they won't be). With ICEfaces, your actions are done via JSF components which are all AJAXified and bypass the normal portlet execution. This, of course, is subject to change.

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
 
Forum Index -> Portals & Portlets
Go to:   
Powered by JForum 2.1.7ice © JForum Team