This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Javascript based Calendar not rendering correctly in web page with tabs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Javascript based Calendar not rendering correctly in web page with tabs" Watch "Javascript based Calendar not rendering correctly in web page with tabs" New topic
Author

Javascript based Calendar not rendering correctly in web page with tabs

Vic Hood
Ranch Hand

Joined: Jan 05, 2011
Posts: 477

I don't know if this question has been asked before, if yes a link would do.I'm trying to use a javascript-based calendar in a webpage(jsp) that Im building with tabs. I'm using this, to help generate the tabs in my JSP, I have a few fields that require dates and hence the calendar. A snippet of what's happening when I click on the calendar, is attached below. Any help would be great, Thanks!



Learning and Learning!-- Java all the way!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

Personally, I'd use jQuery and jQuery UI. Time-tested and well-supported. You're unlikely to get much help using some random JavaScript library that no ones heard of except by the authors of that library.

Is there a reason that you chose that specific library? It does not appear that there is any support forum for that library.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Vic Hood
Ranch Hand

Joined: Jan 05, 2011
Posts: 477

Hi Bear, thanks for the reply, would it be advisable to use JQuery and its UI, just for the calendar functionality? The thing is the calendar control works seamlessly on other pages, but not on this one, which seems to suggest that its gotta do with the tabs in place. What if I face the same issue with JQuery as well?

As to why I chose that library, it has worked well for me so far in all the other pages that I have used so far, in far we use it across applications.


Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
There are other calendars out there too. Looks like they are appending it inside of the tab which is not rendering correctly. Either you are going to have to hack their code to render it differently, file a bug with whoever wrote it, or pick a new library.

Eric
Vic Hood
Ranch Hand

Joined: Jan 05, 2011
Posts: 477

Hey Eric,
Thanks for the reply!
But what I'm worried about is whether the issue would persist, despite a change of library, like I said before, and as for the hacking, I've tried changing the z-index in the css class of the library without any respite, any suggestions?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javascript based Calendar not rendering correctly in web page with tabs
 
Similar Threads
how to create a calander in jsp (outlook calander and box calander)
Tabs in JSP(Struts 1.2 Based application)
Use of Tabls
Use of Tabls
Disabling the submenu links in jsp when the page loads