Re: Skinning Theming Axes + Asset

2011-12-08 Thread Thiago H. de Paula Figueiredo
On Wed, 07 Dec 2011 16:27:19 -0200, Dimitris Zenios wrote: What would be ideal for me is to be able to add virtual packages to the hostname like locale and depending on the virtual package change tml,css,assets,locals Use the LinkTransformer API for that: http://blog.tapestry5.de/index.ph

Re: Skinning Theming Axes + Asset

2011-12-07 Thread Dimitris Zenios
What would be ideal for me is to be able to add virtual packages to the hostname like locale and depending on the virtual package change tml,css,assets,locals - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For add

Re: Skinning Theming Axes + Asset

2011-12-07 Thread Dimitris Zenios
Having a test in my layout is a good idea.But imagine a case that i have to change more than one asset in different pages.Or you want to have themes in your application that dont change the layout but change the css,color and the assets. What would be perfect is something like axis for assets.For

Re: Skinning Theming Axes + Asset

2011-12-07 Thread Thiago H. de Paula Figueiredo
On Wed, 07 Dec 2011 14:01:46 -0200, Dimitris Zenios wrote: Is there a way to have a different asset loaded when we are browsing from a mobile client for example? Have you tried CSS media queries? Or having a test in your Layout component and return different assets? -- Thiago H. de Pau

Re: Skinning Theming Axes + Asset

2011-12-07 Thread François Facon
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 : > The problem is that i just want to change a logo and the css.I don't want > to change the layou

Re: Skinning Theming Axes + Asset

2011-12-07 Thread Dimitris Zenios
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 situation

Re: Skinning Theming Axes + Asset

2011-12-07 Thread François Facon
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 : > Is

Skinning Theming Axes + Asset

2011-12-07 Thread Dimitris Zenios
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