I have fetched datas from database : @Inject private HibernateSessionManager _sessionmanager; private Company _company; public List getList() { _session=_sessionmanager.getSession(); List list=_session.createQuery("from Company").list(); return list; }
this is my pojo: @Entity @Table(name="company") public class Company { @Id @GeneratedValue private long id; private String name; public Company() {} public long getId() { return id; } public void setId(long id) { this.id=id; } public String getName() { return name; } public void setName(String name) { this.name=name; } } I am test that the result is not null ,so I write this in html page: <t:loop source="list" value="company"> ${company.name} <br/> </t:loop> the error is :Failure writing parameter value of component Start:loop: Expression company for class com.myspacce.pages.Start is read-only. I can not understand .please help me . thanks ! -- View this message in context: http://www.nabble.com/Failure-writing-parameter-value-of-component-Start%3Aloop%3A-tf4605415.html#a13150356 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]