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

Javascript-BSP : return value

Hi all,

what's the modality for processing into html page (oninputprocessing) the value returned from javascript function:

1) IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START

call Javascript function declared into main.htm

CONCATENATE 'Javascript:gest_nota('

com_nota

');' INTO nota_var.

p_replacement_bee= CL_HTMLB_IMAGE=>FACTORY( id = p_cell_id

src = icon_text

onClientClick = nota_var " Javascript funct

tooltip =

'example ' ).

2) main.html layout

<script language="JavaScript">

function gest_nota(nota)

Best regards.

Miki

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 25, 2007 at 02:27 PM

    You mean to say Javascript code which trigger the OnInputProcessing? if so look at the below code..

    CONCATENATE 'Javascript:gest_nota('
    p_cell_id
    'Event_name'
    ');' INTO nota_var

    <b>Javascript code:</b>

    <script language="JavaScript">
    function gest_nota( id, event) 
    {
      htmlbSL(this,4,id:event);
    }
    </script>

    If my understanding is wrong, explain us in detail pls...

    Raja T

    Add a comment
    10|10000 characters needed characters exceeded

    • You can NOT do it. To modify the values, you need to trigger the Server event. Javascript will work only at Client side not at Server level.

      Whats your requirement so that we can suggest other alternative solutiuon?

      <i>* Reward each useful answer</i>

      Raja T

      Message was edited by:

      Raja Thangamani

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.