ok this time it works with:

{{include}}

<form enctype="multipart/form-data" class="t2-update" action="" method="post">

<label>{{=db.student.last_name.label}}</label>
<input name="last_name" value="{{=form.latest.last_name}}" />
{{if form.errors.last_name:}}{{=form.errors.last_name}}{{pass}}
<input type="submit" />
{{=form.hidden_fields()}}

</form>

but the last-name input has "None" in it for the value.  I have
{{include}} just above it and the value in that is correct with
"joe"....

On Mon, Nov 10, 2008 at 4:04 PM, Wes James <[EMAIL PROTECTED]> wrote:
> I'm trying it again.  I noticed that osx version goes in to
> dist/web2py.app. I'm copying my app over to 1.48 and trying it now...
>
> -wj
>
> On Mon, Nov 10, 2008 at 4:00 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>>
>> can you please check your web2py/VERSION and look for "hidden_fields"
>> in web2py/gluon/html.py
>> If they are ok, please send me the ticket page.
>>
>> Massimo
>>
>> On Nov 10, 4:11 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
>>> Do I need to put
>>>
>>> form=SQLFORM(db.friend)
>>>
>>> somwhere if I am not just using an {{include}}?
>>>
>>> On Mon, Nov 10, 2008 at 2:30 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>>>
>>> > yes it does:
>>>
>>> > over:~/web2py massimodipierro$ python web2py.py  -S test1
>>> > WARNING:root:no psycopg2 driver
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to