[web2py:34511] Re: "LIKE" in GAE

2009-11-03 Thread mdipierro
Do you have the latest web2py version? Probably not. On Nov 3, 2:36 pm, mike wrote: > Im following the documentation, I have made this model (copy&paste > it): > > buyer = db.define_table('buyer', >                         Field('name')) > > and in my control, i try to do this: > >     rows = db

[web2py:34551] Re: PyCon 2010

2009-11-03 Thread Joe Barnhart
New promotion... web2py -- the framework so powerful *they don't want you to know about it! * On Tue, Nov 3, 2009 at 8:23 PM, mdipierro wrote: > > Dear friends, > > I am sorry to inform you that both the talks I proposed to PyCon 2010 > about web2py have been rejected. > This is the third year al

[web2py:34550] Join web2py wave

2009-11-03 Thread hcvst
http://wavedirectory.appspot.com/init/default/wave?w=googlewave.com%2521w%252BDPsJaggYA A public wave to discuss wave development on web2py. HC --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. T

[web2py:34549] Re: powered by web2py?

2009-11-03 Thread hcvst
http://wavedirectory.net - Public google wave directory and wave bot http://auctionall.info - Private auctions http://w2popenid.appspot.com - OpenID consumer/provider example Thanks, HC On Oct 26, 4:46 am, mdipierro wrote: > www.appliedstacks.comis dead. This means I lost a way to keep track >

[web2py:34548] Re: load balancing and HA clustering

2009-11-03 Thread mdipierro
I would suggest using the Pound load balancer and web2py with built-in web server on the slaves. Pound provides sticky sessions which means requests from the same client will be always directed to the same (random) server this you do not need any special configuration to handle sessions. This is

[web2py:34521] Re: before_filter or after_filter (like rails)?

2009-11-03 Thread Thadeus Burgess
A list is a list, doesn't matter if your setting it to a new list or using the list.append() afterwords, it will work the same. db.table.field.after_update = [] db.table.field.after_update = [lambda row: print row] db.table.field.after_update.append(lambda row: del row) -Thadeus On Tue, Nov

[web2py:34517] Re: before_filter or after_filter (like rails)?

2009-11-03 Thread Thadeus Burgess
after_update should be a list of functions, that take one argument, the row. db.table.field.after_update.append(lambda row: print row) -Thadeus On Tue, Nov 3, 2009 at 2:56 PM, Jon Romero wrote: > > Is it possible to do something like that in the db declarations or I > have to put code insid

[web2py:34547] Re: load balancing and HA clustering

2009-11-03 Thread Thadeus Burgess
Under apaceh via mod_wsgi = Yes Load balancing & HA clustering = Most likely. You might be able to pull off simple load balancing. Keep a list of servers, and when a client requests, pick a server with the least amount of redirects for the last 15 minutes and redirect them there. Add a counter to

[web2py:34546] load balancing and HA clustering

2009-11-03 Thread 陶艺夫
Hi, Is it possibale to use web2py under apache (via mod_wsgi) to construct a load balancing & HA clustering servers' group? If it is, how? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group

[web2py:34515] before_filter or after_filter (like rails)?

2009-11-03 Thread Jon Romero
Is it possible to do something like that in the db declarations or I have to put code inside the controller? For example in Rails you specify functions that will run before or after an insert/update/delete/select inside the declaration of model. That makes the code very easy to read/reuse. I thin

[web2py:34545] PyCon 2010

2009-11-03 Thread mdipierro
Dear friends, I am sorry to inform you that both the talks I proposed to PyCon 2010 about web2py have been rejected. This is the third year all web2py related talks have been rejected. I do not have any additional information about this. On the plus side, for the second year in a row, the regist

[web2py:34505] Re: problem using combo with ajax

2009-11-03 Thread Sophie
I made all the modification but, i still have the problem. The combo is working fine. But the third combo dont hide when i select another country, it still show the data selected before. Can i give you my application so you can see my problem better? Tell me if you cant, i dont want to bother. O

[web2py:34534] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-03 Thread Thadeus Burgess
Say I have a special value I want to pass to my widget. Like, date format. Which could change depending on the page. This is what I am trying to do. # pseudocode. def mywidget(f, v, **attr): if attr.get("cancel", False): return jQuery.Rating({cancel:true}) But I can't seem to figure

[web2py:34503] Re: T4 - where?

2009-11-03 Thread mikech
There is also a Tortoise client for bzr http://bazaar-vcs.org/TortoiseBzr On Nov 3, 11:32 am, Wes James wrote: > I asked the question then ended up installing bzr stuff and did get T4 to > test. > > thx, > > -wes > > On Tue, Nov 3, 2009 at 10:12 AM, Yarko Tymciurak > > > > wrote: > > On Tue, N

[web2py:34527] Re: "LIKE" in GAE

2009-11-03 Thread mr.freeze
Does it work locally but not on GAE? I am using the same version with no problems locally. On Nov 3, 2:46 pm, mike wrote: > Version 1.71.0 (2009-10-31 01:13:28) > > On Nov 3, 3:42 pm, mdipierro wrote: > > > Do you have the latest web2py version? Probably not. > > > On Nov 3, 2:36 pm, mike wrot

[web2py:34500] Re: T4 - where?

2009-11-03 Thread Wes James
I asked the question then ended up installing bzr stuff and did get T4 to test. thx, -wes On Tue, Nov 3, 2009 at 10:12 AM, Yarko Tymciurak wrote: > On Tue, Nov 3, 2009 at 9:03 AM, Wes James wrote: >> >> On Tue, Nov 3, 2009 at 1:19 AM, Yarko Tymciurak >> wrote: >> > On Mon, Nov 2, 2009 at 3:1

[web2py:34529] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-03 Thread Thadeus Burgess
Freeze, How would you pass variables to the **attr dict of the widgets? -Thadeus On Tue, Nov 3, 2009 at 4:06 PM, mr.freeze wrote: > > I have a cheesy autocomplete widget here. It's no match for the > facebook version but might help someone: > > http://www.web2pyslices.com/main/slices/take_

[web2py:34535] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-03 Thread Thadeus Burgess
I was looking at SQLFORM, and noticed that widgets do not actually get passed any attributes... at all. So why are they there? lol. elif hasattr(field, 'widget') and field.widget: inp = field.widget(field, default) Easily fixed to be elif hasattr(field, 'widget') and field.widge

[web2py:34544] Re: plugin system again

2009-11-03 Thread mr.freeze
I think Massimo would say you are thinking of a special type of plugin. Take a look at message 75 and 76 in the tree view. Is that what you're thinking? On Nov 3, 8:41 pm, Thadeus Burgess wrote: > Expose plugins like a service. > > def plug(): >      return plugin() > > /init/default/plugin/co

[web2py:34528] Multiple forms double submission

2009-11-03 Thread Richard
Hello, on p188 of the docs it says "when multiple forms are present on the same page, the mechanism for preventing double submission breaks, and you must omit the session argument when calling the accepts method". I was wondering why this is, and if there is an alternative way to prevent double

[web2py:34525] Re: how to disable soft cron when running mod_wsgi daemon

2009-11-03 Thread Fred
Thanks Graham, that's just what I needed to understand the ExecuteOnCompletion2 wrapper. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.

[web2py:34543] Re: plugin system again

2009-11-03 Thread Thadeus Burgess
Expose plugins like a service. def plug(): return plugin() /init/default/plugin/comments/view/hi/ or /init/plugin/comments/view/hi/ -Thadeus On Tue, Nov 3, 2009 at 8:37 PM, Thadeus Burgess wrote: > Here... change the routing for plugins. This allows us to actually have the > plugin

[web2py:34520] Re: before_filter or after_filter (like rails)?

2009-11-03 Thread Jon Romero
ok, I hacked an after_update attribute in sql.py but I am doing this: db.table.field.after_update = a_list_with_functions I think it feels more natural. What do you guys think? On Nov 3, 10:58 pm, Thadeus Burgess wrote: > after_update should be a list of functions, that take one argument, the

[web2py:34537] Re: slider widget for integer input in form

2009-11-03 Thread Richard
Thanks! I am learning a lot from your slices - I hadn't used response.files or widgets yet. I tried the example but just the input box was rendered and I found I needed to add "default=50" for it to work. Does it work for you without a default value? For my use case I fortunately need a value 0-

[web2py:34542] Re: plugin system again

2009-11-03 Thread Thadeus Burgess
Here... change the routing for plugins. This allows us to actually have the plugins in a subfolder. URL(r=request, a='plugin', c='comments', f='view', args=['hi"], vars={}) -Thadeus On Fri, Oct 30, 2009 at 7:58 AM, Yarko Tymciurak < resultsinsoftw...@gmail.com> wrote: > > > On Fri, Oct 30, 2

[web2py:34508] Re: Patch for export_to_csv dialect selection

2009-11-03 Thread mdipierro
thanks, can you email it to me plase. Can you also add the options to SQLDB.export_to_csv On Nov 3, 2:36 pm, Thadeus Burgess wrote: > Here is a patch to allow Rows.export_to_csv file to specify the quotechar, > delimiter, and quoting type. > > Mainly, I needed support for QOUTE_NONNUMERIC so tha

[web2py:34541] Re: So to start with web2py and gae.

2009-11-03 Thread tyoc
or other way to see it is camel case, a special tag for reference internal pages??? (and create them if they doesnt exist?) On Nov 3, 8:25 pm, tyoc <007...@gmail.com> wrote: > haha, Im not asking that... in a wiki when you put a link to a page > that doesnt exist it is created, but with the "smar

[web2py:34522] Re: before_filter or after_filter (like rails)?

2009-11-03 Thread Jon Romero
I was misunderstood (my mistake - it's getting late here in Greece). I didn't want to say about the list but about taking an argument. > after_update should be a list of functions, that take one argument, the row. Now that I am thinking about it, I think that these functions must have access to t

[web2py:34514] Re: "LIKE" in GAE

2009-11-03 Thread mike
Version 1.71.0 (2009-10-31 01:13:28) On Nov 3, 3:42 pm, mdipierro wrote: > Do you have the latest web2py version? Probably not. > > On Nov 3, 2:36 pm, mike wrote: > > > > > Im following the documentation, I have made this model (copy&paste > > it): > > > buyer = db.define_table('buyer', > >    

[web2py:34540] Re: So to start with web2py and gae.

2009-11-03 Thread tyoc
haha, Im not asking that... in a wiki when you put a link to a page that doesnt exist it is created, but with the "smart" design option, I dont see how to do that... What I have tryed is to put a link to without http:// and I get the link like http://127.0.0.1:8000/test3/default/wiki/relative com

[web2py:34507] Re: T4 - where?

2009-11-03 Thread Yarko Tymciurak
just to remind everyone: bzr - slow (but revisions directory structures, as does svn); hg, git - fast (but only revision files - so to hold a directory, you need a file - good long techie discussion about why some O/S's don't treat files as-if-normal-files, and how this impacts all this but th

[web2py:34526] Re: problem using combo with ajax

2009-11-03 Thread Sophie
Here is and example Select country (United States) -> appear state combo -> Select State (California) -> appear city combo -> i select the wrong country, so i decide to select another country -> Select country (Canada) -> the state combo show the correct data. But city cimbo still with the same da

[web2py:34533] Re: slider widget for integer input in form

2009-11-03 Thread mr.freeze
A little of both :) On Nov 3, 4:34 pm, Richard wrote: > nice! > Did you make that slice in response to my question, or extracted from > your own project? > > On Nov 3, 4:58 am, "mr.freeze" wrote: > > > Here is an example using the widget method: > > >http://www.web2pyslices.com/main/slices/take

[web2py:34536] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-03 Thread mr.freeze
I believe the attributes are populated by FormWidget._attributes but not until the widget method is called. In your case I would create a class like so: class DatePickerFactory(object): def __init__(self,dateformat="yy-mm-dd") self.dateformat=dateformat def widget(self,f,v,**attr)

[web2py:34510] Re: problem using combo with ajax

2009-11-03 Thread mdipierro
You do not bother us at all. We are happy to help (if we can). Can you post the modified code? On Nov 3, 2:33 pm, Sophie wrote: > I made all the modification but, i still have the problem. The combo > is working fine. But the third combo dont hide when i select another > country, it still show

[web2py:34518] GDAL and Web2py

2009-11-03 Thread Adolfo
Hello has someone tried using gdal with web2py? can someone give me some advice on how i can use gdal with web2py thanx Adolfo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this g

[web2py:34523] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-03 Thread mr.freeze
I have a cheesy autocomplete widget here. It's no match for the facebook version but might help someone: http://www.web2pyslices.com/main/slices/take_slice/24 On Nov 3, 11:24 am, Alex Fanjul wrote: > I love this kind of widget!!! maybe your next challene would be the so > famous "facebook-auto

[web2py:34524] Re: before_filter or after_filter (like rails)?

2009-11-03 Thread Thadeus Burgess
Function can take the row object as an argument. That way it can access all of the data regarding that row that is about to be inserted, if it needs information from other parts of the database, just use a db.select() inside said function. Just throwing some pseudocode out there.. def afunction(r

[web2py:34532] Re: slider widget for integer input in form

2009-11-03 Thread Richard
nice! Did you make that slice in response to my question, or extracted from your own project? On Nov 3, 4:58 am, "mr.freeze" wrote: > Here is an example using the widget method: > > http://www.web2pyslices.com/main/slices/take_slice/20 > > On Nov 2, 1:34 am, Boris Manojlovic > wrote: > > > I w

[web2py:34531] Re: Multiple Requires criteria

2009-11-03 Thread Richard
yeah that might be a good idea. What would be the syntax? A tuple for start and end, with -1 for infinity? (0,-1) # 0 or more (1,-1) # 1 or more On Nov 3, 12:31 am, mdipierro wrote: > You have to make your own validator. Should we add a "range" attribute > to IS_IN_SET multiple? > > On Nov 1, 9:

[web2py:34506] Patch for export_to_csv dialect selection

2009-11-03 Thread Thadeus Burgess
Here is a patch to allow Rows.export_to_csv file to specify the quotechar, delimiter, and quoting type. Mainly, I needed support for QOUTE_NONNUMERIC so that my data could import to Microsoft Access. Massimo I will email you the diff file. Basically, now you can do Rows.export_to_csv_file(ofile

[web2py:34516] Re: Patch for export_to_csv dialect selection

2009-11-03 Thread Thadeus Burgess
Ok Massimo, sent you the new diff. Now you should be able to db.export_to_csv_file(ofile, delimiter='|', quotechar='*', quoting=csv.QUOTE_NONNUMERIC) db.import_from_csv_file(ofile, delimiter='|', quotechar='*', quoting=csv.QUOTE_NONNUMERIC) Rows.export_to_csv_file(ofile, delimiter='|', quotecha

[web2py:34504] Re: T4 - where?

2009-11-03 Thread mr.freeze
Has anyone used bzr-eclipse? Is it stable/usable? Thanks! On Nov 3, 2:10 pm, mikech wrote: > There is also a Tortoise client for bzrhttp://bazaar-vcs.org/TortoiseBzr > > On Nov 3, 11:32 am, Wes James wrote: > > > I asked the question then ended up installing bzr stuff and did get T4 to > > tes

[web2py:34501] Re: importing css file

2009-11-03 Thread Wes James
If you right-click and view page source, does that have any content? On Tue, Nov 3, 2009 at 11:40 AM, haftish21 wrote: > > I used the following linkage to import my css file created inside > static folder. > > > > No error, but nothing displays on my page. what goes wrong??? --~--~-~--

[web2py:34499] Re: importing css file

2009-11-03 Thread mdipierro
can we see the page? On Nov 3, 12:40 pm, haftish21 wrote: > I used the following linkage to import my css file created inside > static folder. > > > > No error, but nothing displays on my page. what goes wrong??? --~--~-~--~~~---~--~~ You received this message be

[web2py:34498] Re: importing css file

2009-11-03 Thread Thadeus Burgess
try URL(r=request, c='static', f='mystyle.css') -Thadeus On Tue, Nov 3, 2009 at 12:40 PM, haftish21 wrote: > > I used the following linkage to import my css file created inside > static folder. > > > > No error, but nothing displays on my page. what goes wrong??? > > > --~--~-~--~

[web2py:34497] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-03 Thread mr.freeze
Screenshots added. On Nov 3, 12:28 am, Mengu wrote: > i have a suggestion for all your slices, why don't you also add the > screenshots? :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To po

[web2py:34530] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-03 Thread mr.freeze
That's where the 'cheesy' part comes in. This should really be done as a class with options passed in the constructor. As it is, you need to pass you attributes to the specific elements that will use them. For example in the datepicker widget, I override the class so the normal Calendar script do

[web2py:34512] Re: Patch for export_to_csv dialect selection

2009-11-03 Thread Thadeus Burgess
Sure, I figured the reason against adding it to SQLDB was because it adds web2py specific meta information. I will send you the new patch in a minute. -Thadeus On Tue, Nov 3, 2009 at 2:39 PM, mdipierro wrote: > > thanks, can you email it to me plase. Can you also add the options to > SQLDB.e

[web2py:34538] Re: slider widget for integer input in form

2009-11-03 Thread mr.freeze
Whoops, small bug. I fixed it and updated the slice. Respone.files is just a quick way to include the necessary files. You could just as easily put them in your view. I think response.files is part of the experimental plugin framework so it may change. The jQueryUI slider takes a min and max t

[web2py:34519] Re: web2py 1.68.1 is OUT

2009-11-03 Thread Tim Michelsen
Hello, > legacy database support for db2, mssql with non-int primary keys > (thanks Denes) Does this also work with SQLite? Best regards, Timmie --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group

[web2py:34539] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-03 Thread mr.freeze
Here's a working version (didn't test the other): class DatePickerFactory(object): def __init__(self,dateformat="yy-mm-dd"): self.dateformat=dateformat def widget(self,f,v,**attr): inp = SQLFORM.widgets.string.widget(f,v,_class="jqdate", **attr) scr = SCRIPT("jQuer

[web2py:34509] "LIKE" in GAE

2009-11-03 Thread mike
Im following the documentation, I have made this model (copy&paste it): buyer = db.define_table('buyer', Field('name')) and in my control, i try to do this: rows = db(buyer.id>0).select().find(lambda row:row.name.startswith ('C')) return dict(rows) but im getti

[web2py:34494] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-03 Thread mr.freeze
I am working on enabling image uploads for web2pyslices.com. In the meantime, I created a demo app for your convenience. Right click / Save As: http://www.web2pyslices.com/main/static/share/web2py.app.widgets.w2p Enjoy! On Nov 3, 9:18 am, JorgeRpo wrote: > +1 > I was to propose the same.. > >

[web2py:34502] Re: T4 - where?

2009-11-03 Thread Yarko Tymciurak
On Tue, Nov 3, 2009 at 1:32 PM, Wes James wrote: > > I asked the question then ended up installing bzr stuff and did get T4 to > test. > great! :-) > > thx, > > -wes > > On Tue, Nov 3, 2009 at 10:12 AM, Yarko Tymciurak > wrote: > > On Tue, Nov 3, 2009 at 9:03 AM, Wes James wrote: > >> > >>

[web2py:34495] importing css file

2009-11-03 Thread haftish21
I used the following linkage to import my css file created inside static folder. No error, but nothing displays on my page. what goes wrong??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. T

[web2py:34493] Re: problem using combo with ajax

2009-11-03 Thread Sophie
I sont unsertand the suggestion, something like this? $('#Pais').attr('onChange', ajax('Estado', ['Pais'],'target')); and now $('#Pais').change(function(){ $('#Pais').attr('onChange', ajax ('Estado', ['Pais'],'target')) On 3 nov, 10:48, mdipierro wrote: > I think it is because: > > def ci

[web2py:34496] Re: problem using combo with ajax

2009-11-03 Thread mdipierro
Just $('#Pais').change(function(){ ajax('Estado', ['Pais'],'target') }); On Nov 3, 11:40 am, Sophie wrote: > I sont unsertand the suggestion, something like this? > > $('#Pais').attr('onChange',  ajax('Estado', ['Pais'],'target')); > > and now > > $('#Pais').change(function(){ $('#Pais').attr

[web2py:34513] Re: Patch for export_to_csv dialect selection

2009-11-03 Thread Thadeus Burgess
I also need to add the options to import_from_csv_file -Thadeus On Tue, Nov 3, 2009 at 2:42 PM, Thadeus Burgess wrote: > Sure, I figured the reason against adding it to SQLDB was because it adds > web2py specific meta information. I will send you the new patch in a minute. > > -Thadeus > > >

[web2py:34489] Re: problem using combo with ajax

2009-11-03 Thread mdipierro
I think it is because: def city(): state = request.vars.values()[0] city = db(db.city.idState == state).select() return SELECT(_id=city,_name=city,*[OPTION(city [i].nCity, _value=str (city[i].id)) for i in range(len(city))]) should be def city(): state = request.vars.values(

[web2py:34488] Re: So to start with web2py and gae.

2009-11-03 Thread Iceberg
On Nov3, 11:36am, mdipierro wrote: > https://launchpad.net/t4 > > but it is not as stable as t3. Eventually we are going to need better > names. On Nov3, 12:32pm, Wiiboy wrote: > Perhaps more descriptive =) It is kind of faq. :-) IIRC, in the web2py 1.4x era, T2 was introduced. The name is a

[web2py:34487] Re: Something broke in sql.py since 1.71.1

2009-11-03 Thread Fran
On Nov 2, 10:39 pm, mdipierro wrote: > > Are you sure this worked in 1.70 but not in 1.71? Broke /since/ 1.71 ;) > I think I fixed it. please check. Yes, works now - many thanks :) F --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[web2py:34486] problem using combo with ajax

2009-11-03 Thread Sophie
Hi all i have a problem with multi combo. I have three tables Country, State, City. The first time it works fine, i select a country (Canada), it appears the state combo, i select a state (Alberta), and appear the city combo. Here is working fine. My problem is the second time i want to select a

[web2py:34485] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-03 Thread JorgeRpo
+1 I was to propose the same.. On Nov 3, 6:02 am, DenesL wrote: > On 3 nov, 03:31, Yarko Tymciurak wrote: > > > > > +1  --- and even more -- example use (just like man pages)...  :-) > > +1 and more --> demos -- sig text --~--~-~--~~~---~--~~ You received this

[web2py:34484] Re: T4 - where?

2009-11-03 Thread Wes James
On Tue, Nov 3, 2009 at 1:19 AM, Yarko Tymciurak wrote: > On Mon, Nov 2, 2009 at 3:13 PM, Wes James wrote: >> >> I found that, but I didn't think svn worked with that only bzr client. > > That is correct - it is a bazaar repository, so it works only w/ bzr.  (even > the svn for web2py is just a m

[web2py:34483] Re: {{=month.replace(...)}}

2009-11-03 Thread mdipierro
Somehow month is a string. How is it defined? On Nov 3, 5:25 am, annet wrote: > I had a two column layout: > > >   >     >     Nieuws {{=month.replace('_',' ')}} >     >   >   >     >   > > > Now when I reverse the order in which the columns appear in the view. > > >  

[web2py:34482] Re: web2py uglyness

2009-11-03 Thread mdipierro
I do not think it does what I originally wanted to do (specify the folder where to import to) but you are right that we can rewrite the current local_import using __import__. WOuld you send me a patch? On Nov 3, 5:46 am, Álvaro Justen [Turicas] wrote: > On Fri, Oct 30, 2009 at 03:55, mdipierro

[web2py:34481] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-03 Thread mdipierro
Again on the topic of response.files.append(...). I do not think I ever mentioned it but when a view extends another view, the {{extend ...}} does not need to be the first line in the page. This means you can defined variables before extending so the extended page sees those variables. For example

[web2py:34480] Re: So to start with web2py and gae.

2009-11-03 Thread mdipierro
In the menu click on ... On Nov 3, 12:19 am, David AOL <007...@gmail.com> wrote: > I have downloaded the T3 version, running it, seem nice, but how I will > create a new wiki page from a non existent page? > > -- > Las cosas que no se comparten se pierden > > 2009/11/2 Wiiboy > > > > > Perhaps m

[web2py:34479] Re: {{=month.replace(...)}}

2009-11-03 Thread DenesL
On Nov 3, 6:25 am, annet wrote: > I had a two column layout: > > >   >     >     Nieuws {{=month.replace('_',' ')}} >     >   >   >     >   > > > Now when I reverse the order in which the columns appear in the view. > > >   >     You might be changing "month" her

[web2py:34478] Re: web2py uglyness

2009-11-03 Thread Álvaro Justen [Turicas]
On Fri, Oct 30, 2009 at 03:55, mdipierro wrote: > > Something always bothered be and resulted in lots of uglyness. I > suspected there was a way to fix it but did not know. Now I found out. > > The problem: > == > > when we do > >    import a.b.c as d > > Python (and web2py) look in sys.p

[web2py:34477] {{=month.replace(...)}}

2009-11-03 Thread annet
I had a two column layout: Nieuws {{=month.replace('_',' ')}} Now when I reverse the order in which the columns appear in the view. Nieuws {{=month.replace('_',' ')}} This function: {{=month.repl

[web2py:34476] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-03 Thread DenesL
On 3 nov, 03:31, Yarko Tymciurak wrote: > > +1  --- and even more -- example use (just like man pages)...  :-) +1 and more --> demos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post

[web2py:34475] Re: web2py blog

2009-11-03 Thread Yarko Tymciurak
On Tue, Nov 3, 2009 at 4:24 AM, Mengu wrote: > > dear yarko, > > yes, it has a long way to go. i hope to make it better and known in > this area. maybe the flagship of web2py. :) > > thank you for letting me know the delete issue :) it's now fixed. > > i can move the project to google code for su

[web2py:34474] Re: web2py blog

2009-11-03 Thread Mengu
dear yarko, yes, it has a long way to go. i hope to make it better and known in this area. maybe the flagship of web2py. :) thank you for letting me know the delete issue :) it's now fixed. i can move the project to google code for sure, but first i have to learn how to use svn and google code.

[web2py:34473] .replace()

2009-11-03 Thread annet
In web2py version 1.68.2 this: {{=month.replace('_',' ')}} no longer works. It was the solution to the following problem: In the view I have: News {{=month}} which for August results in: News August_2009 Is there a way to get rid of the underscore? It's introduced because the link: {{=A

[web2py:34472] Re: web2py blog

2009-11-03 Thread Yarko Tymciurak
Thanks for sharing clearly, still a work in progress (for example, I note that your controllers/post requires membership in Admin to post, edit, but _not_ to delete :-). Will be nice to move to hg/google code to be able to just post comments against the code in the codereview tool On Mon,

[web2py:34471] Re: new slices: jQueryUI slider and datepicker widgets

2009-11-03 Thread Yarko Tymciurak
On Tue, Nov 3, 2009 at 12:28 AM, Mengu wrote: > > i have a suggestion for all your slices, why don't you also add the > screenshots? :) > +1 --- and even more -- example use (just like man pages)... :-) > > --~--~-~--~~~---~--~~ You received this message becau

[web2py:34470] Re: T4 - where?

2009-11-03 Thread Yarko Tymciurak
On Mon, Nov 2, 2009 at 3:13 PM, Wes James wrote: > > I found that, but I didn't think svn worked with that only bzr client. > That is correct - it is a bazaar repository, so it works only w/ bzr. (even the svn for web2py is just a mirror of the bzr checkins). Bazaar and Mercurial are both Pyth