Months are specified using capital letters -> MM If not, they are supposed to be minutes...
On 4/20/05, Tang, Jason <[EMAIL PROTECTED]> wrote: > Thanks, it now works fine as I put back the filter-mapping for /faces. > > one more question, when I try to supply my own date format in the attribute > of inputCalendar > > popupDateFormat="yyyy-mm-dd" > > it returns 200519 instead of 2005-05-19 after I selected the date. > > Any help will be appreciated! > > Jason > > -----Original Message----- > From: Korhonen, Kalle [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 19, 2005 3:45 PM > To: MyFaces Discussion > Subject: RE: inputCalendar > > > -----Original Message----- > > From: Tang, Jason [mailto:[EMAIL PROTECTED] > > Subject: RE: inputCalendar > > I think I did. > > <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) > > The url where the component tries to load the resources is > /faces/myFacesExtensionResource/calendar.HtmlCalendarRenderer/.... > > In your case, the extensionsFilter isn't processing the resource request > at all, so the javascript functions are not available. Change your > mapping accordingly. Check the page source to verify. Granted, this > should be documented better. i.e. why you need to specify mapping in a > certain way. > > Another thing, say you access your main page with path /<rootContext>/ > only. In that case the resource urls wouldn't be added to the page > because it's not processed by the filter at all. Therefore, we simply > let extensionsFilter to process all requests. > > Kalle > > > -----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 > > > > > >

