hi Erik,
thank you for your answer, but it seems not to be so easy. all style links
should be placed in the <head> section and if i try to use following:

<t:if test="includeCalendar">
 <*link* rel="stylesheet" href="arkusz.*css* " type="text/*css*" />
</t:if>

css link will be printed out exactly in place where component is used on the
page, not inside <head>....</head>


On 7/2/07, Erik Vullings <[EMAIL PROTECTED]> wrote:

Hi Janko,

In your html template, you could use:
    <t:if test="includeCalendar">
        Include css file
    <t:parameter name="else">
        do something else
    </t:parameter>
    </t:if>

Cheers
Erik

On 7/2/07, Janko Muzykant <[EMAIL PROTECTED]> wrote:
>
> hi all,
> i would like to have an optional css for each of my components.
optional,
> because depending on component's parameter i would like/wouldn't like to
> include its css link. Lets imagine edit box with calendar for example -
> depending on parameter provided in template file, calendar's css file
> should
> or shouldn't be included in generated page.
>
> How may achieve something like this using T5?
>
> regards,
> m.
>

Reply via email to