You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Raul <ra...@netwie.com> on 2013/02/07 10:57:34 UTC

Problem with ClientProperties

Hi, I need to keep the browser name and version, using it my clients, but
some ClientProperties class methods return null, I use wicket 6.5.0. Does
anyone knows what could it be?


PD, properties.isBrowserMozilla method (), it works correctly.



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-ClientProperties-tp4656153.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Problem with ClientProperties

Posted by Francois Meillet <fr...@gmail.com>.
which methods ?

François

Le 7 févr. 2013 à 10:57, Raul <ra...@netwie.com> a écrit :

> Hi, I need to keep the browser name and version, using it my clients, but
> some ClientProperties class methods return null, I use wicket 6.5.0. Does
> anyone knows what could it be?
> 
> 
> PD, properties.isBrowserMozilla method (), it works correctly.
> 
> 
> 
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-ClientProperties-tp4656153.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 


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


Re: Problem with ClientProperties

Posted by Raul <ra...@netwie.com>.
II tried with the sample code and the output of the toString
ClientProperties is this.

browserInternetExplorer=false
13:12:22,532 ERROR [stderr] (http--127.0.0.1-8080-1) browserKonqueror=false
13:12:22,534 ERROR [stderr] (http--127.0.0.1-8080-1) browserMozilla=true
13:12:22,535 ERROR [stderr] (http--127.0.0.1-8080-1)
browserMozillaFirefox=true
13:12:22,536 ERROR [stderr] (http--127.0.0.1-8080-1) browserOpera=false
13:12:22,537 ERROR [stderr] (http--127.0.0.1-8080-1) browserSafari=false
13:12:22,539 ERROR [stderr] (http--127.0.0.1-8080-1) browserChrome=false
13:12:22,540 ERROR [stderr] (http--127.0.0.1-8080-1) browserVersionMajor=18
13:12:22,541 ERROR [stderr] (http--127.0.0.1-8080-1) browserVersionMinor=0
13:12:22,542 ERROR [stderr] (http--127.0.0.1-8080-1) cookiesEnabled=false
13:12:22,543 ERROR [stderr] (http--127.0.0.1-8080-1) javaEnabled=false
13:12:22,544 ERROR [stderr] (http--127.0.0.1-8080-1)
proprietaryIECssExpressionsSupported=false
13:12:22,545 ERROR [stderr] (http--127.0.0.1-8080-1)
proprietaryIEPngAlphaFilterRequired=false
13:12:22,547 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkCssBackgroundAttachmentUseFixed=false
13:12:22,549 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkCssBorderCollapseFor0Padding=false
13:12:22,551 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkCssBorderCollapseInside=false
13:12:22,552 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkCssPositioningOneSideOnly=false
13:12:22,554 ERROR [stderr] (http--127.0.0.1-8080-1) quirkIERepaint=false
13:12:22,555 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkIESelectListDomUpdate=false
13:12:22,556 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkIESelectPercentWidth=false
13:12:22,557 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkIESelectZIndex=false
13:12:22,558 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkIETablePercentWidthScrollbarError=false
13:12:22,560 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkIETextareaNewlineObliteration=false
13:12:22,561 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkMozillaPerformanceLargeDomRemove=true
13:12:22,562 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkMozillaTextInputRepaint=true
13:12:22,563 ERROR [stderr] (http--127.0.0.1-8080-1) remoteAddress=127.0.0.1



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-ClientProperties-tp4656153p4656157.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Problem with ClientProperties

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Without the extra extractions the client properties contain only
information that may be extracted from the user agent request header.
See http://www.wicket-library.com/wicket-examples-6.0.x/hellobrowser/howdy for
example how to extract more information.


On Thu, Feb 7, 2013 at 10:57 AM, Raul <ra...@netwie.com> wrote:

> Hi, I need to keep the browser name and version, using it my clients, but
> some ClientProperties class methods return null, I use wicket 6.5.0. Does
> anyone knows what could it be?
>
>
> PD, properties.isBrowserMozilla method (), it works correctly.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Problem-with-ClientProperties-tp4656153.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


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