Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6860091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:21:54+00:00 2026-05-27T02:21:54+00:00

I would like to integrate jQuery-DatePicker in my web application. I downloaded the scrips,

  • 0

I would like to integrate jQuery-DatePicker in my web application.

I downloaded the scrips, the css and the images and put them in the corresponding directories: scripts, css and images.

I then defined them in scripts.xhtml:

<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">

<h:outputScript library="scripts" name="jquery-1.3.2.min.js"/>
<h:outputScript library="scripts" name="jquery-ui-1.7.1.custom.min.js"/>
<h:outputScript library="scripts" name="daterangepicker.jQuery.js"/></ui:composition>

and styles.xhtml;

<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">

<h:outputStylesheet library="css" name="commons.css"/>
<h:outputStylesheet library="css" name="styles.css"/>
<h:outputStylesheet library="css" name="doi.css"/>
<h:outputStylesheet library="css" name="ui.daterangepicker.css"/>
<h:outputStylesheet library="css" name="redmond/jquery-ui-1.7.1.custom.css"/>   

<!-- PRINT STYLES -->
<!-- Note: there is currently no way to determine the "media" attribute with h:outputStylesheet -->
<link rel="stylesheet" media="print" href="${facesContext.externalContext.requestContextPath}/javax.faces.resource/css/print.css.xhtml" type="text/css" /></ui:composition>

The problem is that all the related images are not loaded/found.

For ex. the background is hardcoded in the css -> background-image: url(“images/ui-icons_d8e7f3_256x240.png”) which is not the corresponding path…

Do I have to specify something else somewhere? I can’t imagine I have to manually change all the paths in the scripts and css…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T02:21:55+00:00Added an answer on May 27, 2026 at 2:21 am

    Those images have to be in the /images subfolder of the /css folder.


    Unrelated to the concrete problem, you’re not really using library the right way. It should represent a common library of a “theme”. But you seem to have them all in a default library, so you should actually be declaring the resources as follows:

    <h:outputScript name="scripts/jquery-1.3.2.min.js"/>
    <h:outputScript name="scripts/jquery-ui-1.7.1.custom.min.js"/>
    <h:outputScript name="scripts/daterangepicker.jQuery.js"/>
    
    <h:outputStylesheet name="css/commons.css"/>
    <h:outputStylesheet name="css/styles.css"/>
    <h:outputStylesheet name="css/doi.css"/>
    <h:outputStylesheet name="css/ui.daterangepicker.css"/>
    <h:outputStylesheet name="css/redmond/jquery-ui-1.7.1.custom.css"/>   
    

    Also, the media attribute support is present on <h:outputStylesheet> since JSF 2.1:

    <h:outputStylesheet media="print" name="css/print.css" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an asp.net mvc application that we would like to integrate a FileSystemWatcher
I am web-developer. I would like to integrate 3D Content into my web-site. The
I would like to integrate the jQuery fullcalendar into my PHP website, but I
I would really like use the jQuery Validation plugin in my ASP.NET Web Forms
Is there a way to integrate CodeIgniter with phpBB3? I would like to use
How would you integrate things like this in a RESTful design? Marking an email
I have a jquery fullcalendar . I would like to trigger jquery QTip (or
I would really like to deploy my project using jquery but afraid it may
I would like to know some good jQuery chart controls which can be integrated
i am new to google maps, and i would like to integrate it into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.