Thanks Matthias.
Here you are: TRINIDAD-1130
I added a complete test case.

Matthias Wessendorf wrote:
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}"/>





Reply via email to