On Sun, Nov 22, 2009 at 1:33 PM, Nicolas <email address hidden> wrote:
> I think we need to extend the set tag because it is impossible to do:
>
> #{set moreStyles:'<link rel="stylesheet" type="text/css" media="screen" href="@{'/public/stylesheets/xxx.css'}" />'}
>
> or
>
> #{set moreStyles}
> <link rel="stylesheet" type="text/css" media="screen" href="@{'/public/stylesheets/xxx.css'}" />
> #{/set}
>
> at the moment. However,
>
> #{set moreStyles:'<link rel="stylesheet" type="text/css" media="screen"
> href="/public/stylesheets/xxx.css" />'/}
>
> does work but it is not really elegant, especially when you have
> multiple css/scripts.
>
> The best will of course to support 'tiles', but this is another issue.
>
> --
> Add #{get 'moreStyles' /} and #{get 'moreScripts' /} in the default main.html
> https://bugs.launchpad.net/bugs/485907
> You received this bug notification because you are a member of play
> framework developers, which is subscribed to play framework.
>
#{set 'moreStyles'} {'/public/ stylesheets/ xxx.css' }" />
<link rel="stylesheet" type="text/css" media="screen"
href="@
#{/set}
Works.
On Sun, Nov 22, 2009 at 1:33 PM, Nicolas <email address hidden> wrote: {'/public/ stylesheets/ xxx.css' }" />'} {'/public/ stylesheets/ xxx.css' }" /> public/ stylesheets/ xxx.css" />'/} /bugs.launchpad .net/bugs/ 485907
> I think we need to extend the set tag because it is impossible to do:
>
> #{set moreStyles:'<link rel="stylesheet" type="text/css" media="screen" href="@
>
> or
>
> #{set moreStyles}
> <link rel="stylesheet" type="text/css" media="screen" href="@
> #{/set}
>
> at the moment. However,
>
> #{set moreStyles:'<link rel="stylesheet" type="text/css" media="screen"
> href="/
>
> does work but it is not really elegant, especially when you have
> multiple css/scripts.
>
> The best will of course to support 'tiles', but this is another issue.
>
> --
> Add #{get 'moreStyles' /} and #{get 'moreScripts' /} in the default main.html
> https:/
> You received this bug notification because you are a member of play
> framework developers, which is subscribed to play framework.
>