incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clemens Schneider <clemens.schnei...@gmail.com>
Subject Re: The right approach to define a view for multiple clients?
Date Wed, 11 Oct 2006 21:10:29 GMT
Thanks a lot Adam!

Adam Winer wrote:
> It depends.  For PDA vs. a desktop browser, you'll almost always
> need separate pages - though it's very handy to be able to
> view your PDA page in a browser at development time.
>
> For one type of PDA versus another, the agent capabilities
> are really handy for adjusting the layout to deal with
> screen size, for example, so you can build one page
> for multiple devices.
>
> -- Adam
>
>
>
> On 10/11/06, Clemens Schneider <clemens.schneider@gmail.com> wrote:
>> Hi there,
>> does anybody is in touch with developing multi-client JSF-applications?
>> My question is, what's the right approach to define a view for multiple
>> clients?
>> Should one
>> a) create a view definition for desktop clients and a view definition 
>> for
>> mobile clients and let them operate on the same model but with 
>> separate view
>> definitions
>> or
>> b) create a single view definition for both desktop and mobile 
>> clients that
>> has built in checks on the #{requestContext.agent.capabilities} property
>> (for showing number of rows in a table dependend on the screen-height 
>> of the
>> client)
>>
>> Has anybody got some advice for this? Is Trinidad as generic as this 
>> so one
>> can build a single view for multiple clients?
>>
>> Thanks a lot!
>>
>> -clem
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message