ZSearch generated default report file fails on result set cardinality greater 50 for content which contains www addresses
Hi, I came across the situation, where the result rows of a Z SQL access contained www strings like www.uni-ko-ld.de/veranstaltungen/lehramt.html, see below. Using ZSearch generated dtml-methods generated the following html code, when the result set contains more than 50 items. See the generated reference for the next items <a href="www.uni-ko-ld.de/veranstaltungen/lehramt.html?fach=%25&hochschule=%25&SUBMIT=Submit+Query&query_start=51">, which didn't refer to the running zope environment. Instead it merged address stuff from a result row. Did anybody came across with similar effects? .... <tr> <td>Bildende Kunst</td> <td>Universität Koblenz-Landau</td> <td>www.uni-ko-ld.de/veranstaltungen/lehramt.html</td> <td>0</td> <td>0000-00-00 00:00:00</td> <td>0</td> <td>0</td> <td></td> </tr> </table> <a href="www.uni-ko-ld.de/veranstaltungen/lehramt.html?fach=%25&hochschule=%25&SUBMIT=Submit+Query&query_start=51"> (Next 50 results) </a> .... Thanks Andreas
Andreas, I'd have to say that this is normal HTML behaviour. If a href references an offsite document you *must* put the http:// part in otherwise you get your local server looking for files that don't exist. In your example: <a href="www.uni-ko-ld.de/veranstaltungen/lehramt.html?fach=%25&hochschule=%25& SUBMIT=Submit+Query&query_start=51"> This would look for a file in a directory called www.uni-ko-ld.de/blah/blah. Phil Harris phil.harris@zope.co.uk ----- Original Message ----- From: "Andreas Rippel" <arippel@informatik.uni-kl.de> To: <zope@zope.org> Sent: Wednesday, August 02, 2000 9:42 AM Subject: [Zope] ZSearch generated default report file fails on result set cardinality greater 50 for content which contains www addresses
Hi,
I came across the situation, where the result rows of a Z SQL access contained www strings like www.uni-ko-ld.de/veranstaltungen/lehramt.html, see below. Using ZSearch generated dtml-methods generated the following html code, when the result set contains more than 50 items. See the generated reference for the next items <a
href="www.uni-ko-ld.de/veranstaltungen/lehramt.html?fach=%25&hochschule=%25& SUBMIT=Submit+Query&query_start=51">,
which didn't refer to the running zope environment. Instead it merged address stuff from a result row. Did anybody came across with similar effects?
.... <tr> <td>Bildende Kunst</td> <td>Universität Koblenz-Landau</td> <td>www.uni-ko-ld.de/veranstaltungen/lehramt.html</td> <td>0</td> <td>0000-00-00 00:00:00</td> <td>0</td> <td>0</td> <td></td> </tr> </table>
<a
href="www.uni-ko-ld.de/veranstaltungen/lehramt.html?fach=%25&hochschule=%25& SUBMIT=Submit+Query&query_start=51">
(Next 50 results) </a> ....
Thanks Andreas
_______________________________________________ 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 )
participants (2)
-
Andreas Rippel -
Phil Harris