Re: [T5.0.5 SNAPSHOT] Proper way to inject Assets like CSS

2007-06-04 Thread Howard Lewis Ship
On 6/4/07, Daniel Jue <[EMAIL PROTECTED]> wrote: Thank you Howard, that works like a charm! FWIW, Removing the t:id parameters and keeping href="prop:style" That will work if there's a t:type, but not for ordinary elements. seemed to work for the style sheet, but not for the images. Cha

Re: [T5.0.5 SNAPSHOT] Proper way to inject Assets like CSS

2007-06-04 Thread Daniel Jue
Thank you Howard, that works like a charm! FWIW, Removing the t:id parameters and keeping href="prop:style" seemed to work for the style sheet, but not for the images. Changed all the "prop:abc" to "${abc}" and now everything is working fine. Daniel On 6/4/07, Howard Lewis Ship <[EMAIL PROT

Re: [T5.0.5 SNAPSHOT] Proper way to inject Assets like CSS

2007-06-04 Thread Howard Lewis Ship
Because expansions are now supported inside attributes (of non-component elements), the need for the Any components has gone away. Now if you specified a t:id you must define the type (it doesn't default to Any). You can rewrite your template as: On 6/4/07, Daniel Jue <[EMAIL PROTECTED]> wrot

Re: [T5.0.5 SNAPSHOT] Proper way to inject Assets like CSS

2007-06-04 Thread Daniel Jue
Sorry, my initial post was misleading. It's not just CSS files, it's all the injected Assets I have (images, etc). For code like this, T5 also gives an error saying that I need to give a type. @Inject @Path("context:images/OACSIMLogo_Trans_DS2.jpg") private Asset ieislogo; Is this related to

[T5.0.5 SNAPSHOT] Proper way to inject Assets like CSS

2007-06-04 Thread Daniel Jue
Hi, this was working this morning, until the latest and greatest snapshot came out today. How should we go about injecting a css file now? I had this: @Inject @Path("context:css/IEISStyle.css") private Asset style; And it was working fine. But now I get this: o