Txs!
I see the inclusion of request.application makes the URL being rendered with
a .load extension or not. This seems a bit strange.
I wonder if the solution will be stable!
Miguel


On Wed, Aug 11, 2010 at 2:03 AM, Bruno Rocha <[email protected]> wrote:

> 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 <[email protected]>
>
> 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