[ 
http://issues.apache.org/jira/browse/ADFFACES-44?page=comments#action_12419790 
] 

Simon Lessard commented on ADFFACES-44:
---------------------------------------

Oups, little copy and paste error here, second test was made using :

<f:loadBundle basename="messages" var="msg"/>
<af:inputText label="Test">
  <af:validateRegExp pattern="\w*" noMatchMessageDetail="#{msg['error']}"/>
</af:inputText> 


> <af:validateRegExp/> does not allow EL for noMatchMessageDetail
> ---------------------------------------------------------------
>
>          Key: ADFFACES-44
>          URL: http://issues.apache.org/jira/browse/ADFFACES-44
>      Project: MyFaces ADF-Faces
>         Type: Bug

>     Reporter: Simon Lessard

>
> I copied this bug from OTN at 
> http://forums.oracle.com/forums/message.jspa?messageID=1355472#1355472
> You cannot specify a noMatchMessageDetail using EL pointing on a resource 
> file when using the <af:validateRegExp/>  tag.
> The reproduction case is:
> [code]
> <f:loadBundle basename="some.resource.file" var="res"/>
> <af:inputText>
>   <af:validateRegExp pattern="\w*" 
> noMatchMessageDetail="#{res['some.key']]}"/>
> </af:inputText>
> [/code]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to