List Info

Thread: serialize a form bean using portlet bridges




serialize a form bean using portlet bridges
user name
2006-07-31 18:34:43
hi folks,

is there a way to serialize a formbean(backingbean) using
the myfaces portlet brigde? i need to validate input values
during a tabbed pane switch. so far the TabChangeListener
seems to fire on every tab switch but the backingbean cannot
be serialized and therefore i cannot access the input fields
when the TabChangeListener fires. 

or is there another way to accomplish this????

so far i wasn´t successful using:

public class UserProfileBean extends FacesPortlet implements
Serializable, TabChangeListener {
...
}

org.apache.portals.bridges.jsf.PortletExternalContextImpl is
not serializable.

any help is very much apprechiated.

best regards,
nicolas
____________________________________________________________
_________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten
zu sparen!
http://smartsurfer.web.de/?mc=100071&dis
tributionid=000000000071

serialize a form bean using portlet bridges
user name
2006-07-31 18:38:32
I think u are starting to use JSF for portlet development in wrong way, your backing beans doensn't need extends from FacesPortlet.

2006/7/31, Nicolas Kalkhof <web.de"> nkalkhofweb.de>;:
hi folks,

is there a way to serialize a formbean(backingbean) using the myfaces portlet brigde? i need to validate input values during a tabbed pane switch. so far the TabChangeListener seems to fire on every tab switch but the backingbean cannot be serialized and therefore i cannot access the input fields when the TabChangeListener fires.

or is there another way to accomplish this????

so far i wasnŽt successful using:

public class UserProfileBean extends FacesPortlet implements Serializable, TabChangeListener {
...
}

org.apache.portals.bridges.jsf.PortletExternalContextImpl is not serializable.

any help is very much apprechiated.

best regards,
nicolas
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000071




--
Yours truly (Atenciosamente),

Rogério
serialize a form bean using portlet bridges
user name
2006-07-31 18:44:29
Look this for instructions about how use JSF to create Portlets:

http://wiki.apache.org/myfaces/Using_Portlets

2006/7/31, Rogerio Pereira < gmail.com">rogerio.araujogmail.com>:
I think u are starting to use JSF for portlet development in wrong way, your backing beans doensn't need extends from FacesPortlet.

hi folks,

is there a way to serialize a formbean(backingbean) using the myfaces portlet brigde? i need to validate input values during a tabbed pane switch. so far the TabChangeListener seems to fire on every tab switch but the backingbean cannot be serialized and therefore i cannot access the input fields when the TabChangeListener fires.

or is there another way to accomplish this????

so far i wasnŽt successful using:

public class UserProfileBean extends FacesPortlet implements Serializable, TabChangeListener {
...
}

org.apache.portals.bridges.jsf.PortletExternalContextImpl is not serializable.

any help is very much apprechiated.

best regards,
nicolas
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000071




--
Yours truly (Atenciosamente),

Rogério



--
Yours truly (Atenciosamente),

Rogério
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )