Has anyone already tried to delete temporary files after a user
session ends?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to web2py@googlegroups.com
I haven't looked at the site.(On a train.) Nor have I ever heard of
them. But the design of a site, pictures, borders, content style,
etc... of just about any site can be done in web2py. It's all a matter
of the effort, and talent, that you throw into it. I for one, am no
designer, so when
Sounds like more of an html jquery thing. What are you wanting to do in
particular?
Regards,
Jason
On Wed, 2009-04-29 at 21:41 -0700, waTR wrote:
I have a form with a submit button. However, I need web2py to read the
form and perform an action not only when the person clicks on the
submit
http://www.w3schools.com/jsref/jsref_onunload.asp
Jason Brower wrote:
Sounds like more of an html jquery thing. What are you wanting to do in
particular?
Regards,
Jason
On Wed, 2009-04-29 at 21:41 -0700, waTR wrote:
I have a form with a submit button. However, I need web2py to read
I had the same problem: my Json data were going into an Html form.
I solved simply converting my date object into string with str()
before dumping Json data: I do not know if this is suitable for your
case
carlo
On 30 Apr, 06:28, weheh richard_gor...@verizon.net wrote:
I need to run a
Look into jquery, it'll be easy. Have you used that before?
On Thu, 2009-04-30 at 15:06 +0200, Michal Jursa wrote:
http://www.w3schools.com/jsref/jsref_onunload.asp
Jason Brower wrote:
Sounds like more of an html jquery thing. What are you wanting to do in
particular?
Regards,
Hi,
Where can I find bill's code (classes like Resource, Record, ...) for
making customized forms.
Is it in web2py core already ?
Is there any other way how to make my customized form in a view using
standard html tags and than validate data (using model's validation
constraints or
you can do
http://domain.tld/a/c/f?email=emailaddress
or
http://domain.tld/a/c/f/codedemailaddress
where codedemailaddress = base64.b16encode(emailaddress)
md5 would not be invertible. b16 is what you want.
On Apr 30, 5:45 am, Carl carl.ro...@gmail.com wrote:
In Web2Py I've generated a
https://mdp.cti.depaul.edu/AlterEgo/default/show/205
On 30 Apr, 03:42, Dunsun dun...@gmail.com wrote:
Hi,
Where can I find bill's code (classes like Resource, Record, ...) for
making customized forms.
Is it in web2py core already ?
Is there any other way how to make my customized form in
which temporary files?
On 30 Apr, 05:10, Timmie timmichel...@gmx-topmail.de wrote:
Has anyone already tried to delete temporary files after a user
session ends?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I dunno. I don't like dependencies on companies who aren't
forthcoming about costs and such. Here's a quote from their FAQ:
How much does it cost?
When initial development and ongoing operation are factored into an
ROI calculation, you will find that RPX Plus and RPX Professional are
very
Well, this is something that is not something that should require
javascript. I am just looking to validate the page upon a link being
clicked.
Lets say I have 3 menu items at the top of a page: Home, Add New, and
Modify Current. Now lets say I am in the Modify Current page. I have
made a few
I have this in my model: db.py:
db.define_table('user',
SQLField('email', 'string', length=320),
SQLField('hash','string'))
db.user.email.requires=[IS_NOT_EMPTY(),IS_LOWER(),IS_NOT_IN_DB(db,
db.user.email)]
In my controller: default.py:
try:
uid =
thanks M
thanks for putting me on to b16encode - it'll save me some coding as I
won't need to store the md5/sha for a later lookup.
Carl
On Apr 30, 3:06 pm, mdipierro mdipie...@cs.depaul.edu wrote:
you can do
http://domain.tld/a/c/f?email=emailaddress
or
Alternatively to the second point, lets say I want to have the submit
button outside the FORM element. How do I ensure web2py knows that
that submit button should submit the data in the FORM element for
processing?
--~--~-~--~~~---~--~~
You received this message
This
db.user.email.requires=[IS_NOT_EMPTY(),IS_LOWER(),IS_NOT_IN_DB
(db,db.user.email)]
is only enforced at the level for form validation. If you want the
database to enforce integrity
db.define_table('user',
SQLField('email', 'string', length=320, unique=True),
thanks M / very speedy concise reply.
p 138/139 explains it all - sorry to have missed this detail.
On Apr 30, 6:45 pm, mdipierro mdipie...@cs.depaul.edu wrote:
This
db.user.email.requires=[IS_NOT_EMPTY(),IS_LOWER(),IS_NOT_IN_DB
(db,db.user.email)]
is only enforced at the level for form
Take a look at ExtJS or Smartclient. They have many of the same
capabilities but are Javascript based rather than Java based. Most
experienced web-devs will tell you, just learn Javascript, it's not
that hard, and you'll be glad you did. Most studies show that the
speed gains of GWT-style
It should be easy to include LDAP support in web2py.
If you are familiar with Auth in tools, something like this should
work:
based
on
http://www.packtpub.com/article/installing-and-configuring-the-python-ldap-library-and-binding-to-an-ldap-directory
import ldap, ldap.sasl
import sys, getpass
Well, you will definitely need javascript... :)
As i linked you before
http://www.w3schools.com/jsref/jsref_onunload.asp
that's the very begining of your solution.
M.
waTR napsal(a):
Well, this is something that is not something that should require
javascript. I am just looking to validate
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Today I evaluated several Python IDEs, with results:
Idle
for me, debugging does not work
Eric4
debugging does not work, breakpoints in models and controllers
are silently passed over
Netbeans/Python
debugging does not work; debugging session
On Apr 30, 7:30 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Can you help me test it and fill the blanks?
I can have a go at testing, yes :)
Can do it against Active Directory... OpenLDAP too if I get time :)
I've copy/paste/cleaned-up formatting, installed python-ldap
corrected a couple of
{{=form}} does not work? Is this because of ldap?
Massimo
On Apr 30, 4:12 pm, Fran francisb...@googlemail.com wrote:
On Apr 30, 7:30 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Can you help me test it and fill the blanks?
I can have a go at testing, yes :)
Can do it against Active
On Apr 30, 10:30 pm, mdipierro mdipie...@cs.depaul.edu wrote:
{{=form}} does not work? Is this because of ldap?
I doubt because of LDAP but something in the construction of the
class..
Am trying to replicate it in a simple test controller it works fine
there.
My modification sent by email
yes I guess
form=SQLFORM('username:',INPUT(_name='username'),
'password:',INPUT
(_name='password',_type='password'),
INPUT(_type='submit',_value='login'))
should have been
form=FORM('username:',INPUT(_name='username'),
Not at all; happy to...
In my experience, many things seem obvious, once you see them.
I love the saying - the only stupid question is the one you don't ask :-)
Feel free to ask anything!
On Thu, Apr 30, 2009 at 6:29 PM, JohnMc maruadventu...@gmail.com wrote:
Yep, something stupid. Should
If you are more interested in the debugging than on the IDE part then
you might want to include winpdb (.org) in your tests.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to
Thanks. Perhaps you should post it on the vmware appliances
marketplace.
Massimo
On Apr 30, 6:51 pm, Boris Manojlovic boris.manojlo...@gmail.com
wrote:
Hi All,
new version of appliance is uploaded to sitehttp://bojanka.net/web2py/
what is new:
apache2 with mod_wsgi,
SSL with self signed
Not at all stupid since that is valid Django notation.
On Apr 30, 7:13 pm, Yarko Tymciurak yark...@gmail.com wrote:
Not at all; happy to...
In my experience, many things seem obvious, once you see them.
I love the saying - the only stupid question is the one you don't ask :-)
Feel free to
While I'm at it, on p. 126 of MDP's doc at the top is a very sweet
statement that I will repeat here:
TABLE(*(TR(*rows) for rows in table). Now there are two modifications
I would like to make to that statement, but don't know how to do it.
One of them applies to the subject of this question,
On Thu, Apr 30, 2009 at 9:20 PM, Wes James compte...@gmail.com wrote:
On Thu, Apr 30, 2009 at 8:46 PM, weheh richard_gor...@verizon.net wrote:
Where can I find out what table attributes I can set from within a
controller for the TABLE helper. Same goes for the TR, TH, and TD
helpers.
my
TABLE(TR(TD('text', _class='tdClass'), _class='trClass')))
_class being the CSS .class_selector in your style sheet
_id being the CSS #id_selector in yoru style sheet, ect
_attribute will put in any normal html attribute.
On Thu, Apr 30, 2009 at 9:22 PM, weheh richard_gor...@verizon.net
Thanks, Wes.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
From doc:
table=[['a','b'],['c','d']]
print TABLE(*[TR(*rows) for rows in table])
I want to change the color of the cells in the table according to
something like this, but I don't know how to say it. This is the best
I can come up with. Can someone offer a suggestion how to do this?
TABLE(*[TR(*[TD(x,_style='color:%s'%colors[i][j]) for j,x in enumerate
(row)]) for i,row in enumerate(table)])
perhaps there is a better way.
On 30 Apr, 23:33, weheh richard_gor...@verizon.net wrote:
From doc:
table=[['a','b'],['c','d']]
print TABLE(*[TR(*rows) for rows in table])
I want
35 matches
Mail list logo