Re: relative page links in components

2012-08-01 Thread ZKN __
path. > Оригинално писмо >От: "Thiago H de Paula Figueiredo" thiag...@gmail.com >Относно: Re: relative page links in components >До: "Tapestry users" >Изпратено на: Сряда, 2012, Август 1 04:34:26 EEST > On Thu, 26 Jul 2012 09:12:23 -0300

Re: relative page links in components

2012-07-31 Thread Thiago H de Paula Figueiredo
On Thu, 26 Jul 2012 09:12:23 -0300, ZKN __ wrote: Hi, Hi! I have a component that's to be included in different pages. Inside the component I have page links that need to be relative to the current page. Something like this: ${mess

Re: relative page links in components

2012-07-30 Thread ZKN __
pes...@gmail.com >Относно: Re: relative page links in components >До: "Tapestry users" >Изпратено на: Петък, 2012, Юли 27 13:29:37 EEST > Why not pass page name instead of page instance. > > In the component > > @Parameter(required = true) > @Proper

Re: relative page links in components

2012-07-27 Thread Taha Siddiqi
mponent. While if relative paths were possible I could avoid all these > things above. > > > Regards, > > Özkan > > > > > > > >> ---- Оригинално писмо ---- > >> От: Howard Lewis Ship hls...@gmail.com > >> Относно: Re

Re: relative page links in components

2012-07-27 Thread ZKN __
were possible I could avoid all these things above. Regards, Özkan > Оригинално писмо >От: Howard Lewis Ship hls...@gmail.com >Относно: Re: relative page links in components >До: Tapestry users >Изпратено на: Четвъртък, 2012, Юли 26 20:14:49 E

Re: relative page links in components

2012-07-26 Thread Howard Lewis Ship
This will not work, at least, not always. It certainly won't understand about page activation context. Sent from my iPad On Jul 26, 2012, at 9:37 AM, Alex Kotchnev wrote: > Ozkan - just an idea - it seems that you might be able to do something like > this : > > @Inject > private ComponentReso

Re: relative page links in components

2012-07-26 Thread Alex Kotchnev
Ozkan - just an idea - it seems that you might be able to do something like this : @Inject private ComponentResources compResources @Property String editPath page = compResources.getPage() editPath = page.getComponentResources().getBaseResource().forPath("edit").getPath() then, in your componen

relative page links in components

2012-07-26 Thread ZKN __
Hi, I have a component that's to be included in different pages. Inside the component I have page links that need to be relative to the current page. Something like this: ${message:edit} The