No, I don't.
So does TD supposed to work as a variable or list?
And what if I'd like to use form.element again? Do I append another
form.element to TD and us it as a list?
How do I address the value that is assigned to TD: TD[0], TD[1] and
why is it "TD" in the first place?
Is out there some descri
inline edit wont work with web2py ??
why would it wont??
On Tue, Jul 6, 2010 at 5:38 AM, Johann Spies wrote:
> On 6 July 2010 00:56, mdipierro wrote:
> > At this time jqgrid only communicates (via ajax) when you change page.
> > The web2py plugin does not support in-place edit even if jqgrid do
On 6 July 2010 00:56, mdipierro wrote:
> At this time jqgrid only communicates (via ajax) when you change page.
> The web2py plugin does not support in-place edit even if jqgrid does.
>
> You can find lots of examples in this app. This is a nice app
> developed by the book with the plugin.
>
> htt
Do you have somewhere in your code TD=something ?
On 6 juil, 01:18, elfuego1 wrote:
> Can you please tell me yet how to implement it, so it would start
> working in my form and verify the password?
> When I add it to view: user.html or controller default.py then I
> receive:
> TypeError: 'TD' obj
I'm working on a variation of an opinion poll application. Maybe I
missed this, but what is the best way to update multiple tables with
one form? SQLFORM and CRUD work well, but assume that a single table
is being updated. On submit, I would like to insert the current user's
ID and his answer into
FUN! But who is "we"?
BR,
Jason Brower
On Mon, 2010-07-05 at 15:42 -0700, mdipierro wrote:
> http://www.web2py.com/examples/static/markmin.html
>
Can you please tell me yet how to implement it, so it would start
working in my form and verify the password?
When I add it to view: user.html or controller default.py then I
receive:
TypeError: 'TD' object is not callable
So please let me know how to use form.element syntax to make it work
proper
Thank you!! ;-)
I thought no one will answer this.
On 1 Lip, 03:52, Richard wrote:
> http://code.google.com/p/web2py/source/browse/gluon/tools.py
> At line 1866 of gluon/tools.py you will find:
>
> if not self.settings.mailer:
> response.flash = self.messages.function_disabled
> return
At this time jqgrid only communicates (via ajax) when you change page.
The web2py plugin does not support in-place edit even if jqgrid does.
You can find lots of examples in this app. This is a nice app
developed by the book with the plugin.
http://web2py.com/appliances/default/show/63
Massimo
http://www.web2py.com/examples/static/markmin.html
As far as i have seen, web2py properly prevents a lot of
vulnerabilities, and it could continue doing it. By now it seems
sufficient.
In practice, the most common place you may need to write in Caja is
when creating Opensocial gadgets. Some opensocial containers (such as
YAP, Shindig, iGoogle, Code
I am a javascipt and jquery novice and would appreciate some
information to help me understand how to use a jqgrid-plugin.
My questions are overlapping in some cases.
1. How does jqgrid communicate with the backend database?
2. Do I have to put special mechanisms in place to make sure that
change
My twisted words just show my twisted mind during my learning rocket-
science. :-) I guess I was trying to express, the design goal is (1),
the implementation is (2), therefore the long run server side
calculation such as (3) is allowed, rather than being terminated early
which is a typical misund
you can also find info here:
http://web2py.com/book/default/section/4/1?search=shell
The help option to web2py is most likely to be current.
On Jul 5, 12:20 pm, Jean-Guy wrote:
> Hello,
>
> How may I use web2py with ipython shell?
>
> I use this command to start ipython with my app :
>
> python
On Jul 5, 12:20 pm, Jean-Guy wrote:
> Hello,
>
> How may I use web2py with ipython shell?
... if you have ipython installed, web2py shell should pick it up.
>
> I use this command to start ipython with my app :
>
> python web2py.py -a '' --shell=APP_NAME -i 127.0.0.1 -p 8000
try:
python web2py
Hello,
How may I use web2py with ipython shell?
I use this command to start ipython with my app :
python web2py.py -a '' --shell=APP_NAME -i 127.0.0.1 -p 8000
But db and controller functions are not availables.
Jonhy
Hi There,
Any updates or adises on my case ?
Thx
On Sat, Jul 3, 2010 at 5:39 PM, Swell wrote:
> ok i hae done that and it complains about
> IOError: [Errno 2] No such file or directory:
> 'a
>
Thank you... I Like your answers precises and consises...
Jonhy
On 2010-07-02 03:30, mdipierro wrote:
RL(r=request, c='controller_name', f='index')
Try these:
http://www.stickpeople.com/projects/python/win-psycopg/
make sure you use web2py from source since thwe web2py binary will not
see your installed driver.
On 5 Lug, 07:52, Abhinav S wrote:
> I configured Postgresql to listen on Port 4 for my application,
> but I am unable to acces
I configured Postgresql to listen on Port 4 for my application,
but I am unable to access the db from web2py. I can access it from
Command Prompt however. Tried installing psycopg2-2.0.14 but still no
luck. Any help?
Two problems...
1) You should use this:
{{=form.custom.begin}}
{{=form.custom.widget.fieldname1}}
{{=form.custom.widget.fieldname2}}
{{=form.custom.widget.fieldname3}}
...
{{=form.custom.end}}
2)
{{=form.custom.widget.fieldname1}} only displays the INPUT widget for
the fieldname1 field. You need
will take a look. I never heard of it before.
On 5 Lug, 07:31, GoldenTiger wrote:
> When i shared "elfinder", you liked a lot,
> I hope you like google-caja
>
> Google's Caja project allows mutually untrusting and untrusted web
> applications to run in the same context and allows them to safely
>
I don't have the code infront of me right now, but out of the top of
my head - it looks like that:
#view
{{=form.custom.begin}}
{{=form[0][0]}}
{{=form[0][1]}}
{{=form[0][2]}}
{{=form[0][3]}}
...
{{=form.custom.end}}
On 5 Lip, 13:51, mdipierro wrote:
> Can you post an example of your custo
No, i live at spain, thanks a lot :)
On 5 jul, 14:22, mdipierro wrote:
> Are you in uk?
>
> On 5 Lug, 07:15, GoldenTiger wrote:
>
> > I had a great desire to go ... but I can't :_( for economic
> > reasons, i have no job for now so i am looking for individual
> > customers who want a god we
When i shared "elfinder", you liked a lot,
I hope you like google-caja
Google's Caja project allows mutually untrusting and untrusted web
applications to run in the same context and allows them to safely
communicate by regular JS function calls and reference passing. It
provides tools that rewrite
Are you in uk?
On 5 Lug, 07:15, GoldenTiger wrote:
> I had a great desire to go ... but I can't :_( for economic
> reasons, i have no job for now so i am looking for individual
> customers who want a god web (companies asking django, i abandoned
> django forever)
> do you know rentacoder.com
THX, that was damn fast!
I´ll try it later and will let you know if it works.
Dieter Asman
On Jul 5, 2:00 pm, mdipierro wrote:
> I have fixed it an uploaded. Please give it a try.
>
> On 5 Lug, 04:07, AsmanCom wrote:
>
> > I´ve elready tried to change the controller/plugin_jqgrid.py, by
> > re
I had a great desire to go ... but I can't :_(for economic
reasons, i have no job for now so i am looking for individual
customers who want a god web (companies asking django, i abandoned
django forever)
do you know rentacoder.com or another web like that? maybe i'll look
for a job in it
O
yeah, DAL would be good. What is DAL and how it differs from others?
On 2 Temmuz, 09:12, Richard wrote:
> perhaps the DAL - new and upcoming features
>
> On Jul 2, 1:43 am, mdipierro wrote:
>
>
>
> > I just discovered I will be giving a tutorial about web2py at
> > EuroPython in two weeks.
> > I
many thanks for your help,
Frank
I have fixed it an uploaded. Please give it a try.
On 5 Lug, 04:07, AsmanCom wrote:
> I´ve elready tried to change the controller/plugin_jqgrid.py, by
> replacing
>
> table=db[tablename]
> if request.vars.fieldname:
> dbset =
> db(table[request.vars.fieldname]==request.vars.fieldvalue
You have some options
labels=[db.mytable[f].label for f in db.mytable.fields]
you can do
form=SQLFORM(db.table)
labels = form.custom.labels.values()
On 5 Lug, 05:09, Frank wrote:
> hi,
>
> I want to know if there is a easy way to get the list of labels of db.invoice,
>
> I know that we can
Hi, selecta
Do you have a fixed version?
--
Kuba
Mmm let me thinking about...
I'd avoid ckeditor if sharing with untrusted users, it's not intended
for that use http://www.google.es/search?hl=es&source=hp&q=ckeditor+xss
If you feel unsecure, don't worry, I know the most secure way of
preventing XSS: google-caja http://code.google.com/p/google-
This is a design problem..
db should be table._db
I will fix it and repost the plugin.
On 5 Lug, 04:07, AsmanCom wrote:
> I´ve elready tried to change the controller/plugin_jqgrid.py, by
> replacing
>
> table=db[tablename]
> if request.vars.fieldname:
> dbset =
> db(table[request.va
Can you post an example of your custom form?
On 5 Lug, 03:19, elfuego1 wrote:
> Hello,
>
> I try to give my custom form sense of order. Unfortunatelly all the
> input fields are out of order.
> When I generate form usign {{=form}} syntax, all fields are displayed
> nice and clean but in custom fo
I got it to work on one server instance but on another it just always
returns None
hmmm
On Jul 5, 1:43 pm, Kuba Kucharski wrote:
> this appliance is awfully bugged with indentation errors more than 40
> errors inside?
>
> --
> Kuba
this appliance is awfully bugged with indentation errors more than 40
errors inside?
--
Kuba
hi,
I want to know if there is a easy way to get the list of labels of db.invoice,
I know that we can do "db.invoice.fields" to get the list of field names,
can I do the silmilar thing like "db.invoice.labels" or
"db.invoice.field.labels" to get the list of labels?
I try both but fail. please
perfect thanks
what I did to also show the fields is
table.created_on.update = record.created_on = request.now
table.edited_by.update = record.edited_by = auth.user.id
On Jul 3, 12:42 am, mdipierro wrote:
> You can change the value of fields that are not writable.
>
> You have to set db.table.f
Here is some sample code using these features.
I have tested it, although the following is slightly edited from what
I tested:
try:
from gluon.contrib.gql import * # if running on Google App
Engine
except:
db=SQLDB('sqlite://storage.db')
datastoretype = 'SQL'
else:
db=GQLDB
I´ve elready tried to change the controller/plugin_jqgrid.py, by
replacing
table=db[tablename]
if request.vars.fieldname:
dbset =
db(table[request.vars.fieldname]==request.vars.fieldvalue)
else:
dbset = db(table.id>0)
with:
table=db_1[tablename]
if request.vars.fieldn
Hi,
I try to get the JQGrid Plugin (http://www.web2py.com/plugins/default/
jqgrid) to work with multiple Databases.
Like this:
db_1 = DAL("sqlite://db1.db")
db_2 = DAL("sqlite://db2.db")
db_3 = DAL("sqlite://db3.db")
plugin_jqgrid(db_1.shout)
But the Grid is empty.
If I do it like that, it
Hello,
I try to give my custom form sense of order. Unfortunatelly all the
input fields are out of order.
When I generate form usign {{=form}} syntax, all fields are displayed
nice and clean but in custom form it's all shifted, skew. Input fields
are glued to the label.
How can I align input field
Now I understand the problem. Hmmm.. this needs a change in Auth/Mail.
let me think about it.
On 4 Lug, 20:09, Richard wrote:
> hi Massimo,
>
> sending email directly with the mail API isn't the problem.
> The problem (as explained in the initial post) is for emails sent by
> auth. Auth requires
45 matches
Mail list logo