Re: open link in new window = target is null

2011-03-22 Thread latha.y
I have a similar issue.. can anyone please tell why the target parameter for
onClick of AjaxfallbackLink comes as null?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/open-link-in-new-window-target-is-null-tp1844471p3396579.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: open link in new window = target is null

2011-03-22 Thread Wilhelmsen Tor Iver
 I have a similar issue.. can anyone please tell why the target parameter for
 onClick of AjaxfallbackLink comes as null?

It will be null for non-Ajax (i.e. the fallback) requests when the user has 
Javascript disabled. In those cases the entire page will be redrawn anyway so 
there is no need to explicitly repaint subsets.

- Tor Iver

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



AW: open link in new window = target is null

2009-01-28 Thread Arthur Leigh Allen
Hello people,

this is my second problem I cannot resolve.
Why is the target object always null if I open an AjaxFallbackLink in a new 
window or tab?

Best regards,
Leigh





Von: Arthur Leigh Allen arthurleigh.al...@yahoo.de
An: users@wicket.apache.org
Gesendet: Mittwoch, den 21. Januar 2009, 13:23:35 Uhr
Betreff: open link in new window = target is null


AjaxFallbackLink link = 
        ...    }
};
 newAjaxFallbackLink(link) {    publicvoidonClick(AjaxRequestTarget target) {

Hello wicket community,

yesterday I found out in the example above that the target object is null if I 
click with the right mouse button on the link and select open in new window.
Does someone know why?

Best regards
Leigh



  

Re: open link in new window = target is null

2009-01-28 Thread Igor Vaynberg
read fallback link's javadoc.

-igor

On Wed, Jan 28, 2009 at 12:20 PM, Arthur Leigh Allen
arthurleigh.al...@yahoo.de wrote:
 Hello people,

 this is my second problem I cannot resolve.
 Why is the target object always null if I open an AjaxFallbackLink in a new 
 window or tab?

 Best regards,
 Leigh




 
 Von: Arthur Leigh Allen arthurleigh.al...@yahoo.de
 An: users@wicket.apache.org
 Gesendet: Mittwoch, den 21. Januar 2009, 13:23:35 Uhr
 Betreff: open link in new window = target is null


 AjaxFallbackLink link =
 ...}
 };
  newAjaxFallbackLink(link) {publicvoidonClick(AjaxRequestTarget target) 
 {

 Hello wicket community,

 yesterday I found out in the example above that the target object is null if 
 I click with the right mouse button on the link and select open in new 
 window.
 Does someone know why?

 Best regards
 Leigh





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



open link in new window = target is null

2009-01-21 Thread Arthur Leigh Allen
Hello wicket community,


yesterday I found out that the target object in the onClick event is null if I 
click with the right mouse button on an ajax fallback link and select open in 
new window.
Does someone know why?

Best regards
Leigh