[web2py:32872] Re: Interesting Javascript Project

2009-10-14 Thread Michael - afewtips.com
ed to js and ran), but your writing > it in python, so you don't have to learn another syntax. > > Javascript gets downloaded to every visitor, do you think thats insecure? > > -Thadeus > > On Mon, Oct 12, 2009 at 9:16 AM, Michael - afewtips.com > wrote: > > > &g

[web2py:32798] Re: Multiple Requires criteria

2009-10-13 Thread Michael - afewtips.com
ot lists > of them. > > But you only need IS_IN_SET in this case, the field can not be empty > unless that is one the options in the set. > > On Oct 13, 6:04 am, "Michael - afewtips.com" > wrote: > > > Hi, > > I am trying to use 2 different criteri

[web2py:32794] Multiple Requires criteria

2009-10-13 Thread Michael - afewtips.com
Hi, I am trying to use 2 different criteria but when I do, the drop down list doesn't show up any longer. SQLField('field','string',requires=[IS_NOT_EMPTY(),IS_IN_SET (['Val1','Val2','Val3'])]) A couple of examples I saw used this format. Is this the correct syntax? Thanks Michael --~--~--

[web2py:32742] Re: Style not being applied to File Upload field in form

2009-10-12 Thread Michael - afewtips.com
noying browser quirks. > > http://www.quirksmode.org/dom/inputfile.html > > http://shauninman.com/archive/2007/09/10/styling_file_inputs_with_css... > > -Thadeus > > On Mon, Oct 12, 2009 at 10:04 AM, Michael - afewtips.com > > wrote: > > > No - the box com

[web2py:32735] Re: Style not being applied to File Upload field in form

2009-10-12 Thread Michael - afewtips.com
te: > What happens when you switch the class? (thanks for correcting my > widget syntax Iceberg) > > form = SQLFORM.factory(Field("uptest","upload",widget=lambda > field,value,**kwargs:SQLFORM.widgets.upload.widget > (field,value,_class="dummy",*

[web2py:32731] Re: Interesting Javascript Project

2009-10-12 Thread Michael - afewtips.com
So all of my code would be downloaded to every visitor? Seems a little insecure if nothing else. On Oct 12, 2:40 am, Thadeus Burgess wrote: > It's python, with a javascript compiler! So you can write python client side > code. > > I just thought this was a very interesting project and wanted to

[web2py:32723] Re: Style not being applied to File Upload field in form

2009-10-12 Thread Michael - afewtips.com
No - I haven't been able to apply styles to the upload field or button. It looks like the class .upload is overriding the the id. On Oct 12, 9:23 am, mdipierro wrote: > Do you know what i causing the problem? > > On Oct 12, 7:19 am, "Michael - afewtips.com" >

[web2py:32719] Style not being applied to File Upload field in form

2009-10-12 Thread Michael - afewtips.com
Hi, I am applying the styles to all elements in a form successfully. No problems, except for the file upload field and button. The id is properly set and the class is properly set, but nothing is applied. The property get a line through it, and when I apply the style in FireBug, it doesn't get ap

[web2py:32662] Re: using a calculation in a requires validator

2009-10-11 Thread Michael - afewtips.com
: > On Oct11, 7:23pm, "Michael - afewtips.com" wrote: > > > Hi, > > I need to do this > > >    ( db.field % .25 == 0 ) > > > calculation on a field entered into a form. > > > Do I need to create a function that checks (what?) or can it be >

[web2py:32659] using a calculation in a requires validator

2009-10-11 Thread Michael - afewtips.com
Hi, I need to do this ( db.field % .25 == 0 ) calculation on a field entered into a form. Do I need to create a function that checks (what?) or can it be entered directly in the db definition? Thanks Michael --~--~-~--~~~---~--~~ You received this message bec

[web2py:32369] Re: Google app engine retrieve data from related table

2009-10-07 Thread Michael - afewtips.com
are going to de-normalize, take a look at google ListProperty. > > Robin > > On Oct 6, 9:59 am, "Michael - afewtips.com" > wrote: > > > What if it's 9 fields? (Just Kidding). > > > Thanks - > > > I think I will retain the normalized form and

[web2py:32289] Re: Google app engine retrieve data from related table

2009-10-06 Thread Michael - afewtips.com
f less than 10 I would go with option 2. I > just made up the number 10. > > On Oct 6, 8:38 am, "Michael - afewtips.com" > wrote: > > > I understand that inner joins on GAE are not allowed, so what is the > > best practice for > > retrieving data from relate

[web2py:32284] Google app engine retrieve data from related table

2009-10-06 Thread Michael - afewtips.com
I understand that inner joins on GAE are not allowed, so what is the best practice for retrieving data from related tables? Forget normalizing and just add the related data to the record when the record is added? or Keep the data normalized and every time I need to show the data for a bicycle,

[web2py:32123] Re: Well integrated cart and information site using web2py

2009-10-02 Thread Michael - afewtips.com
've not moved > all my web2py apps (and several other Zope ones) is the fact that > assigning IPs for SSL (https) is still (??) not possible on EC2 > instances, do you know if this is still the case? > > Thanks > > On Oct 2, 8:05 am, "Michael - afewtips.com" > wr

[web2py:32104] Re: Well integrated cart and information site using web2py

2009-10-02 Thread Michael - afewtips.com
B Ram. > > On Oct 2, 8:30 am, "Michael - afewtips.com" > wrote: > > > I see you are on Slicehost - nice. 256MB?? > > >  I am still trying to determine min requirements for Web2py. > > I had Plone on a 256MB Slice, and it wasn't enough. I moved to Ama

[web2py:32093] Re: Well integrated cart and information site using web2py

2009-10-02 Thread Michael - afewtips.com
setup, but also the ram and bandwidth. On Oct 2, 9:25 am, "Michael - afewtips.com" wrote: > That's real nice, very responsive. > Can you describe a little more on the setup? > Memory, webserver, ... > On what kind of hardware are you running the site on? A VPS or an >

[web2py:32088] Re: Well integrated cart and information site using web2py

2009-10-02 Thread Michael - afewtips.com
That's real nice, very responsive. Can you describe a little more on the setup? Memory, webserver, ... On what kind of hardware are you running the site on? A VPS or an internal server? On Oct 2, 1:25 am, John Heenan wrote: > I have just activated an in-house developed, well integrated cart and

[web2py:28896] Create a group on Ning?

2009-08-18 Thread Michael - afewtips.com
Does anyone think it would be worthwhile to create a group for Web2py on ning.com? --~--~-~--~~~---~--~~ 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.com T