I further investigated the problem and thinking if its MyFaces issue as i am
using <t:saveState> for form fields mapped to model objects and that works
fine but bean properties are becoming null.
I have the following snippet in action method which shows the bean
properties does have values in it. So The mystery is When and Where exactly
these bean properties are becoming null.
Map requestParameterMap =
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
Iterator it =requestParameterMap.entrySet().iterator();
while (it.hasNext())
{
Map.Entry pairs = (Map.Entry)it.next();
logger.debug(pairs.getKey() + " = " + pairs.getValue());
}
bansi wrote:
>
> I have a JSF Bean in Request scope and onsubmit of JSF form all the bean
> properties are null.
> I did verify form fields having values before submit from Http Headers
> (i.e. FireFox Plugin )
> The moment I click the submit button and check the values of bean
> properties thru logger they are null
> Note : The bean properties mapped to form fields are primitive types like
> Strings or List<SelectItem>
> Any pointers/suggestions are highly appreciated
>
>
>
--
View this message in context:
http://www.nabble.com/JSF-Bean--Request-Scope---Issues-tp16851317p16851538.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.