Tab Strip Selection - Client Side Eventing

Hello All,
I have one tab strip with 5 tab strip item. Inside 1st tab strip I have one htmlb button and I want to trigger 2nd tab strip item while I am clicking the 1st tab strip buttonu2019s client side event.
Is it Possible?
I need Sample Code!
Note: JspDynPage Client Side Event of Htmlb Button.

Hi,
Mainly tab strip utilized for random selection.
So i Closed this Thread.
Thank You,
Devasarathy Pandi.

Similar Messages

  • Client side eventing with HTMLB in a jsp file

    Hi All,
    Can u give me the solution to work with client side eventing with HTMLB with a jsp page but not with a dynpage.
    Regards,
    sireesha.

    Hi sireesha,
      Check this.
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <%@ page import="com.sapportals.htmlb.enum.EventTrigger,com.sapportals.htmlb.event.Event" %>
    <hbj:content id="myContext" >
    <hbj:page title="PageTitle">
    <script language="Javascript">
    function checkinput(){
         var funcName = htmlb_formid+"_getHtmlbElementId";
         func = window[funcName];
         var inputfield1 = eval(func("inf1"));
         var input1 = inputfield1.getValue();
         if (input1==""){
              alert("Enter mandatory fields");
    </script>
    <hbj:form>
    <hbj:textView id="tv1" text="Name"/>
    <hbj:inputField id="inf1"
    type="String"
    required="true"
    jsObjectNeeded="true">
    <% inf1.setClientEvent(EventTrigger.ON_BLUR, "checkinput()"); %>
    </hbj:inputField>
    <br>
    <hbj:textView id="tv2" text="City"/>
    <hbj:inputField id="inf2" type="String"/>
    <hbj:button id="b1" text ="submit" onClick="onSubmitclicked"/>
    </hbj:form>
    </hbj:page>
    </hbj:content>
    Regards,
    Harini S

  • Client Side Eventing

    Hi,
    I have 2 seperate iviews, iView1 and iView2. I would like to make a call to the backend database using JCO and pass the ResultSet to iView2. In iView2 format the data and display in a tableview.
    Is it possible to pass a Resultset using Clientside Eventing from iView1 to iView2.
    To achieve this would it be best to use Client Side Eventing or Session Beans.
    Any advice would be appreciated.
    Thank you
    NAC

    Hi NAC,
    I already answered your question in two iviews calling each other on a single page?
    If it isn't clear, please ask precise what you didn't understand...
    Best regards
    Detlev

  • EPCF Client Side Eventing

    Hello,
    I have been working on some EPCF client side eventing examples. I found the example by Dr. Ron Hendrickx at the following URL.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/iview client side eventing with the epcf toolbox service
    So, I imported the .par to Eclipse, I then changed the code so that the sender is a tree holding URL's and the receiver displays them in an IsolatedHtmlContainer and got it working fine.
    My problem is this, when I start a new project in Eclipse and copy/paste the code, properties files, the .classpath and .project files (everything) the IClientEventReceiver isReceived() event is never triggered. The doProcessBeforeOutput() method in the receiver is called but the event is not triggered. Seriously, we have copy/pasted everything exactly, the .par file created is identical in structure to Dr. Hendrick's and yet if I create a new project and make all the files it doesn't work. Only when I work with the .par imported from Dr. Hendrickx's work will the example work. We're thinking maybe some environment variable somewhere is causing this but we've copied the .classpath file, everything is exactly the same but the event will not be received in a project we create ourselves.
    Really, any help with this will be well appreciated.
    David.

    Pumped isolation method is sort of a combination of embedded and URL isolated.  The portal server is used to fetch the content from the website/application.  When the data is ready, it is "pumped" into the browser using an IFRAME tag and an XML based data stream.  This give you the ability to cache the data on the portal server, but get the flexibility of isolated iViews.
    However, we will plan to drop this functionality in the future and "pumped" iviews will automatically be treated as "URL isolated" iviews.

  • Client side event for h:outputText... and other JSF component

    Hello friends...
    I need client side (to use Java script ) event for change in <h:outputText /> or <h:inputText...>.
    I want to open a popup window when there is a change in there. I donot want to use onblur() for this. Is there any thing for achiev it.
    Thanks.
    Regard
    Roshan Lal ( I don't know why there is "DOG" display in LIST )
    :-)

    Hi Jacek,
    Unfortunately I think you may be stuck extending Renderer. Another possibility is creating your component via a template, which will be available in JSF 2.0. However, as JSF 2.0 won't be out for a while... you can use JSFTemplating in the meantime:
    http://java.sun.com/developer/technicalArticles/J2EE/jsf_templating/
    http://www.theserverside.com/tt/articles/article.tss?l=JSFTemplateComponent
    Good luck!
    Ken Paulsen
    https://jsftemplating.dev.java.net

  • Tab Strip Selection Screen in ALV Report

    Hi All,
    I want to create a ALV report with TABStrip selection screen. How to proceede.
    Is there any necessary to create dailog program for the screens.
    Please advise.
    Thank You,
    ANu.

    Hi
    You can create it using module pool program in an easy way. Have the tab strip in main screen and use the sub-screens for display. By this way you can do it. If you wish, you could refer the following link, where they have given step by step procedure.
    <<Link-farm removed>>
    Hope this helps you.
    Regards
    Vinodh
    Edited by: kishan P on Nov 1, 2010 3:00 PM

  • Moving Tab Strip to Left Side

    I would like to move the tab strip to the left side. I tried using a plug in to do this, but it only provided top or bottom support, no left or right side. Does Firefox support this directly?
    == This happened ==
    Every time Firefox opened
    == When I downloaded FireFox

    You want tabs on the left going down vertically, right?
    Try Tree Style Tabs: https://addons.mozilla.org/en-US/firefox/addon/5890/
    It also has some organization of tabs in a tree, as the name suggests. There might be other similar add-ons.
    But Firefox doesn't have that functionality out of the box.

  • Client Side Event

    How can we achieve client side evemting in webdynpro applications?
    Regards
    DS.

    Refer to the thread below:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5d/08f43cf1da7646a2b210a16321c669/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d48eaa90-0201-0010-58a8-887fc8632c3c
    How to use EPCF eventing in Webdynpro
    Should be helpful.

  • Client side event between Java iView and BSP application

    Hi,
    I am developing a BSP iView which listen to event raised by standard SAP HR TeamViewer iView.  The TeamViewer iView raise a event when user click on the employee list. 
    EPCM.raiseEvent { "urn:com.sap.pct.hcm.orgmanagement:CurrentObject", "objectChanged", concatenatedKey);
    My BSP is subscribing to the event and perform the myreceiveEvent function.
    EPCM.subscribeEvent
    ( "urn:com.sap.pct.hcm.orgmanagement:CurrentObject", "objectChanged", myreceiveEvent );
    However, my BSP returns an error message saying that EPCM is undefined.  I know that I have to included the java script file.  I checked with my basis team guy and they said there is not any js file in ICF.  Can someone let me know which file I need to include in my BSP code and where is the file locate?
    Thanks,
    Eric

    Hi Eric,
    > the ICF where the BSP is stored
    > is in the Oracle database
    Eric... the place where the JS fragment - within the BSP - appears, is retrieved by some http request. The script=epcfproxy.js forces the browser to send a http request just to the same relative location the original page came from. Doesn't matter if something is within a database...
    > Do you know how to locate the
    > epcfproxy.js file in the WAS?
    I think:
    > and the epcfproxy.js file is in the zip file
    > that you suggested
    you have found it?! Put it to any place on the BSP server you can access, if you can't set it with relative url, use "/some/.../dir/epcfproxy.js" as location.
    > If I am only EPCM but not EPCMPROXY,
    > do I need to include the epcfproxy.js in my code?
    Have a look at epcfproxy.js. It's no magic at all, you have to call top or parent (just look) and do some minor things. For sure, you can live without the proxy file, you have just to put the neede scripts explicitely on your page, that's not that fine, but it works.
    Hope it helps
    Detlev

  • Client side eventing with HTMLB

    Hi All,
    I am trying to access the HTMLB elements from jsp page to java script and failed to handle an event.
    My requirement is, i have a form designed in First.jsp which is having 2 input fileds and both are mandatory. I want to display a msg to the user if he try to skip those 2 input fileds without value.
    This i tried with dynpage it is working but i want to have with a JSP page, ie., all the presentation is in jsp file. so, how can i access those 2 input fileds in java scipt function?
    If anybopdy is having an idea or a sample code please share here.
    Thanks in advance,
    Regards,
    sireesha.

    Hi Harini,
    Thanks for your reply.I tried the same code but it is not showing the alert, i couldn't find where exactly the problem is!
    Here i am putting my code please go through it and help me.
    JSP file:
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <%@ page import="com.sapportals.htmlb.enum.EventTrigger,com.sapportals.htmlb.event.Event" %>
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
      <script language="Javascript">
              function checkinput(){
              var funcName = htmlb_formid+"_getHtmlbElementId";
              func = window[funcName];
              var inputfield1 = eval(func("inf1"));
              var input1 = inputfield1.getValue();
              if (input1==null)
              alert("Enter mandatory fields");
         </script>
       <hbj:form>
           <hbj:textView id="tv1" text="Name"/>
              <hbj:inputField id="inf1"
                              type="String"
                              required="true">
           <% inf1.setJsObjectNeeded(true);
           inf1.setClientEvent(EventTrigger.ON_BLUR, "checkinput()"); %>
           </hbj:inputField>
           <br>
           <hbj:textView id="tv2" text="City"/>
           <hbj:inputField id="inf2" type="String"/>
           <hbj:button id="b1" text ="submit" onClick="onSubmitclicked"/> 
        </hbj:form>
      </hbj:page>
    </hbj:content>
    Regards,
    sireesha.

  • PDK Prefix in client side

    Hi All,
    I have an application with a SAP table.
    Some of the table cells are Input Fields.
    I have set the same ScriptingEvent function for all the cells.
    I want to access those fields from the client side.
    I've noticed that the PDK adds a prefix to the controls.
    For ID it's some String and "_" and for Name it's some String and ":".
    For now, when I want to get the object's ID I use
    "event.srcElement.id" is it the correct way?
    Does the prefix remain const?
    Thanks,
    Omri

    Hi Omri,
    In order to get the id of a control you should the
    ClientID property of the control.
    You can find a good example at the "Portal Client-Side Events" in the How-to section of the PDK for .NET documentation.
    Regards,
    Tsachi

  • Tab Strip eventing

    Hi,
    I have 4 tabs in data container, each tab associated with different event. Whenever i click on a tab , i want to display some data on top of the tab as dispaly only.  what is the better approach?
    I am thinking to create 4 web dynpro views and based on the selected tab, i  will show that perticular view or is there any efficient way to do this instead o creating 4 web dynpro views , can i create one and flip te data based on selected event?
    Please write the detailed steps to achieve the above task?
    Thanks
    Sri

    Hi Sri,
    Instead of creating 4 views, try to use 4 different transparent containers. Place the in corresponding containers. Create 4 different context attributes of the type com.sap.tc.webdynpro.progmodel.api.WDVisibility.
    Procedure:
    Click on "..." button in the properties of the context attribute. Select Local Dictionary -> Expand uielementdefinitions ->  Select WDVisibility. 
    After binding each context attributesto the corresponding visibility property of the transparent containers.
    Use this code to change the visibility in Tab strip  event handler.
    If (selectedTab.EqualsIgonreCase("Tab1")  )
    wdContext.currentContextElement().set<conatiner1Vis>(WDVisibility.VISIBLE);
    wdContext.currentContextElement().set<conatiner2Vis>(WDVisibility.NONE);
    wdContext.currentContextElement().set<conatiner3Vis>(WDVisibility.NONE);
    wdContext.currentContextElement().set<conatiner4Vis>(WDVisibility.NONE);
    else if (selectedTab.EqualsIgonreCase("Tab2")  )
    Feel free to revert in case of any issues.
    Regards,
    Siva

  • Tabbed selection screen with AT SELECTION-SCREEN ON events does not work

    I have a selection screen with 3 tabs fields on each tab have AT SELECTION-SCREEN ON field events.  
    If you are on tab 1 and select a variant that populates fields on all tabs and then click the execute button ABAP does not seem to recognize that the field has changed when it executes AT SELECTION-SCREEN ON field event unless you physically go to each tab.
    I can work around this by:
    1) moving all of the AT SELECTION-SCREEN ON field events in a AT SELECTION-SCREEN OUTPUT event.  This is not efficient and it potentially opens me up to other problems.
    2) changing the selection screen to remove the tabs and have all of the fields on 1 screen.  This makes for a very long screen.
    Is there any way to have ABAP check all tabs?
    Thanks,
    Jerry

    I finally got it to start.   Let it sit and tried and it wouldn't but then I tried again and it did.  How do I blow the dust out?   I think it must be something with the heat since that comes up alot. 
    I will do it, I love my Mac.

  • Call report selection screen in module pool program with tab strip control

    Hi,
    Could anyone explain in detail to call report selection screen in module pool program with tab strip control.
    Thanks
    Mano

    Hi,
    Refer std program:
    demo_sel_screen_in_tabstrip.
    demo_sel_screen_with_tabstrip.
    Call your program with SUBMIT stmt form module program.
    Reward points if this Helps.
    Manish

  • How to  create a selection screen with two tab strips

    Hi Experts,
    I need to craete a selection screen '100' with two tab strips, in the 1st tab strip i need create some select options as subscreen and in other tabstrip i need to call the subscren '4000' of the program 'SAPLCTMS' . i need to call this screen as selection screen from the zprogram. please help me out.
    Thanks in advance...
    Sarath...J

    Hi,
    I have developed some code.
    It just displays a table control and after entering the values init, upon hitting the return button, the values will be put into table itab. Have a look and make necessary changes as you see fit.
    *& Report  ZMADHU_TBCNTL
    REPORT  zmadhu_tbcntl.
    DATA: BEGIN OF itab OCCURS 0,
         sel TYPE s_flag,
         matnr TYPE matnr,
         ersda TYPE ersda,
         ernam TYPE ernam,
      END OF itab.
    CONTROLS: tab_cntl TYPE TABLEVIEW USING SCREEN 100.
    *START-OF-SELECTION.
    CALL SCREEN 100.
    *END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'TABCNTL'.   "pf status
    SET TITLEBAR 'xxx'.
      CASE sy-ucomm.
        WHEN 'BACK' OR
             'CANCEL' OR
             'EXIT'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  ITAB_MODIFY  INPUT
          text
    MODULE itab_modify INPUT.
      CASE sy-ucomm .
        WHEN ' '.        " When pressed enter
    if itab-sel = 'X'.
          MODIFY itab INDEX tab_cntl-current_line.
          APPEND itab.    " append lines to internal table
          CLEAR itab.
    *endif.
      ENDCASE.
    ENDMODULE.                 " ITAB_MODIFY  INPUT
    *Screen 100 flow logic.
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      LOOP AT itab WITH CONTROL tab_cntl CURSOR
      tab_cntl-current_line..
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE select_data.
      LOOP .
        CHAIN.
          FIELD itab-matnr.
          FIELD itab-ersda.
          FIELD itab-ernam.
          MODULE itab_modify ON CHAIN-REQUEST.
        ENDCHAIN.
      ENDLOOP.
    MODULE USER_COMMAND_0100.
    Hope it will helps to u.
    Thanks,
    Shankar

Maybe you are looking for

  • Wireless internet not working at my house when I use my laptop (using a linksys wrt54g2 router)

    I am using a laptop for wireless internet (Dell D610). I have no problem using wireless internet at my school and in other places, but at my house, I can't browse the internet. The router at my house has a strong signal (4 or 5 bars) and when I try t

  • Sync new ipod with previous library

    How do I sync my iTunes music from my old iPod with my new iPod.

  • Odd Problem with iTunes store-buying an album

    I'm trying to buy the Deluxe edition of Straight Outta Lynwood, but when I click on "Buy Album," it says I already bought it, and says to click "Ok" so I can download it. However, it doesn't download. I clicked on "Check for Purchases" in the menu, a

  • ORA-01536: Tablespace Quota Error...

    Hi all, I am testing a SQL script to one of my databases. After several tests, I receive the ORA-01536: Tablespace quota has been reached for tablespace "USERS". This doesn't look reasonable since the user is SYSDBA with unlimited tablespace privileg

  • Can not config full duplex on Gi0/1 of WS-C2960-24TC-L

    Hi, I have a problem when connect two modules GLC-FX-100FE to two switch WS-C2960-24TC-L as below: When I plug each SFP module like above to each switch WS-C2960-24TC-L to SFP slot (gigabit 0/1: dual purpose port), then the duplex become to Haft. So,