Hi, I tried the example from the DTML userguide with my query and get wrong values for: next-sequence-size and previous-sequence-size, here is my dtml-example: <!--#if slow_search --> <!--#in slow_search previous size=20 start=qs--> <!--#comment--> <!--#var previous-sequence-size --><br> <!--#var previous-sequence-start-index --><br> <!--#var previous-sequence-end-index --><br> <!--#/comment --> <a href="<!--#var document_id--><!--#var sequence-query -->qs=<!--#var previous-sequence-start-number-->"> (vorherige <!--#var previous-sequence-size--> Adressen )</a><br> <!--#/in--> <!--#in slow_search size=20 start=qs--> <!--#if sequence-start --> E-Mail.DE hat insgesamt <!--#var sequence-length --> Adresse <!--#if expr="_['sequence-length'] > 1"-->n <!--#/if -->gefunden.<BR> <!--#/if --> <H4><!--#var expr="_['sequence-index'] + 1" -->. <!--#var vorname --> <!--#var name --> </H4> <!--#var position -->,<!--#var organisation --> <!--#var strasse -->; <!--#var plz --> <!--#var ort --><BR> <!--#if tel -->Tel: <!--#var tel --><!--#/if --><BR> <!--#if fax -->Fax: <!--#var fax --><!--#/if --><BR> <!--#if emailg --> <a HREF="mailto:<!--#var emailg -->"><!--#var emailg --></a> geschäftlich<br> <!--#/if --> <!--#if emailp --> <a HREF="mailto:<!--#var emailp -->"><!--#var emailp --></a> privat<br> <!--#/if --> <P><BR> <!--#/in --> <!--#in slow_search next size=20 start=qs--> <!--#comment --> <!--#var next-sequence-size --><br> <!--#var next-sequence-start-index --><br> <!--#var next-sequence-end-index --><br> <!--#/comment --> <a href="<!--#var document_id--><!--#var sequence-query -->qs=<!--#var next-sequence-start-number-->"> (die nächsten <!--#var next-sequence-size--> Adressen )</a> <!--#/in--> <!--#else --> Es wurden leider keine Einträge gefunden <!--#/if --> When for example 111 records are found: next-sequence-size is alway "1", and previous-sequence-size is "-90","-70","-50","-30","-10" everything else works as described. Gruß Joachim Schmitz
At 08:27 25/06/99 , Joachim Schmitz wrote:
Hi,
I tried the example from the DTML userguide with my query and get wrong values for: next-sequence-size and previous-sequence-size,
<SNIP>
When for example 111 records are found:
next-sequence-size is alway "1", and previous-sequence-size is "-90","-70","-50","-30","-10" everything else works as described.
What version of Zope and Python are you using? There is a known bug with all versions of Zope up to Zope 2.0.0a2 (fixed in Zope 2.0.0a3) that becomes effective when using python 1.5.2. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
Hi! On Fri, 25 Jun 1999, Martijn Pieters wrote:
next-sequence-size is alway "1", and previous-sequence-size is "-90","-70","-50","-30","-10" everything else works as described.
What version of Zope and Python are you using? There is a known bug with all versions of Zope up to Zope 2.0.0a2 (fixed in Zope 2.0.0a3) that becomes effective when using python 1.5.2.
I wonder how is it possible to develop a program that does different calculations (very simle math, I think) with 1.5.1 and 1.5.2? Any cahnce we'd see a patch? I'd like to incorporate it into 1.10.3...
-- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
Oleg. ---- Oleg Broytmann Netskate/Inter.Net.Ru phd@emerald.netskate.ru Programmers don't die, they just GOSUB without RETURN.
I using 1.10.3 and Python 1.5.2 on SUN solaris 2.6. On Fri, 25 Jun 1999, Martijn Pieters wrote:
What version of Zope and Python are you using? There is a known bug with all versions of Zope up to Zope 2.0.0a2 (fixed in Zope 2.0.0a3) that becomes effective when using python 1.5.2.
--
Gruß Joachim Schmitz
I'm looking for two additional people for my team in Boca Raton, FL. You'll be working with Zope and Python/C ZPublisher applications. I'm looking for a balance between two people covering the following (overall) skillset, so please contact me even if you only have a portion of the following: * Experience coding interactive, client-side JavaScript for intranet apps to run on version 3 *or lower* browsers (we avoid code that requires any browser less than one year old.) Especially if you've done this with DTML that customizes the JavaScript... * Zope w/SQL, LDAP, and "pluggable brains" * Multithreaded Python and/or coding C extensions a plus, ExtensionClass hacking is a major plus * Experience working in a training or consulting role as part of application development * System administration experience, especially Unix and Sybase, SGI IRIX a plus. In addition to some or all of the above, you should have strong understanding of the basics of the Zope Way, and be skilled in DTML and/or Python. You'll be working on the primary request-tracking system for the web hosting division of the world's largest web hosting company (~260,000 domains currently being served), which tracks requests for the tech support, customer service, system administration, billing, and other departments serving in the neighborhood of 100,000 domains. We are regularly expanding the number of users as the company's hosting acquisitions are integrated, as well as expanding the scope and features of the basic application. We are also planning a complete-rewrite of the system as a distributed workflow engine based on SWAP, XML-RPC, or WebDAV as its interaction protocol. And so, we need people *now*. You'll be working with other Zopemeisters - four of them in fact, including myself - of varying degrees of Zope Zen. Chances are you'll have the opportunity to create useful extensions to Zope, which you'll be allowed to release back to the community, as you've seen me do myself. If you're interested and available, please e-mail me privately with a resume, but more importantly with a brief description of your qualifications as relevant to the above. Also, please include your salary requirements. My time window for hiring is relatively short, so if you want a position, you need to contact me *now*. My e-mail box is standing by. :)
participants (4)
-
Joachim Schmitz -
Martijn Pieters -
Oleg Broytmann -
Phillip J. Eby