can you file an issue?
thanks!!
On Fri, Jun 20, 2008 at 5:04 AM, Stephen Friedrich <[EMAIL PROTECTED]> wrote:
> Here's a little problem:
> It seems the "required" and "disabled" attributes do not update correctly
> when changed via PPR.
> (At least when the tr:inputText is in a tr:panelFormLayout - have not tried
> otherwise.)
>
> The label _always_ shows the "*" (even when the required attribute has
> changed to false via PPR).
> The text color does not change when the disabled attribute changes
> (initially its gray for disabled and black for enabled).
>
> Does anybody know a workaround? If I file a Jira issue is there anybody who
> might look at it?
>
> Here's the use case: Only internal employees have a vacation days in their
> contract:
>
> <tr:inputText id="vacationDaysContract"
> label="#{Output.VACATION_DAYS_CONTRACT}"
> value="#{_currentEmployee.vacationDaysContract}"
> partialTriggers=":internalEmployeeRadio :externalEmployeeRadio"
> required="#{_currentEmployee.internal}"
> disabled="#{!_currentEmployee.internal}"/>
>
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org