Hey folks,
I'm attempting to upload a file directly without the use of a SQLForm but
rather the ordinary FORM.
>From previous threads regarding the topic i figured my controller should
look something like this:
[code]
def index():
import shutil
form = FORM(
INPUT( _na
And is there a way to make a button which leads to a page by click, similar
to this:
form=FORM('Your name:',
INPUT(_type='submit'))
form.add_button('click me', URL('index'))
Am Sonntag, 18. Mai 2014 13:07:16 UTC+2 sc
Hey,
i have two questions.
1. when i have this code, is it possible to change the text of the submit
button already in the controller or only in the view?
form = FORM('Your name:',
INPUT(_name='name', requires=IS_NOT_EMPTY()),
INPUT(_type='submit'))
2. Is it poss
Hey Guys,
i have a few problems with the various view possibilities. The reference
manual gives this piece of code as an example for the in the view:
[code]
>>> print SELECT('', XML('world'), _class='test', _id=0)
world [/code]
when i just copy this into a view, nothing happens. Whic
well, no errer message, but still it does not work fine, since the page
Shows only:
at 0x0723B698>
(everything else would work fine, so this isn't an error message)
I'm sorry that I cause so many Problems :(
Am Sonntag, 2. Februar 2014 14:51:33 UTC+1 schrieb Multiplery:
> Hey
ntax
Am Sonntag, 2. Februar 2014 14:51:33 UTC+1 schrieb Multiplery:
> Hey guys,
> I have a problem with the for in usage.
>
> I want an function which creates, depending on a db, URLs.
> So in the db is a table with the fields 'name', 'user' 'value'.
&
I'm sorry, but it creates an error 'invalid syntax'
Am Sonntag, 2. Februar 2014 14:51:33 UTC+1 schrieb Multiplery:
>
> Hey guys,
> I have a problem with the for in usage.
>
> I want an function which creates, depending on a db, URLs.
> So in the db is a ta
Hey guys,
I have a problem with the for in usage.
I want an function which creates, depending on a db, URLs.
So in the db is a table with the fields 'name', 'user' 'value'.
testdb = dba(dba.test.user== user).select(dba.test.ALL)
now, in the view i want those URLS:
A(user,_href=URL(Name + '/' + st
8 matches
Mail list logo