Doug, if your positional page anchors don't have variable data, just do it
the old fashioned way with the <a name="anchor">This is my anchor</a>

No Tapestry magic needed.

Remember, Tapestry emit's as is anything in the template that does not have
a jwcid.

Richare 

-----Original Message-----
From: Doug Lochart [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 04, 2005 1:31 PM
To: Tapestry users
Subject: help with positional page anchors, please

Is this too easy of a question or has noone ever encountered it before
(I doubt that)
I searched the archives and found 1 thread for it but it was not
helpful.

All, ( I am using Tapestry 3.0.3 )

As of now I am NOT using the Redirect-after-Post pattern YET but I may
need
to to protect against users hitting the refresh button.
That being said here is my issue:

I have a search page that allows the user to enter in criteria and
perform
the search. When a search is performed I go get the data
and populate the bottom of the page with a table (component) of all the
results. In my listener I simply retrieve the data and then return which
will re-render the same page.

I need/want to keep the results and the criteria together on the same
page
so that the user will be able to see what they searched for.
The problem is that the results appear below the criteria and off the
viewable portion of the page.

I would like to provide an anchor tag to the area above the results
table
and then have the page (when re-rendered) position itself at the results
as if I was using page#section style of anchor link.

How would I do this seeing how I am just returning from a listener?

Any thoughts?

Thanks!



--
What profits a man if he gains the whole world yet loses his soul?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to