[Zope] button instead of textlink and checking selection

Michael Bleijerveld michael@bleijerveld.nl
Thu, 31 Jul 2003 19:03:58 +0200


Hi Chris,

In future I will post in text-format. Sorry for the inconvience.

Thanks for the answers. My problems are solved.

Cheerio,

Michael

----- Original Message ----- 
From: "Chris Withers" <chrisw@nipltd.com>
To: "Michael Bleijerveld" <michael@bleijerveld.nl>
Cc: <zope@zope.org>
Sent: Thursday, July 31, 2003 5:34 PM
Subject: Re: [Zope] button instead of textlink and checking selection


> Hi Michael,
>
> Please don't post in HTML, it's quite hard to read ;-)
>
> Michael Bleijerveld wrote:
> > 1) Instead of using the textlink Next I want to use a button (form) ?
> > How can I establish this ?
> >     <dtml-if next-sequence>
> >          <a href="<dtml-var URL><dtml-var
> > sequence-query>query_start=<dtml-var
next-sequence-start-number>"><br>Next<dtml-var
> > next-sequence-size></a>
> >     </dtml-if next-sequence>
>
> <dtml-if next-sequence>
> <form action="<dtml-var URL">
> <input type="submit" value="Next <dtml-var next-sequence-size>">
> <input type="hidden" name="query_start" value="<dtml-var
> next-sequence-start-number>">
> </form>
> </dtml-if>
>
> > 2) How can I check if REQUEST[''ids] is not empty when using <dtml-call
> > "manage_delObjects(REQUEST['ids'])"> ?
>
> REQUEST.get('ids',[])
>
> cheers,
>
> Chris
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>
>