Hi
I have some links in a div which are created using the following:-
*Controller*
rows= sel.select(db.media.album,db.media.id, groupby=
db.media.album,orderby=db.media.album)
inks = map(lambda row:A(row.album,
callback=URL('tracks',vars=dict(id=row.id)), target='playlist'), rows)
test = UL([LI(link) for link in links]).xml()
return test
This is what the source code looks like in the div
<li>
<a id="e4c7506b-1f33-453b-b165-b9d3f37da8d8"
href="/music_server/default/album?id=306" data-w2p_target="album"
data-w2p_method="POST" data-w2p_disable_with="default">Green Day</a>
</li>
<li>
<a id="e4c7506b-1f33-453b-b165-b9d3f37da8d8"
href="/music_server/default/album?id=306" data-w2p_target="album"
data-w2p_method="POST" data-w2p_disable_with="default">Green Day</a>
</li>
But what happens is the link dissapears of the page when clicked, which I
don't want.
Is their a way of stopping this happening?
--
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.