Very nice.

pf

Jesse Kuhnert píše v Ne 13. 11. 2005 v 20:12 -0500:
> Nekkat sam Petr ;)
> 
> I believe something like what you want could be done a different way,
> using JS, but thankfully you will be blissfully unaware of it's inner
> workings if you choose. http://tacos.sourceforge.net. Go the forms
> area in the demo.
> 
> jesse
> On 11/13/05, Petr Fischer <[EMAIL PROTECTED]> wrote:
> > Yes. But I don't need "clickable" anchors.
> >
> > Clarification:
> > I have long list of editable objects (forms) on a page (only a few items
> > are visible in web browser view).
> > If I edit object on the end of page and click Submit, I need skip to end
> > of page after render (make last edited object visible again in browser
> > view).
> > I don't need "clickable" navigation, only "skip to page end" after
> > render.
> >
> > Do I really need a JavaScript for this?
> >
> > Thanks again. I am sorry, but I am beginner with tapestry and my English
> > is bad, pf
> >
> > Patrick Casey píše v Ne 13. 11. 2005 v 16:47 -0800:
> > >       Once you get to the server via a submit or a link, you're done. The
> > > client side screen is dead and all the server can do is return a new page.
> > > That's simply the way the web works.
> > >
> > >       If you want to do navigation within a page via links, you need to
> > > use javascript onClick handlers or render your links as @Any tags with
> > > hard-coded links.
> > >
> > >       --- Pat
> > >
> > > > -----Original Message-----
> > > > From: Petr Fischer [mailto:[EMAIL PROTECTED]
> > > > Sent: Sunday, November 13, 2005 3:55 PM
> > > > To: Tapestry users
> > > > Subject: Re: how to return HTML anchor from action listener
> > > >
> > > > 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]
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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]
> >
> >


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

Reply via email to