Hello all, I've been struggling to understand the concepts surrounding T5 and have reached a pinnacle of frustration while trying to implement a (supposedly) simple piece of functionality. I could very much use some guidance.
What I'm trying to do is have a piece of information specifiable on the URL which will persist throughout the experience of the user. Specifically, I am trying to create an application which will be "site aware" (where "site" is a made-up term which implies different configurations/access/etc.). The "site" will need to be present in the URL in some form. With URL re-writing I suppose it is possible to have this as a parameter on the URL, or some other way which can be re-written into a Tapestry compatible form, but even so, I'm not sure what approach that form should take. If it is a parameter on the URL, how will that parameter persist while the user is browsing through the app, submitting forms, clicking links, etc? If it is an activation context, how would /that/ persist? Ultimately the ideal solution would be to have this "site" specified early in the URL and have Tapestry keep it there (and allow me to access its value) throughout the use of the app by a client. Something like: http://mysite.com/foosite/blah/blah/blah where "foosite" would be any string. As mentioned above, I suppose this could be: http://mysite.com/blah/blah/blah?site=foosite or http://mysite.com/blah/blah/blah/foosite if that makes achieving this with Tapestry any easier. I feel that Tapestry has the potential to be very useful and a great platform to develop on, but I'm really struggling to understand how to do this. Many Thanks, Levi --- For reference, here is a my previous thread: http://n2.nabble.com/-T5--URL-Manipulation-tt2276010.html -- View this message in context: http://n2.nabble.com/-T5--Struggling-With-Concepts-tp2324920p2324920.html Sent from the Tapestry Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org