[jboss-user] [JBoss Seam] - Re: Hibernate Search and JBoss Seam example

Grandfatha do-not-reply at jboss.com
Mon Oct 8 07:25:25 EDT 2007


I was looking at your code and I am by no means an expert in Hibernate Search, but why is it necessary to have the following?


@Datamodel
  | List<Object[]> searchResults;


In your view logic you reference "person", and your error is exactly about that.


"/application/personensuche.xhtml: value of context variable is not an instance of the component bound to the context variable: person"
  | 


My ignorant advice is:   Try to refactor your code to get rid of that List of Object arrays. Maybe create a List by converting the search result into such a list? 


I am sorry, I cannot help you properly, but maybe that stupid idea will help you after all.

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

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



More information about the jboss-user mailing list