on 07-10-2007 9:05 PM
Hi WAD gurus,
I know this is pretty old query but I am strugling to get a solution. My client want to show some tooltips or mouseover for char & KF in Web template (WAD). I tried the following steps:
1. Open the WAD and open the properties of my table where I want to display the tooltip. The last point in the properties list is reserved for the tableinterface class (param name "MODIFY_CLASS"). This class has to be written by my new class.
2. Implement an ABAP class. Create a class in the ABAP Development Workbench and inherit the super class from class CL_RSR_WWW_MODIFY_TABLE.
3. As I want to modify the caption cell, redefine the method CAPTION_CELL. By using cell content (c_cell_content) for each column (I_X).
4. In the table properties set the modify class to the one i had just created.
But it is not working. Please let me know where I am making the mistake.
Regards
Mahendra
Message was edited by:
Mahendra Mahapatra
Any Suggestion
Message was edited by:
Mahendra Mahapatra
Message was edited by:
Mahendra Mahapatra
Message was edited by:
Mahendra Mahapatra
Set a breakpoint in the class and make sure the template goes thru the class.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Deepu.
Class is working fine.
1. As per the CAPTION_CELL it insert the Title ="tooltip".
2. But When the webtemplate runs it generates javascripts code & default title as HTML <a> link.
So the <td> title dosen't work. For more info see the below sample output code
===========================================================
<td Title = "Country" nowrap class="SAPBEXchaText"><a href="Javascript:;" onContextMenu="SAPBWM(event,2,2,'0COUNTRY','','','',0,0);;return false;" title= 'Context Menu for Country' > Country </a> </td>
==========================================================
See the above code where my "Z" class adds "Title = "Country"" but the <a> has a title="Content Menu for Country". So the mouseover just shows the <a> title value i.e "Content Menu for Country" which is auto generated by some other class.
Please let me know if can help me out to fix this issue.
Regards
Mahendra
Hi Guys need some suggestion & guidance on this open issue.
Message was edited by:
Mahendra Mahapatra
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.