• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to implement Bootstrap Datepicker on JSP...please help

 
Ranch Hand
Posts: 165
Tomcat Server Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Im working on Liferay 6.1 CE GA2. I have successfully integrated twitter bootstrap to make my application work and fit perfectly with different devices based on their screen resolutions.
I have spend my 3 days to implement bootstrap date picker on my JSP but still unable to achieve that. Please help me I tried and put so much of efforst but nothing is working. Just FYI , i don't know jquery, so does it has something to do with that. Anyways I'm not using jquery at all in my project. Here is my code:-

Calling JS/CSS files on JSP code(files are coming on PAGE):-


Initiating date picker through JS <script> tag:-


Calling date picker field on JSP:-


I also tried with but nothing is working. Text box is working but no date picker when I select text picker. I'm referring following link:-
http://aymkdn.github.com/Datepicker-for-Bootstrap/

Screenshots are attached for reference.

Thanks! I would really appreciate your help.
Project-Structure.png
[Thumbnail for Project-Structure.png]
Project structure in Eclipse
JSP-Page.png
[Thumbnail for JSP-Page.png]
No date picker on JSP page
 
get schwifty. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic