On Jun 4, 2004, at 2:41 AM, Fabrice Mercier wrote:

Hi everybody !

Is it possible to adapt jetspeed (1.5) screens to the connected device (pda, pc, smartphone,...) without having to create a new media type for each client ?

Your portlets, and the portal, need to generate the correct markup. If your client devices share similar markup you can have them map to the same media type.
Details found here:


http://portals.apache.org/jetspeed-1/client-media.html



I would like to dynamically switch from one psml file to another according to the user agent of the device, i.e. the psml files would be :

user/anon/default.psml
user/anon/pda.psml   user/anon/smartphone.psml

You can setup your PSML based on media type either by hand or using the Administrative PSML Browser portlet
Example of subdirectories to achieve this already exist:


user/anon/html/default.psml
user/anon/wml/default.psml
...

Read about the PSML locator here:

http://portals.apache.org/jetspeed-1/psml.html


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to