yes with Andrew Buchan tip of leaving out the requires it worked for
me too, however the solution was rather unintuitive
tnx to everybody for taking time to check this problem
On May 19, 1:00 pm, mdipierro mdipie...@cs.depaul.edu wrote:
For me this works
db.define_table('person',
Thanks guys, I knew it would be a simple one. I need to remember to
set email updates when I post a new thread.
Hi,
I use the Remember me for 30 days feature in our app. I used a
custom auth_table with a column last_login to update every time a
user logs into the application.
Currently I update it in a function call like this:
---
def
wow,
that is a charming project. I think this is a must!
On May 19, 1:23 am, Richard richar...@gmail.com wrote:
has a YouTrack issue been created?
On May 18, 12:37 pm, mikech mp.ch...@gmail.com wrote:
http://www.jetbrains.net/devnet/message/5263114#5263114
on a second look, seems to be payed...
On May 20, 12:10 pm, blackthorne francisco@gmail.com wrote:
wow,
that is a charming project. I think this is a must!
On May 19, 1:23 am, Richard richar...@gmail.com wrote:
has a YouTrack issue been created?
On May 18, 12:37 pm, mikech
Could you help me setting this up too?
This is the view:
{{extend 'layout.html'}}
h1This is the default/test.html template/h1
{{=jqgrid_table}}
jQuery(#grid_id).jqGrid({
onSelectRow: function(postdata) {
web2py_ajax_page('get','/myapp/default/form/'+
(postdata),null,'my_form');
Hi,
In reference to thread:
http://groups.google.com/group/web2py/browse_thread/thread/424731b5f6449513/e5bab3ec6e68a505
So far, the application was a series of reports, but now I need to
write to the database.
The charset of the database is latin1, and my db object I define it as
follows:
db =
Hi Pepe,
I am sure Thadeus did not mean it is a negative sense. I am personally
envious of designer given my total lack of artistic skills.
I think what Thadeus means by Django is a designer based framework
is that they assume that designers cannot program and program and do
not allow them to
http://code.google.com/webfonts/preview
Woow! Nice.
As said in the FAQ:
*All the fonts in the Google Font
Directoryhttp://code.google.com/webfontsare licensed under open
source licenses that let you use them on any website
*
On Thu, May 20, 2010 at 2:35 PM, mdipierro mdipie...@cs.depaul.edu wrote:
You could try passing SCRIPT from the controller.
## View
{{extend 'layout.html'}}
h1This is the default/test.html template/h1
{{=plugin_editable_jqgrid(db.jqgrid_table,grid_name='jqgrid_
table',db_name='db')}}
{{=script}}
## Controller
def jqgrid_table_test():
script =
Thanks for your effort, but it gives an empty page..
I will use two or more Grids at least one of them must keep the
editable behaveure.
But in this case it should work like your approach, controlling the
form.
May i missed something..?
Could you tell me how to set up the form?
should the view
On May 20, 2010, at 5:51 AM, Albert Abril wrote:
Woow! Nice.
As said in the FAQ:
All the fonts in the Google Font Directory are licensed under open source
licenses that let you use them on any website
...as long as it's being viewed with a browser that supports @font-face...
On Thu,
Try
{{=jqgrid_table}}
script type=text/javascript
jQuery(document).ready(function(){
jQuery(#grid_id).jqGrid({
onSelectRow: function(postdata) {
web2py_ajax_page('get','/myapp/default/form/'+(postdata),null,'my_form');}});
/script
On 05/20/2010 10:45 PM, AsmanCom wrote:
Thanks for your
Yes, I understand. I already downloaded package ssl 1.15
However, I was unable to install the module. See the listing of errors
posted above.
I don't mean to clutter this group with questions not directly related
to web2py. I'm currently stuck because I do not understand how to
install the ssl
Hello,
how can i limit uploaded pic size to be not exceed 500 kB?
My mainly problem is that all uploaded pics saved into folder uploads
and by the time that will cause system failure (because of space)??
If there is any solution to this problem ?and if the first question
fix this problem?
try
apt-get install python-openssl
apt-get install python-distutil
easy_install ssl
On May 20, 9:00 am, OMAR uncle...@gmail.com wrote:
Yes, I understand. I already downloaded package ssl 1.15
However, I was unable to install the module. See the listing of errors
posted above.
I don't
Yes:
Field('file','upoad',requires=IS_LENGTH(500*1024))
should do the trick.
On May 20, 9:02 am, Neveen Adel nevo.a...@gmail.com wrote:
Hello,
how can i limit uploaded pic size to be not exceed 500 kB?
My mainly problem is that all uploaded pics saved into folder uploads
and by the time
Thanks mdipierro for your help
On May 20, 5:17 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Yes:
Field('file','upoad',requires=IS_LENGTH(500*1024))
should do the trick.
On May 20, 9:02 am, Neveen Adel nevo.a...@gmail.com wrote:
Hello,
how can i limit uploaded pic size to be not
On Thu, May 20, 2010 at 3:50 PM, Jonathan Lundell jlund...@pobox.comwrote:
On May 20, 2010, at 5:51 AM, Albert Abril wrote:
Woow! Nice.
As said in the FAQ:
*All the fonts in the Google Font Directoryhttp://code.google.com/webfonts
are licensed under open source licenses that let you use
Hi Pepe,
I did not mean that in a negative tone, I do respect designers a great
deal, they have a gift that seems to allude me =)
I have strong feelings towards my = signs... its just a part of
programming, why change the standard? I won't use MongoDB either
because they use the same $lt $gte
I tried like that:
View:
{{=jqgrid_table}}
script type=text/javascript
jQuery(document).ready(function(){
jQuery(#grid_id).jqGrid({
onSelectRow: function(postdata) {web2py_ajax_page('get','/myapp/
default/form/'+(postdata),null,'my_form');}});
/script
Controller:
def jqgrid_table_test():
What do you mean the form doesn't show?
Do you have a DIV for the form to load in your view?
{{=LOAD('default','form',args=1,ajax=True,target='my_form')}}
Does this not reload as you select a row from from the grid?
On 05/20/2010 11:40 PM, AsmanCom wrote:
I tried like that:
View:
The output you show is that it's trying to compile openssl into the ssl
module. You'll need to install the openssl headers. The debian package
name is probably something like openssl-dev.
-tim
On 5/19/2010 5:30 PM, OMAR wrote:
Tim, thanks for the speedy reply. Sorry to say I'm still stuck.
can this be caused by the function, which set in /static/
plugin_editable_jqgrid/plugin_editable_jqgrid.js ?:
onSelectRow: function(id){
if(id lastSel!='' id!==lastSel){
jQuery(grid_name).restoreRow(lastSel);
}
lastSel=id;
jQuery(grid_name).editRow(id, true, '',
Are you using the web2py jqgrid_plugin?
http://web2py.com/plugins/default/jqgrid
On 05/20/2010 11:53 PM, AsmanCom wrote:
can this be caused by the function, which set in /static/
plugin_editable_jqgrid/plugin_editable_jqgrid.js ?:
onSelectRow: function(id){
if(id lastSel!=''
Many thanks, it go´s in the right direction now.
I am using the http://app.ebansoftware.net/editable_jqgrid/default/show_example
, but it is quite similar.
Now the is loaded is loaded with the default template and then a
second layer covers it with the form and the default Template(loaded
twice)
I meant:
The Grid is loaded with the default template and then a second layer
covers it with the form and the default Template(loaded twice)
;-)
On 20 Mai, 16:55, Jason Lotz jayl...@gmail.com wrote:
Are you using the web2py jqgrid_plugin?
http://web2py.com/plugins/default/jqgrid
On
web2py LOAD function will create generate div
id=targetLoading.../div and fills your component. I'm sorry I can't
test it right now but it seems that by adding the div/div in your
view and including the LOAD you are creating two form. Maybe try remove
your div and only keep the LOAD.
everyone should have please upgrade browser links anyways, unless
their using software that requires IE 5... *curses blackboard and
mathlab*
--
Thadeus
On Thu, May 20, 2010 at 9:20 AM, Albert Abril albert.ab...@gmail.com wrote:
On Thu, May 20, 2010 at 3:50 PM, Jonathan Lundell
You helped me a lot, man!
i´ve tried like you suggested, i only keeped the LOAD, but it´s the
same...
Page is loading the Grid, underneath the Grid rises loading and then
a new layer pops up with with the form in the default Template (Its
showed twice).
I´ve checked:
Can you explain a liitle more? You are actually seeing two forms in
the browser?
If I understand you correctly upon first loading the page you get the
grid and a form with default id. When you select a row in the grid the
default form is not reloaded with the new id but a second form
Thanks for the helpful answer!
On 20 Mai, 01:18, Yarko Tymciurak resultsinsoftw...@gmail.com wrote:
On May 19, 5:41 pm, amoygard amoyg...@gmail.com wrote:
Thanks for the answer - I was aware that I don't have to do this to
handle ajax requests in general. The application I'm building needs
http://www.scribd.com/doc/31669670/PostgreSQL-and-NoSQL
I'm slightly confused as to how to reference a field when I have the
foreign key.
table pets:
pets.id
name
category (foreign key category.id)
description
table category:
category.id
category_name
I am trying to show the category name, in my show page/function,
instead of a number.
In the
You might also look at how services are setup:
http://www.web2py.com/book/default/section/9/2
On May 20, 11:58 am, amoygard amoyg...@gmail.com wrote:
Thanks for the helpful answer!
On 20 Mai, 01:18, Yarko Tymciurak resultsinsoftw...@gmail.com wrote:
On May 19, 5:41 pm, amoygard
It will do it automatically. You should be able to do:
pet.category.name
On May 20, 12:58 pm, Yanni apoe...@gmail.com wrote:
I'm slightly confused as to how to reference a field when I have the
foreign key.
table pets:
pets.id
name
category (foreign key category.id)
description
table
On May 19, 6:18 pm, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
On May 19, 5:41 pm, amoygard amoyg...@gmail.com wrote:
So - in general, you do not start subprocesses - with the exception of
cron. Seehttp://www.web2py.com/book/default/section/4/17
I might better have said you
Yes that worked. Kinda weird :)
pet.category.category_name worked.
Thank you very much.
Yanni.
On May 20, 11:06 am, mr.freeze nat...@freezable.com wrote:
It will do it automatically. You should be able to do:
pet.category.name
On May 20, 12:58 pm, Yanni apoe...@gmail.com wrote:
I'm
to see what it looks like on a browser that does not support this, get
Opera - that will help you with development, so that you can satisfy
yourself with how you handle / see results if you _do_ use this, and
someone uses an unsupported browser.
On May 20, 10:39 am, Thadeus Burgess
On 20 mayo, 03:24, mdipierro mdipie...@cs.depaul.edu wrote:
def user():
db.auth_user.email.writable=(request.args(0)!='profile')
return dict(form=auth())
I am a novice,
1) is that way better than creating a custom form ?
2) and how about changing permissions of email record
Nice
On máj. 20, 19:52, mdipierro mdipie...@cs.depaul.edu wrote:
http://www.scribd.com/doc/31669670/PostgreSQL-and-NoSQL
Hi guys, I need to do some cross domain communication using web2py and
the only sane way I can do that is using JSONP (JSON + padding). My
question is how do I make web2py speak JSONP?
Pystar
db.define_table('me',Field('mom','reference me'),Field('name'))
me=db.me.insert(name='Kim')
me.mom=me
print me.mom.mom.mom.mom.mom.name
Kim
On May 20, 1:14 pm, Yanni apoe...@gmail.com wrote:
Yes that worked. Kinda weird :)
pet.category.category_name worked.
Thank you very much.
look at generic.json, copy into default/youraction.jsonp and add the
padding.
On May 20, 2:47 pm, Pystar aitoehi...@gmail.com wrote:
Hi guys, I need to do some cross domain communication using web2py and
the only sane way I can do that is using JSONP (JSON + padding). My
question is how do I
Tim, you were very close.
libssl-dev
-
Massimo,
I went the route of installing distutils so I could easy_install, but
once again was met with an error:
sudo easy_install ssl
Processing ssl
error: Couldn't find a setup script in ssl
Thank you for the suggestions.
I see where plenty of
Wow, I like.
On May 20, 2:28 pm, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
to see what it looks like on a browser that does not support this, get
Opera - that will help you with development, so that you can satisfy
yourself with how you handle / see results if you _do_ use this, and
Some time ago I talk about to do it.
Finally I have to do it.
It can be improved to a form in appadmin, use the model to another db
(postgresql, etc), and generate the file in /models.
You can see the code below:
--
#!/usr/bin/env python
Is there an alternative to drop down? a type ahead type of widget?
what is the crud.search() about?? I see it as part of the new release.
Any examples?
thanks
Any help on this?
On May 20, 3:45 pm, Adi aditya.sa...@gmail.com wrote:
Hi,
I use the Remember me for 30 days feature in our app. I used a
custom auth_table with a column last_login to update every time a
user logs into the application.
Currently I update it in a function call like this:
Alright now I see a little better what is going. Last night I wasn't
able to check what the jqgrid_editable_plugin really was. To my
surprise it is a very nice web2py plugin. My appologise for pushing
the jqgrid_plugin from web2py/plugins. Although a nice plugin this is
a very feature rich ready
Thank you. I will not be able to look at this until tomorrow but I
will.
On May 20, 6:37 pm, Alexandre Andrade alexandrema...@gmail.com
wrote:
Some time ago I talk about to do it.
Finally I have to do it.
It can be improved to a form in appadmin, use the model to another db
(postgresql,
yes.
from gluon.sqlhtml import AutocompleteWidget
db.define_table('mytable',
Field('person',db.person,requires=IS_IN_DB(db,db.person.id,'%
(name)s')),
...)
db.mytable.person.widget=AutocompleteWidget(request,db.person.name,db.person.id,orderby=db.person.name)
On May 20, 9:16 pm,
def index():
form,rows = crud.search(db.person)
return dict(form=form,rows=rows)
On May 20, 9:21 pm, greenpoise danel.sega...@gmail.com wrote:
what is the crud.search() about?? I see it as part of the new release.
Any examples?
thanks
need to work on this. On the case but being distracted sorry.
On May 20, 10:50 pm, Adi aditya.sa...@gmail.com wrote:
Any help on this?
On May 20, 3:45 pm, Adi aditya.sa...@gmail.com wrote:
Hi,
I use the Remember me for 30 days feature in our app. I used a
custom auth_table with a
For packaging i sugest using the http://build.opensuse.org.
Its a service where you can package for all mager distros, and have
them all in se same repo.
/T
On 18 Maj, 08:42, José L. jredr...@gmail.com wrote:
On 17 mayo, 17:32, Mark Breedveld m.breedv...@solcon.nl wrote:
I've been
57 matches
Mail list logo