[
http://jira.jboss.com/jira/browse/JBSEAM-1582?page=all ]
Gavin King updated JBSEAM-1582:
-------------------------------
Fix Version/s: 2.0.0.CR1
Affects Version/s: 2.0.0.BETA1
Assignee: Gavin King
Priority: Major (was: Critical)
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: Gavin King
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