redirect search report
Hi, I have a Zcatalog search very similar to the one in the Zope book. the page with the search form is in the top frame of a 2 frame page. the code for it was generated by the ZSearch Interface: <form action="results.html" method="get"> Enter query parameters:<br><table> <tr><th>SearchTextIdx</th> <td><input name="searchTextIdx" width=30 value=""></td></tr> <tr><td colspan=2 align=center> <input type="SUBMIT" name="SUBMIT" value="Submit Query"> I would like to have results.html display in the bottom frame instead of the top frame where the search form is. after much looking for answers on zope.org and elsewhere it appears there is not a shred of howto available to help me here. I would greatly appreciate any suggestions - and no I cannot put the search form in the bottom frame. THANKS!!!! Michael A. Ruberto DORTRONICS SYSTEMS INC.
Two frames know nothing of each other. Each one of them has a state that is quasi independent of the other. It is highly recommended not to work with frames if you want to link two parts of a page to the same set of info. You can achieve a similar effect as with frames when you use page templates. I have a included a page template I use in a Plone site. I combines both a some input fields to define a search criteria and a table with the results. It is used with a ZSQl method, however you can use the same approach with any search source. It might be interesting for you, to look how I move the parameters back an forth between subsequent calls of the page. Robert Michael A. Ruberto wrote:
Hi,
I have a Zcatalog search very similar to the one in the Zope book. the page with the search form is in the top frame of a 2 frame page. the code for it was generated by the ZSearch Interface:
<form action="results.html" method="get">
Enter query parameters:<br><table>
<tr><th>SearchTextIdx</th> <td><input name="searchTextIdx" width=30 value=""></td></tr> <tr><td colspan=2 align=center> <input type="SUBMIT" name="SUBMIT" value="Submit Query">
I would like to have results.html display in the bottom frame instead of the top frame where the search form is. after much looking for answers on zope.org and elsewhere it appears there is not a shred of howto available to help me here. I would greatly appreciate any suggestions - and no I cannot put the search form in the bottom frame.
THANKS!!!!
Michael A. Ruberto DORTRONICS SYSTEMS INC.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman-20/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman-20/listinfo/zope-announce http://mail.zope.org/mailman-20/listinfo/zope-dev )
participants (2)
-
Michael A. Ruberto -
robert rottermann