How to do this in a data_table
I have an existing HTML table that allows highlight of rows when mouse passes over the row. The code that uses javascript events like onmouseout and onmouseover looks like this:
<tr nowrap valign="top" onmouseover="mover(this, '#cccccc')" onmouseout="mout(this, '#ffffff')">
<td style="font-size: 81%;">FAQs from ABC</td>
</tr>
<tr nowrap valign="top" onmouseover="mover(this, '#cccccc')" onmouseout="mout(this, '#ffffff')">
<td style="font-size: 81%;">FAQs from DEF</td>
</tr>
I don't see any tags in data_table that would allow me to do this. Is it possible to achieve these effects? How?
Vinay
It would be possible to attach onmouseover events to each of the individual components inside the <h:column> tags ... that would attach the event handlers to the individual components, but would not work as expected if the user were able to move the mouse in between components on a particular row.
One strategy you might consider is to write your own Renderer for the UIData component. As it happens, the "Repeater" demonstration component that is shipped with the beta release provides the source code for a very basic Renderer for UIData. It would be very easy to start from this as a base and add a row-level onmouseover attribute that would be able to render the event handling code on the <tr> element.
Besides satisfying the requirements for your use case, it would be a fun way to learn the main APIs needed to support your own custom markup widgets in the future :-).
Craig McClanahan
Similar Messages
-
I have lost my apple ID for my ipod, now ive got a new iphone and i want to use the same ID for both, can anyone one tell me how to do this? ( i no my ID for the iphone)
Just use the same ID.
These may alos help:
How to use multiple iPods, iPads, or iPhones with one computer
What is the best way to manage multiple...: Apple Support Communities -
Hi,
Due to my brother locking me out of my ipod touch I had to wait an hour to log in again. Unfortunately when I did this, I, again put in the wrong password twice more, each time locking me out for a further 60 minutes. On my 3rd attempt to log in the wrong password was entered again. This time though instead of logging me out for another 60mins it now tells me to "connect to itunes" but I have no idea how to do this and I am now unable to use my ipod. Please help.See Here > http://support.apple.com/kb/HT1212
-
Problem with an incoming message. For example, during my conversation the second line receives a call, I hear the sound in dynamics such as "piiiip piiiip," but when in this situation I recieve SMS and i hear established melody and I do't hear the person on all over SMS. How to solve this problem? Perhaps someone tell me? save in advance
Not Charge
- See:
iPod touch: Hardware troubleshooting
iPhone and iPod touch: Charging the battery
- Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
- Try another charging source
- Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
- Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar -
Recently loaded Lion on my laptop and now my computer crashes often. Black screen and keyboard lights up. Any ideas on what's wrong and how to fix this?
Everytime this happens Ihave to power down and restart! Any ideas would be appreciated!
-
I bought an I pad 2 from us but I can not activate the Facetime in UAE(Dubai)as I can not see the country in the I pad's drop list, anyone has an idea as to how to resolve this issue
I'm not that familiar with how FaceTime works. I know how to set It up but I don't use it. I just know that you can't activate in the UAE. I believe that you can activate in any country that permits it's use. Whether you will need a new ID or not, I can't confirm.
You can Google this and get all sorts of articles on workarounds. Apparently if you set up a VPN you can use it in the UAE. Here is one article that I found.
http://talkfree7.blogspot.com/2010/09/how-to-facetime-voip-call-from-uae.html
I Googled "workaround for FaceTime in UAE" to find this. -
After moving to iCloud I can only get my email through the cloud, no new emails are making it to my home computer and .mac account. Does anyone have any advice on how to fix this issue?
Welcome to the Apple Community.
Which OS are you using. -
My iPhone 4 no longer connects to my car or alarm clock after a recent sync to my computer. The message at I get when trying to. Connect is "this accessory is not optimized for the device" or something like that. Anyone know how to fix this?
Hello there philp_69,
If I understand correctly it sounds like your phone hasnt been recognized in iTunes on your PC since the last couple of updates. I would use the troubleshooting in the following article which will walk you through the steps one by one.
iPhone, iPad, or iPod touch not recognized in iTunes for Windows
Thank you for using Apple Support Communities.
All the very best,
Sterling -
My new iPhone 4S (week old) can't connect to iTunes, App Store or iBooks via Wi-Fi (and some other apps e.g. Hollister – but most of the other apps like Safari or ebay work fine). There is no problem with those apps loading via 3G network. When I turn off the wi-fi, it runs over 3G and i can access App store without any problem. When i turn off the 3G network and turn the Wi-Fi on, those apps like App Store won't work, other apps work fine. When i turn on both Wi-Fi and 3G, the App store (and so on) is also not working, other apps are.
I also found out that when the Wi-fi is on and I sign out my apple ID, the App store starts working! But when I log in again, it will imediatelly stop working. I've tried logging in with others apple IDs, still with the same result. There is no problem with my apple ID account, because it works on my iPad, even via Wi-Fi.
When i first set up my iPhone, there were no complications using App store ia Wi-fi with exactly the same account. I don't know if it has anything to do with it, but this problem started when i logged in with my UK account and then wanted to log back in with my Czech account.
I tried turning it off, hard reset and deleting my iPhone several time (even without back up). Nothing worked since then.
Does anyone have any idea how to fix this?
I would really appreciate ANY help. This porblem is driving me crazy!I am also having the same issue. Please help!
-
Iphone 4s voice to text messaging suddenly stopped working. The little dots that appear while program is preparing to tranfer audio to text shake side to side and no text appear.
Any ideas on how to fix this problem
Depends on what the problem is. -
When I open iTunes it will automatically go to full screen mode. I can't work out how to turn this off. Only iTunes opens to full screen mode.
Go to System Preferences (under the Apple logo in the menu bar). Choose "General". Click "Always close windows when quitting an application".
That should fix it. -
Hi, having purchased and installed pages after my 30 day trial had finished I am now unable to save any changes to documents I had created in the trial version. It says I need a serial number, which I never got when I purchased the pages app. Does anyone kno how to rectify this, I would be very grateful for any help as I'm currently writing up my thesis and am now unable
Hi, I had the same problem and I found that you don't need a serial number anymore. Here is what I did:
(1)I went to Applications fodder on my Mac. (You can navigate to the Application folder from 'New Finder Window.')
(2) Deleted Pages (installed as part of the free free trial version) from the Applications Folder. Also deleted 'IWorks' from the Applications folder.
(3) Started AppStore.
(4) Clicked on Purchases.
(5) Clicked on Pages.
(6) Clicked Install.
(4) repeated (5) and (6) for Numbers and Keynote -
i have purchased itunes match but the cloud will not load on my ipad 4.it works on my iphone 5 & it originally worked on my ipad.the only music that will show up is stuff that i bought from the itunes store.any ideas on how to get this to work?
On the MBP, in iTunes, switch to Song view and enable the iCloud Status column by pulling down View > View options and selecting the option for "iCloud Status." Close the small window. Look for any tracks that have a status of "waiting." If you see several of them disable iTunes Match while holding down the Option key. Quit iTunes, wait a few seconds, then open it again and turn iTM back on. Let it compelete the scan. Wait until all tracks that are "waiting" have a status of either "matched" or "uploaded."
On the iPad, turn off iTunes Match then launch the Music app and let the contents clear out. Power cycle the iPad for good measure, then re-enable the service once all the tracks in iTunes have been processed. -
My Iphone 5 won't show up in itunes on my computer? Any idea on how to fix this problem?
My Iphone 5 won't show up in itunes when i plug it into my windows 8 laptop but it shows up on my computer under devices and drivers as an iphone. Any idea on how to fix this problem so I can use my phone in itunes?
http://support.apple.com/kb/ts1538
-
Here's a screenshot. I've tried everything to make it go away, including changing the browser fill color, but this just wont change. It does disappear when I preview the site online, though. Does anyone know how to remove this color? Thank you in advance!
Hi Jessica,
Please go to View > Click "Hide grid overlay".
Regards,
Aish
Maybe you are looking for
-
Getting error while calling a subscreen in module pool program
HI ALL, ACTUALLY I'M GETTING A SYNTAX ERROR WHILE I'M CALLING A SUBSCREEN IN A MODULE POOL PROGRAM IN PAI MODULE THE ERROR IS AS FOLLOW "." or "ID ... FIELD ..." expec
-
does anyone know how to take an animated flash character and transform it into 1 of those annoying office assistant's that program's like microsoft word uses?? i have the character already drawn out and ready to be integrated into a piece of software
-
while downloading ebooks from the libary, I receive the error message check activation. How can I deactivate ade?
-
Suggestion: Add MacOS X to Technologies Page
I was looking at the OTN technologies web page and thought it would be a good idea to add a Link to the MacOS X resource pages similar to what was done with Linux, Windows, and Java. I usually go to the technology page to get to OS specific resources
-
Hello, I am playing around with checking permissions in web dynpro and ejb. My permissions that extend ActionPermission are working fine, but i dont know how to implement checks on permissions that extend ValuePermission. If i have a <b>class TestVal