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

Evan Zeng (JIRA) jira-events at lists.jboss.org
Fri Jun 29 05:14:57 EDT 2007


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
         Environment: All seam versions
            Reporter: Evan Zeng
            Priority: Critical


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