Re: [Webware-discuss] Data storage problem

2003-02-02 Thread Frank Barknecht
Hallo, Ian Bicking hat gesagt: // Ian Bicking wrote: > Maybe I'll document these better sometime and put them into MiscUtils, Oh yes, please do! ;) ciao -- Frank Barknecht _ __footils.org__ --- Thi

Re: [Webware-discuss] Newbie questions - forms handling

2003-01-30 Thread Frank Barknecht
27;t include cookie values, which is fine. > Is it safe to use my code? May be it is not good to refer to > parent's class method instead it's child implementation? I think, if you didn't re-define request() in your Page child clas

Re: [Webware-discuss] sessions

2003-01-29 Thread Frank Barknecht
g that is picklabe (even more, but this might lead to strange behaviour). A session example is in http://footils.org/pkg/shop.tgz ciao -- Frank Barknecht _ __footils.org__ --- This SF.NET email is sponsor

Re: [Webware-discuss] Newbie questions - forms handling

2003-01-29 Thread Frank Barknecht
req = self.request() filename = req.value("filename", None) if filename: cur.execute('insert into userlist values % ;' % filename) self.writeBody() ciao -- Frank Barknecht

Re: [Webware-discuss] Call for Third Party Code

2003-01-23 Thread Frank Barknecht
ble, but the verson I'm currently running has user managmenet, and is quite buggy in this field. ciao -- Frank Barknecht --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Somethin

Re: [Webware-discuss] How to generate non-html pages

2003-01-05 Thread Frank Barknecht
eader('Content-type','text/plain') and override Page.writeHTML() but I never did this... ciao -- Frank Barknecht _ __footils.org__ --- This sf.net email is sponsored by:Thin

Re: [Webware-discuss] New documentation: Application Development

2002-12-28 Thread Frank Barknecht
re prominent in the InstallGuide. I skipped the WebKit.exe part, because I thought, that was only valid for W32-systems. ciao -- Frank Barknecht --- This sf.net email is sponsored by:ThinkGeek Welc

Re: [Webware-discuss] New documentation: Application Development

2002-12-27 Thread Frank Barknecht
for WebKit.cgi? ciao -- Frank Barknecht --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.

Re: [Webware-discuss] Algorithm to handle big data selections

2002-12-24 Thread Frank Barknecht
ar I believe which is something like: > SELECT * ... LIMIT 5,10 Yep, you made my day. I was always using Postgres but the shop must run on MySQL and this is the offset syntax I needed. ciao -- Frank Barknecht _ __footils.org__

Re: [Webware-discuss] Algorithm to handle big data selections

2002-12-23 Thread Frank Barknecht
s 40.000 ints. But this is sliced to be in a range [startcount:endcount], so it actually is only used for a very short time, if at all, isn't it? OTOH I have another select for every Product and there might be a lot of Products in memory. At least, we hope that people look at the Products a

Re: [Webware-discuss] virtual filesystem

2002-12-16 Thread Frank Barknecht
27; # maybe you have to use path[0], this needs experimenting #file_name = path_info.split('/')[0] or 'NoFileHere' And you can get at the 'id' as usual by reading the request() object: id = self.request().value('id', None) HTH, ciao -- Frank Barknecht

[Webware-discuss] [ot] Running Webware on Sourceforge

2002-11-19 Thread Frank Barknecht
Hi, for a Sourceforge project I'm working with I consider using Webware as the underlying CMS. Does anyone here know if it is possible to have Webware running on Sourceforge? Is webware.sf.net Webware powered (tm) itself? ciao -- Frank Bark

Re: [Webware-discuss] .extraURLPath() ?

2002-11-13 Thread Frank Barknecht
This way, I can use extraURLPath in wiki.py almost like before. I think, in the list returned by split("/") I had to use the [1] element, where I was using split("/")[0] before, but I would have to check that again. -- Frank Barknecht _ __footi

Re: [Webware-discuss] moinmoin

2002-11-10 Thread Frank Barknecht
not clear to > me that the db served pages will be searched by moinmoin like I need > (full text search). I think, moinmoin just 'greps' through the Page files, so you'd need to add SQL/MiddleKit-code to your search function anyways. This also might be easier, if the search f

Re: [Webware-discuss] ConfigParser Question

2002-11-09 Thread Frank Barknecht
our question, but could you post in text format (as well)? I normally disable HTML view in my mailer, for security reasons... Thank you. ciao -- Frank Barknecht _ __footils.org__ --- This sf.net email is sponsor

