You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Chris <ch...@gmx.at> on 2015/05/19 14:24:41 UTC
open page in new tab
Hi all,
It seems that target=„_blank“ is ignored - the info page opens in the same window instead in a new tab.
Does someone know why this is the case?
Thanks, Chris
<li><a href="#" target="_blank" wicket:id="info">info</a></li>
Link link = new AjaxFallbackLink("info") {
@Override
public void onClick(AjaxRequestTarget target) {
setResponsePage(new InfoPage());
}
};
Re: open page in new tab
Posted by Chris <ch...@gmx.at>.
Martin, Thanks a lot!
> Am 19.05.2015 um 14:30 schrieb Martin Grigorov <mg...@apache.org>:
>
> Because you use Ajax link.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, May 19, 2015 at 3:24 PM, Chris <ch...@gmx.at> wrote:
>
>> Hi all,
>>
>> It seems that target=„_blank“ is ignored - the info page opens in the same
>> window instead in a new tab.
>> Does someone know why this is the case?
>>
>> Thanks, Chris
>>
>>
>> <li><a href="#" target="_blank" wicket:id="info">info</a></li>
>> Link link = new AjaxFallbackLink("info") {
>> @Override
>> public void onClick(AjaxRequestTarget target) {
>> setResponsePage(new InfoPage());
>> }
>> };
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: open page in new tab
Posted by Martin Grigorov <mg...@apache.org>.
Because you use Ajax link.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, May 19, 2015 at 3:24 PM, Chris <ch...@gmx.at> wrote:
> Hi all,
>
> It seems that target=„_blank“ is ignored - the info page opens in the same
> window instead in a new tab.
> Does someone know why this is the case?
>
> Thanks, Chris
>
>
> <li><a href="#" target="_blank" wicket:id="info">info</a></li>
> Link link = new AjaxFallbackLink("info") {
> @Override
> public void onClick(AjaxRequestTarget target) {
> setResponsePage(new InfoPage());
> }
> };
>
>