Hi,
You see, session, request and response are not globals "per se", they depend
on the session you're responding to. From what I can tell the controller
functions are "wrapped" inside an environment just before they're called and
that's why you have those variables around. So, the way it's built,
Hi,
I wrote some code that wraps up a SQLFORM into a DIV such as:
def layout_form(item):
f = SQLFORM(db.whatever, item)
return DIV(f, _class='form_div')
And I just noticed that DIV.accepts doesn't call SQLFORM.accepts (it calls
rec_accepts for the child elements). Shouldn't SQLFORM.acc
Hi,
Should be A(..., *_*target = "_blank")
(you're missing an underscore in _target)
Deodoro Filho
On Mon, Nov 3, 2008 at 10:28 AM, annet <[EMAIL PROTECTED]> wrote:
>
> In one of my views I have got a table in which one of the
> element reads like:
>
>
{{=A(club.bedrijf.bedrijfsnaam,_href=URL(
Hi,
I want to call helper functions from the views, I want to keep it
organized and put them in the modules dir, which is fine and works
etc. But once I make a modification to the helpers I have to kill
web2py and restart it because it seems it doesn't refresh the sources
in there. What's the cor
Just out of curiosity: I've gone that way and what I noticed is that I
loose the error divs, then I went back to using {{=form}}. Is that
correct ?
Deodoro Filho
On Fri, Oct 10, 2008 at 11:28 AM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> OK just replace
>
> recipe=recipes[0]
>
> with
>
> recipe=r
L PROTECTED]> wrote:
>
> I do not understand what you mean. could you provide an examle?
>
> On Oct 10, 9:35 am, "José Deodoro de Oliveira Filho"
> <[EMAIL PROTECTED]> wrote:
>> Just out of curiosity: I've gone that way and what I noticed is that I
On Thu, Oct 9, 2008 at 12:36 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> If I understand your question, your form.load(record) would be
> form.vars.update(record)
>
Hi again,
Sorry for the long email, it's kind of a big doubt for me.
I'm pretty sure I'm doing it wrong on behalf of inexperience
7 matches
Mail list logo