• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rich Faces Calendar

 
Dishpal Bhaluja
Ranch Hand
Posts: 96
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Enviro JSF 1.1,RichFaces 3.1.6

I am using a richfaces calendar component

<rich:calendar></rich:calendar> wrote this much code in my jsp and run on server.I got an input box and a calendar icon by the side of it.But I am unable to select values from it(Nothing showing up).I got an error(Javascript error:Calendar undefined)

Any workarounds.

I guess I have to use a calendar bean (as explained in the richfaces component reference).Is that true.Where can I get that java bean,or nothing like that.

Help me to resolve this?
 
Dishpal Bhaluja
Ranch Hand
Posts: 96
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I resolved this.

Add these to your web.xml

<context-param>
<param-name>org.richfaces.LoadScriptStrategy</param-name>
<param-value>ALL</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.LoadStyleStrategy</param-name>
<param-value>ALL</param-value>
</context-param>
 
vish nath
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am also facing similar problem. I have added as you said in context params in web.xml file. Even though for me it is not working. Please advise me. How can I solve this problem.

Thanks & Regards,
Vish
 
Hatem Alimam
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is that your Calendar component did not load it's javaScript files normally so this is the solution .

Best regards.
 
vish nath
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hateem,

Do I need to do any configuration to load Java script files? Please guide me how to load java script file?

Thanks & Regards,
Vish
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic