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>


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,

Here is the search method:
<dtml-var standard_html_header>
<strong>Coupon Search Results....</strong>

<dtml-if vendor><strong>Vendor:</strong>&nbsp;<dtml-var vendor><BR></dtml-if>
<dtml-if categorylist><strong>Subcategory:</strong>&nbsp;<dtml-var 
<dtml-if coupon_text><strong>Coupon Text:</strong>&nbsp;<dtml-var 
<dtml-if zip><strong>Zip:</strong>&nbsp;<dtml-var zip><BR></dtml-if>
<dtml-in Catalog size=50 start=query_start>
    <dtml-if sequence-start>

       <dtml-if previous-sequence>

         <a href="<dtml-var URL><dtml-var sequence-query
         (Previous <dtml-var previous-sequence-size> results)

       </dtml-if previous-sequence>

       <table border>
           <th>Coupon text</th>

    </dtml-if sequence-start>

           <td><a href="<!--#var 
"Catalog.getpath(data_record_id_)"-->"><dtml-var vendor></a></td>
           <td><dtml-var coupon_text></td>
           <td><a href="http://<dtml-var homepage>"><dtml-var 

    <dtml-if sequence-end>

       <dtml-if next-sequence>

          <a href="<dtml-var URL><dtml-var sequence-query
          (Next <dtml-var next-sequence-size> results)

       </dtml-if next-sequence>
    </dtml-if sequence-end>


   There was no data matching this <dtml-var title_or_id> query.


<dtml-var menu>
<dtml-var standard_html_footer>

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

<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>
     <td><input name="categorylist"
                width=30 value=""></td></tr>
     <td><input name="vendor"
                width=30 value=""></td></tr>
     <td><input name="zip"
                width=30 value=""></td></tr>

<tr><td colspan=2 align=center>
<input type="SUBMIT" name="SUBMIT" value="Submit Query">

<dtml-var menu>
<dtml-var standard_html_footer>

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

Reply via email to