Further to my below posting i added the following code which works only once
. I guess its due to session bean

FacesContext context = FacesContext.getCurrentInstance();
Application application = context.getApplication();
application.createValueBinding
("#{updateDeviceBean.viewId}").setValue(context, devInterface.getId());



bansi wrote:
> 
> Forgot to mention i dont wanna use managed-property facility  in the
> faces-config as i am using Session scope Bean and i cant use request scope
> bean
> 
> 
> bansi wrote:
>> 
>> On click of hyperlink i wanna pass the object instance i.e. address of
>> the object
>> FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("viewId")
>> 
>> Please note viewId is instance of my object like DeviceView viewId;
>> 
>> I am checking the value at every stage & it holds the address of an
>> object until i click the link which goes to backing bean method where the
>> value is null
>> 
>> Any pointers/suggestion highly appreciated
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Unable-to-pass-Object-using-FacesContext-tf4288541.html#a12209058
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to