[jboss-user] [JBoss Seam] - DataModel: Row is not available

fabricio.lemos do-not-reply at jboss.com
Wed Apr 11 11:49:54 EDT 2007


I had this DataModel bound to the conversation scope


  | 	@DataModel
  | 	public List<Step> getStepList(){
  | 		return useCase.getSteps();
  | 	}
  | 

All worked just fine until I changed the association type from List to Set and updated the code to:


  | 	@DataModel
  | 	public Set<Step> getStepList(){
  | 		return useCase.getSteps();
  | 	}
  | 

Now the page does not show a new row if a Step is added to the collection. And the console display
ERROR [HtmlTableRendererBase] Row is not available. Rowindex = 0

If I end the conversation and access the page again, the new Step is displayed.

What can be wrong?

Seam version: 1.2.1

thanks in advance,
Fabricio Lemos


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036425#4036425

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036425



More information about the jboss-user mailing list