Can I call a .htm page of view1 from another .htm page of view 2?

Hi,
I have a viewset QuestionnaireTabVS with a view area TABS which has two views  QuestionCondnsVS (default) and View QuestionRisksVS.
When a variable say GV_TAB  is set as 'Questions' it navigates to the QuestionCondnsVS view and when the variable GV_TAB is set as 'Risks' it navigates to the QuestionnaireRisksVS.
This view set QuestionnaireTabVS is contained in an overview page which  has two Radiobuttons. It works fine when  the first radiobutton is selected, i.e, when I click on the Questions it renders the QuestionCondnsVS view and when I click on the Risks it renders me the QuestionRisksVS view .
Problem is when  I had clicked the RISK tab first and then selected the another radiobutton the rendered view QuestionRisksVS doesnt get removed
but is present there by default which I dont want.I want the QuestionCondnsVS view to be present there by default after the second radiobutton is selected. I tried to refresh all the controllers but somehow it navigates to the  QuestionRisksVS only .
So i thought to call the  .htm page of QuestionCondnsVS forcefully from the QuestionnaireTabVS .htm page as soon as I select the another radiobutton.
Can I call a .htm page of QuestionCondnsVS from another .htm page of  QuestionnaireTabVS? If yes then how or any other suggestion is welcome

Hi Dharmakasi,
The Radiobuttons code is not added in the same HTML page but lies in a different component where the coding is on event handler.
METHOD eh_onchecked.
  DATA: lv_option TYPE REF TO if_bol_bo_property_access,
        lv_check  TYPE char1.
  lv_option ?= typed_context->switch->collection_wrapper->get_current( ).
  lv_check = lv_option->get_property_as_string( iv_attr_name = 'OPTION'   ).
  IF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_old.
    zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_old.
  ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_new.
    zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_new.
  ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_scaf.
    zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_scaf.
    ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_scaf_anz.
    zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_scaf_anz.
  ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_sow.
    zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_sow.
  ENDIF.
ENDMETHOD.
Here the LV_CHECK = old is the first radiobutton whereas LV_CHECk = new is the second radiobutton. I have tried to set the value of gv_tab ='Question' here but again no success.
The .HTM coding of QuestionanireTABVS is
<%@page language="abap" %>
<%@extension name="thtmlb" prefix="thtmlb" %>
<%@extension name="chtmlb" prefix="chtmlb" %>
<%@extension name="bsp" prefix="bsp" %>
<% data: ls_line                type CRMT_THTMLB_LINK,
         lv_flag                type ABAP_BOOL.
    data: lv_xml                type string.
if zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_old.
   REFRESH controller->gt_navlink_tab[].
*   if controller->gt_navlink_tab[] is initial.
     ls_line-id = 'Questions'.
     ls_line-onclick = 'QUEST'.
     ls_line-text = page->otr_trim( 'ZGAF_CRM_70/QUESTIONS' ).
     insert ls_line into table controller->gt_navlink_tab.
     ls_line-id = 'Risks'.
     ls_line-onclick = 'RISK'.
     ls_line-text = page->otr_trim( 'ZGAF_CRM_70/GLOBAL_RISK' ).
     insert ls_line into table controller->gt_navlink_tab.
     %>
<%--   endif.  %>--%>
<thtmlb:tray id     = "HeaderExt"
             indent = 'FALSE'
             design = 'STANDARD'>
  <thtmlb:trayHeader>
    <thtmlb:grid cellSpacing = "0"
             columnSize  = "1"
             height      = "100%"
             rowSize     = "1"
             width       = "100%" >
      <thtmlb:gridCell colSpan     = "1"
                   columnIndex = "1"
                   rowIndex    = "1"
                   rowSpan     = "1"
                   >
        <thtmlb:navLink links  = "<%= controller->gt_navlink_tab %>"
                selectedLinkId = "<%= controller->gv_tab %>" />
    <bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'TABS' ) %>"
              url     = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'TABS' ) %>" />
      </thtmlb:gridCell>
    </thtmlb:grid>
  </thtmlb:trayHeader>
  <thtmlb:trayBody>
    <%
