on 09-21-2006 2:51 PM
Hi All,
I have copied the HAP_DOCUMENT to ZHAP_DOCUMENT.
Here we have some buttons which come from the page fragement buttons.htm.
Our requirement is to change the tool tip's for these buttons.
Can anyone explain the pricedure for the same?
Regards,
Devendra
Thanks Manasa,
I declared my own variable in the Buttons page pragment and added the following code.
case lw_buttons-id.
when 'REVIEW'.
l_tooltip = 'Review document Add your text here'.
when 'PERFORM'.
l_tooltip = 'Test document Add your text here'.
when 'SAVE'.
l_tooltip = 'Save document Add your text here'.
when 'CANCEL'.
l_tooltip = 'Cancel document Add your text here'.
when 'PRINT'.
l_tooltip = 'Print document Add your text here'.
when others.
l_tooltip = lw_buttons-text.
endcase.
Regards,
Devendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I´m not accesing that page, but it´s probably done with <htmlb:button> or with <xhtmlb:buttonGroupItem>. If that´s true, both extensions have the parameter tooltip, where you can enter the new text.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
in the button id attribute we have the tooltip option. here is a sample code.
<htmlb:button id = "<%= lw_buttons-id %>"
text = "<%= otr(YP_HRPA/ARCHIVE_BUTTON)%><%=tmp_text%>"
<u><i><b>tooltip = "<%= lw_buttons-text %>"</b></i></u> disabled = "<%= l_disabled %>"
design = "<%=l_design%>"
onClick = "<%= lw_buttons-id %>"
onClientClick = "<%= l_string %>"
width = "90" />
<%WHEN others.
%>
<htmlb:button id = "<%= lw_buttons-id %>"
text = "<%= lw_buttons-text %>"
<u><i><b>tooltip = "<%= lw_buttons-text %>"</b></i></u>
disabled = "<%= l_disabled %>"
design = "<%=l_design%>"
onClick = "<%= lw_buttons-id %>"
onClientClick = "<%= l_string %>"
width = "90" />
<%ENDCASE.%>
regards,
manasa
User | Count |
---|---|
93 | |
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.