I think I did.

Here is part of my web.xml

  <!-- Extensions Filter -->
  <filter>
    <filter-name>extensionsFilter</filter-name>
    
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
    <init-param>
      <param-name>uploadMaxFileSize</param-name>
      <param-value>100m</param-value>
    </init-param>
    <init-param>
      <param-name>uploadThresholdSize</param-name>
      <param-value>100k</param-value>
    </init-param>
  </filter>

  <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/secure/*</url-pattern>
  </filter-mapping>

I got the simple example working, the only difference is the url of 
calendar.jsp is on root while mine is under a package named /secure (need login)

Thanks,
Jason

-----Original Message-----
From: Rob Decker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19, 2005 1:53 PM
To: MyFaces Discussion
Subject: Re: inputCalendar


You probably need to set up the extension filter so the javascript and
images are accessible.

See http://myfaces.apache.org/docs/extensionsFilter.html


----- Original Message ----- 
From: "Tang, Jason" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, April 19, 2005 4:48 PM
Subject: inputCalendar


> Hi
>
> I tried to use inputCalendar in my jsf page but I got an error page which
said failure to locate jscalendarSetImageDirectory reported from the
javascript console.
>
> Error: jscalendarSetImageDirectory is not defined
>
> What is jscalendarSetImageDirectory?
>
> Also, I notice some errors in the log
>
> 13:41:57,492 ERROR [HtmlGridRenderer] Wrong columns attribute for
PanelGrid _id1: -2147483648
> 13:41:57,498 ERROR [HtmlGridRenderer] Wrong columns attribute for
PanelGrid _id2: -2147483648
> 13:41:57,500 ERROR [HtmlGridRenderer] Wrong columns attribute for
PanelGrid _id4: -2147483648
> 13:41:57,503 ERROR [HtmlGridRenderer] Wrong columns attribute for
PanelGrid login:_id6: -2147483648
> 13:41:57,503 ERROR [HtmlGridRenderer] Wrong columns attribute for
PanelGrid login:_id7: -2147483648
> 13:42:02,878 ERROR [HtmlGridRenderer] Wrong columns attribute for
PanelGrid _id1: -2147483648
> 13:42:02,884 ERROR [HtmlGridRenderer] Wrong columns attribute for
PanelGrid _id2: -2147483648
> 13:42:02,900 ERROR [HtmlGridRenderer] Wrong columns attribute for
PanelGrid _id4: -2147483648
> 13:42:02,902 ERROR [HtmlGridRenderer] Wrong columns attribute for
PanelGrid log:_id6: -2147483648
> 13:42:02,903 ERROR [HtmlGridRenderer] Wrong columns attribute for
PanelGrid log:_id7: -2147483648
>
> I don't think I use wrong attribute for any of the tags. I appreciate if
anyone can point me out something.
>
> I use MyFaces 1.0.9m9
>
> Thanks
> Jason
>

Reply via email to