I do something like this:

class myFrameset.py:
        def writeHTML(self):
                myFormData = self.request().fields()
                myBody = myFormData.get('body','DefaultBody')
                self.write("""
                        <HTML>
                        <FRAMESET ROWS="60,*">
                                <FRAME SRC="Navigation" NAME="nav">
                                <FRAME SRC="%s?%s" NAME="body">
                        </FRAMESET>
                        """ % (myBody, '&'.join(["%s=%s" % (key, myFormData[key] 
for key in myFormData.keys()]))

Then, any link would just have to be something like:

        /myFrameset?body=Welcome&foo=bar

Or, alternately, all links in the navigation would be:

        <A HREF="/Example?foo=bar" TARGET="body">

--T

On Monday, January 21, 2002, at 04:43  PM, Costas Malamas wrote:

> Well, that sounds excellent, but how?  Particularly, how can the 
> request sent to frameset.py as a frameset be 'moved on' to 
> frameset.py as a top frame?
>
> Thanks,
>
> Costas
>
>
>
>> From: [EMAIL PROTECTED] (Mike Orr)
>> Reply-To: [EMAIL PROTECTED]
>> To: Costas Malamas <[EMAIL PROTECTED]>
>> Subject: Re: [Webware-discuss] Esoteric Frames Q
>> Date: Mon, 21 Jan 2002 07:46:30 -0800
>>
>> On Mon, Jan 21, 2002 at 02:06:14PM +0000, Costas Malamas wrote:
>> > a frameset containing a top frame, served by topframe.py and a 
>> bottom one
>> > that's an external URL, say yahoo.com.  Say that I'd like my 
>> user to, e.g.
>> > report a dead link on the bottom frame, via a checkbox on the 
>> top one.  How
>> > can I pass the GET or POST request from the topframe.py servlet 
>> to frame.py
>> > and then to another instance of topframe.py again?
>>
>> frameset.py could be a servlet.  Then it can dynamically rewrite 
>> itself
>> and put a new URL in the top and bottom frames, if that's what you 
>> want.
>>
>> --
>> -Mike (Iron) Orr, [EMAIL PROTECTED]  (if mail problems: [EMAIL PROTECTED])
>>    http://iron.cx/     English * Esperanto * Russkiy * Deutsch * 
>> Espan~ol
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at 
> http://explorer.msn.com/intl.asp.
>
>
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
>
>
--
Tracy S. Ruggles -- [EMAIL PROTECTED] -- 888/999-2674 x TR
OutputLinks -- http://www.outputlinks.com
        "Your Output Industry Portal"


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to