Re: [Webware-discuss] Choosing a python version - python vs python2 vs python2.2

2002-11-07 Thread Frank Barknecht
ython" only. If that is python 1.5 still somewhere, the sysadmin, distribution maintainer, ... should fix it or do a workaround like "export PYTHON=/usr/bin/python2.2" or "alias python /usr/bin/python2.1" or even edit AppServer/Launch.py themselves. ci

[Webware-discuss] Docs about upgrading

2002-11-01 Thread Frank Barknecht
s, so if anyone has a better tactic, it would be great to hear... ciao -- Frank Barknecht _ __footils.org__ --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a

Re: [Webware-discuss] body tag and Posts

2002-10-31 Thread Frank Barknecht
elf): self.msg="HT called" self.writeHTML() def writeContent(self): self.writeln(self.msg) self.writeln("""

Re: [Webware-discuss] _actions_ and extraURLs in CVS

2002-10-29 Thread Frank Barknecht
Hi, Frank Barknecht hat gesagt: // Frank Barknecht wrote: > I started using Webware CVS and my PyDiddy-Wiki stopped working :( > There are two problems. First extraURLPath seems to have changed and > uses a new algorithm. So my old code: > > path_info = self.request().extraURLPa

[Webware-discuss] _actions_ and extraURLs in CVS

2002-10-29 Thread Frank Barknecht
this a change in CVS, that Page.actions now don't get (or need to get) the transaction object anymore? Thanks for your help. Ciao -- Frank Barknecht _ __footils.org__ Yes, I'm the same guy, that subscribed

Re: [Webware-discuss] Re: Webware

2002-10-29 Thread Frank Barknecht
Hi, Bill Eldridge hat gesagt: // Bill Eldridge wrote: > To save you the suspense, at least on Linux you can do: > > cvs -z9 > -d:pserver:[EMAIL PROTECTED]:/cvsroot/webware co webware That last "webware" should be "Webware", I t

[Webware-discuss] Status of UserKit [was: Force saving of UserKit users]

2002-10-28 Thread Frank Barknecht
Hi, Frank Barknecht hat gesagt: // Frank Barknecht wrote: > I'm still working on a simple UserKit frontend, and now I stumbled > across the problem, how to save modified users across > AppServer-restarts. Sorry for another UserKit related self reply, but it seems, that UserKit i

Re: [Webware-discuss] Site dcoumentation

2002-10-28 Thread Frank Barknecht
lopers do it? Do they remember everything? Do they keep a journal > running to the side? It seems that with the consistent structure of > python objects, that a tool may have already been developed to do this. I use "ctags", which is nice to use with my fav. editor

[Webware-discuss] Force saving of UserKit users

2002-10-28 Thread Frank Barknecht
attribute 'save' Also playing with the modifiedUserTimeout seems to have no effect. I tried setting it to 1, waited a minute, and then restarted the AppServer, but the changed password was reverted... ciao -- Frank Barknecht

Re: [Webware-discuss] UserKit error

2002-10-24 Thread Frank Barknecht
Hi, I could solve my problem now. It was: Frank Barknecht hat gesagt: // Frank Barknecht wrote: > But if I try to create another user, this fails with: > > > File "/dos/ibm/hdc18/f/src/python/webware/workdir/thehood/Main.py", line 71, in >Create >

[Webware-discuss] UserKit error

2002-10-23 Thread Frank Barknecht
running under OneShot.cgi or the AppServer (I'm sending this a second time, because the first mail didn't come through, probably because of the attachment, that is missing now.) ciao -- Frank Barknecht _ __footils.org__

[Webware-discuss] UserKit error

2002-10-22 Thread Frank Barknecht
dUser AssertionError Line 152 in UserManager.py says: assert not self._cachedUsersBySerialNum.has_key(user.serialNum()) So it seems, that the second attempt to create a user runs into a caching problem. Do I miss something in my way, how to use UserKi

Re: [Webware-discuss] [ANN] PyDiddy 0.1 - the second best WebwareWiki there is :)

2002-10-22 Thread Frank Barknecht
e is something, that is easily explained to developers, but if a normal user installs Webware, there is nothing to see right away. Is this a CMS, how do I use it? - he might ask, but other than the Example pages there is nothing to see. Maybe Webware should

Re: [Webware-discuss] Wiki-written-in-Webware back up

2002-09-23 Thread Frank Barknecht
gt; interesting, have at it. I must be stupid, but I didn't find the wiki's source code on your site: Is it available? I did find the cool comfyEdit instead and will stop using webware immediatly now :) ciao -- Frank Barknecht

Re: [Webware-discuss] integrated HTML validation

2002-09-04 Thread Frank Barknecht
w, since around 0.9.7 I think. I did check with Mozilla 1.0 on Linux and the "SecureCountVisits" example in the docs. ciao -- Frank Barknecht _ __footils.org__ --- This sf.net email is sponsored by: O

Re: [Webware-discuss] OT: Python editor recommendation?

2002-06-20 Thread Frank Barknecht
://vim.sf.net has lots of useful Vim tricks and tips. ciao, -- Frank Barknecht _ __footils.org__ --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _

Re: [Webware-discuss] Webware news tracking site

2002-06-04 Thread Frank Barknecht
f such a site shouldn't be running something in webware and would thus function as a kind of "Eat your own stuff"-Dogbowl like Zope did with the CMF-site. ciao, -- Frank Barknecht _ __footils.org__

Re: [Webware-discuss] streaming .psp output?

2002-05-20 Thread Frank Barknecht
ong table but want it to show up > incrementally, you need to start and end the table often. Yes, that is an annoying behaviour in Netscape until 4.7, but went away with Mozilla/Netscape 6. But still a lot of people use the older Netscapes... ciao, -- Frank Barknecht

Re: [Webware-discuss] ¹é·Éµµ ¾à¾¦ ¹«·áüÇèÀ̺¥Æ®¿¡ Âü¿©Çϼ¼¿ä (±¤°í)

2002-05-18 Thread Frank Barknecht
> > [...] > > Ok, spamassassin caught it for me darn, it didn't for me, but almost: "X-Spam-Status: No, hits=4.8 required=5.0" -- Frank Barknecht _ __footils.org__ ___

Re: [Webware-discuss] using forms and webware..

2002-05-16 Thread Frank Barknecht
ef actions(self): return Page.actions(self) + ['Clicked'] Now you can define the handler for the method "Clicked" (same name as the button's!): def Clicked(self, trans): req=trans.request() # ... self.writeHTML() Ciao, -- F

Re: [Webware-discuss] Restarting AppServer automatically

2002-05-11 Thread Frank Barknecht
rt annoncement here or privatly, when the text arrives at DevCenter. ciao, -- Frank Barknecht _ ___footils__ ___ Have big pipes? SourceForge.net is looking for download mirrors. We

Re: [Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Frank Barknecht
can do cronjobs. And if crond dies, some other people will shout before me... Thanks and bye, -- Frank Barknecht _ ___footils__ ___ Have big pipes? SourceForge.net is looking for download mirr

[Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Frank Barknecht
Hi all, my AppServer process died, and I didn't recognize this for one or two days. How do you guys make sure, the AppServer doesn't die, or if it dies, that you get to know it or that it gets restarted automatically? Ciao, -- Frank

Re: [Webware-discuss] Tarball of webware-discuss archive?

2002-02-05 Thread Frank Barknecht
Perl (duh!), it should run there also. bye, -- ____ Frank Barknecht

Re: [Webware-discuss] UserKit Questions

2002-01-12 Thread Frank Barknecht
I wrote: > --- test-foo.py --- > from foo import * > bar = _foo() that above was meant to be "bar = foo()", of course... -- Frank Barknecht ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lis

Re: [Webware-discuss] UserKit Questions

2002-01-12 Thread Frank Barknecht
= _foo() try: # will raise NameError: bar = _foo() except NameError: print "_foo not defined" bye, --

[Webware-discuss] Re: [OT] html mail

2002-01-08 Thread Frank Barknecht
, I can read html-messages, but I think on a public mailing list one should send e-mail in a format everyone with every mailreader can read. I tend to ignore html messages, but I suspected it was just a configuration error, so I spoke up ;) Regards, --

[OT] html mail [WAS:] Re: [Webware-discuss] Web client pages for sample Video MiddleKit

2002-01-08 Thread Frank Barknecht
Ross McDonald hat gesagt: // Ross McDonald wrote: >[html] I don't know what the list policy is, but I prefer text messages over html. -- Frank Barknecht ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/

[Webware-discuss] if and else in PSP

2001-12-24 Thread Frank Barknecht
Hi, i'm a big number <%= i %> <% end %><% else: %> Hi, i'm rather small <%= i %> <% end %> <% end %> I think, the first version looks much better and more natural to

<    1   2