[richfaces-issues] [JBoss JIRA] Assigned: (RF-2215) rich:tab created in c:forEach fails if properties are defined by EL expressions

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Tue Mar 11 22:23:58 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-2215?page=all ]

Nick Belaevski reassigned RF-2215:
----------------------------------

    Assignee: Vladislav Baranov  (was: Nick Belaevski)

> rich:tab created in c:forEach fails if properties are defined by EL expressions
> -------------------------------------------------------------------------------
>
>                 Key: RF-2215
>                 URL: http://jira.jboss.com/jira/browse/RF-2215
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.4
>            Reporter: David M. Karr
>         Assigned To: Vladislav Baranov
>             Fix For: 3.2.0
>
>         Attachments: TabPanelBug.zip
>
>
> This simple test case creates rich:tab elements with a c:forEach inside a rich:tabPanel. The attributes of the enclosed tab are defined by EL expressions. When the page displays, a NPE in org.richfaces.renderkit.TabPanelRendererBase.encodeTabs() occurs. Tracing this in the debugger, the NPE happens because the "name" property of the tab object is null. The value of the "name" property is specified by the "#{property.propertyID}" expression, which should not be null.
> I've tested this scenario in RichFaces 3.1.3 and 3.1.4, myFaces 1.2.2, and Sun RI 1.2_07-b03.
> I obviously don't know for certain if this is a bug in RichFaces, or any of the other various frameworks integrated with this.  it's just a reasonable guess that it is.  I've been pursuing this issue in the various forums with several notes, but I haven't gotten any leads from that.
> I'm going to attach the entire Eclipse project that demonstrates this, which is pretty small.

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

        



More information about the richfaces-issues mailing list