> it is really annoying that the mercurial apis are poorly documented
> and broke already 3 times with mercurial updates.
Have you seen:
http://article.gmane.org/gmane.comp.version-control.mercurial.general/28839
Sincerely,
Gour
--
One who restrains his senses, keeping them under full contro
Thanks for your reply Bruno
but still its not working , it is behaving as it was.
Regards,
Naleen Yadav
GENPRO Technologies Pvt Ltd.
On Fri, Nov 11, 2011 at 11:41 AM, Bruno Rocha wrote:
> I guess you need
>
> db.define_table("tblDriver",
> Field("DriverName",'string',label='Driver Name'),
On Wed, Nov 9, 2011 at 5:14 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> auth.settings.logout_onlogout = lambda user: do_something_with(user)
Why dont we clean the specific session file/registry when user logged out?
*auth.settings.logout_onlogout = lambda user: remove_session(u
*or you can try:*
db.define_table("tblVehicle",
Field("*VehicleName_id*",db.tblVehicleName,label='Vehicle Name'),
Field("VehicleNo", default=None,label='VehicleNo'),
format=*lambda row: "%s" % row.**VehicleName_id.VehicleName* )
db.tblVehicle.VehicleName.requires=IS_IN_DB(db,'tbl
I guess you need
db.define_table("tblDriver",
Field("DriverName",'string',label='Driver Name'),
Field('id_tblVehicle', db.tblVehicle,label='Vehicle Name'))
db.tblDriver.id_tblVehicle.requires=IS_IN_DB(db, 'tblVehicle.id', '%(
VehicleName)s')
--
Bruno Rocha
[http://rochacbruno.com.br
I'm using a Users table & sessions to handle users.
db.define_table('users',
> db.Field('name', 'string'),
> db.Field('password', 'password'),#If local user
> db.Field('active', 'boolean', default=False),
> db.Field('u
It was a long day. :-)
On Nov 10, 10:59 pm, Anthony wrote:
> Of course. Don't know what I was thinking.
>
>
>
>
>
>
>
> On Thursday, November 10, 2011 11:46:01 PM UTC-5, Massimo Di Pierro wrote:
>
> > Unfortunately login_nezt is set before the login is accepted and
> > before you know what the us
Hii all,
for the past few days I was trying my hands on inheritance and i have done
single Inheritance but in case of multiple inheritance i am facing a
problem here is my code
*Model:*
*# Creating a master table for storing vehicle names.*
db.define_table("tblVehicleName",
Field("Vehi
>
> I think this primarily a problem of how web2py is being served rather
> than a web2py problem. Just the welcome app and no traffic takes 70MB
> of memory by default.
the problem is with the architecture of webserver behind web2py
processes vs threaded vs async
ok, most of recommended ways of
I think this primarily a problem of how web2py is being served rather
than a web2py problem. Just the welcome app and no traffic takes 70MB
of memory by default.
On Fri, Nov 11, 2011 at 11:59 AM, Bruno Rocha wrote:
> On Fri, Nov 11, 2011 at 12:52 AM, Richard Baron Penman
> wrote:
>>
>> I was al
Of course. Don't know what I was thinking.
On Thursday, November 10, 2011 11:46:01 PM UTC-5, Massimo Di Pierro wrote:
>
>
> Unfortunately login_nezt is set before the login is accepted and
> before you know what the use permissions are.
>
> You must set a conditional rwdirect inside the login_on
Unfortunately login_nezt is set before the login is accepted and
before you know what the use permissions are.
You must set a conditional rwdirect inside the login_onaccept
callback.
On Nov 10, 9:49 pm, Anthony wrote:
> auth.settings.login_next = URL('special') if
> auth.has_membership('superv
auth.settings.login_next = URL('special') if
auth.has_membership('supervisor') else URL('regular')
Anthony
On Thursday, November 10, 2011 10:40:40 PM UTC-5, tomt wrote:
>
> Hi,
>
> Is there a way to redirect a user to a specific controller based on
> their auth_group.role and/or auth_membershi
Hi,
Is there a way to redirect a user to a specific controller based on
their auth_group.role and/or auth_membership?
I would like a view only user to be redirected to one controller after
login, and a "supervisor" user go to a different controller after
login.
Any suggestions?
Thanks, - Tom
On Fri, Nov 11, 2011 at 12:52 AM, Richard Baron Penman
wrote:
> I was also surprised how much resources the default configuration
> uses, just for the welcome app. Seems Django has better configuration.
Avoid the use of models, try to use conditional models (subfolders) or
better, create your da
I was also surprised how much resources the default configuration
uses, just for the welcome app. Seems Django has better configuration.
I tried that static technique but haven't noticed a difference yet. I
only have the default welcome app static files.
Webfaction support recommends reducing the
look into admin/controllers/mercurial.py
it is really annoying that the mercurial apis are poorly documented
and broke already 3 times with mercurial updates.
Massimo
On Nov 9, 5:57 am, Phyo Arkar wrote:
> Hello Web2py.
>
> Recently we had a lot of talk about web2py based Trac-like app for
> Me
So thats mean Null ? Nothing we have currently ..?
On Wed, Nov 9, 2011 at 6:27 PM, Phyo Arkar wrote:
> Hello Web2py.
>
> Recently we had a lot of talk about web2py based Trac-like app for
> Mercurial. Anyone implemented it?
> What is mercurial inside web2py ? admin/views/mercurial
>
> Thanks.
>
Thank you. I also appreciate you putting your app.yaml on the code
repository - it helped me get started today (before seeing what you
had done, my own had not been customized for wsgi, just Python 2.7).
I'm definitely interested in learning the relationship between the
DAL, 2.7, and transactions.
On Thursday, November 10, 2011 7:30:38 PM UTC-5, Paolo Caruccio wrote:
>
>
> .web2py_console {position: relative;} /* for #w2p_query_panel positioning
> */
> #web2py_keywords{margin:0 5px;min-width:390px;width:62%;}
> #w2p_query_panel{width:99%;}
> #w2p_query_panel input, #w2p_query_panel select{m
Anthony,
I made some tests after your observations. (web2py Version 1.99.3
(2011-11-08 22:28:53) dev last trunk)
What do you think about the following:
.web2py_console {position: relative;} /* for #w2p_query_panel positioning */
#web2py_keywords{margin:0 5px;min-width:390px;width:62%;}
#w2p_que
Is there a way to stop sucessful CAS login to NOT create a user?
I think this normally done by "disable registration"
I want only users with an existing auth_user record to login.
Those users that successfully login through CAS but do not have an
auth_user record should be redirected.
I have CAS
My welcome and admin apps never get the updates, possibly because of this
line in the default .hgignore?
^applications/(?!(admin|examples|welcome|__init__)).*$
How can I make sure admin/welcome are getting updated
I agree, it looks great.
Does the book need to explain a bit more about how to take advantage
of such things with web2py?
I don't mean that the book should be a css or jquery tutorial, but
what I don't quite understand is the what standard html class and id
structure there is in the standard web2py
Where do you see form[1]?
What do you want to know?
What I am doing in my for loop?
Richard
On Thu, Nov 10, 2011 at 4:27 PM, Cliff wrote:
> Richard,
>
> If you have time, what happens if you substitute form[1] for
> form.create_form[0] ?
>
> Thanks,
> Cliff Kachinske
>
> On Nov 10, 4:10 pm, A
No, it returns a SQLFORM with readonly=True, in which case there's nothing
in form.vars.
On Thursday, November 10, 2011 4:22:43 PM UTC-5, lucas wrote:
>
> yes, but doesn't crud.read just return an SQLFORM, which should have
> object access to the field values, no?
With just "if form.create_form:"
It works finally... Maybe I was having other typo in my code that raise
error then since I was focusing on the problem I didn't realise that it was
for other reason...
At that I had
table = SQLFORM.grid(...)
and was verifying :
"if form.create_form:"
So for su
Sounds like a good idea. Let us know if you see differences.
-Jim
On 11/10/2011 3:18 PM, Cliff wrote:
I'm now completely confused.
Just to look at the rendered html I used smartgrid in a different
controller.
The styling looks fine.
I've got a 1.99.2 zipfile. Maybe I'll unzip it and ge
Richard,
If you have time, what happens if you substitute form[1] for
form.create_form[0] ?
Thanks,
Cliff Kachinske
On Nov 10, 4:10 pm, Anthony wrote:
> My mistake -- looks like it always has a .create_form, but set to None in
> other cases. But in that case:
>
> if form.create_form:
>
> should
yes, but doesn't crud.read just return an SQLFORM, which should have
object access to the field values, no?
I'm now completely confused.
Just to look at the rendered html I used smartgrid in a different
controller.
The styling looks fine.
I've got a 1.99.2 zipfile. Maybe I'll unzip it and get the base.css
just to make sure all is in synch.
On Nov 10, 2:27 pm, Jim Steil wrote:
> Have you start
My mistake -- looks like it always has a .create_form, but set to None in
other cases. But in that case:
if form.create_form:
should work, though I think you said that didn't work -- what happened when
you tried that?
Anthony
On Thursday, November 10, 2011 4:04:00 PM UTC-5, Richard wrote:
>
>
Ok but it's not seem to work... I get this error trace back :
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Traceback (most recent call last):
File "/web2py/gluon/restricted.py", line 194, in restricted
exec ccode in environment
File "/web2py/applications/sgddms/controllers/test.py", line 4437, in
Fi
I'd go with the second option -- more fool proof.
On Thursday, November 10, 2011 3:11:11 PM UTC-5, Richard wrote:
>
> Ok so this :
>
> "if 'new' in request.args and form.create_form:"
>
> or shorter :
>
> "if hasattr(form, 'create_form'):"
>
> ?
>
> Thank you.
>
> Richard
>
> On Thu, Nov 10, 2011
The validate function uses current.request.post_vars. However when you
redirect a submitted form it becomes a "get" rather than "post" and
request.post_vars is empty.
Is there any reason why it is not just current.request.vars?
First, you don't use form.process() with crud forms -- crud handles the
processing itself. Also, I believe that "read" forms do not have anything
in form.vars, so you'll have to get those values directly from the
submitted record.
Anthony
On Thursday, November 10, 2011 3:18:14 PM UTC-5, lucas
Hello I am trying to randomly select from entries in my database then store
that random result. The problem is its storing the wrong result (I think
its storing the previous random selection)
Any ideas how I can achieve my goal?
@auth.requires_login()
def xreflection():
game_id = request.arg
Hi Massimo,
I just ran into the same issue on GAE SQL. Any update/ideas since the
last post? I'm happy to help code/debug/brainstorm.
Thanks,
Pallav
On Oct 19, 10:53 am, Massimo Di Pierro
wrote:
> This is another of those weird mysql issues
>
> CREATE TABLE IF NOT EXISTS web2py_filesystem (path
hello everyone,
trying to understand why the pmsg below fails to pull the values of
the form ef. all i get is None for each of the three,
ef.vars.email_address, ef.vars.subject, and ef.vars.message_body. all
three are spelled correctly and the full form ef, displays all of the
proper information
Ok so this :
"if 'new' in request.args and form.create_form:"
or shorter :
"if hasattr(form, 'create_form'):"
?
Thank you.
Richard
On Thu, Nov 10, 2011 at 2:58 PM, Anthony wrote:
> If you have "if 'new' in request.args:' you should not also need "if
> form.create_form" (even if you did, yo
If you have "if 'new' in request.args:' you should not also need "if
form.create_form" (even if you did, you could simply put them in the same
"if" statement with an "and"). Alternatively, use "if hasattr(form,
'create_form'):" -- all by itself.
Anthony
On Thursday, November 10, 2011 2:48:49 P
Here a working piece of code :
def test_sqlformgrid():
form = SQLFORM.grid(db.TABLE, ui='jquery-ui',
editable=auth.has_membership('reviewer'),
deletable=auth.has_membership('reviewer'), formstyle = 'divs')
if 'new' in request.args:
if form.create_form
for i in range(0,l
It was working "if form.create_form:"...
I thought that grid use form variable doesn't matter if the SQLFORM.grid
wasn't in a form variable at all...
And my bad because I show form = crud... But it was not my SQLFORM.grid...
Arrg.
Sorry about that...
Richard
On Thu, Nov 10, 2011 at 1:26 PM, An
Mean can't...
On Thu, Nov 10, 2011 at 2:32 PM, Richard Vézina wrote:
> Yeah I can take this awful shortcut :(
>
> Thanks Anthony.
>
> Richard
>
>
> On Thu, Nov 10, 2011 at 2:27 PM, Anthony wrote:
>
>> I don't think values inside tags can include additional HTML
>> markup.
>>
>> Anthony
>>
>>
>
Yeah I can take this awful shortcut :(
Thanks Anthony.
Richard
On Thu, Nov 10, 2011 at 2:27 PM, Anthony wrote:
> I don't think values inside tags can include additional HTML
> markup.
>
> Anthony
>
>
> On Thursday, November 10, 2011 2:06:22 PM UTC-5, Richard wrote:
>
>> Ok I think you were as
Have you started a brand new app and used it, or added it to an an older
app? There were a number of css changes/additions at some point.
-Jim
On 11/10/2011 12:45 PM, Cliff wrote:
Am I missing something?
Running 1.99.2 smartgrid works but definitely needs styling. I see
the styling for
I don't think values inside tags can include additional HTML
markup.
Anthony
On Thursday, November 10, 2011 2:06:22 PM UTC-5, Richard wrote:
>
> Ok I think you were asking if it were the select html menu...
>
> Select menu and I want option to display differently...
>
> I should not used the ul
Need something like this :
http://www.web2ajax.fr/2008/02/03/facebook-like-jquery-and-autosuggest-search-engine/
Richard
On Thu, Nov 10, 2011 at 2:06 PM, Richard Vézina wrote:
> Ok I think you were asking if it were the select html menu...
>
> Select menu and I want option to display differentl
Pretty nice... Thanks Richard
On Thu, Nov 10, 2011 at 1:57 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> http://tympanus.net/Tutorials/OriginalHoverEffects/index.html
Ok I think you were asking if it were the select html menu...
Select menu and I want option to display differently...
I should not used the ul li helper... I just copied this lambda from
somewhere else in my code to try something and ul li seems to cause
confusion in this context. I want to have
Technically the flashbuilder service is wrong because it does not
understand unicode escaping.
Anyway, I changed the behavior for XML. Check trunk.
On Nov 10, 12:39 pm, eric tchonfene wrote:
> The XML is being parsed by a Flashbuilder app and yes the apostrophe
> showing up that way is causin
On Thursday, November 10, 2011 12:29:58 PM UTC-5, Massimo Di Pierro wrote:
>
> Yes but there is nothing wrong with that. Your page is in unicode and
> that is the right way to represent the apostrophe un unicode.
>
> Does it show an postrophe when you look at it?
>
Massimo, he's generating XML t
On Thursday, November 10, 2011 1:39:01 PM UTC-5, africanacloud wrote:
>
> The XML is being parsed by a Flashbuilder app and yes the apostrophe
> showing up that way is causing a problem.
>
Is JSON an option? I don't think the JSON serializer does any escaping.
Anthony
http://tympanus.net/Tutorials/OriginalHoverEffects/index.html
Am I missing something?
Running 1.99.2 smartgrid works but definitely needs styling. I see
the styling for web2py grid in base css and grid looks fine.
Smartgrid not so much.
The XML is being parsed by a Flashbuilder app and yes the apostrophe
showing up that way is causing a problem.
On Thu, Nov 10, 2011 at 12:28 PM, Anthony wrote:
> On Thursday, November 10, 2011 12:42:42 PM UTC-5, africanacloud wrote:
>>
>> When I look at the data in the database it shows up jus
On Thursday, November 10, 2011 1:31:04 PM UTC-5, Richard wrote:
>
> Yes!
It was an either/or question. Is it a or a based menu?
Yes!
Richard
On Thu, Nov 10, 2011 at 1:20 PM, Anthony wrote:
> When you say "dropdown", is it a element, or some kind of JS or
> CSS menu based on a ?
>
>
> On Thursday, November 10, 2011 12:55:57 PM UTC-5, Richard wrote:
>
>> I have a dropdown, I use to represent the id of the linked table wi
On Thursday, November 10, 2011 12:42:42 PM UTC-5, africanacloud wrote:
>
> When I look at the data in the database it shows up just fine (Lady's
> room) the error only happens when I am trying to view data as xml I get
> Lady'sRoom.As I said I am new to web2py so I need to do some reading
> to
On Thursday, November 10, 2011 12:42:49 PM UTC-5, Richard wrote:
>
>
> "if 'new' in request.args:" works (allow to load the grid) but the "if
> form.create_form:" not work alone or in conjunction with the former
>
Yeah, looks like it would have to be something like "if hasattr(form,
'create_form
When you say "dropdown", is it a element, or some kind of JS or
CSS menu based on a ?
On Thursday, November 10, 2011 12:55:57 PM UTC-5, Richard wrote:
>
> I have a dropdown, I use to represent the id of the linked table with the
> reprensent I wrote... Now the dropdown witdh get pretty large be
Responding to my own post... I found the problem by using tethereal to
capture the exchange between my server and the Active Directory
server.
I was under the mistaken impression that because the web2py LDAP
authentication does not require binding information that the AD server
had been configure
Ticket created
http://code.google.com/p/web2py/issues/detail?id=508
On 11/10/2011 11:33 AM, Massimo Di Pierro wrote:
please repost problems asap about it. I have made some backward
incompatible changes to the grid/smartgrid in order to clean up the
API and updating the book.
the columns argum
I have a dropdown, I use to represent the id of the linked table with the
reprensent I wrote... Now the dropdown witdh get pretty large because of
user data that I need to concatenate to make thing clear on what will be
selected... User use to duplicate the unique key of the foreight table
since qu
When I look at the data in the database it shows up just fine (Lady's room)
the error only happens when I am trying to view data as xml I get
Lady'sRoom.As I said I am new to web2py so I need to do some reading
to understand the tool.
On Thu, Nov 10, 2011 at 11:29 AM, Massimo Di Pierro <
massimo.d
On Nov 10, 2011, at 9:40 AM, pallav wrote:
> Thank you. Am testing it out now.
>
> On Nov 3, 8:48 pm, Jonathan Lundell wrote:
>> There's now a new version of app.example.yaml in the trunk. If you're
>> working with the Google App Engine, read on.
>>
>> GAEhas been evolving a bit, and now suppo
On Thu, Nov 10, 2011 at 12:26 PM, Anthony wrote:
> On Thursday, November 10, 2011 12:25:09 PM UTC-5, Anthony wrote:
>>
>>
>> When you first call this function, there will be no form.create_form
>> because it's just generating the grid. When you click on the "Add" button,
>> it should call this sa
On Nov 10, 2011, at 9:32 AM, pallav wrote:
>> web2py is normally multithreaded when running as a WSGI app (as with its
>> internal Rocket server, or Apache mod_wsgi). GAE is just catching up.
>> One GAE consideration, though, is that while normally requests within the
>> same web2py session are
Thank you. Am testing it out now.
On Nov 3, 8:48 pm, Jonathan Lundell wrote:
> There's now a new version of app.example.yaml in the trunk. If you're working
> with the Google App Engine, read on.
>
> GAEhas been evolving a bit, and now supports Python 2.7 (vs 2.5). The new
> app.example.yaml is
Working up some test cases now and will submit tickets.
-Jim
On 11/10/2011 11:33 AM, Massimo Di Pierro wrote:
please repost problems asap about it. I have made some backward
incompatible changes to the grid/smartgrid in order to clean up the
API and updating the book.
the columns argument
please repost problems asap about it. I have made some backward
incompatible changes to the grid/smartgrid in order to clean up the
API and updating the book.
the columns argument is gone because it was redundant. we have fields.
I have added some params.
On Nov 10, 11:16 am, Jim Steil wrote:
>
Lots of typos have been fixed. Will post a book ed 3.3 shortly
On Nov 10, 11:19 am, mikech wrote:
> So can we assume that the typos we see there now, have not been reported?
> web2py is normally multithreaded when running as a WSGI app (as with its
> internal Rocket server, or Apache mod_wsgi). GAE is just catching up.
> One GAE consideration, though, is that while normally requests within the
> same web2py session are serialized, that is not the case on GAE.
Thanks
Yes but there is nothing wrong with that. Your page is in unicode and
that is the right way to represent the apostrophe un unicode.
Does it show an postrophe when you look at it?
On Nov 10, 9:04 am, eric tchonfene wrote:
> This the result I get when I call the function
> this the xml that I get
Got a little embarrassment here.
In an earlier post I wrote something incorrect, as follows:
# even more
# for those times when the grid default form isn't sufficient
form = SQLFORM(db.sometable, .)
if form.accepts(...) #old method, I know
yada
yada
return dict(form=
On Thursday, November 10, 2011 12:25:09 PM UTC-5, Anthony wrote:
>
>
> When you first call this function, there will be no form.create_form
> because it's just generating the grid. When you click on the "Add" button,
> it should call this same function, but with "new" as one of the URL args.
> S
On Thursday, November 10, 2011 10:52:42 AM UTC-5, Richard wrote:
>
> def test_sqlformgrid():
> table = SQLFORM.grid(db.TABLE, ui='jquery-ui',
> editable=auth.has_membership('reviewer'),
> deletable=auth.has_membership('reviewer'), formstyle = 'divs')
> for i in range(0,len(form.create_for
I don't understand -- where is that ul supposed to go? What field are your
representing? What is the "default navigator drop box"?
On Thursday, November 10, 2011 12:03:27 PM UTC-5, Richard wrote:
>
> Workin in console :
>
>
> In [1]: test123 = 'test/test2/test3/'
>
> In [2]: test123
> Out[2]: '
So can we assume that the typos we see there now, have not been reported?
Hi
I've been using SQLFORM.smartgrid for some time now. I updated to the
latest trunk this morning and am now having a number of different issues
with code unchanged from yesterday.
Are there changes pending and I should hold off reporting problems, or
should I start going through them?
I had the same problem with webfaction - be sure to set your static files
to be delivered by ngenix or apache.
I followed the info in the link above and it reduced my memory usage
However I have both a Django and a Web2py instance set up on my account and
Web2py takes more memory for my a small
Hello Anthony,
I am trying to do something bizzard... I would like to have your advice if
it's even possible :
represent=lambda value, row: (value!=None and XML(UL(*[ LI(v) for v in
value.split('/') if v != '' ]))) or 'None'
I would like the default navigator drop box to display html stuff is th
Workin in console :
In [1]: test123 = 'test/test2/test3/'
In [2]: test123
Out[2]: 'test/test2/test3/'
In [3]: for v in test123.split('/'):
...: if v != '':
...: v
...:
...:
Out[3]: 'test'
Out[3]: 'test2'
Out[3]: 'test3'
In [4]: XML(UL(*[ LI(v) for v in test123.split('/'
Hi Richard,
This thread:
http://groups.google.com/group/web2py/browse_thread/thread/ce28ccceb29a459/e2d7471f2894b177
... provide two solutions to reduce memory usage.
Kind regards,
Annet.
>I still need to click login
> button right now.
Just add
@auth.login_required
on top of the controller functions you want to auto login from in the
consumers and if you are logged in at the CAS provider you will get
logged in here as well (I believe this what you are describing you
want to do now
Hi here!
I am experimenting with the smartgrid. Very nice time-saving feature
which reminds me why I love web2py! ;-)
(I believe there is still no doc about grid and/or smartgrid?)
I have a problem with linked_tables.
The model looks like this:
db.define_table('person',Field('name'))
db.define_
Fix, in case anyone interested:
--- a/custom_import.py 2011-10-01 12:03:20.0 +0200
+++ b/custom_import.py 2011-11-10 16:22:29.466847323 +0100
@@ -11,7 +11,7 @@
def custom_import_install(web2py_path):
global _web2py_importer
global _web2py_path
-if _web2py_import
On Thu, 2011-11-10 at 04:03 -0800, Anthony wrote:
> On Thursday, November 10, 2011 6:58:44 AM UTC-5, Samuele Santi wrote:
> Why are always the more useful things undocumented??
>
> This is not any kind of official web2py method -- it's a general
> method available in Linux for copy
Here is the change I made in my code to accommodate:
Old code:
columns=['assetType.name']
New code:
fields=[db.assetType.name]
Other than that, seems like they work the same. Can anyone provide a
deeper explanation of the differences?
-Jim
On 11/10/2011 9:17 AM, Jim Steil wrote:
Hi
I did it like this (using the jQuery adapter to start CKEditor):
$(function() {
var toolbar = [
{ name: 'document',items : [ 'Source' ] },
{ name: 'clipboard', items : [
'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
{ name: 'links',
Hello Anthony,
Are they flowing by the function where the SQLFORM.grid is calling or do I
have to modify the grid class into sqlhtml.py?
I naively try this that didn't work :
def test_sqlformgrid():
table = SQLFORM.grid(db.TABLE, ui='jquery-ui',
editable=auth.has_membership('reviewer'),
dele
It does not work that way in 1.99.2.
On Nov 10, 10:17 am, Jim Steil wrote:
> Hi
>
> I just updated my web2py from trunk today and noticed that the columns
> arg in SQLFORM.grid is gone. I was using it to specify which fields to
> display in my grid. Can the 'fields' arg be used the same as colu
On Thursday, November 10, 2011 10:17:20 AM UTC-5, Jim S wrote:
>
> Can the 'fields' arg be used the same as columns?
>
Based on the comments in the new code, looks like that is the intention.
I am a bit bemused, surely the reason for using ckeditor is to have
wysiwyg editing. Yet I have tried both the slices version and the the
plugin of ckeditor and they both just seem to allow editing but with
no toolbar for emboldening etc. I woudl have thought the defualt ought
to include this.
I h
Hi
I just updated my web2py from trunk today and noticed that the columns
arg in SQLFORM.grid is gone. I was using it to specify which fields to
display in my grid. Can the 'fields' arg be used the same as columns?
-Jim
Other css rules are related to the specific case and override the general
css rules applied to web2py_grid.
But I'm agreed with you: the best solution is to give a class or an id to
the container div.
Paolo
This the result I get when I call the function
this the xml that I get back my apostrophe is changed to '
Lady'sRoom
On Thu, Nov 10, 2011 at 8:31 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> There are two warnings in this page:
> http://www.pythonsecurity.org/wiki/web2py/?version=
Ah ha!
This works like a charm, makes sense
auth.settings.controller = 'plugin_user_admin'
thanks
On Wednesday, November 9, 2011 5:11:40 PM UTC-5, Richard wrote:
>
>
> Now I would like to know how I can intercept the html form before it get
> in the face of the user... I mean I use to do this hack to show user help
> bubble to the user :
>
>
> form = crud.create(db[request.args(0)])
> for i i
1 - 100 of 137 matches
Mail list logo