[Zope] Impossibly long urls

David Beech dbeech@bigpond.net.au
Wed, 31 Jul 2002 15:28:51 +1000


Thanks Chris, I'll go and work along the lines you suggest.

aaaaaaaaaaaaggggggggggh!!!!!!!

cheers

David

On Wed, 31 Jul 2002 15:10, you wrote:
> Use dynamically-generated absolute URLs, e.g.:
>
> <a href="&dtml-absolute_url;/something">Foo</a>
>
> Instead of relative ones, e.g.:
>
> <a href="something">
>
> This is somewhat of a FAQ, although there's no document with
> an A. ;-)
>
> - C
>
> On Wed, 2002-07-31 at 00:58, David Beech wrote:
> > Hello folks,
> >
> > Can anyone explain why my Zope apps generate loooooooooooong
> > urls?
> >
> > It seems that each action (clicking a button or an href)
> > results in the target (the object being called) being
> > appended to the current url which is submitted to the
> > server.
> >
> > I've pored over the various Zope references but nothing
> > sticks out as obvious.
> >
> > I've tried specifying the path directly to a Zope object in
> > both Python scripts and dtml documents, and also used
> > relative linking where possible. The effect is always the
> > same and apart from causing the server to overwork it also
> > leads to problems with database operations.
> >
> > Any help will be much appreciated.
> >
> > cheers
> >
> > David
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Beech (MACS, B.App. Comp, Dip Voc Ed.)
www.thesoftwaresmith.com.au
www.codelearn.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~