Kiran, I cannot reach you by mail (it's second time I tried). Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN. ---------- Forwarded message ---------- Date: Sat, 4 Mar 2000 03:27:12 -0700 From: Mail Delivery Subsystem <MAILER-DAEMON@qlcomm.com> To: phd@phd.russ.ru Subject: Returned mail: Service unavailable The original message was received at Sat, 4 Mar 2000 03:27:07 -0700 from mail@fep132.fep.ru [195.230.89.88] ----- The following addresses had permanent fatal errors ----- <jace@lunateks.com> ----- Transcript of session follows ----- 553 mail.qlcomm.com. config error: mail loops back to me (MX problem?) ... while talking to mail1.best.com.:
RCPT To:<jace@lunateks.com> <<< 571 <jace@lunateks.com>... Relaying denied 554 <jace@lunateks.com>... Service unavailable
Oleg Broytmann wrote:
Kiran,
I cannot reach you by mail (it's second time I tried).
----- Transcript of session follows ----- 553 mail.qlcomm.com. config error: mail loops back to me (MX problem?) ... while talking to mail1.best.com.:
RCPT To:<jace@lunateks.com> <<< 571 <jace@lunateks.com>... Relaying denied 554 <jace@lunateks.com>... Service unavailable
I've just moved from qlcomm.com to the current location. Your DNS server must still be using the cached entry. Should be fine in a little while. You can mail me at jace@radiolink.net until then (the address I used to subscribe to the list).
do is display one page at a time from an article object. I need this
Why not just
<dtml-var "objectlist[qs]">
???
Here is what I use: <dtml-var standard_html_header> <dtml-with aq_parent> <dtml-in "objectItems(['DTML Method'])" previous size=1 start=page> <a href="<dtml-var document_id><dtml-var sequence-query
page=<dtml-var previous-sequence-start-number>"> (Previous <dtml-var previous-sequence-size> results)</a> </dtml-in>
<dtml-in "objectItems(['DTML Method'])" size=1 start=page> Document id: <dtml-var id> </dtml-in> <dtml-in "objectItems(['DTML Method'])" next size=1 start=page> <a href="<dtml-var document_id><dtml-var sequence-query
page=<dtml-var next-sequence-start-number>"> (Next results) </a> </dtml-in>
</dtml-with> <dtml-var standard_html_footer> ----------- This doesn't work. When page=1, it's fine. When page >=1, dtml-in loops all the way from "page" to the end of the list. I don't know why it's doing that. The "dtml-in next" loop also does the same thing. To explain the setup: I have a ZClass called "Article" based on ObjectManager and set to accept only DTML Methods and Images. The above code is in a DTML Method called "index_html" placed in the ArticleClass (not when being implemented). I had the same annoying problem when working with the results from an SQL query instead of objectItems. My workaround then was to leave out the "size" parameter and instead use dtml-if to compare sequence-index with page. It's ugly but usable when there are only 4 or 5 pages. I filed this in as a bug about an hour ago. Hope it gets resolved quickly. -- Kiran Jonnalagadda http://lunateks.com baby.sh: while true; do echo "^G^G^G^G^G"; sed -e 's/food/poop/'; sync; sync; sleep 15; done
On Sat, 4 Mar 2000, Kiran Jonnalagadda wrote:
This doesn't work. When page=1, it's fine. When page >=1, dtml-in loops all the way from "page" to the end of the list. I don't know why it's doing that. The "dtml-in next" loop also does the same thing.
How many items are there in objectItems? May be you need orphan=0? Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
participants (2)
-
Kiran Jonnalagadda -
Oleg Broytmann