*    data: lv_xml    type string.
    lv_xml    = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
    %>
    <chtmlb:config xml     = "<%= lv_xml %>"
                   mode    = "RUNTIME"  />
  </thtmlb:trayBody>
</thtmlb:tray>
<% elseif zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_new.
   REFRESH controller->gt_navlink_tab[].
*   if controller->gt_navlink_tab[] is initial.
     ls_line-id = 'Questions'.
     ls_line-onclick = 'QUEST'.
     ls_line-text = page->otr_trim( 'ZGAF_CRM_70/QUESTIONS' ).
     insert ls_line into table controller->gt_navlink_tab.
*     ls_line-id = 'Risks'.
*     ls_line-onclick = 'RISK'.
*     ls_line-text = page->otr_trim( 'ZGAF_CRM_70/GLOBAL_RISK' ).
*     insert ls_line into table controller->gt_navlink_tab.
     %>
<%--   endif.  %>--%>
<thtmlb:tray id     = "HeaderExt"
             indent = 'FALSE'
             design = 'STANDARD'>
  <thtmlb:trayHeader>
    <thtmlb:grid cellSpacing = "0"
             columnSize  = "1"
             height      = "100%"
             rowSize     = "1"
             width       = "100%" >
      <thtmlb:gridCell colSpan     = "1"
                   columnIndex = "1"
                   rowIndex    = "1"
                   rowSpan     = "1"
                   >
        <thtmlb:navLink links  = "<%= controller->gt_navlink_tab %>"
                selectedLinkId = "<%= controller->gv_tab %>" />
    <bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'TABS' ) %>"
              url     = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'TABS' ) %>" />
      </thtmlb:gridCell>
    </thtmlb:grid>
  </thtmlb:trayHeader>
  <thtmlb:trayBody>
    <%
*    data: lv_xml    type string.
    lv_xml    = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
    %>
    <chtmlb:config xml     = "<%= lv_xml %>"
                   mode    = "RUNTIME"  />
  </thtmlb:trayBody>
</thtmlb:tray>
<% elseif zcl_gaf_adm_toolbox=>gv_matrix_mnt_type EQ zcl_gaf_adm_toolbox=>GV_MATRIX_MNT_TYPE_SCAF or
          zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_scaf_anz  or
          zcl_gaf_adm_toolbox=>gv_matrix_mnt_type EQ zcl_gaf_adm_toolbox=>GV_MATRIX_MNT_TYPE_SOW.
   REFRESH controller->gt_navlink_tab[].
*   if controller->gt_navlink_tab[] is initial.
     ls_line-id = 'Questions'.
     ls_line-onclick = 'QUEST'.
     ls_line-text = page->otr_trim( 'ZGAF_CRM_70/QUESTIONS' ).
     insert ls_line into table controller->gt_navlink_tab.
*     ls_line-id = 'Risks'.
*     ls_line-onclick = 'RISK'.
*     ls_line-text = page->otr_trim( 'ZGAF_CRM_70/GLOBAL_RISK' ).
*     insert ls_line into table controller->gt_navlink_tab.
     %>
<%--   endif.  %>--%>
<thtmlb:tray id     = "HeaderExt"
             indent = 'FALSE'
             design = 'STANDARD'>
  <thtmlb:trayHeader>
    <thtmlb:grid cellSpacing = "0"
             columnSize  = "1"
             height      = "100%"
             rowSize     = "1"
             width       = "100%" >
      <thtmlb:gridCell colSpan     = "1"
                   columnIndex = "1"
                   rowIndex    = "1"
                   rowSpan     = "1"
                   >
        <thtmlb:navLink links  = "<%= controller->gt_navlink_tab %>"
                selectedLinkId = "<%= controller->gv_tab %>" />
    <bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'TABS' ) %>"
              url     = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'TABS' ) %>" />
      </thtmlb:gridCell>
    </thtmlb:grid>
  </thtmlb:trayHeader>
  <thtmlb:trayBody>
    <%
