[Zope-dev] Re: [Zope] Running Python Scripts via the Management Interface

2003-02-03 Thread Geir Bækholt
anything to the browser , so it has no response to display .. try something like this: context.manage_addProperty(propertyId, propertyValue, propertyType) return done :) -- Geir Bækholt[EMAIL PROTECTED] Web Application/HCI-designer Product Operations Funcom Oslo

Re: [Zope-dev] DateTime.rfc822() bug?

2002-10-13 Thread Geir Bækholt
%b %Y %X +0200 return indate.strftime(fmtstr) -- Geir Bækholt [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] Problems with Oracle DA and Dates

2001-10-02 Thread Geir Bækholt
, starting tomorrow) and are feeling DLK a bit desperate. DLK Sincerely, DLK /dario -- Geir Bækholt web-developer/zopatista [EMAIL PROTECTED] funcom oslo | webdev-team ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope] Flat-style

2001-01-17 Thread Geir Bækholt
in your css : input {border : 1px solid #00} Netscape4 will cringe, of course, as it usually does from css good luck :-) -- Geir Bkholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com on Wednesday, January 17, 2001 Tom Deprez wrote : TD Not really zope specific, but I

Re: [Zope] PrincipiaSearchSource() dtml-method and Catalog

2001-01-14 Thread Geir Bækholt
PrincipiaSearchSource will have to be a PythonMethod or an External Method. dtml won't be called by Catalog... Anything Python will work. so instead of : dtml-return "var1 + var2 +var3" , you have to use : return var1 + var2 + var3 -- Geir Bkholt web-developer/designer [EMAIL PROTECTED]

Re: [Zope] Referecing items in subfolders

2000-11-14 Thread Geir Bækholt
try : dtml-with resources dtml-var standard_header /dtml-with -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com on Tuesday, November 14, 2000 Pieter Claerhout wrote : PC Hello all, PC have a small question. Imagine you have the following folder structure in Zope

Re: [Zope] Populating a :list variable from the results of a ZSQL method

2000-11-10 Thread Geir Bækholt
don't know about inside zope, but in plain python you could just do: new_options = list(options) perhaps an external method would cut it: return list(inputstring) -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com on Friday, November 10, 2000 Tony McDonald

Re: [Zope] dtml-if newbie question

2000-11-09 Thread Geir Bækholt
possibly not the cleanest way of doing it, but this ought to do what you want.. select name="money:int" option value="1000"1000 option value="5000"5000 .. etc.. and dtml if "money == 1000" This is not much! dtml-elif "money == 5000" This is

Re: [Zope] Mail problem ([Zope] how to change the 'Zope' realm/resource?? (fwd))

2000-09-13 Thread Geir Bækholt
on Wednesday, September 13, 2000 Oleg Broytmann wrote : OB Hi! OBIs it only me? I am getting most (but not all) message twice. OB Oleg. me too ! -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com ___ Zope

Re: [Zope] list of users tied to database

2000-09-13 Thread Geir Bækholt
THERintranet.acl_users.getUserNames()" ts dtml-in "get_email('UserName=dtml-var sequence-item')" ts any ideas anyone? Don't nest DTML inside DTML try something like : dtml-in "get_email('UserName=_['sequence-item']')" -- Geir Bækholt we

Re: [Zope] dtml-with and PARENTS[0]

2000-08-31 Thread Geir Bækholt
of the id of TH the zclass. Could anyone point out how I can get hold of the zclass TH id? first of all : make sure your standard_html_header is a method, not a document -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com

[Zope] Re[2]: [Zope] dtml-with and PARENTS[0]

2000-08-31 Thread Geir Bækholt
, and had those other properties, the ones from the header would be used.. Seems rather strange that id from standard_html_header is used if it is a method.. puzzling.. cannot think of a reason.. -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com

Re: [Zope] Run a java applet in Zope

2000-08-25 Thread Geir Bækholt
to be the problem ? Does it work in a pure HTML-page ? Check the differences between the working HTML and the output of your DTML.. -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com ___ Zope maillist - [EMAIL PROTECTED] http

Re: [Zope] Managing with Opera

2000-08-22 Thread Geir Bækholt
some slight problems with frames and the history/back-button.. -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Simple acquisition (?) question

2000-08-16 Thread Geir Bækholt
/DTMLMethodsandDocsHowTo -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread Geir Bækholt
you what you want.. :-) -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Newbie: String work

2000-06-27 Thread Geir Bækholt
Help! try something like : dtml-var expr="_.string.split('fred~~bloggs','~~')[-1]" this is documented at http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.4.4.2.3.html - but not very newbie-friendly took me a long time to figure out how to use :-) -- Geir