northof40 wrote:
> Hi - I've got a situation when from within a frameset
a user does a
> particular action I force them off to do a logon
procedure.
>
> I want the logon screen to *not* be in a frameset and
to this end I've
> tried doing this ...
>
> cherrypy.response.headers['Window-target'] = '_top'
>
> TypeError: object does not support item assignment
This should not be happening (plenty of examples within
CherryPy of
"assignment to response.headers" working just
fine; e.g. gzipfilter). Is
it possible you've replaced response.headers somewhere with
some other
object?
(To echo thakadu's javascript solution) see also
"Fourth try" at:
htt
p://www.jahns-home.de/rentmei/html/frames.html
Robert Brewer
System Architect
Amor Ministries
fumanchu amor.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|