Interesting use; this is definately client-persisted storage. The good news is that it can probably be added to Tapestry without changing Tapestry source code, the bad news is that, off the top of my head, I'm not sure how to do it.
Actually, maybe not ... this will involve getting into the LinkFactory pipeline, since each link will need to encode the ASO; worse, we'll have to pay to re-serialize the ASO (or, more likely, map of ASOs) on each link, since we can't tell if the ASO properties change. Currently, think the releationship between LinkFactory and PropertyPersistenceStrategySource is hard coded; we'll need to put a pipeline or event notification hub in between the two, so that it can be extended. On 10/27/05, Henri Dupre <[EMAIL PROTECTED]> wrote: > On 10/27/05, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > scope="client" would imply that the data is stored on the client (much > > like client-side persistent properties, as query parameters and/or > > hidden form fields). > > > > I think Richard is right, having ASO data scoped to the current > > request might be quite useful; this would be created on first > > reference and accessible to all pages and components for the duration > > of the request, then discarded. Creating this would be quite easy. > > Still I'd like to see a JIRA issue and a real use case before > > committing to changes for 4.0. > > Ok the JIRA issue that is easy what kind of use case do you need? > This feature would really ease my work right now... I need to store > the navigation position and I'd really like to keep the application > stateless when clients are just browsing the website. The navigation > position needs to be accessed/updated by several components on the > page and also by the pages themselves. I'm currently trying to > implement it with a hivemind service and component persistent > properties but it is getting tricky to handle the rewinding correctly. > > Thanks, > > Henri. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator, Jakarta Tapestry Creator, Jakarta HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
