Hi, I am using a component who has a form like this:
<form action="{{=URL(c="controller", f="function")}}" method="get">
<select name="value">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
</select>
<button type="submit">Go</button>
</form>
As you can see is a simple form who does a get request to another
controller (it could be easily done with two links but the requirement
needs a form)
If I call the component using "ajax=False" it works without problems,
but it needs to be reloaded by actions occurring in others components in
the page and for that it needs to be called with "ajax=True" (if I use
"ajax=False" i can't call the component javascript reload() function)
the problem is that "ajax=True" traps the call inside the div and
ignores the "ajax_trap=False" option.
Is there a way to load via ajax a component with a form but don't trap
it inside the div?
Greetings.
--
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.