You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jürg Brandenberger (JIRA)" <de...@myfaces.apache.org> on 2012/05/07 09:00:18 UTC

[jira] [Commented] (MYFACES-3533) java.lang.String.substring(int startIndex, int endIndex) called from Myfaces as .substring(Long, Long)

    [ https://issues.apache.org/jira/browse/MYFACES-3533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269408#comment-13269408 ] 

Jürg Brandenberger commented on MYFACES-3533:
---------------------------------------------

This can be considered as closed. It seems, it was an EL-Issue on WAS 8.0.02, which has been corrected on WAS 8.0.0.3!
                
> java.lang.String.substring(int startIndex, int endIndex) called from Myfaces as .substring(Long, Long)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3533
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3533
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>         Environment: WebSphere 8.002
>            Reporter: Jürg Brandenberger
>
> Caused by: javax.el.ELException: requirementsList.xhtml at line 34 and column 56 value="#{(((req.title).length() lt 23) ? req.title : (req.title).substring(0,20).concat('...'))}": java.lang.NoSuchMethodException : java.lang.String.substring(java.lang.Long, java.lang.Long)
> (req.title).substring(0,20) must call method String.substring(int, int)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira