Well, I think it's quite easy, since you only need to provide the name of the page, like
<a jwcid="@PageLink" page="Page1">go to Page1</a> So if you instead had <a jwcid="@PageLink" page="ognl:page">go to Page</a> And then had a method public String getPage() { return pagename; } In your class, you home free. See http://jakarta.apache.org/tapestry/tapestry/ComponentReference/PageLink.html for reference Cheers, PS On 4/24/06, Oscar Picasso <[EMAIL PROTECTED]> wrote: > > Hi, > > How to create programmaticlly a PageLink? > > Actually I want to use the rendered pagelink inside a FieldLabel. > > Something like: > <span jwci="@FieldLabel" field="myField" raw="true" > displayName="ognl:myPageLink "/> > > Maybe you have a better idea for what I intend to do. > > Oscar > > > --------------------------------- > Celebrate Earth Day everyday! Discover 10 things you can do to help slow > climate change. Yahoo! Earth Day >