You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jason Suplizio <su...@gmail.com> on 2005/12/06 22:56:44 UTC

inline page links

I've read a few threads on the subject, but I'm still still confused.
Creating a simple inline page link as such...

<a href="#listPage" title="Go to the List Page section.">List Page</a>
//page html content
<a name="listPage">List Page section</a>

...doesn't work since the base is defined by tapestry as:
<base href="http://localhost/appName/dir1/"/>

As a result, the link is "http://localhost/appName/dir1/#attributes". The
URL of the page this link is found on looks like:

http://localhost/app?component=guidLink&page=dir1/searchPage&service=direct&session=T&sp=S691423423434234+%2863b-234234%29

Obviously, the "http://localhost/appName/dir1/#attributes" link throws an
404 error and even if I hardcode my link to be:

hhttp://localhost/appName/dir1/searchPage#detailPages&service=direct&session=T&sp=S691423423434234+%2863b-234234%29

I lose all the form data that was loaded onto the page. Am I missing
something here? All I want to do is link to a named anchor within the same
page. I shouldn't have to create any javascript or create a java method to
handle this.

Please help!
Jason