Re: [T5] Passing values to component + page by URL

2008-11-12 Thread Andy Pahne
aldana schrieb: Yeah, that's what I did (just in template style -> did not embed this in Page-class but in .tml artifact). But for interest: If activation-context is possible, how do I pass this activation context through my URL? Doing a simple concat to the Page (index/myComponent/paramForCom

Re: [T5] Passing values to component + page by URL

2008-11-12 Thread aldana
Yeah, that's what I did (just in template style -> did not embed this in Page-class but in .tml artifact). But for interest: If activation-context is possible, how do I pass this activation context through my URL? Doing a simple concat to the Page (index/myComponent/paramForComponent) would not

Re: [T5] Passing values to component + page by URL

2008-11-12 Thread Andy Pahne
aldana schrieb: ok, thanks for the first hints. But I guess it is not possible to map these activation-contexts also for components (i.e. subelements of a Page)? I am having a MainContent component (which should show main content of a site, most of it static html) and therefore want to pass such

Re: [T5] Passing values to component + page by URL

2008-11-11 Thread aldana
ok, thanks for the first hints. But I guess it is not possible to map these activation-contexts also for components (i.e. subelements of a Page)? I am having a MainContent component (which should show main content of a site, most of it static html) and therefore want to pass such an activation co

Re: [T5] Passing values to component + page by URL

2008-11-11 Thread Andy Pahne
If I understood your question right, then you are looking for (in T5 lingo) "activation context". Read more: http://tapestry.formos.com/nightly/tapestry5/guide/pagenav.html esp. the secton "Page Activation" If you use an activation context, the url becomes sth like this: http://domain.c

[T5] Passing values to component + page by URL

2008-11-11 Thread aldana
Hi, would like to pass information by a link (URL) to a component and its relating Page, e.g. something like: http://domain.com/Site/show/contact This way I adress the Site page, which itself references a Show component which provides a field to which the value 'contact' binds. This is very i