Yes, in generated page, I have <a name="myAnchor"> .
But how to redirect to ResultPage with "#myAnchor" in URL?
(DirectLink has attribute "anchor", but Submit component has not.)

Is possible to _redirect_ to completely new URL from "submit" listener
(with #myAnchor on the end)?

What is "TSS"?

I don't understand something, maybe...

Thanks, pf

Howard Lewis Ship píše v Ne 13. 11. 2005 v 11:30 -0500:
> It simply can't be done; that's not something that can be done using
> HTML.  You have to precompute the anchor when you generate the link on
> the previous page.
> 
> You can use some client-side JavaScript; I did this on TSS to
> accomplish what you want.
> 
> On 11/13/05, Petr Fischer <[EMAIL PROTECTED]> wrote:
> > Hi Tapestry users,
> >
> > how to return HTML anchor from listener:
> >
> >     public String onEditOk() {
> >         <some db stuff>
> >         return "ResultPage"; // how to return HTML anchor here???
> >     }
> >
> > May I use IPage?
> >
> > Thanks, pf
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
> 
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to