[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1582) DataModel with <s:link> or <s:button> Error

Norman Richards (JIRA) jira-events at lists.jboss.org
Thu Jul 19 22:50:47 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1582?page=all ]

Norman Richards closed JBSEAM-1582.
-----------------------------------

    Resolution: Done
      Assignee: Norman Richards  (was: Gavin King)

Fixed.   Checkin message is wrong though.  Woops.

> DataModel with <s:link> or <s:button> Error
> -------------------------------------------
>
>                 Key: JBSEAM-1582
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1582
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0.BETA1
>         Environment: All seam versions
>            Reporter: Evan Zeng
>         Assigned To: Norman Richards
>             Fix For: 2.0.0.CR1
>
>
> If a page references a property of the back bean, then using <s:link> or <s:button> action to delete the last row of data backed by a DataModel will cause an exception with the following root cause:
> java.lang.IllegalArgumentException
> 	javax.faces.model.ListDataModel.getRowData(ListDataModel.java:139)
> ......
> This bug recurs when we make the following modifications to the 'messages' seam example :
> 1. Add a property 'title' to the MessageManager bean.
> 2. In messages.jsp, change the header 'Message List' to '<h:outputText value="#{messageManager.title}"/>'

-- 
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 seam-issues mailing list