Skip to Content
author's profile photo Former Member
Former Member

Buttons in Appraisal document

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2006 at 09:10 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2006 at 07:48 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.