I don't think it's a bug, .load is inherited in this case, isn't it? In 
other words, it's a feature :)

You can set extension=False in the URL(), that prevents .load from getting 
added.

Regards,
Ales

On Thursday, March 14, 2013 9:11:42 PM UTC+1, Jim S wrote:
>
> 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