portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Updated: (JS2-779) Supporting Pocket PC
Date Fri, 07 Sep 2007 13:57:31 GMT

     [ https://issues.apache.org/jira/browse/JS2-779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Woonsan Ko updated JS2-779:
---------------------------

    Attachment: ie4ppc.diff

After discussion with David Sean Taylor, I decided to do the followings for the 2.1.3 release:
 - To create a valve named 'capabilityCustomizerValve', which would change the preferred mediaType
of the capabilityMap and the requestContext just after the capabilityValve finished.
  This valve should decide the mediaType based on the given client-to-mediaType mappings as
a
constructor argument. For example, "ie4ppc (client name) to html-basic (media type name)".
  Also add some seed data for Pocket IE (mediaType and client).

We will review more for better solution and consider reworking it for the 2.2 release.
(So, I will not commit to the /trunk.)

I attached a patch for this solution for the 2.1.3 release.

How to test to support Pocket IE:
 (1) Install JS 2.1.3.
 (2) Add 'capabilityCustomizerValve' references to the pipelines after the 'capabilityValve'.
 (3) Start JS2
 (4) Visit the default page with Pocket IE.
     (I actually tested with an emulator. Download from http://www.microsoft.com/downloads/details.aspx?FamilyID=A120E012-CA31-4BE9-A3BF-B9BF4F64CE72&displaylang=en
)
     (By the way, you should bear in mind to use the emulator:
         - Check 'Use LAN (no autodial)' in the Tools/Option/Connection.
         - Don't visit with 'http://localhost:8080/jetspeed'. Use IP address instead.)

I'd like to commit this work next week after some more testings.

> Supporting Pocket PC
> --------------------
>
>                 Key: JS2-779
>                 URL: https://issues.apache.org/jira/browse/JS2-779
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Layout
>    Affects Versions: 2.1.2
>         Environment: IE 4.01 Pocket PC  ("Pocket IE")  Windows CE
>            Reporter: Woonsan Ko
>            Assignee: Woonsan Ko
>            Priority: Minor
>             Fix For: 2.1.3
>
>         Attachments: ie4ppc.diff
>
>
> Currently, we cannot support IE4 on Windows CE, Pocket PC because of the following reason:
> - The current Capability component chooses a media type based on preferred mime type
of a client.
>   So, if two clients have a same preferred mime type (e.g. text/html), then the second
client cannot be treated with a different media type.
>   That is, the preferred mime type of IE4 on Pocket PC is as same as that of other general
web browser. It's not possible to show different layout decoration and page for Pocket IE.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message