[ 
https://jira.nuxeo.org/browse/NXP-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=81599#action_81599
 ] 

Jean-Marc Orliaguet commented on NXP-5680:
------------------------------------------

I have the same results.

By the way there is no 1.1.15.B1 version at 
https://facelets.dev.java.net/servlets/ProjectDocumentList?folderID=3635

the id issue comes from ids that starts with figures [0-9] such as 
id="#{widget.id}_..." - that is straightforward to fix although it can take 
time.


the NPE in iterator comes from a change in IterationStatus.java 
(http://www.docjar.com/html/api/com/sun/faces/facelets/tag/jstl/core/IterationStatus.java.html)

there is a 'step' parameter set to Null which wasn't in 1.1.11 that got 
introduced in 1.1.15 the file is from 2009/02/03

    public IterationStatus(boolean first, boolean last, int index, Integer 
begin, Integer end, Integer step) {
        this.index = index;
        this.begin = begin;
        this.end = end;
        this.step = step;
        this.first = first;
        this.last = last;
        this.even = (index - begin.intValue() / step.intValue()) % 2 == 0; 
<<<<<<<<<<<<<
    }

but there is a later version of it that I found here that tests the value of 
'step' 
int iStep = ((step != null) ? step : 1);

http://www.docjar.com/html/api/com/sun/faces/facelets/tag/jstl/core/IterationStatus.java.html

The question is: do you want to upgrade facelets or to align to JBoss5? In any 
case 1.1.15 seems buggy


> Align on Facelets 1.1.15b1
> --------------------------
>
>                 Key: NXP-5680
>                 URL: https://jira.nuxeo.org/browse/NXP-5680
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Sub-task
>            Reporter: Thierry Delprat
>            Assignee: Jean-Marc Orliaguet
>


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

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to