You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dimitris Zenios <di...@gmail.com> on 2011/12/07 17:01:46 UTC

Skinning Theming Axes + Asset

Is there a way to have a different asset loaded when we are browsing from a
mobile client for example?

Like the axes does to the templates and locales.

Dimitris Zenios

Re: Skinning Theming Axes + Asset

Posted by François Facon <fr...@atos.net>.
peut être ceci.

http://www.stefanie-duprey.fr/blog-logiciels-libres/6-general/34-selectionner-une-css-a-chaud-ou-comment-utiliser-des-assets-dynamiquement-avec-tapestry5



2011/12/7 Dimitris Zenios <di...@gmail.com>:
> The problem is that i just want to change a logo and the css.I don't want
> to change the layout or anything else.
>
> What you are suggesting will do the job but its an overkilling solution for
> what i want to do.
>
> In the end i want to have the same tml but with different asses and css on
> some situations
>
> 2011/12/7 François Facon <fr...@atos.net>
>
>> Hi Dimitris,
>>
>> The easiest way would be to define different layout with specific
>> assets and to change
>>  the layout according to the terminal.
>>
>> see template skinning feature avalaible with 5.3.
>> http://blog.tapestry5.de/index.php/2011/06/24/template-skinning/
>>
>> François
>>
>> 2011/12/7 Dimitris Zenios <di...@gmail.com>:
>> > Is there a way to have a different asset loaded when we are browsing
>> from a
>> > mobile client for example?
>> >
>> > Like the axes does to the templates and locales.
>> >
>> > Dimitris Zenios
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Skinning Theming Axes + Asset

Posted by Dimitris Zenios <di...@gmail.com>.
The problem is that i just want to change a logo and the css.I don't want
to change the layout or anything else.

What you are suggesting will do the job but its an overkilling solution for
what i want to do.

In the end i want to have the same tml but with different asses and css on
some situations

2011/12/7 François Facon <fr...@atos.net>

> Hi Dimitris,
>
> The easiest way would be to define different layout with specific
> assets and to change
>  the layout according to the terminal.
>
> see template skinning feature avalaible with 5.3.
> http://blog.tapestry5.de/index.php/2011/06/24/template-skinning/
>
> François
>
> 2011/12/7 Dimitris Zenios <di...@gmail.com>:
> > Is there a way to have a different asset loaded when we are browsing
> from a
> > mobile client for example?
> >
> > Like the axes does to the templates and locales.
> >
> > Dimitris Zenios
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Skinning Theming Axes + Asset

Posted by François Facon <fr...@atos.net>.
Hi Dimitris,

The easiest way would be to define different layout with specific
assets and to change
 the layout according to the terminal.

see template skinning feature avalaible with 5.3.
http://blog.tapestry5.de/index.php/2011/06/24/template-skinning/

François

2011/12/7 Dimitris Zenios <di...@gmail.com>:
> Is there a way to have a different asset loaded when we are browsing from a
> mobile client for example?
>
> Like the axes does to the templates and locales.
>
> Dimitris Zenios

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org