If anyone has a successful solution to get the inline anchor links working, I would really appreciate your assistance. I've tried everything I could think of and still have been unsuccessful. Joe's help got me moving in a good direction but I'm still uncertain as to what I should write in my new baseTagWriter (if anything), what your url looks like once the link is clicked, etc...
Thanks again! Jason On 12/7/05, Jason Suplizio <[EMAIL PROTECTED]> wrote: > > Where should the inline link reference (i.e. #sectionName) be appended to > a Tapestry URL in order for inline links to work? > > If I implement my own BaseTagWriter my inline link reference (i.e. > #sectionName) > > > http://localhost/tap_comps/app?component=guidLink&page=dir1/SearchPage&service=direct&session=T&sp=S691423423434234+%2863b-234234%29#detailsPages > > > Please help! > > > On 12/7/05, Jason Suplizio <[EMAIL PROTECTED]> wrote: > > > > Thanks Joe! How did that hose any of the other components/services (i.e. > > DirectLink, etc..). > > Jason > > > > > > On 12/7/05, Joe Trewin < [EMAIL PROTECTED]> wrote: > > > > > > I too had this problem - I understand why Tapestry does this, as URLs > > > may be generated by services that contain subpaths, which would then > > > break relative links to assets. However, I'm not convinced that this > > > is > > > the correct solution ... > > > > > > To fix it for my application I implemented my own BaseTagWriter which > > > does nothing, and then overrode the default one in hivemind. > > > > > > This works for my app as I know that no URLs will be generated that > > > break it (yet). > > > > > > -----Original Message----- > > > From: Jason Suplizio [mailto:[EMAIL PROTECTED] > > > Sent: 06 December 2005 21:57 > > > To: Tapestry users > > > Subject: 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/"/ > > > <http://localhost/appName/dir1/%22/>> > > > > > > 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=dir > > > ect&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&ses > > > > > > sion=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 > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > >
