[ http://issues.apache.org/jira/browse/MYFACES-1397?page=all ]
Martin Marinschek resolved MYFACES-1397.
----------------------------------------
Fix Version/s: 1.1.5-SNAPSHOT
Resolution: Fixed
Thanks to Pavel for keeping us up to date, thanks to Steven for digging this up.
regards,
Martin
> getValidJavascriptNameAsInRI throws java.lang.IllegalArgumentException:
> Illegal group reference
> -----------------------------------------------------------------------------------------------
>
> Key: MYFACES-1397
> URL: http://issues.apache.org/jira/browse/MYFACES-1397
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 1.1.5-SNAPSHOT
> Environment: WinXP, JDK 1.5.0_06
> Reporter: Steven Cooke
> Assigned To: Martin Marinschek
> Fix For: 1.1.5-SNAPSHOT
>
>
> getValidJavascriptNameAsInRI throws IllegalArgumentException for all
> non-null String input.
> /**Don't use this function - except when compatibility with the RI is a must,
> * as in the name for the clear form parameters script.
> */
> public static String getValidJavascriptNameAsInRI(String origIdentifier)
> {
> return origIdentifier.replaceAll("-", "\\$_"); // <-- I think this
> is what you want, but can't tell from the javadocs :-)
> }
--
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