myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamallan Uthaman (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-1519) Nokia S60 emulator: user agent is desktop
Date Tue, 07 Jul 2009 18:28:15 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728280#action_12728280
] 

Mamallan Uthaman commented on TRINIDAD-1519:
--------------------------------------------

Trinidad generates JavaScript and style sheet files depending only on the user-agent's capabilities.
Mobile version of Safari browser is known to support many features like its desktop version.
Hence, Trinidad considers Safari running in Nokia S60 as a desktop safari browser in order
to leverage the features available in S60's Safari.

Also, with respect to the JavaScript file, Trinidad doesn't have different versions for desktop
and mobile browsers. If Trinidad finds the user-agent capable of supporting JavaScript, it
sends the JavaScript file to the requesting browser.

Unless the size of JavaScript and Style Sheet files creates a performance problem in S60,
I believe Trinidad's current-behaviour is acceptable. 

If S60 cannot handle the size of  the JavaScript file then we can consider S60's Safari as
a basic HTML browser for which no JavaScript file will be delivered. But it will be a trade-off,
we cannot leverage many feature of S60's Safari.

> Nokia S60 emulator:  user agent is desktop
> ------------------------------------------
>
>                 Key: TRINIDAD-1519
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1519
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>         Environment: Trinidad 1.2.11, JSF ri 1.2, window XP, JBoss 5.0.1
>            Reporter: Dave
>
> We use Nokia S60 SDK 5th Edition (window xp) Emulator to test jsf application for WAP
using trinidad. 
> User-Agent: Mozilla/5.0 (SymbianOS/9.2; U; Series60/5.0 Nokia3250/1.00; Profile/MIDP-2.1
Configuration/CLDC-1.1 ) AppleWebKit/525 (KHTML, like Gecko) Version/3.0 Safari/525
> x-wap-profile: "http://nds1.nds.nokia.com/uaprof/N3250r100.xml"
> From debug, the agent returned from trinidad is 
>  
> Agent[desktop,nokia_s60 525,nokia_s60]
>  
> Trinidad think it is a desktop, so generated css and javascript are for desktop.
> It should be Phone or PDA.   and generated css and javascript should be for mobile devices.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message