Re: Possible: Saving and re-issuing the REQUEST?
Hi Tino, thanks again - it's great that you are such an active member of the Mailing List. I must admit, I haven't understood your answer completely [newbie]. Would you mind explaining a little more? I have already created a design and I don't want to make input and sql-drop down on the same page.. Is it still possible? I didn't understand if your answer's 2nd part was a solution for the javascript-window design.
If you make the query to the display-page with GET, you should be able to trigger reload on the window with JavaScript. At least you would have all parameters in the URL. If thats not possible, you could put your values into hidden form fields and reissue the form via form submit. The simplest solution would be to make the target of the input form to the display window and reload your input window from there (or dont even reload it).
This is the part I haven't understood completely. Could you try to "fill" it with DTML so that I get a deeper insight :-)? How would I do it with GET? What's the difference between GET and POST (I have read the docs, I simply don't understand the difference for Zope! And: what if you don't supply any method=GET or =POST statements in your forms as done in the Zope Tutorial?). And more importantly: was your answer above related to javascript-window solution or "all in one page"-solution? I would need a suggestion for the javascript-window one. My original idea was something like: a) on the main site with sql-dropdown the link ("Create new drop-down entry")... [just a mindmap, no working code!!]: there's a link to the popup which passes the current REQUEST: <a href="<dtml-var URL>?<dtml-var REQUEST>"> or whatever... b) when clicking refresh in the javascript window: top.refresh "mainSite(REQUEST)" Again, is such REQUEST passing possible? Or: do you have a better idea? Thanks again, Philipp
participants (1)
-
Philipp Robbel