Hi Massimo,
I was unable to track down when the "options()" function is called/
used in the HTML SELECT helper. Can you enlighten me? I know what is
for, I just would like to know when and at which poit it is called.
Thanks
--~--~-~--~~~---~--~~
You received this
What version are you using? I don't have a a SELECT.options() method
in my source?!
I just have options() methods in the IS_IN_SET and IS_IN_DB
validators.
On Dec 1, 8:06 am, voltron <[EMAIL PROTECTED]> wrote:
> Hi Massimo,
>
> I was unable to track down when the "options()" function is called/
sorry. orderby not _orderby
On Dec 1, 1:45 am, SergeyPo <[EMAIL PROTECTED]> wrote:
> I also thought so but here is what happens:
>
> File "/Users/vasilina/Documents/Development/ADVANTAGE/web2py/
> applications/advantage/controllers/radar.py", line 37, in data_storage
> time_based_details = db
I do not understand the Italian words in your posts, but I think I am
facing the same problem. My problem is narrowed down to
standardization tables. In most cases I implement the first solution,
that is when the content of standardization tables is not displayed in
the view and only bears relevan
Bill is correct. There is no options in SELECT and IS_IN_SET.options
is not called by select. It is called only by the constructor of
SQLFORM in gluon/sqlhtml.py. You can call it explicitly:
db.table.field.requires=IS_IN_SET(['a','b','c'])
SELECT(*[OPTION(v,_value=k) for k,v in db.table.field.re
On Windows, the device NUL: is like /dev/null, and CON: is like /dev/tty(note
the colon, ":").
On Sun, Nov 30, 2008 at 2:08 AM, Iceberg <[EMAIL PROTECTED]> wrote:
>
> Hi pals,
>
> Is there any updated news about this topic? My web2py application is
> almost finished and I am now facing the same
The only reason I can see for allowing references on a field other
than id is if you are de-normalizing, i.e. duplicating some data from
a reference table into your primary table to save a join. I'm not
sure how common this is and I would be tempted to stipulate that the
reference was still by id
hello everybody, my web2py application will interchange data with an
ERP system. On this system all the fields of type string contain only
capital letters. It would be nice for me if the values of type string
inserted in a web2py form could be directly converted in capital
letters. How to manage t
Not sure if it applies here, but you can have multi-column (primary)
keys in some DBMS and that can cause some headache with regard to
id's.
On Dec 1, 11:11 am, billf <[EMAIL PROTECTED]> wrote:
> The only reason I can see for allowing references on a field other
> than id is if you are de-normali
achipa
you're right but isn't the second rule of web2py "every table must
have a unique id field".
(the first rule of web2py being "you do talk about web2py")
On Dec 1, 11:01 am, achipa <[EMAIL PROTECTED]> wrote:
> Not sure if it applies here, but you can have multi-column (primary)
> keys in s
Oops, yes you are right, its only in the validator. Thanks
On Dec 1, 10:00 am, mdipierro <[EMAIL PROTECTED]> wrote:
> Bill is correct. There is no options in SELECT and IS_IN_SET.options
> is not called by select. It is called only by the constructor of
> SQLFORM in gluon/sqlhtml.py. You can call
You can use the python string function
myString.capitalize()
http://www.python.org/doc/2.5.2/lib/string-methods.html
I hope this is what you are after
On Dec 1, 11:14 am, Marco Prosperi <[EMAIL PROTECTED]> wrote:
> hello everybody, my web2py application will interchange data with an
> ERP sys
Thanks, Achipa.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED
Denes,
Thanks for your reply, it was very helpful.
As to your question, the answer is in my comment to this post:
http://groups.google.com/group/web2py/browse_thread/thread/f24fa2b73cc927f2/e2fad1db1810b75e#e2fad1db1810b75e
I hope you will help me solve the following problem as well. The dro
I don't know whether jquery might be useful (it's a black art to me)
but you can acheive what you want with a combination of javascript and
css.
text-transform on its own only displays uppercase but send exactly
what the user typed. The onblur action actually changes what the user
typed to upp
Billf: if you read well my post you see that i never spoke about any
affectation. All i meant it was that i didn't see anything strange in
creating more indexes in the same table (different from id). And that
i didn't see anything strange in creating relationship with these
indexes. I said what in
Not actually.
"Internal Error" is HTTP error 500
"Invalid Path", "Invalid Function", "Invalid Controller", "Invalid
Application" are all HTTP error 400
404 is only returned for requests for missing static files.
-tim
mdipierro wrote:
Didn't we address this in the page below?
http://grou
1) did you experience any scalability problems with web2py?
None, but I foresee some maintenance issues concerning the template
system. This complaint of mine isn't specific to web2py but
fundamental to all text-based templating systems. Try to read some of
the templates. IMHO, they are l
Got it! Looking forward to finishing my first non-example app. Thanks.
On Nov 29, 10:46 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> I did not put any limitation on it and I believe lulu did not either.
>
> Please do not redistribute it or post it else I may run into trouble
> with the editor.
>
>
Annet,
On Dec 1, 3:57 am, annet <[EMAIL PROTECTED]> wrote:
> The second solution makes displaying addresses and services a lot
> easier, and, I guess, enables me to implement the city and service
> fields as auto-complete fields (a problem I have not solved yet), not
> as drop boxes. However, the
Really enjoying the book, but I feel the printer crop marks are really
annoying.
Is there any way to remove them?
--
$ echo "kpfmAdpoofdufevq/dp/vl" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Use the validator IS_UPPERCASE(). It converts the input in upper case.
On Dec 1, 7:54 am, billf <[EMAIL PROTECTED]> wrote:
> I don't know whether jquery might be useful (it's a black art to me)
> but you can acheive what you want with a combination of javascript and
> css.
>
> onblur="this.value
sorry. IS_UPPER()
On Dec 1, 10:13 am, mdipierro <[EMAIL PROTECTED]> wrote:
> Use the validator IS_UPPERCASE(). It converts the input in upper case.
>
> On Dec 1, 7:54 am, billf <[EMAIL PROTECTED]> wrote:
>
> > I don't know whether jquery might be useful (it's a black art to me)
> > but you can
thanks, a lot. I was looking for a solution at this level
On 1 Dic, 17:13, mdipierro <[EMAIL PROTECTED]> wrote:
> Use the validator IS_UPPERCASE(). It converts the input in upper case.
>
> On Dec 1, 7:54 am, billf <[EMAIL PROTECTED]> wrote:
>
> > I don't know whether jquery might be useful (it's
For all those curious about Joel's sig, but too cautious to run it and
not enough time to figure it out, it's his email address.
Since this is a Python community, the equivalent is:
print ''.join([chr(ord(x)-1) for x in 'kpfmAdpoofdufevq/dp/vl'])
=)
Joel Merrick wrote:
Really enjoying the
Well, the ugly solution for that would be a default 'literal=True'
parameter in the constructor. It still feels wrong for the user to do
the urlencode, as then it's already inconsistent with URL() and many
other places where web2py does this automatically.
What about the other tags ? For example
Yes, we can do that. Can you send me a patch?
Massimo
On Dec 1, 10:27 am, achipa <[EMAIL PROTECTED]> wrote:
> Well, the ugly solution for that would be a default 'literal=True'
> parameter in the constructor. It still feels wrong for the user to do
> the urlencode, as then it's already inconsist
Massimo has posted a more recent Genshi4web2py.py module in AlterEgo
for me. If you use (want to use) Genshi with web2py, you can get it
from:
http://mdp.cti.depaul.edu/AlterEgo/default/show/162
This new version adds cache support (for a large speed boost) and full
Genshi rendering options
What is the best link for a quick intro of how to use genshi templates
with web2py? I don't mean install/configure but examples of actual
controllers/templates/outputs.
On Dec 1, 4:53 pm, Timothy Farrell <[EMAIL PROTECTED]> wrote:
> Massimo has posted a more recent Genshi4web2py.py module in Alt
Annet,
to create an auto-complete field in form_factory I would use a widget,
as in:
form=form_factory(SQLField('plaatsnaam',
label='Type eenplaatsnaam',
requires=IS_NOT_EMPTY(),
widget=lambda self, value:TAG[''](
INPUT(_class="string",
_id="plaatsnaam",
_n
Dear Massimo;
I was been busy and out of touch from web2py (i have to do java :( which i
am playing with to make an applet for a project for a CCTV camera) But On
Server side it will be python + web2py! :)
Damn , wish i can get this project done quick! i want to release Web2py OS
fast.
Ah! thats
I'm just testing the new register function and I'm doing it with wsgi and I get:
onaccept=onaccept2,next=next)
File "applications/plugin_t2/modules/t2.py", line 385, in create
if onaccept: onaccept(form)
File "applications/plugin_t2/modules/t2.py", line 794, in onaccept2
message=b
I just tried the verify registration. There is no From: address and it says:
Click here ...code... to complete registration
but there is nothing to click on.
-wj
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"w
I set the a student email to the t2.person email address when they
submit a form. Is there an easy way to update the t2.person email
address if the student changes the email address in their data form?
Actually, maybe I could put the t2.person field in that spot on the
student form instead of ha
I did not state it quite right. I did a Content Management System for
the UN in Django (www2.un.int). Myanmar among other nations used. I
did not work for any specific government and did not deal with
content. The idea was to provide a way so that every nation at the UN
would have a web presence (
It seems a left a debug print statement on failure to send emails. I
will remove it.
Massimo
On Dec 1, 12:29 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
> I'm just testing the new register function and I'm doing it with wsgi and I
> get:
>
> onaccept=onaccept2,next=next)
> File "applicatio
You need to tell t2 where the registration is done in the body of the
email:
t2.messages.register_email_body="Click here
http://hostname/yourapp/default/verify?key=%(registration_key)s to
complete registration"
Massimo
On Dec 1, 12:34 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
> I just tried th
you can do
def myaccept(form):
if form.vars.email!=form.record.email:
... do soemthing, perhaps: db
(db.t2_person.id==form.vars.person_id).update()
t2.update(...,onaccept=myaccept)
Massimo
On Dec 1, 12:56 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
> I set the a student email t
Ugh! Jahia ==> Java CMS
There is an open source (community) and a commercial version
On Mon, Dec 1, 2008 at 12:56 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> I did not state it quite right. I did a Content Management System for
> the UN in Django (www2.un.int). Myanmar among other nat
Also note that your Genshi templates (views) must be valid XML. If
they aren't Genshi will raise an exception.
There's a URL in the PDF of Genshi's Documentation website. It's ok,
but could use some attention. Feel free to ask me questions.
-tim
Timothy Farrell wrote:
The article in
Hi all,
This is my first post... I was playing with the SQL Designer page and
couldn't click on the "Setting" button to check how to import. Wanted to
know if the import functionality is working in cases I need to change the
schema?
--~--~-~--~~~---~--~~
You
No, sorry.
On Dec 1, 1:25 pm, "Mario Lim" <[EMAIL PROTECTED]> wrote:
> Hi all,
> This is my first post... I was playing with the SQL Designer page and
> couldn't click on the "Setting" button to check how to import. Wanted to
> know if the import functionality is working in cases I need t
JAVA CMS .. OMG ...
On Mon, Dec 1, 2008 at 7:18 PM, Yarko Tymciurak <[EMAIL PROTECTED]> wrote:
> Ugh! Jahia ==> Java CMS
> There is an open source (community) and a commercial version
>
>
> On Mon, Dec 1, 2008 at 12:56 PM, mdipierro <[EMAIL PROTECTED]>wrote:
>
>>
>> I did not state it
Have a look at this:
http://groups.google.com/group/web2py/browse_thread/thread/de4e11460140066a/52fc8b7e498d71fb?lnk=gst&q=sqldesigner#52fc8b7e498d71fb
This will generate some web2py code for you. I don't remember if the
backend part works / was tested,
but once you see the code you may find i
On a related note I Am in the process of porting SQL Designer to a
web2py app on google appengine.
http://gaesql.appspot.com
Right now I have streamlined the export process and am using it as a
tool to learn web2py better, I have a basic save backend in process on
my laptop.
I'll look into writi
http://designer.bojanka.net/
and yes it is already on GAE...
On Mon, Dec 1, 2008 at 9:30 PM, jwm <[EMAIL PROTECTED]> wrote:
>
> On a related note I Am in the process of porting SQL Designer to a
> web2py app on google appengine.
>
> http://gaesql.appspot.com
>
> Right now I have streamlined the
Excellent!
On Dec 1, 2:30 pm, jwm <[EMAIL PROTECTED]> wrote:
> On a related note I Am in the process of porting SQL Designer to a
> web2py app on google appengine.
>
> http://gaesql.appspot.com
>
> Right now I have streamlined the export process and am using it as a
> tool to learn web2py better,
Boris,
Looks like you had the thought before I did, Good Job!
J
On Dec 1, 2:39 pm, "Boris Manojlovic" <[EMAIL PROTECTED]>
wrote:
> http://designer.bojanka.net/
> and yes it is already on GAE...
>
>
>
> On Mon, Dec 1, 2008 at 9:30 PM, jwm <[EMAIL PROTECTED]> wrote:
>
> > On a related note I Am in
Boris,
is it functional? Can I uninstall the old one and link yours? If it is
open source, is the source posted somewhere?
perhaps the two of you should join forces.
Massimo
On Dec 1, 2:43 pm, jwm <[EMAIL PROTECTED]> wrote:
> Boris,
> Looks like you had the thought before I did, Good Job!
>
>
perhaps you and jwm can join forces. You have the same interests.
I am not planning to host this myself since you are doing it, but it
could be used and distributed with T3.
Massimo
On Dec 1, 2:57 pm, "Boris Manojlovic" <[EMAIL PROTECTED]>
wrote:
> it was created as proof of concept, i planed t
it was created as proof of concept, i planed to add more functionality (as
you can see from database schema)
http://www.bojanka.net/w2p-massimo.tar.gz
it is opensource as all package is opensource, why to close back end :)
On Mon, Dec 1, 2008 at 9:53 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>
>
Hi,
as i said it was just a prof of concept :) and i tried to make it forward
compatible as much as possible.
What that means is I did not changed "www sql developer" code (except
configuration) on purpose so that files from *applications/init/static/**
designer*
can be replaced with new version
I'm all for it, I'm just cutting my teeth on web2py and enjoying it so
far.
I was planning on releasing my source once I added more features, but
it looks like Boris is ahead of me.
Let me know how I can help and I'll pitch in.
J
On Dec 1, 3:04 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> perhaps
If possible, it would be good to have the reset password give you a
link in an email then that link takes you back to the web site where
you can enter a new password. Otherwise, in order to change the
password, a password field is needed somewhere for the user to change
their password.
thx,
-wj
OK
On Dec 1, 3:35 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
> If possible, it would be good to have the reset password give you a
> link in an email then that link takes you back to the web site where
> you can enter a new password. Otherwise, in order to change the
> password, a password field
Massimo,
I tried this but did not work:
def sync_profile_and_t2(form):
if form.vars.email!=form.record.email:
db(db.t2_person.id==form.vars.student_id).update(email=form.vars.email)
I have a student database with the email field and it gets updated but
the t2_person.email does not.
What is a good way to print output from a fuction like this?
Say I want to see what form.vars.email contains, is there a way to
send this to the web page?
def sync_profile_and_t2(form):
if form.vars.email!=form.record.email:
db(db.t2_person.id==form.vars.student_id).update(email=for
On Mon, Dec 1, 2008 at 5:06 PM, Wes James <[EMAIL PROTECTED]> wrote:
>
> Massimo,
>
> I tried this but did not work:
>
> def sync_profile_and_t2(form):
> if form.vars.email!=form.record.email:
> db(db.t2_person.id
> ==form.vars.student_id).update(email=form.vars.email)
should be more
if you were single-stepping w/ WingIDE, you could just look at your
variables ;-)Doesn't the WingIDE 101 (or whatever that free one is) let you
do this?
On Mon, Dec 1, 2008 at 5:13 PM, Wes James <[EMAIL PROTECTED]> wrote:
>
> What is a good way to print output from a fuction like this?
>
> Say I
I was just looking at that code in the pdf. I put your changes in,
but it still does not update t2_person.email.
Any idea why?
thx,
-wj
On Mon, Dec 1, 2008 at 4:35 PM, Yarko Tymciurak <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 1, 2008 at 5:06 PM, Wes James <[EMAIL PROTECTED]> wrote:
>>
>> Massi
I seem to be getting an error, I'm importing like this:
import applications.myapp.modules.Genshi4web2py as Genshi4web2py
response.postprocessing.append(lambda x: Genshi4web2py.render(x,
request, response))
but i get this:
http://paste.pocoo.org/show/93469/
On Dec 1, 11:23 am, Timothy Farrell <
oh, yeah, i forgot about that.
Thx!
-wj
On Mon, Dec 1, 2008 at 4:38 PM, Yarko Tymciurak <[EMAIL PROTECTED]> wrote:
> if you were single-stepping w/ WingIDE, you could just look at your
> variables ;-)
> Doesn't the WingIDE 101 (or whatever that free one is) let you do this?
>
> On Mon, Dec 1, 2
I want to restrict a field to just a few specific options.
Only 1 record should exist for each option.
So I need both sets of requires.
The vlaidation works fine, however the form generated (in T2 at least)
isn't the expected dropdown, but rather a straight textbox.
Is this a bug?
Meanwhile, is t
and i do have genshi installed:
blank:source blank$ easy_install genshi
Searching for genshi
Best match: Genshi 0.5.1
Processing Genshi-0.5.1-py2.5-macosx-10.5-i386.egg
Genshi 0.5.1 is already the active version in easy-install.pth
Using /Library/Python/2.5/site-packages/Genshi-0.5.1-py2.5-macos
did you set requires=IS_IN_DB() without the [ ] ?
On Dec 1, 5:42 pm, Fran <[EMAIL PROTECTED]> wrote:
> I want to restrict a field to just a few specific options.
> Only 1 record should exist for each option.
> So I need both sets of requires.
>
> The vlaidation works fine, however the form ge
When I debug in wingide, there is a
local
form
0
1
but there is not formsvars or forms.record
where are this?
On Mon, Dec 1, 2008 at 4:38 PM, Yarko Tymciurak <[EMAIL PROTECTED]> wrote:
> if you were single-stepping w/ WingIDE, you could just look at your
> variables ;-)
> Doesn't the
Massimo had some simple way to include the request values at the bottom of
each page, similar to what's shown on P.97 of his book;I just scanned
the PDF, the book, and a quick check of sources
I don't want to work so hard, so I'll let Massimo reply (I'm probably
just hungry / it's Mon
Was just a bad install, I installed using mac ports and now works just
fine :)
On Dec 1, 3:45 pm, ceej <[EMAIL PROTECTED]> wrote:
> and i do have genshi installed:
>
> blank:source blank$ easy_install genshi
> Searching for genshi
> Best match: Genshi 0.5.1
> Processing Genshi-0.5.1-py2.5-macosx-
that is form.vars
On Mon, Dec 1, 2008 at 5:03 PM, Wes James <[EMAIL PROTECTED]> wrote:
> When I debug in wingide, there is a
>
> local
> form
>0
>1
>
> but there is not formsvars or forms.record
>
> where are this?
>
> On Mon, Dec 1, 2008 at 4:38 PM, Yarko Tymciurak <[EMAIL PROTECTED]> w
and form.record
On Mon, Dec 1, 2008 at 5:11 PM, Wes James <[EMAIL PROTECTED]> wrote:
> that is form.vars
>
> On Mon, Dec 1, 2008 at 5:03 PM, Wes James <[EMAIL PROTECTED]> wrote:
>> When I debug in wingide, there is a
>>
>> local
>> form
>>0
>>1
>>
>> but there is not formsvars or forms.r
> did you set requires=IS_IN_DB() without the [ ] ?
db.gis_key.service.requires=[IS_IN_SET
(['google','multimap','yahoo']),IS_NOT_IN_DB(db,'gis_key.service')]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"we
Ah! Here it is:
debug.html:
Diagnostics:
{{=BEAUTIFY(request)}}{{=BEAUTIFY(response)}}
Then, wherever you want it:
{{include 'debug.html'}}
Maybe debug.html should just always be in welcome/views --- just not
included anywhere???
On Mon, Dec 1, 2008 at 6:08 PM, Yarko Tymciurak <[EMAIL PROT
A list of validators will not give you a dropdown. These will:
db.gis_key.service.requires=IS_IN_SET(['google','multimap','yahoo'])
db.gis_key.service.requires=IS_NOT_IN_DB(db,'gis_key.service')
Massimo
On Dec 1, 6:17 pm, Fran <[EMAIL PROTECTED]> wrote:
> > did you set requires=IS_IN_DB(
why no session too?
Diagnostics: Request
{{=BEAUTIFY(request)}}
Diagnostics: Session
{{=BEAUTIFY(session)}}
Diagnostics: Response
{{=BEAUTIFY(response)}}
On Dec 1, 6:25 pm, "Yarko Tymciurak" <[EMAIL PROTECTED]> wrote:
> Ah! Here it is:
> debug.html:
>
>
> Diagnostics:
> {{=BEAUTIFY(request)}}
I believe you want:
options=[x for x in ['google','multimap','yahoo'] if not db
(db.gis_key.sevice==x).count()]
db.gis_key.service.requires=IS_IN_SET(options)
Massimo
On Dec 1, 6:36 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> A list of validators will not give you a dropdown. These will:
>
> db
yes - why not! :-)
On Mon, Dec 1, 2008 at 6:38 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> why no session too?
>
>
> Diagnostics: Request
> {{=BEAUTIFY(request)}}
> Diagnostics: Session
> {{=BEAUTIFY(session)}}
> Diagnostics: Response
> {{=BEAUTIFY(response)}}
>
> On Dec 1, 6:25 pm, "Yarko Tymc
Using seems to kill
genshi4web2py, it doesn't error out or anything it loads the html file
but doesn't convert all the genshi things just leaves it like this will be replaced instead of
turning it into New Title
Any ideas?
Have you run into this problem Tim while trying to setup templates?
Man
try looking at globals: request=>vars or t2=>request=>vars ???
On Mon, Dec 1, 2008 at 6:03 PM, Wes James <[EMAIL PROTECTED]> wrote:
>
> When I debug in wingide, there is a
>
> local
> form
>0
>1
>
> but there is not formsvars or forms.record
>
> where are this?
>
> On Mon, Dec 1, 200
I guess I could, but have a few dilemmas... How do I find out
elegantly the request.folder from within the helper ? I'd hate to have
the request object or a separate attribute passed down to the helper
just for that.
On Dec 1, 5:30 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> Yes, we can do that. C
Why do you need the request.folder? It is not visible from there.
On Dec 1, 7:45 pm, achipa <[EMAIL PROTECTED]> wrote:
> I guess I could, but have a few dilemmas... How do I find out
> elegantly the request.folder from within the helper ? I'd hate to have
> the request object or a separate attrib
Hello,
I am new to web2py and found it quite impressive. I have one question
though: How do you do OR? ex/
db((db.friends.user1 == session.email | db.friends.user2 ==
session.email)).select()
I want to select to get all entries where user1 is email or user2 is
email but it gives me TypeError: un
You are missing some brackets. This will work:
db((db.friends.user1 == session.email)|(db.friends.user2
==session.email)).select()
except on GAE. GAE does not support OR.
Massimo
On Dec 1, 8:24 pm, WK <[EMAIL PROTECTED]> wrote:
> Hello,
> I am new to web2py and found it quite impressive. I hav
Hi pals,
In views/web2py_ajax.html, there is a line:
$('input.delete').attr('onclick','if(this.checked) if(!confirm("{{=T
('Sure you want to delete this object?')}}")) this.checked=false;');
What is it for? I tried define a checkbox or a radio button with
"_class='delete'", then click it again
If you have an input checkbox of class delete and you click on it
(check it), it should ask for confirmation. Works for me. Does it not
work for you?
Massimo
On Dec 1, 9:33 pm, Iceberg <[EMAIL PROTECTED]> wrote:
> Hi pals,
>
> In views/web2py_ajax.html, there is a line:
> $('input.delete').att
i need to know that if i can insert a default value if i do not want
to type the text in
'
comments=SQLFORM(cynotedb.comment,fields=['author','entry_id','body')
this is the code for the form i using
can i do something like
comments=SQLFORM(cynotedb.comment,fields=['author','entry_id'])
and the 'bo
is there a way to take in a page of text
and store that in as an entry?
like in a page
there are text and a comment at the end
if it is possible to insert what is in the text into the comment
than just copy and paste into the text field itself?
--~--~-~--~~~---~--~---
1st option failed, but 2nd option works beautifully - many thanks! :)
--~--~-~--~~~---~--~~
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 unsub
Actually, no - 2nd option doesn't work when doing this:
item=t2.update(db.gis_key)
I'm editing the key for the 'google' service, but now my form only has
the 2 other options in the dropdown! (just as if I were entering a
brand new key)
I tried to workaround the issue by not making the service fi
I too would like to pre-populate Form fields (ideally with T2).
For me, the default entry should be the current value (if it exists),
the default value (if defined) or blank.
Looking forward to a solution :)
--~--~-~--~~~---~--~~
You received this message because y
89 matches
Mail list logo