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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:38:08+00:00 2026-05-26T09:38:08+00:00

JavaScript and jQuery are very useful tools in web application development and they are

  • 0

JavaScript and jQuery are very useful tools in web application development and they are widely used in all most all web application development tools. But in JSF, the same JavaScript and jQuery libraries are not complied. What is the way to overcome this limitation?

Can I download from the internet JSF-specific jQuery and JavaScript libraries? JavaScript and jQuery libraries which are extensively used with other technologies can not be used without modifications in JSF and hence, it is difficult to use them in JSF Is there any solution to this?


Update: Actually, I’m using NetBeans IDE 6.9.1 to develop web applications in J.S.F in which Javascript can not be used with the same syntax as it is used with other technologies. For example, string concatenation can not be made using the + operator. It can be made using the operator & instead. Similarly, most of the logical operators need to be modified and so on.

  • 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-26T09:38:09+00:00Added an answer on May 26, 2026 at 9:38 am

    I’m using NetBeans IDE 6.9.1 to develop web applications in J.S.F in which Javascript can not be used with the same syntax as it is used with other technologies.

    First of all, it’s JSF, not J.S.F.


    For example, string concatenation can not be made using the + operator.

    This is nonsense. Perhaps you’re confusing JavaScript with EL.


    It can be made using the operator & instead. Similarly, most of the logical operators need to be modified and so on…

    That is indeed required if you write JavaScript code plain vanilla straight inside a XML based template, such as Facelets which uses XHTML. The characters <, >, &, ", etc are special characters in XML and should be escaped whenever you want to represent them as-is in XML. The normal practice is to just put that plain JS code inside its own .js file which you include by <script> or <h:outputScript>. Otherwise you’ve to put it in ugly <![CDATA[ blocks. Please note that this problem is not specifically related to JSF, but to combining JavaScript with XML in general.

    See also:

    • Error parsing XHTML: The content of elements must consist of well-formed character data or markup
    • Mozilla Developer Guide – Writing JavaScript for XHTML
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web-based application which is very highly reliant on jquery / javascript,
I am very new at jQuery ... I've used Javascript many times and am
I don't do very much jquery / javascript but wanted to ask for some
I am building a very dynamic web-based application using a lot of Javascript to
I'm a novice-to-intermediate JavaScript/jQuery programmer, so concrete/executable examples would be very much appreciated. My
I'm very new to both the Mvc framework as well as JavaScript and JQuery.
I'm building a concert calendar that's very heavy on javascript (using jQuery). I'm having
I am fighting with a very strange javascript behavior on a jQuery UI widget
I'm temporarily stuck with what appears to be a very simple JavaScript problem, but
I know php mysql , javascript , jquery very well. I have never touced

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.