Hi Anthony
Thanks for the hint.
If I use a URL instead the component, it should work.
I tried with a Link on the wiki page and it works.
[[Edit Picture [Edit] @//picture/form_a.html]]
Daniel
On Saturday, July 2, 2016 at 3:18:33 PM UTC+2, Daniel Vogel wrote:
>
> Hi
>
> I use a controller to upload files.
> - If I use the function native (without auth.wiki), it works
> - If I use the function inside the auth.wiki to extend my wiki pages and I
> don't use the upload field, it works
> - If I use the function inside the auth.wiki to extend my wiki pages and I
> use the upload field, it dos not works, page unresponsive
>
> I tried the newest web2py, but the problem exist as well with version
> 2.12.3-stable+timestamp.2015.08.19.00.18.03.
>
> db.define_table('picture1',
> Field('serie', requires=IS_IN_SET(['tsm01',
> 'tsm02','supm01','supm02'],zero=None)),
> Field('titel', requires=IS_NOT_EMPTY()),
> Field('aktion'),
> Field('image','upload'),
> Field('name'),
> Field('bemerkung'),
> )
>
> Controller picture:
> def manage():
> response.subtitle = 'Bearbeiten Picture'
> grid = SQLFORM.grid(db.picture1)
> return locals()
>
> View picture/manage.load:
> {{=H3(response.subtitle)}}
> {{=HR()}}
>
> {{=grid}}
>
>
> Wiki Page:
> @{component:picture/manage.load}
>
>
>
>
> Any ideas?
>
> Thanks, Daniel
>
>
--
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.