Re: JavaScript enabled or disabled

2011-05-23 Thread Martin Grigorov
Can you create a quikstart application that shows this problem ?
If Yes then please attach it to Jira.

On Sat, May 21, 2011 at 3:08 PM, meduolis  wrote:

> Already tried this. No success because of
>
> http://apache-wicket.1842946.n4.nabble.com/Odd-behaviour-after-setGatherExtendedBrowserInfo-true-td1857093.html
>
> :/
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/JavaScript-enabled-or-disabled-tp3540451p3540522.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
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>


RE: JavaScript enabled or disabled

2011-05-22 Thread Wilhelmsen Tor Iver
You could add a Javascript/Ajax callback to a Page that sets e.g. a Session 
flag that says that Javascript is enabled.

See 
http://stackoverflow.com/questions/162911/how-do-i-call-java-code-from-javascript-code-in-wicket
 for an example.

Or you could try to implement what you need Javascript for using the 
AjaxFallback* components.

mvh
- Tor Iver Wilhelmsen, Arrive AS

-Original Message-
From: meduolis [mailto:meduol...@gmail.com] 
Sent: 21. mai 2011 12:51
To: users@wicket.apache.org
Subject: JavaScript enabled or disabled

Hi, is there any way to check if JS is enabled from wicket code? 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/JavaScript-enabled-or-disabled-tp3540451p3540451.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


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



Re: JavaScript enabled or disabled

2011-05-21 Thread meduolis
Already tried this. No success because of
http://apache-wicket.1842946.n4.nabble.com/Odd-behaviour-after-setGatherExtendedBrowserInfo-true-td1857093.html

:/

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/JavaScript-enabled-or-disabled-tp3540451p3540522.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: JavaScript enabled or disabled

2011-05-21 Thread Adam Gray
Unless there's another way I'm not familiar with, I believe you can use
getScreenHeight or getScreenWidth from ClientProperties.  Someone correct me
if I'm wrong, but I believe these values will still be -1 (their default) if
javascript is disabled.

Be sure to add:
getRequestCycleSettings().setGatherExtendedBrowserInfo(true);  to your
application's init method.

On Sat, May 21, 2011 at 6:51 AM, meduolis  wrote:

> Hi, is there any way to check if JS is enabled from wicket code?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/JavaScript-enabled-or-disabled-tp3540451p3540451.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
>
>


JavaScript enabled or disabled

2011-05-21 Thread meduolis
Hi, is there any way to check if JS is enabled from wicket code? 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/JavaScript-enabled-or-disabled-tp3540451p3540451.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