[Zope] Re: how to accumulate data using ZPT

2005-05-24 Thread prabuddha ray
en" and "penalty"? and also can u tell us y u r > checking "not:penaltylen"? > > regards, > Deepak > > prabuddha ray wrote: > > > ok this is again freaky on my part. > > > >my problem still remains intact .as i've told earli

[Zope] Re: how to accumulate data using ZPT

2005-05-24 Thread prabuddha ray
plz rethink the code I'm also trying hard. hope for a reply soon > On 5/20/05, Deepak <[EMAIL PROTECTED]> wrote: > > > > Hi Prabuddha, > > > > check this ... > > > > > > > > > > > > > > > >

[Zope] Re: how to accumulate data using ZPT

2005-05-20 Thread prabuddha ray
sorry for the last mail. it was a simple tag order mistake . final version is : Total plz be in touch it'll good for this newbie. thanks again On 5/20/05, prabuddha ray <[EMAIL PROTECTED]> wrote: > thanks that was creative and justified. BUT it didnt work. > the

[Zope] Re: how to accumulate data using ZPT

2005-05-20 Thread prabuddha ray
> > > > > thanks, > > Deepak > > prabuddha ray wrote: > > >sorry for delay, > > but the options you gave are ruled out. > >actually not all the rows in the column have the values. > >further the total i'm looking fo

[Zope] Re: how to accumulate data using ZPT

2005-05-20 Thread prabuddha ray
sorry for delay, but the options you gave are ruled out. actually not all the rows in the column have the values. further the total i'm looking for will result in a very complex query that i dont want to do onsidering the no. of rows are high. I just need something like a va

[Zope] how to accumulate data using ZPT

2005-05-20 Thread prabuddha ray
I've this report wherein i've to print the column total iin last row. column values are from database. so far I'm a total loss. do i need to have cookies to store this total? plz gimme ideas. -- Share the vision of difference with ME ___ Zope maillist

[Zope] small tal tip needed.

2005-05-17 Thread prabuddha ray
-- Share the vision of difference with ME ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org

[Zope] how to save page content to a word file.

2005-04-20 Thread prabuddha ray
this again is a simple problem which got tricky for me. I've full page template taking parameters to generate a printable report. Another button on this page is for saving the report to a doc file. How can i do this in a ZPT? -- Share the vision of difference with ME ___

[Zope] Re: newbie : select tag value setting problem

2005-04-13 Thread prabuddha ray
sorry sir , don bother about this problem solved. i made a silly mistake in passing the parameter in the ZSQL method. plz bear with me. On 4/13/05, prabuddha ray <[EMAIL PROTECTED]> wrote: > Thanks for the suggestion, > > I added the 'value district/dis

[Zope] Re: newbie : select tag value setting problem

2005-04-13 Thread prabuddha ray
e, 'selected',''); value district/district_code" tal:content="district/district_name"> as for the 'distname' test value() the def is: plz suggest. On 4/13/05, Andreas Jung <[EMAIL PROTECTED]> wrote: > > > --On Mittwoch, 13. April

[Zope] newbie : select tag value setting problem

2005-04-13 Thread prabuddha ray
I've this 'district' select tag .I'm getting the values usinga ZSQL method. I want to set the value of the option by the district code and the display the district name. I tried this : the drop down list is getting the district names but value is being set only once. i checked the request v

[Zope] newbie:cookie expiry problem

2005-04-12 Thread prabuddha ray
This may be very silly plz help I gave this cookie expiry statement in a python script: RESPONSE.expireCookie('login') return context.REQUEST.RESPONSE.redirect('index_html') but when i checked the cookie values in request page, it wasn't removed. the last redirect still worked. when i put an i

[Zope] newbie:cookie expiry problem

2005-04-12 Thread prabuddha ray
This may be very silly plz help I gave this cookie expiry statement in a python script: RESPONSE.expireCookie('login') return context.REQUEST.RESPONSE.redirect('index_html') but when i checked the cookie values in request page, it wasn't removed. the last redirect still worked. when i put an

Re: RES: [Zope] login system discussion

2005-04-08 Thread prabuddha ray
Thanks it was silly of me . I assure I'll take care of the advise On Sat, 9 Apr 2005 11:28:58 +1200, Phillip Hutchings <[EMAIL PROTECTED]> wrote: > On Apr 9, 2005 12:34 AM, prabuddha ray <[EMAIL PROTECTED]> wrote: > > Thanks the request var is set but the next line for

Re: RES: [Zope] login system discussion

2005-04-08 Thread prabuddha ray
Thanks the request var is set but the next line for redirection ie. return context.index_html renders a new page with text : is there some object in context which refers to the self page. plz help. On Thu, 7 Apr 2005 11:22:25 -0300, Jose Henrique dos Reis <[EMAIL PROTECTED]> wrote: > I thin

[Zope] how to set value of hidden form field by a cookie

2005-04-08 Thread prabuddha ray
I've to set the value of a hidden form field by a cookie value. e.g; invalidval request/cookies/login|nothing; i tried this : and also this but it is rendering the text in quotes directly. what is the correct way. -- Share the vision of difference with ME ___

[Zope] how to store ZSQL query results in a python var

2005-04-07 Thread prabuddha ray
from a newbie, i've this ZSQLmethod returning me a string only. how do i store it a var in my python script. eg., userlevel = container.getUserLevel(uname=user) when i print it using html_quote as : print "(%s)" % html_quote(userlevel) return printed output is : (

