[Zope-dev] how to pass dynamic value in session
Paul Zwarts
paz@oratrix.com
Thu, 16 Aug 2001 12:41:40 +0200
Hiya,
I think you need to pass the variable through the REQUEST first into the
form. I create forms something like this:
<dtml-let data="SESSION.getSessiondata()">
<Dtml-if "REQUEST.form.has_key('Submit')">
<dtml-call "data.set('name', nameobject)">
</dtml-if>
<form name="thisdocname"> ---> not the data.var name
<input type='text' name='name'>
<input type='Submit' name='Submit'>
</form>
</dtml-let>
If anyone can add to this, please do.
Cheers,
Paz
-----Original Message-----
From: zope-dev-admin@zope.org [mailto:zope-dev-admin@zope.org] On Behalf
Of P.Sanjay
Sent: Thursday, August 16, 2001 12:16 PM
To: zope-dev@zope.org
Subject: [Zope-dev] how to pass dynamic value in session
I want to store a dynamic value in dtml session...like..
<dtml-let data="sessionMgn.getSessionData()">
<input name="name" width=30 value="">
<dtml-call "data.set('name', nameobject)">
</dtml-let>
now i want to pass on the value entered in textbox in session object
that is nameobject...how do i do that..plz let me know how to do this
in dtml....
in somewhere i found that as a method session value is passed ...so let
me know with out python script is it possible to pass DYNAMIC VALUE to
session..
help me out...
reg
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )