JSF doesn't set values for optionally rendered fields

When I enter a value into an optionally rendered inputText, the resulting object property is never updated, but when I remove the "rendered=" code then the objects set property works every time.

I am using the version of JSF that downloads with the latest version of Facelets, jsf-1.1_02-b08, since the newer version isn't compatible with the version of JSP that Tomcat 5.5.x runs. I'm not sure I have the option to run any newer versions of JSF/Facelets with Tomcat 5.5.x, much trial and error previously failed to get anything newer working.

Is this a bug with an older version of JSF, and if so how can I get a new version to deploy with the version of JSP that Tomcat 5.5.x supports?

[708 byte] By [DavesPlaneta] at [2007-11-26 13:14:40]
# 1

What is the value of the property of the rendered attribute during the apply requests phase? I guess this is "false" and therefore the value won't be updated. You might redesign your approach. Add a h:inputHidden field to your form and put the property in it, or even make the bean session scoped ;)

BalusCa at 2007-7-7 17:34:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

There is a select box tied to the backing object that I change from "no" to "yes", and it triggers a submit, and when the page reloads there is an inputText with something like rendered="#{obj.listboxvalue == 'yes'}", the tex box renders when I select the "yes" option in the list box but the values are never set in the backing object. Pretty simple stuff, but it just doesn't work.

DavesPlaneta at 2007-7-7 17:34:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...