Hi Balaji,

Do you have the following lines in your web.xml file?

---------------------------
<!-- Extensions Filter -->
<filter>
        <filter-name>extensionsFilter</filter-name>
        <filter-class>
                org.apache.myfaces.component.html.util.ExtensionsFilter
        </filter-class>
        <init-param>
                <description>
                        Set the size limit for uploaded files. Format:
10 - 10
                        bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
                </description>
                <param-name>uploadMaxFileSize</param-name>
                <param-value>100m</param-value>
        </init-param>
        <init-param>
                <description>
                        Set the threshold size - files below this limit
are
                        stored in memory, files above this limit are
stored on
                        disk.
                        Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g
- 1 GB
                </description>
                <param-name>uploadThresholdSize</param-name>
                <param-value>100k</param-value>
        </init-param>
        <!--
        <init-param>
                <param-name>uploadRepositoryPath</param-name>
                <param-value>/temp</param-value>
                <description>Set the path where the intermediary files
will be stored.
                </description>
        </init-param>
        -->
</filter>
<filter-mapping>
        <filter-name>extensionsFilter</filter-name>
        <url-pattern>*.faces</url-pattern>
</filter-mapping>
<filter-mapping>
        <filter-name>extensionsFilter</filter-name>
        <url-pattern>/faces/*</url-pattern>
</filter-mapping>
---------------------------

Don

-----Original Message-----
From: Balaji Kalyansundaram [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 25, 2005 4:35 PM
To: [email protected]
Subject: JS and CSS - not loading in header


Hi All

CSS and JS are not getting loaded in the header, for the MyFace
components.

When I use inputCalendar, I get JS errors like
"jscalendarSetImageDirectory is not defined".
I have used extension filters and also "header.inc'.

I tried other componenets like "popup". But they didnt work too.

Can anyone help please???

Regards
Balaji

This correspondence is for the named persons only.

It may contain confidential or privileged information or both.

No confidentiality or privilege is waived or lost by any mis
transmission.

If you receive this correspondence in error please delete it from your
system immediately and notify the sender.

You must not disclose, copy or relay on any part of this correspondence,
if you are not the intended recipient.

Any opinions expressed in this message are those of the individual
sender except where the sender expressly,

and with the authority, states them to be the opinions of the Department
of Emergency Services, Queensland.

Reply via email to