You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Ron <ro...@ronsmits.org> on 2005/07/17 00:16:24 UTC

inputCalendar does not popup?

A pretty simple jsp with a <x:inputCalendar renderAsPopup="true" /> does
not popup anything. In the javascript debug window I get:

Error: jscalendarSetImageDirectory is not defined
Source File: http://localhost:8080/pages/createEvent.jsp
Line: 19

Anybody any idea what is wrong here? This is with myfaces 1.09 (came
together with the facesIDE)

Ron Smits
--
"Microsoft is the epitome of innovation and product quality."

-- This testimonial paid for by Microsoft. 



Re: inputCalendar does not popup?

Posted by Ron <ro...@ronsmits.org>.
Responding to my own mail (how sad :) )

I played with this some more and found a strange thing. So I really hope
some people here can help me understand.

As I wrote yesterday the inputCalendar did not pop up. After quite some
diddling it appears the javascript is not written because the where it
is on is a result of a forward from the index.jsp:
<html>
    <body>
        <jsp:forward page="faces/pages/login.jsf" />
    </body>
</html>

when I go to the page "faces/pages/login.jsf" directly it does work. So
I can work around the problem now I know this. I would still like to
understand why this happens. 

Ron


On Sun, 2005-07-17 at 00:16 +0200, Ron wrote:
> A pretty simple jsp with a <x:inputCalendar renderAsPopup="true" /> does
> not popup anything. In the javascript debug window I get:
> 
> Error: jscalendarSetImageDirectory is not defined
> Source File: http://localhost:8080/pages/createEvent.jsp
> Line: 19
> 
> Anybody any idea what is wrong here? This is with myfaces 1.09 (came
> together with the facesIDE)
> 
> Ron Smits
> --
> "Microsoft is the epitome of innovation and product quality."
> 
> -- This testimonial paid for by Microsoft. 
> 
> 
--
Q: How many Micro$oft programmers does it take to screw in a light bulb?
A: 472. One to write WinGetLightBulbHandle. One to write
WinQueryStatusLightBulb. One to write WinGetLightSwitch-Handle...