Hi all,
I have a question regarding Zope's REQUEST. I'm creating a main site that includes a drop-down menu generated by SQL data.
On the same page - right above the drop-down menu - there's supposed to be a "Create new drop-down entry"-link which opens a small window via javascript.
In this window the user can enter a new entry and insert it into the SQL Database. Additionally I would like a "REFRESH" button in this javascript window which would refresh the main site with the sql-generated drop-down menu to show the changes made in the sql-drop-down.
This refreshing should be done with the original request which was used to call the main site at the beginning.
Is this possible? Via javascript I can access the "main-site" via "top.". But I don't know how to the following:
MAIN SITE is called with a REQUEST -> When "Create new drop-down entry" is clicked, SAVE REQUEST of MAIN SITE, PASS it to the javascript window -> If REFRESH-button is pushed in javascript window, PASS REQUEST back to MAIN SITE and REFRESH the main site along with the original request.
I would be glad if a Zope guru could help me :-)
Thanks in advance,
Philipp