[Zope] button instead of textlink and checking selection

Michael Bleijerveld michael@bleijerveld.nl
Fri, 25 Jul 2003 13:17:35 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0033_01C352AF.1CE303E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,

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=3D"<dtml-var URL><dtml-var =
sequence-query>query_start=3D<dtml-var =
next-sequence-start-number>"><br>Next<dtml-var next-sequence-size></a>
    </dtml-if next-sequence>

2) How can I check if REQUEST[''ids] is not empty when using <dtml-call =
"manage_delObjects(REQUEST['ids'])"> ?

Thanks in advance.

Michael


------=_NextPart_000_0033_01C352AF.1CE303E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>1) Instead of using the textlink Next I =
want to use=20
a button (form) ? How can I establish this ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; &nbsp;&lt;dtml-if=20
next-sequence&gt;</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&lt;a href=3D"&lt;dtml-var URL&gt;&lt;dtml-var=20
sequence-query&gt;query_start=3D&lt;dtml-var&nbsp;next-sequence-start-num=
ber&gt;"&gt;&lt;br&gt;Next&lt;dtml-var=20
next-sequence-size&gt;&lt;/a&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &lt;/dtml-if=20
next-sequence&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>2) How can I check if REQUEST[''ids] is =
not empty=20
when using&nbsp;&lt;dtml-call "manage_delObjects(REQUEST['ids'])"&gt;=20
?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Michael</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;</DIV></FONT></FONT></DIV></BODY></HTML>

------=_NextPart_000_0033_01C352AF.1CE303E0--