[Zope] how to add pages to a new tab in plone

2005-04-07 Thread prabuddha ray
hope i get this through !!! In my plone site I've added a portal_tab through portal_actions. i've made a subfolder in my plone site root folder for it. I gave the path in the action value field of the tabs as : string:$portal_url/consumables now the problem is that when i click on my tab the ind

[Zope] request forward technique

2005-04-07 Thread prabuddha ray
>From my login page I'm calling a python script for redirecting it to seperate pages. there if login fails i the login page is to be redirected along with setting a hidden form field 'invalid' by '1'. For this I've to set the request/form.invalid value so that it is available to thelogin page. is

Re: RES: [Zope] login system discussion

2005-04-06 Thread prabuddha ray
Ok i get it, please tell me the way to set a request form var in a python script On Wed, 6 Apr 2005 12:55:33 -0300, Jose Henrique dos Reis <[EMAIL PROTECTED]> wrote: > Your request.set puts 'invalid' in request/other, not in request/form. > > Zenrique > -- Share the vision of differ

Re: [Zope] login system discussion

2005-04-06 Thread prabuddha ray
ok, i get it. So what is the way to set a request form var in the python script. On Wed, 6 Apr 2005 12:55:33 -0300, Jose Henrique dos Reis <[EMAIL PROTECTED]> wrote: > Your request.set puts 'invalid' in request/other, not in request/form. > > Zenrique -- Share the vision of difference with ME

[Zope] login system discussion

2005-04-06 Thread prabuddha ray
I'm often failing to describe problems correctly, kindly bear for that. lets revise, In my login page I've two tables used district and userdetail. district table ( district_code, distname, location ...) userdetail (username ,password, empcode ,district_code ,ulevel ...) use

[Zope] login system discussion

2005-04-06 Thread prabuddha ray
I'm often failing to describe problems correctly, kindly bear for that. lets revise, In my login page I've two tables used district and userdetail. district table ( district_code, distname, location ...) userdetail (username ,password, empcode ,district_code ,ulevel ...) use

[Zope] Re: login page problem

2005-04-05 Thread prabuddha ray
HI Cliff, I was hoping another reply eagerly. hope you dint give up on me. I've got some clarifications given below. On Mon, 04 Apr 2005 16:08:50 +0100, Cliff Ford <[EMAIL PROTECTED]> wrote: > I am abstracting bits of your email below in case anyone else wants to > join in. > > If you a

[Zope] Re: login page problem

2005-04-05 Thread prabuddha ray
Hi list, I've got some clarifications given below. On Mon, 04 Apr 2005 16:08:50 +0100, Cliff Ford <[EMAIL PROTECTED]> wrote: > I am abstracting bits of your email below in case anyone else wants to > join in. > > If you are going to use Plone I can't offer advice - I have looked at > Plone on

[Zope] Re: login page problem

2005-04-04 Thread prabuddha ray
Hi list, never before i got such a holistic advice. thanks so much Cliff. About the 1st mail, On Sat, 02 Apr 2005 17:03:56 +0100, Cliff Ford <[EMAIL PROTECTED]> wrote: > Customisation of the login sequence is quite difficult for Newbies > because there are lots of different ways to approach the p

[Zope] Re: login page problem

2005-04-02 Thread prabuddha ray
ch help there. can u plz tell me where do i get to know about pythopn scripting done in zope n ZPT examples. i'm really sorry for my erronous language. please dont overlook theese humble requests. On Fri, 1 Apr 2005 23:07:38 +0200, Dieter Maurer <[EMAIL PROTECTED]> wrote: > prabu

[Zope] script python error

2005-03-31 Thread prabuddha ray
: RESP.redirect(/store_nic/consumables/index_html) On Tue, 29 Mar 2005 19:07:00 +0200, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > > On 29.Mär 2005 - 05:39:42, prabuddha ray wrote: > > > Danke Jürgen, > > >one tip i'm lookin for is how to cal p

[Zope] Re: thanks for tal:atrributes problem

2005-03-31 Thread prabuddha ray
: RESP.redirect(/store_nic/consumables/index_html) On Tue, 29 Mar 2005 19:07:00 +0200, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > On 29.Mär 2005 - 05:39:42, prabuddha ray wrote: > > Danke Jürgen, > >one tip i'm lookin for is how to cal pyhton scripts on any form >

[Zope] Re: next part of tal:atrributes problem

2005-03-31 Thread prabuddha ray
giv soln . On Tue, 29 Mar 2005 19:07:00 +0200, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > On 29.Mär 2005 - 05:39:42, prabuddha ray wrote: > > Danke Jürgen, > >one tip i'm lookin for is how to cal pyhton scripts on any form > event, > > ie. like we

[Zope] Re: next part of tal:atrributes problem

2005-03-31 Thread prabuddha ray
giv soln . On Tue, 29 Mar 2005 19:07:00 +0200, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > On 29.Mär 2005 - 05:39:42, prabuddha ray wrote: > > Danke Jürgen, > >one tip i'm lookin for is how to cal pyhton scripts on any form > event, > > ie. like we

[Zope] Re: login page problem

2005-03-30 Thread prabuddha ray
his method on d onsubmit event? kindly gimme solns u've in mind. On Wed, 30 Mar 2005 20:01:24 +0200, Dieter Maurer <[EMAIL PROTECTED]> wrote: > prabuddha ray wrote at 2005-3-29 01:57 -0800: > >I'm creatin a customised login page template using districtname, user >