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 8335453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:40:54+00:00 2026-06-09T03:40:54+00:00

i am trying to include jquery and jquery-ui libraries inside xhtml. Ive heard that

  • 0

i am trying to include jquery and jquery-ui libraries inside xhtml. Ive heard that richfaces already have jquery,but jquery-ui doesnt. I have no idea how to include them.

In addition to this, i have another js library that uses jquery and jquery-ui. So, what do i need to do to import these 3 js sources and use them inside a

<script type="text/javascript"> </script>

block? Where do these js files have to be located?

Thank you.

  • 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-06-09T03:40:57+00:00Added an answer on June 9, 2026 at 3:40 am

    RichFaces 4.x comes indeed with jQuery bundled. It’s available with the resource name jquery.js and is usually only auto-included when a certain RichFaces component requires it, but you can also explicitly include it by <h:outputScript>.

    As to your own JS files, just put them in the /resources folder of the public webcontent and use <h:outputScript> the usual way.

    Assuming

    WebContent
     |-- resources
     |    |-- jquery-ui.js
     |    `-- yourscript.js
     :
    

    here’s how you could reference it (note that jquery.js is been supplied by RichFaces, not yourself!)

    <h:head>
        ...
        <h:outputScript name="jquery.js" />
        <h:outputScript name="jquery-ui.js" />
        <h:outputScript name="yourscript.js" />
    </h:head>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to add jQuery using Greasemonkey's @require / @include method, but it doesn't
I've got a Rails 3.2.1 app that I'm trying to include some jquery in.
I'm trying to optimize my website. I have a few plugins to include (jquery
I'm trying to include jQuery Mobile in a project that uses RequireJS for AMD,
I'm trying to include jQuery in an ASP.NET web site that also uses DexExpress
I am using jquery ui (datapicker) and trying simpledialog2 http://dev.jtsage.com/jQM-SimpleDialog/demos2/index.html If I include reference
I am trying to include a .php file that will generate a form for
I am trying to include an IF within my LET in LINQ but i
I'm trying to include a hyperlink in my email but it is just showing
I am trying to include <% @using System.Web.Script.Serialization%> but it is giving me error

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.