Aaron Payne writes:

We are closing in on it.

> At 07:37 pm 6/9/00 +0000, Jason Spisak wrote:
> Then it has to be the search forms.  Can you sned me the search and report
> methods.  Also, you should try looking up and instance programatically
> right after you create it, like so:
> <dtml-in "Catalog(myProperty='knownValue')">
> <dtml-var id>
> </dtml-in>
> Jason,
> I used the dtml-in for the catalog(myproperyty='xyz') and I found the newly 
> added zclass.  It may be the z search forms.
> Thanks for your help,
> Aaron

Yep. Let's take a look.

<search snipped>

> Here is the report method:
> <dtml-var standard_html_header>

Are any of these field indexes?  Vendor maybe, Zip?  If the ZClass
instances always have a value for them, then when you submit this search
and leave one of the 'field index' input boxes blank, you'll get no
results, I believe.

> <form action="CatReport" method="get">
> <h2><dtml-var document_title></h2>
> Enter query parameters:<br><table>
> <tr><th>Coupon text</th>
>      <td><input name="coupon_text"
>                 width=30 value=""></td></tr>
> <tr><th>Categorylist</th>
>      <td><input name="categorylist"
>                 width=30 value=""></td></tr>
> <tr><th>Vendor</th>
>      <td><input name="vendor"
>                 width=30 value=""></td></tr>
> <tr><th>Zip</th>
>      <td><input name="zip"
>                 width=30 value=""></td></tr>
> <tr><td colspan=2 align=center>
> <input type="SUBMIT" name="SUBMIT" value="Submit Query">
> </td></tr>
> </table>
> </form>
> <dtml-var menu>
> <dtml-var standard_html_footer>

Try simplifying it. Try one at a time to find out which one is forcing the
no results.

All my best,

Jason Spisak
6151 West Century Boulevard
Suite 900
Los Angeles, CA 90045
P. 310.665.3444
F. 310.665.3544

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to