cancel
Showing results for 
Search instead for 
Did you mean: 

Buttons in Appraisal document

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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