Andreas Rippel writes:
 > I came across the situation, where the result rows of a Z SQL access
 > contained www strings like
 >, 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
 > which didn't refer to the running zope environment. Instead it merged
 > address stuff from a result row.

I expect that your table contains a column with the same name
as the DTML-variable used to build the navigation (URL, I think).

"dtml-in" brings the column names of your rows in the namespace.
they hide their other variables defined outside the "dtml-in".

If you can, rename your database column.

If you cannot, build your own DTML methods for testing by customizing
the DTML methods generated by the Z Search Interface.
Z SQL methods have the argument "src__" (in 2.2, there
is something for tests too). It gives you the generated SQL,
without executing it.


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to