[Zope] DTML-IN not using SIZE parameter in HDML coding.

Paul Zwarts paz@oratrix.com
Fri, 13 Jul 2001 17:34:07 +0200


And all the time trying these combinations you used orphan=0 ? Ok, this is
beyond me... Chris, Dieter, Tino!?

Paz

-----Original Message-----
From: Schmidt, Allen J. [mailto:aschmidt@nv.cc.va.us]
Sent: Friday, July 13, 2001 4:43 PM
To: 'Paul Zwarts'; Schmidt, Allen J.; zope@zope.org
Subject: RE: [Zope] DTML-IN not using SIZE parameter in HDML coding.


Been to the archives several times and have run across this, too.
But, if there are 20 records and I say size=4, I don't get just 4. If I know
there are 8 records and I say size=2 I get all 8. I have tried several
combinations but each comes back with too much data as it is ignoring the
SIZE.



-----Original Message-----
From: Paul Zwarts [mailto:paz@oratrix.com]
Sent: Friday, July 13, 2001 10:25 AM
To: Schmidt, Allen J.; zope@zope.org
Subject: RE: [Zope] DTML-IN not using SIZE parameter in HDML coding.


I think I can regurgitate words from Chris to me:

Bit by the orphan bug!

<dtml-in .... size=10 orphan=0>

If you have size=10, but there are 13 records, you get 13 unless you specify
the orphan=0. Check the DTML ref guide on <DTML-IN> for more info.


Paz
(I love to sound smart at someone else's expense)

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
Schmidt, Allen J.
Sent: Friday, July 13, 2001 4:11 PM
To: zope@zope.org
Subject: [Zope] DTML-IN not using SIZE parameter in HDML coding.


I'm working on an HDML page to displayed on a WAP-enabled phone. Its all
done in Zope.
The application works great. It asks you for part of a company name to
search for, submits and queries a database and returns a list of company
names that match.
However, it seems to be ignoring the size parameter of the dtml-in tag. So
long at the list is fewer than 10 it works fine. If over that, the phone
can't handle the display of the page and throws an error. Not a Zope error
but one from the phone.

Any idea why size would not work with HDML?

Thanks

Allen

_______________________________________________
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 )