In "raw" HTML, I can create an anchor with a name as a fragment 
identifier, like this:

<a name="HalfWayDownThePage" 
href="http://www.mydns.com/MyNextPage.html";>This link goes to 
MyNextPage</a>

Then provide a link to that page like this:

<a href="http://www.mydns.com/MyFirstPage.html#HalfWayDownThePage";>This 
link goes to the middle of MyFirstPage</a>

But when I try to do that in my Java code for Tapestry, it doesn't work:

public void gotoMidOfFirstPageAction(IRequestCycle cycle)
{
        cycle.activate("MyFirstPage#HalfWayDownThePage");
}

The above throws an exception.

Is there any way to do this in Tapestry?

Regards,
David Lee Sanford

Reply via email to