*    data: lv_xml    type string.
    lv_xml    = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
    %>
    <chtmlb:config xml     = "<%= lv_xml %>"
                   mode    = "RUNTIME"  />
  </thtmlb:trayBody>
</thtmlb:tray>
<% endif.
%>

Similar Messages

  • ¿Can I call a function in a frame from another frame?

    In a Canvas HTML5 document. I use javascript and easeljs.
    I declare a function in frame 1:
    function ponerBicho() {
        this.bichofuncion.cabeza.nariz.gotoAndStop(1);
    then I call it in frame 9 (in the same timeline):
    ponerBicho.call(this);
    this.stop();
    It dont works.
    But if I put the declaration in the same frame, frame 9, it works.
    function ponerBicho() {
        this.bichofuncion.cabeza.nariz.gotoAndStop(1);
    ponerBicho.call(this);
    this.stop();
    Where is the problem?
    I really appreciate your help.
    (Im begineer )

    It works. Thank you very much, Nipun. 
    Suggestion: Adobe should do a good manual for Canvas's use from the beginning. As those who exist of ActionScript. It is very hard for not programmers to have to learn javascript + createjs out of Flash.

  • How can we call "SP.UI.Notify.addNotification" methods in sharepoint designer page(.aspx) load without any onclick control?

    Hello Friends,
    How can we call "SP.UI.Notify.addNotification" methods in sharepoint designer page(.aspx) load without any onclick control?
    Scenario: When i was open my page i need to show below script,But here i used button control.
    <script type="text/javascript" src="/_layouts/14/MicrosoftAjax.js"></script><script src="/_layouts/14/sp.runtime.js" type="text/javascript"></script>
    <script src="/_layouts/14/sp.js" type="text/javascript"></script><script type="text/javascript">
    var strNotificationID;
    function showNofication()
     strNotificationID = SP.UI.Notify.addNotification("<font color='#AA0000'>In Progress..</font> <img src='/_Layouts/Images/kpiprogressbar.gif' align='absmiddle'> ", false);
    </script>
    <div class="ms-toolpanefooter"><input class="UserButton" onclick="Javascript:showNofication();" type="button" value="Show Nofitication"/> </div>
    Thanks
    Reddy

    Hi  Reddy,
    You can use the window.onload method for achieving your demand as below:
    <script type="text/javascript">
    window.onload=function(){
    </script>
    Hope this helps!
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Can we call a procedure defined in AM from a procedure in AM itself?

    Dear Members,
    I just want to know is it a oracle standard way to call a procedure defined in AM from another procedure defined in the same AM. For example
    AM Code:_
    public void proc1()
    System.out.println("IAM IN PROCEDURE-1");
    public void proc2()
    proc1;
    Kindly please let me know whether the above coding style is as per the standards or not.
    Many thanks in advance.
    Best Regards,
    Arun Reddy D.

    Arun,
    As Ravi mentioned this way of calling the method is correct.
    proc1() could be reusable thats why you are calling again.
    Some times few methods(procedure) is common use across the module.
    In that case you can have the method in a commonAM and you extend the commonAM in all your AMs
    that will help you to call in all the AM having a central place to call.
    Thanks,
    With regards,
    Kali.
    OSSI.

  • Can we call a window of one smartform in another smartform

    can we call a window of one smartform in another smartform?

    hi
    No it is not possible
    regards
    vijay
    reward points if helpful

  • I can't download Jdeveloper 11.1.1.3 from JDeveloper download page !!!!!

    I can't download Jdeveloper 11.1.1.3 from JDeveloper download page.
    Does anyone know how to donwload Jdeveloper software?
    When I click the" jdevstudio11113install.exe ", it open antoher web page to ask for download locatoin. After that , nothing happen.
    http://download.oracle.com/otn/java/jdeveloper/11.1.1.3.0/jdevstudio11113install.exe

    It works fine for me

  • How can i call the certificate selection dialog box from source code?

    How can i call the certificate selection dialog box from source code?
    NB: Of course if i have more than one certificate in the Microsoft Keystore 'My'.
    Thank You in advance

    I found an example of the "TestStand UI Expression Control.ctl" and it works just the way I need it. (check the link)
    Proper use of "TestStand UI ExpressionEdit Control" in LabVIEW http://forums.ni.com/ni/board/message?board.id=330&requireLogin=False&thread.id=10609 
    The "Expression Browser Dialog Box Button" F(x) stays disable while editing the VI, however it become available when the VI is called from TestStand.
    Thank you,
    Hecuba
    Mfg. Test Engineer
    Certified LabVIEW Associate Developer

  • Can I call host file ( Unix Shell script ) from Oracle 10g trigger

    Hi,
    I am new to Oracle 10g. Can I call host file ( unix shell script ) from Oracle 10g trigger ?. I know it is possible. Pl explain me with small example
    thanks & regards
    parag

    user12009546 wrote:
    Hi,
    I am new to Oracle 10g. Can I call host file ( unix shell script ) from Oracle 10g trigger ?. I know it is possible. Pl explain me with small example
    thanks & regards
    paragIf you are in 10g, you can simple call shell script from DBMS_SCHEDULER:
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'TEST_SCRIPT',
    job_type => 'EXECUTABLE',
    job_action => 'PATH_OF_YOUR_SCRIPT',
    start_date => SYSDATE,
    repeat_interval => 'FREQ=MINUTELY; INTERVAL=1',
    enabled => TRUE,
    comments => 'Shell script from Oracle'
    END;
    /

  • Calling a method of one class from another withing the same package

    hi,
    i've some problem in calling a method of one class from another class within the same package.
    for eg. if in Package mypack. i'm having 2 files, f1 and f2. i would like to call a method of f2 from f1(f1 is a servlet) . i donno exactly how to instantiate the object for f2. can anybody please help me in this regard.
    Thank u in advance.
    Regards,
    Fazli

    This is what my exact problem.
    i've created a bean (DataBean) to access the database. i'm having a servlet program (ShopBook). now to check some details over there in the database from the servlet i'm in need to use a method in the DataBean.
    both ShopBook.java and DataBean.java lies in the package shoppack.
    in ShopBook i tried to instantiate the object to DataBean as
    DataBean db = new DataBean();
    it shows the compiler error, unable to resolve symbol DataBean.
    note:
    first i compiled DataBean.java, it got compiled perfectly and the class file resides inside the shoppack.
    when i'm trying to compile the ShopBook its telling this error.
    hope i'm clear in explaining my problem. can u please help me?
    thank u in advance.
    regards,
    Fazli

  • Can I invoke a class that extends JAppl from another class extends JAppl

    Can I invoke a class that extends JApplet from another class that extends JApplet. I need to invoke an applet then select an action which opens another applet. Thanks in advance.

    Nobody is able to solve this problem, i cant even
    think this things. i have hope so plz try and get
    result and help.Did you understand what Sharad has said???
    Yep, you can forward to specific error page from servlet when even error occured in JSP. In order to achieve you have to open jsp file from servlet say example by using reqdisp.forward.
    handle exception in the part where you are forwarding. And forward to the specific error page inside catch block.

  • HAVE ONE WEB PAGE OPEN AND SUDDENLY ANOTHER WEB PAGE OPENS

    I can have one web page open and suddenly another web page will pop up. Why? It doesn't happen all the time. Like I said suddenly.

    Another thing you can try doing is scanning for Malware:
    Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]
    Download and Run TDSSKiller [http://support.kaspersky.com/faq/?qid=208283363 http://support.kaspersky.com/faq/?qid=208283363]
    Download and Install Microsoft Security Essentials [http://windows.microsoft.com/en-US/windows/products/security-essentials http://windows.microsoft.com/en-US/windows/products/security-essentials] (not an official endorsement, but I personally recommend MSE as an awesome permanent anti-virus)
    Double check for all Windows Updates.
    What is the website that opens up? Is it always the same, always different, one of a few, etc?

  • Pages page numbering starting from not first page

    Hi. I want Pages to page number starting from not first page but actually page number 12 in my doc should be numbered as page 1 while prior pages numbered i to xi
    Can this be done? How? Thanks.
    Michael

    +Menu > Insert > Section Break+
    at the bottom of where you want the numbering to start/change.
    Click in the body text of the page and set how you want each sections numbering to appear in:
    +Inspector > Layout > Section > Page Numbers+
    In the 2nd section make sure you uncheck:
    +Inspector > Layout > Section > Configuration > Use previous headers & footers+
    Peter

  • Why can I not see an audio book purchased from another computer on my cloud

    why can I not see an audio book purchased from another computer on my cloud

    Where did you download it from? What format is it in?

  • When can an email address be reactivated after deleted from another acount?

    May I know when can an email address be reactivated after deleted from another acount?
    I am eagar to register an email address, let's say "[email protected]"
    I created this address as an alias email in my original Apple ID + iCloud account. But that is not what I want.
    So I deleted the alias email.
    Register an new Apple ID.
    And then re-register the icloud email address "[email protected]" via the new Apple ID
    But was being rejected. And the reason was that, the address has already be picked up.
    So I would like to know when can an email address be reactivated after deleted from another account.
    Please Help !!

    You can't do what you want.
    Email aliases are forever tied to the account that created them, cannot be moved to another account, and cannot be made into a standalone account.
    See: http://support.apple.com/kb/HT4897

  • Can I call a selection-screen that is in another function group?

    I am writing a function module in function group ZFG_A.
    There exists a Dypro 9001 that exists in function group ZFG_B.
    How can I call the dynpro 9001 from my function in ZFG_A?
    This is not OO so I am not sure how to qualify the 9001?  Such as ZFG_B=>9001
      call selection-screen 9001 starting at 5 5
                                 ending   at 70 15.
    I get compile errors on the selection-screen variables because they are not found.
    Thank you,
    Olivier

    Its not at all possible to call a screen of different program from other program.
    But u can copy the screen using a FM called 'RS_SCRP_COPY' or 'RS_SCREEN_COPY'. In the former u can copy the screen with out popup but u have to specify the SOURCE program name and screen number and TARGET program name and screen no.
    In the later u ll get the popup similar to when u copy a screen in SE51.In the popup as u know u have to enter source name and screen no. and target program name and screen no.
    Thanks & Regards
    Santhosh

Maybe you are looking for

  • How do I get the photos id numbers to reappear in the viewer display?

    Hi, Somehow all the image numbers which appear just below the thumbnails of all my photos in the viewer have disappeared. Presently, I have to click on the photo and find its number by going to INFO. Can someone please tell me how to get the numbers

  • Link low res image in MUSE to a high res image for download

    How do I Link a low res image in MUSE to a high res image for download ?

  • Outbound IDOC for message type PAYEXT

    Hi, I am trying to send a IDOC from my SAP system to a EDI vendor. For one particular vendor in segment E1IDKU3 field PAIRZAWE (payment terms) is mot coming, thought this data is been maintained in Vendor Master Data. In Segment E1IDKU4 field FCAREGU

  • Substring with a dynamic length

    Hi All. I need to convert the URL that comes as a https to http. This URL is dynamic and so im not able to give the 'To' value when trying to use the substring functionality. If i have a URL as https://forums.sdn.sap then i need to convert this as ht

  • Quality Certificate Issue with multiple batchs with same delivery note

    Hi, Hi, My Company Business Process: Quality certificates are generated prior to the good receipt through IDOC process. When we  receive the goods, GR should look for existing quality certificates and trasnfer the inspection results to inspection lot