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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:07:56+00:00 2026-06-15T09:07:56+00:00

I have a Rich Faces table which has data contained in div. I want

  • 0

I have a Rich Faces table which has data contained in div. I want to show an another div when you mouseover a particular row on richtable row to show extra data associated with that record and hide a div when mouseout using jquery. I am able to show/hide div using jquery. But problem is it is showing/hiding every div tag associated with each of the row instead of showing/hiding div of a particular row. How do i make sure only the row that i mouseover shows the div tag associated with it only?

Here is the code snippet:

<s:div style="float:left; ">
  <rich:dataTable id="pendingOptyTbl" value="#{searchResultList}"
    var="item" style="border: none; float: left;width:100%;">  
      <rich:column style="border: none;">
          <s:div style="position:relative;height: 35px;">
            <s:div style="float:left; width: 700px; " >
               <a4j:outputPanel style="width: 700px;" onmouseout="jQuery('accountDetails').hide();"   onmouseover="jQuery('.accountDetails').show();">
                    <s:div>
                           <h:outputText value="#{searchController.getCapitalizeName(item.label)} : " >
                    </s:div>
               </a4j:outputPanel>
            </s:div>
        <s:div  style="float:left;top:-10px;right:80px; width:360px;position:absolute;" styleClass="searchDetailsClass">
                <a4j:outputPanel id="searchDetails" ajaxRendered="true" styleClass="accountDetails">

  • 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-15T09:07:58+00:00Added an answer on June 15, 2026 at 9:07 am

    So I resolved this using the similar way to the answer from Vladimir but instead of id i did it with StyleClass. I added styleClass=”detail-#{idx}” and searched using onmouseover=”jQuery(‘.detail-#{idx}’).show();”. This will search the element using style class of the div. Every div will have different styleclass since there is a row index associated with it. I hope this will help somebody in the future. FYI: Using Id as described by Vladimir did not work for me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have an application running on JBoss Seam 2, which uses rich faces as
I am using rich faces data table tag in my jsf: <r:dataTable id=dataTable var=user
My problem is with Rich Faces 4.1.0 picklist. I have the item working in
I have another Richfaces question which may seem rather weird. I am developing a
We have a richfaces table (rich-table style class) and we would like to have
Can Richfaces (de)serialize objects? Say for instance, I have a row of data being
I have lloked at the Rich Faces jquery integration at the live demo exadel
I have a JSF page which has a variable number inputText elements containing numeric
I have a java backing bean which has a method (call it getDataList() )
i'm using richfaces 3.3.3 I've a rich:dataTable inside another rich:dataTable and both have a

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.