Calling Java method when page is loaded
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Calling Java method when page is loaded  XML
Forum Index -> Portals & Portlets
Author Message
rory

Joined: 23/06/2009 00:00:00
Messages: 6
Offline


Hi,

I'm using icefaces to develop portlets for Liferay. I need to call a backing bean method as soon as the page is loaded. I have tried using the javascript onLoad method but that doesn't appear to work. I realise that it might be conflicting with icefaces/liferay's javascript. Does anyone know how to do this? Thanks.

Rory
trivial2k

Joined: 27/06/2008 00:00:00
Messages: 1
Offline


This is how I realize it.

Code:
 <ice:form partialSubmit="false" binding="#{XXXBean.yyyMethod}">
 
 .....
 
 </ice:form>
 


Description:
The page loads this form and calls backing bean method XXXBean.yyyMethod right away. You process the initial logic in yyyMethod and represent the result inside the ice:form
 
Forum Index -> Portals & Portlets
Go to:   
Powered by JForum 2.1.7ice © JForum Team