Thiago H. de Paula Figueiredo schrieb: >> There is a page in my current project for which I want to pass an object >> between the requests and maintain it's state, but it should not be >> displayed. Also I do not want to store the data in the session, so >> putting it in a hidden field seems the best option. > What about cookies? They are accessed in Tapestry through the Cookies service.
What happens when a user disabled cookies? >> Unfortunately I am unable to find a standard way for tapestry which >> generates the streamed data needed by ValueEncoder. > I'm not following you here. ValueEncoder does not need streamed data. > It just does mapping between object and a string representation of it > and vice-versa. This mapping is implemented by you. If the given > object has a primary key field, it's the easiest solution. ValueEncoder does not need streamed data if it can obtain the object from an identifier. But the data I am using is not stored anywhere so the only way I see is streaming the data and reconstructing the objects. Currently I am using Xstream for this. >> The persistence guide[1] >> mentions a "client strategy" which allows "an extra hidden field in each >> form" but I do not know how to force hidden fields instead of URL encoding. > AFAIK, it's impossible to do what you want this way. How would you > pass parameters from one page to another without using the session, > cookies, form submission or information in the URL? Form submission is the way I want it to do. The passed values should be stored in a Hidden-component so that they are submitted with the form. But I do not know how to store the data in a standard way. Regards Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org