I have a LOADed component and in the controller I'm doing the following to 
turn my id into a link.

db.productSite.siteId.represent = lambda x,r:A('%s-%s' % 
(db.site(x).site,db.site(x).name),_href=URL('applications','productSites',args=('edit',r.productSiteId)))

The problem is when I try to click on the link, it inserts a .load into the 
URL.

Here is what it is generating:

127.0.0.1:8000/infocenter/applications/productSites.load/edit/1553

Is there something obvious I'm overlooking or is this possibly a bug?

-Jim

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to