I Solved using this way:

URL(request.application,'default','view_detail',args=[rec.contact.id])

.load is not appended to the link.

2010/8/10 Miguel Lopes <mig.e.lo...@gmail.com>

> I'm pretty sure this as been asked, but I can't find it anywhere.
>
> I would like to use the URL function to construct a link inside
> a component view (i.e. views/components/view_x.load). This would be a link
> to a completely new page, to be loaded in the browser and not in the
> component div. However, the default behavior is that all links inside a
> component are trapped and loaded into the same component, thus if I have in
> the component view:
>
> <a href="{{URL(c='default', f='view_detail', args=rec.contact.id)}}">{{
> rec.contact.name}}</a>
>
> This gets translated into:
> <a href="/app/default/view_detail.load/6">Clockwork Orange</a>
>
> And I would like to get:
> <a href="/init/default/view_detail/6">Clockwork Orange</a>
>
> How can I achieve this?
> Txs,
> Miguel
>



-- 

http://rochacbruno.com.br

Reply via email to