Re: [SOLVED]Rép : Re: checking device or platform

2013-05-26 Thread Philippe Rabier
On 23 mai 2013, at 00:45, Paul Hoadley wrote: > On 22/05/2013, at 11:51 PM, Raymond NANEON wrote: > >> Thanks to all, problem resolved. > > What was the issue? +1 ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev maili

Re: [SOLVED]Rép : Re: checking device or platform

2013-05-22 Thread Paul Hoadley
On 22/05/2013, at 11:51 PM, Raymond NANEON wrote: > Thanks to all, problem resolved. What was the issue? -- Paul Hoadley http://logicsquad.net/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Web

Re: checking device or platform

2013-05-22 Thread Paul Hoadley
Hi Raymond, On 22/05/2013, at 9:35 PM, Raymond NANEON wrote: > Thanks for your advice but it doesn't resolve my issue. As Johann notes, it certainly _should_ work. We use ERXBrowser for browser sniffing in several production apps, and it works as designed. Post any debugging output you can

[SOLVED]Rép : Re: checking device or platform

2013-05-22 Thread Raymond NANEON
Thanks to all, problem resolved.Envoyé depuis iCloudLe 22 mai 2013 à 05:19, Johann Werner a écrit : Am 22.05.2013 um 14:05 schrieb Raymond NANEON : > Hi Johann, > > Thanks for your advice but it doesn't resolve my issue. Uhm, yeah, that happens when the phone rings while writing

Re: checking device or platform

2013-05-22 Thread Johann Werner
Am 22.05.2013 um 14:05 schrieb Raymond NANEON : > Hi Johann, > > Thanks for your advice but it doesn't resolve my issue. Uhm, yeah, that happens when the phone rings while writing an email ;-) So browser().isIPhone() returns false? You should check the values in ERXBrowserFactory.parsePlatfor

Rép : Re: checking device or platform

2013-05-22 Thread Raymond NANEON
Hi Johann,Thanks for your advice but it doesn't resolve my issue.Envoyé depuis iCloudLe 22 mai 2013 à 04:40, Johann Werner a écrit :Instead of mySession().browser() you should preferably use browser() that ERXComponent provides. That's a little bit shorter and works also for sessionless pages. jw

Re: checking device or platform

2013-05-22 Thread Johann Werner
Instead of mySession().browser() you should preferably use browser() that ERXComponent provides. That's a little bit shorter and works also for sessionless pages. jw Am 22.05.2013 um 12:35 schrieb Raymond NANEON : > Hi List, > > I want to check the device or platform on which my app running,

checking device or platform

2013-05-22 Thread Raymond NANEON
Hi List,I want to check the device or platform on which my app running, to activate or not some options. Does it exist a component which does it well?I try WOConditional and test this example : in Html      mobileOption  in woDplatform : WOConditional {    condition = platform;}in Java