I updated the source to the version 2.14.6, the problem persists!

I created a new application to test this isolated:
Model:
db.define_table('testes',
       Field('name',length=255, unique=True,label=T("Name")),
       Field('test','list:string',label=T("Test")),
       format = '%(name)s')

Controller:
def index():
    response.flash = "Welcome to web2py!"
    return dict(message=T('Hello World'),grid=SQLFORM.grid(db.testes,
user_signature=False))

View:
{{left_sidebar_enabled,right_sidebar_enabled=False,True}}
{{extend 'layout.html'}}


{{=grid}}

This small example does not work!
I am not able to insert a list of strings.


On Thursday, July 21, 2016 at 2:25:19 PM UTC+2, Alex Santana wrote:
>
> Updating:
>
> I the development environment, I upgraded the web2py 1.99.7 to the 2.12.3.
> Now, the issue is in both. (development and production).
>
> I will upgrade to the latest version 2.14.6.
>
> On Thursday, July 14, 2016 at 4:17:25 PM UTC+2, Alex Santana wrote:
>>
>> Helo,
>>
>> I created a basic table where one of the fields are a list:string.
>> I use the SQLFORM.grid to manage the data.
>> In development mode, using the Web2py application and server, everything 
>> is ok.
>> I am able to insert new values in the form just pressing "enter".
>> When enter is pressed, a new input field appears below the previous.
>>
>> The problem is after deployment, using apache2+mod_wsgi.
>> When I try to insert a new entry in the form (pressing "enter") it 
>> submits the form.
>> It does not show a new input field!
>>
>> I am using:
>> Debian 3.16.7
>> Apache2 2.4.10
>> Web2py 1.99.7 (in development, it is the current package at Debian Jessy 
>> repository)
>> Web2py 2.14 (in production)
>>
>> Any suggestion about why this is happening?
>> Thanks in advanced!
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to