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

Reply via email to