On 8/17/06, andyhot <[EMAIL PROTECTED]> wrote:
Henri Dupre wrote: > Thanks Jesse, that was a lightspeed answer. > > On 8/17/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: >> >> I think the PageService does a pretty good job of generating links that >> point to pages. > > > What I'm looking for is the current URL being rendered. > I need to generate <a href="currentURL#anchor1"> within any page (a > form or > an external link) not only for a @PageLink. > Why not <a jwcid="@PageLink" page="ognl:page.name" anchor="anchor1"> ?
Because if I'm rendering an external link, direct link or form then the link generated by pagelink will be different from the current one and even it will be a wrong link (e.g. the parameters passed to the @externallink will be lost). --
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Henri Dupre Actualis Center