[JAVASERVERFACES_SPEC_PUBLIC-1104] Can't use expression for validator attributes Created: 24/May/12  Updated: 13/Aug/14

Status: Open
Project: javaserverfaces-spec-public
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: dmsinotte Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Zip Archive validator.zip    
Issue Links:
Related
is related to JAVASERVERFACES-2417 Can't use expression for validator at... Closed
Tags: ajax, el, validator

 Description   

Attaching a test case that shows a problem when using an expression for an attribute in a validator. We have markup that looks like this:

<h:inputText id="ajaxMy"
value="#

{testBean.myNumber}

">
<f:validateLongRange minimum="1"
maximum="#

{testBean.maxValue}

"/>
<f:ajax execute="@this"
render="@form"/>
</h:inputText>

When the value of the maximum attribute is modified via Ajax from another input field, the value of the bean is properly set but the validator doesn't resolve appear to resolve the expression at the right time and the result is that validation occurs against the "old" values.



 Comments   
Comment by Ed Burns [ 01/Aug/14 ]

Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

Generated at Thu Jul 30 06:13:05 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.