You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by bansi <ma...@yahoo.com> on 2008/04/11 05:20:03 UTC

JSF Multiple Forms/Backing Beans doesnt support Value-Binding

I have following situation
JSF form1.xhtml has <ui:include src="form2.xhtml" />

<form2.xhtml> has Value-Binding to pojo i.e. model object


Now i wanna access these pojo i.e. model object in Form1Bean.java. I tried
doing this in two ways
1)  retrieve the  Component from Tree Model
2) using FacesContext External Context

Both of these methods return pojo as empty object with value-binding
properties set to null

Please note their is no action method in <form2.xhtml>
<form1.xhtml> is mapped to Form1Bean.java
<form2.xhtml> is mapped to Form2Bean.java

Any pointers/suggestions will be highly appreciated

-- 
View this message in context: http://www.nabble.com/JSF-Multiple-Forms-Backing-Beans-doesnt-support-Value-Binding-tp16624389p16624389.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.