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

  • Home
  • SEARCH
  • 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 1031471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T13:56:05+00:00 2026-05-16T13:56:05+00:00

I have richfaces application. In the page, there is jQuery function defined: <rich:jQuery timing=onJScall

  • 0

I have richfaces application. In the page, there is jQuery function defined:

<rich:jQuery timing="onJScall" name="updateUrlHash" selector="#conversationId" 
    query="alert('in jquery call');" />

Then I have some a4j:commandLink, which should call the function on completing ajax request.

<a4j:commandLink value="test" oncomplete="updateUrlHash(this)" />

Unfortunately, it does not work. I know oncomplete works, because if I put there alert('test');, alert is shown. But when I try to call updateUrlHash function, it does not work. I checked in page source that function is there. What can be wrong?

  • 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-16T13:56:06+00:00Added an answer on May 16, 2026 at 1:56 pm

    I found it. Query is called on object selected by jQuery selector. So in example like this, in javascript is it

    jQuery(selector).alert('in jquery call');
    

    This of course cannot work. So I need to call anything on selected element, and then I can do what I want:

    query="hide(); alert('this works');"
    

    In Javascript it is then (selected element is hidden anyway):

    jQuery(selector).hide(); alert('this works');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have jquery working in my Richfaces 3.3.3 application. I added the following to
I have Richfaces application which I deploy to Glassfish v3. For many weeks (almost)
We have a JSF 1.2 application with RichFaces 3.3.3 on JBoss 5.1. When we
I have a JSF application that uses mostly Richfaces. I would like to introduce
I'm using JSF 1.2 with Richfaces and Facelets. I have an application with many
We have a system built on seam/richfaces. There's this webpage where the tables are
I have a JSF page that displays a RichFaces Treeview, from a TreeNodeImpl model
I have a dynamic web application in Java EE with JSF, Facelets, Richfaces. My
We have a standard j2ee application written using jboss richfaces 3.3.x. we have several
We have a richfaces table (rich-table style class) and we would like to have

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.