Ville Virtanen wrote:
Hi,
as far as I know T5 still does not expose any service to create links the
way we need to. I believe that the best solution is just to isolate the
problem by creating a service to use when generating links. This way if the
used T5 internal services change you have single
Hi,
as far as I know T5 still does not expose any service to create links the
way we need to. I believe that the best solution is just to isolate the
problem by creating a service to use when generating links. This way if the
used T5 internal services change you have single point to correct in yo
Ville Virtanen wrote:
Hi, [...]
Have you find any solution ? I have the same concern as you especially
when working with dispatcher that redirect to T5 pages under certain
condition.
--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1
On Wed, Mar 11, 2009 at 10:01 AM, Andy Pahne wrote:
> I see. Let me first admit that my wording
Now I follow you perfectly. :)
The issues you mentioned are very important, but the way I plan to
implement URL i18nization is using URL rewriting in a way that the
original, non i18n URLs are left un
Thiago H. de Paula Figueiredo schrieb:
On Wed, Mar 11, 2009 at 7:45 AM, Andy Pahne wrote:
This is an exceptionally good question. Links will have to be created
completly out of the web application context.
Why? I'm not following you . . .
I think this is going to be even more nec
On Wed, Mar 11, 2009 at 7:45 AM, Andy Pahne wrote:
> This is an exceptionally good question. Links will have to be created
> completly out of the web application context.
Why? I'm not following you . . .
> I think this is going to be even more necessary, when the recent changes
> about URL i18n
ComponentClassResolver that you can look at to help you construct the links and resolve valid page names.
Peter
- Original Message -
From: "Ville Virtanen"
To: users@tapestry.apache.org
Sent: Wednesday, 11 March, 2009 10:53:56 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject:
ns, Beirut, Bucharest,
Istanbul
Subject: Re: How to make link correctly
Thanks for the reply,
Let me rephrase :) What is the best practice for creating
org.apache.tapestry5.Link instances if I have the page class at my disposal?
I see that component resources are not internal and provide functionality I
Thanks for the reply,
Let me rephrase :) What is the best practice for creating
org.apache.tapestry5.Link instances if I have the page class at my disposal?
I see that component resources are not internal and provide functionality I
need, but is it ok to use the service without any component or
Yes, see org.apache.tapestry5.ComponentResources:
Link link = resources.createPageLink(_page, false, _context);
There are a number of ways to construct a link in Tapestry, choose whats best
for you. From an event you can return a class a Tapestry Page Object a URI or a
Link object, have I missed
10 matches
Mail list logo