Hallo,
I have problem with component. I am newbe too...
I have component view my.load with this content:
<h3>Events:</h3>
{{for row in
users_and_events(db.registrations.registered_user==auth.user_id).select():}}
{{=A(row.s_events.title, _href=URL('show', args=row.s_events.id))}} <br>
{{pass}}
In view where I can use component I have:
{{if session.auth:}}
{{=LOAD('event','my.load',ajax=True)}}
{{pass}}
I want to show URL like this: http://127.0.0.1:8000/events/event/*show*/16
But results is http://127.0.0.1:8000/events/event/*show.load*/16
How to achieve right URL?
Thanks
--
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.