On Wed, 05 Oct 2011 17:56:44 -0300, leothelion <okram...@hotmail.com> wrote:

If I erase the ' row="salesItem" ', then the adding problem is gone. But I cannot use a SessionState instance as a row in grid component?

Yeah, but it's not a good idea, as you're using the same field for two very different things (using as a loop variable in a Grid and storing a value in the session) You end up setting the last object in the grid to the SSO, and I don't think that's what you want.

If not, what is the alternative way to do so?
Anyone got any idea?

Just create another field to use as grid loop variable (row parameter). ;)

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to