That did the trick.  I didn't know about that argument.  Thanks for the
heads up.

-Jim


On Thu, Mar 14, 2013 at 3:34 PM, LightDot <[email protected]> wrote:

> 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<http://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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/aWpQ0F3g8aY/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
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/groups/opt_out.


Reply via email to