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

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

Follow-up on this issue. I tested with some System.out.print and here is what I 
get on first page rendering:

06/07/10 10:41:02 getNoMatchMessageDetail() obj = This is a test message
06/07/10 10:41:02 getNoMatchMessageDetail() obj = This is a test message

and on page submit:

06/07/10 10:41:26 getNoMatchMessageDetail() obj = null
06/07/10 10:41:26 _getNoMatchFoundMessage() = Detail: La valeur "/$%" ne 
correspond pas au motif d'expression régulière "\w*"., Summary: La valeur ne 
correspond pas au motif.
06/07/10 10:41:26 getNoMatchMessageDetail() obj = This is a test message
06/07/10 10:41:26 getNoMatchMessageDetail() obj = This is a test message

For some reason it seems that the noMatchMessageDetail attribute is not yet 
restored during the processValidation phase, but get restored just fine during 
render response. I'll dig that one a bit more.

> <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