Problem in TabStrip Eventing

Hi all,
I have a TabStrip UI Element with id <b>tab</b> which contains 4 tabs and each of these 4 tabs contains a TabStrip UI Element each named <b>tab1</b>,<b>tab2</b>,<b>tab3</b> and <b>tab4</b> . Now in wdDoModifyView if I try to add a source mapping to these tabstrips , it gives me runtime exception saying that parameter tab1 is not found . It refuses to accept any id except for tab . My source code is as follows:
<b>In wdDoModifyView:</b>
if (firstTime)
               objTabElement1 = (IWDTabStrip)view.getElement("tab1");
objTabElement1.mappingOfOnSelect().addSourceMapping("tab1","strTabIndex");
<b>The corresponding onSelect action of this TabStrip has the following code:</b>
for(int i=0;i<20;i++)
               //Condition apply if the "Tabs"+i is equal to strTabIndex
               if (("Tabs"+i).equalsIgnoreCase(strTabIndex))
                    wdContext.currentContextElement().setCtx_RowIndex(i);
                    break;
               }//end of if (("Tabs"+i).equalsIgnoreCase(strTabIndex))
          }//end of for(int i=0;i<15;i++)
Any help in this matter will be highly appreciated and suitably rewarded with points.

The first parameter of the addSourceMapping() statement is the name of a UI element event parameter.
In this case, the event parameter that holds the ID of the selected tab is named "tab". In your code, better use the type-safe constant <b>IWDTabStrip.IWDOnSelect.TAB</b>. I introduced them exactly for that purpose.
See https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDTabStrip.html#mappingOfOnSelect()
Armin

Similar Messages

  • I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?

    I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?  Any help will be appreciated.  Thank you.

    This should give you some good insight, I'd probably store them on an External HD on the old machine and then just drag and drop to the new machine.
    https://discussions.apple.com/docs/DOC-4141

  • ICal error "There was a problem receiving this event invitation"

    Whenever I try accepting an event invitation I get a dialog prompt that says
    *There was a problem receiving this event invitation*
    Someone invited you to an event using an email address that isnt on your "me" card in Address Book. Find your email address in the following list and add it to your card in Address Book
    Problem is I've done that, my vCard is up to date. It was working fine, I cant recieve any invites anymore, wether they come from OSX or Windows. Can anyone help?

    I ran into this same issue. To resolve this, go into the Address Book application. Select the vCard that is "your" card. Now in the menu bar, go to "Card". On the drop down menu, select "Make this my card". You should now be able to accept iCal invitations without any issues. When I upgraded to 10.5.1 the issue came back and this method seemed to resolve it.

  • How do I identify a problem in an event?

    Friends,
    I've updated to FCP X 10.1.  An event that I created after updating and for which I created a project suddenly displayed a yellow hazard symbol next to the name of the event.  This suggests that there is some sort of problem with the event or project.  How can I identify more specifically what the problem is?  Everything looks good when I look at the event and enclosed project.
    Thanks!
    Steve

    It means at least one peice of media is offline, and needs to be relinked.
    Select the Event, go to File > Relink Files, then swith from All to Missing Files.  You can then relink anything that is offline.

  • At event calendering site, getting message "There was a problem with your event submission. If you have disabled JavaScript please enable it and try your submission again." Javascript is ENABLED on my computer.

    I'm trying to submit an event to the events calendar at http://calendar.jtnews.net/events/index.php?com=submit. After I enter the Authentication words and press Enter, I get the message, "There was a problem with your event submission. If you have disabled JavaScript please enable it and try your submission again." According to my Firefox/Tools, etc., button, Javascript is enabled. I

    Hello mjswooosh,
    I'm very disheartened to hear that you've had ongoing problems when attempting to order from BestBuy.com. Our goal is ever to provide a fun and efficient shopping environment! Certainly creating aggravation serves neither you nor us and I apologize sincerely for this having been your experience.
    We recommend the troubleshooting steps you mentioned (i.e., clearing the browser cache, deleting temporary internet files and cookies) because this is the most common cause of this type of problem. I too have encountered this issue from time to time and these steps have almost always resolved the problem. I say almost always because there's one further step you can try: ensure that you have signed out of BestBuy.com, then perform the browser maintenance steps we've recommended. Afterward, before signing in to BestBuy.com, add your desired items to your cart and sign in as part of the checkout process. When the standard steps have not netted a resolution for me, this has solved the problem each time.
    I hope this helps. I'm very grateful that you took the time to write to us with your concerns and for sharing your very valuable feedback about your online experience.
    Sincerely,
    John|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Problems with close event scripts and closing Photoshop

    Hi!
    We are having problems with close event scripts ("Cls ") when closing/quitting Photoshop.
    The close event scripts are working without problem when closing an image. But when quitting Photoshop without having closed all images we are observing the following behaviour:
    with CS2 the close event scripts are not triggered at all
    with CS4  the close event scripts are triggered and executed correctly. But after that the Photshop process freezes. No visible GUI, you have to kill the process with the task manager.
    I can reproduce this behaviour even with a small script consisting of a single alert('hello') and even an empty script. Is this an known bug or am I doing something wrong?
    Thanks for your help!
      Eric

    Check your energy saver settings under system preferences. That is where you set sleep setting.

  • NWBC - Problems with TABStrips in SAPGui-Rendering

    hi folks,
    does anybody has also the problem that tabstrips in sapGui-Applications do not appear on the screen when executing inside Netweaver Business client.
    They appear just as a "Line", you can click on it, but they are rendered not correctly.
    kind regards,
    oliver

    Dimenticre
    Lots and lots of questions.
    1. Your export settings should include Square Pixels, not what you have shown.
    2. Do you really want Frame size 1960 width and 1080 height? Typically that would be 1920 x 1080 16:9.
    3. What are the properties of your source media...video and audio compression, frame size, frame rate, aspect ratio, file extension...etc. Consequently what are you or the project setting as the project preset in the new project dialog? Could it be one of the project presets with 1280 x 720 in its description? Which one?
    Let us start here and then decide what next. More details coming if necessary.
    Thanks.
    ATR

  • SCOM-Difference between Problem Count and Event Count in Application Failure Analysis Report

    Dear All, 
    Could someone explain me clearly , the difference between  Problem Count and
    Event Count in Application Failure Analysis  Report. Please help me in understanding What is meant be problem and event in the report .
    Thanks in Advance.
    Regards,
    Rajesh Kumar C

    Hello Rajesh,
    The "problem" is the logically grouped set of the exception events which have the identical hash calculated over several fields as "Stack", "Source", "Failed Function" and so on... So, even if exceptions are different
    in the other properties but hash matches over the considered properties - then all those exceptions go into the same "problem group".
    So, event is an instance of the problem. One event contributes to one problem but one problem might have a huge event count if you have a repeating issue.
    The logic is similar for the performance analysis report, only fields that go into the "problem" hash are different. e.g. "Stack" is not used in hash for perf events...
    Dmitry Matveev

  • Problem Posting an Event to the EventQueue

    Hi all,
    while i develop a java application i get problem posting ana event to the EventQueue using postEvent method.Here is the problem.i have a menu which have 3 menu items (Load, store, hide).i want when the user click "hide" the code in "store" option excuted plus extra code in option "hide".i tried to implement this using the postEvent of EventQueue. i simlate this by tring to post ActionEvent to simulate user cliks option "store" but this didn't work. can anyone tell me what's the problem.thanks

    try JMenuItem's doClick(). that simulates the user clicking on your menu item.
    thomas

  • Problem related to event handers in Tabstrip..Urgent..Please

    Hello,
    I have screated a tabstrip for demo. The layout is visible but as I click on any tab to view the corresponding details, I get an error related to EventHandlers respectively.
    Please refer to the code below:
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <html>
    <body>
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" method="post">
    <hbj:tabStrip
               id="myTabStrip1"
               bodyHeight="100"
               width="200"
               horizontalAlignment="CENTER"
               verticalAlignment="TOP"
               selection="4"
               tooltip="Tooltip for myTabStrip1"
               >
               <hbj:tabStripItem
                         id="myTabStripItem1"
                         index="1"
                         height="80"
                         width="160"
                         onSelect="myTabStripItem1OnSelect"
                         title="Introduction"
                         tooltip="My Tooltip for Tab 1"
               >
                  <hbj:tabStripItemBody>
                        <hbj:textView text="This is an iview showing Introduction details" />
                  </hbj:tabStripItemBody>
               </hbj:tabStripItem>
               <hbj:tabStripItem
                         id="myTabStripItem2"
                         index="2"
                         height="80"
                         width="160"
                         onSelect="myTabStripItem2OnSelect"
                         title="SAP Portal"
                         tooltip="My Tooltip for Tab 2"
               >
                <hbj:tabStripItemBody>
                        <hbj:textView text="This iView has details on SAP Portal" />
                  </hbj:tabStripItemBody>
               </hbj:tabStripItem>
               <hbj:tabStripItem
                         id="myTabStripItem3"
                         index="4"
                         height="80"
                         width="160"
                             onSelect="myTabStripItem3OnSelect"
                         title="SAP R/3"
                         tooltip="My Tooltip for Tab 3"
               >
                <hbj:tabStripItemBody>
                         <hbj:textView text="This iView has details on SAP R/3" />
                </hbj:tabStripItemBody>
               </hbj:tabStripItem>
    </hbj:tabStrip>
    </hbj:form>
      </hbj:page>
    </hbj:content>
    </body>
    <html>
    I would appreciate if anyone would please let me know as to how should I resolve this.
    Error (assuming that I have clicked on the second tab SAP Portal):
    <b>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : newTabStrip.default
    Component Name : newTabStrip.default
    Eventhandler- "myTabStripItem2OnSelect" or "onMyTabStripItem2OnSelect" not found!.
    Exception id: 12:26_20/12/04_0053
    See the details for the exception ID in the log file</b>
    Im working on SP6 and using eclipse for the above.
    I believe this error is because the resp event handlers have not been subscribed for the event. But if so, kindly help me to resolve it as I do not understand where should it be subscribed.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
    quite easy one, you didn't implement the event handler.
    Within the corresponding JSPDynPage, a method  "myTabStripItem2OnSelect" or "onMyTabStripItem2OnSelect" is expected (derived from onSelect="myTabStripItem2OnSelect").
    You should work through the JSPDynPage tutorials.
    And: You haven't been very responsive in your posts until now. If someone helps you, it is not more than kind to reply if this worked or not or whatsoever is the situation (see Call an iView from another iView...Please help..Urgent for example).
    Also, there is a points contribution system on SDN - just click the yellow star at helping answers and choose the corresponding amount of points to award.
    Hope it helps & thanks in advance
    Detlev

  • ALV: Problem with toolbar event

    Hi ALV-experts,
    I have a dynpro with a header area where I display an ALV table. Below this I have a subscreen with a tabstrip control and two tabs.
    In the ALV toolbar I defined an own button. This button gets deactivated after pressing this button. I achieved this by the option "disabled" in the structure stb_button within the event handler for the toolbar event.
    This works all fine so far. If I start the dynpro and click on the button in the ALV-toolbar the buttons gets deactivated afterwards. But I have I jump between the tabs before I press the ALV-toolbar button, the button does not get deactivated.
    The debugger does not go into the event handler of the toolbar event. I also did system debugging of the method SET_TOOLBAR of the CL_GUI_ALV_GRID-class. Here I pass in both cases the command
    raise event toolbar e_object = m_cl_toolbar e_interactive = i_interactive.
    but in the second case (when I change the tabs before I press the button) the event handler is not executed and I don't know why. I also tried to register the event handler for all instances of the ALV still with the same result.
    The ALV method set_toolbar_interactive( ) did also not solve the problem.
    I couldn't find any SAP note about an issue for this event.
    Does anybody have an idea or a solution for this problem?
    EDIT:
    Problem solved, it was typo!
    Thanks in advance and regards,
    Martin
    Edited by: Martin Fischer on Jul 7, 2010 4:53 PM

    The problem was a typo!

  • Problem in Tabstrip

    Hi Experts,
    I am using the tabstrip in my BSP application.
    The requirement is that if the user navigate through the tabs then validation should be captured according.
    I am handling the event using the following code
    DATA:
      event TYPE REF TO cl_htmlb_event,
      tabstrip_event TYPE REF TO cl_htmlb_event_tabstrip.
    event = cl_htmlb_manager=>get_event( request ).
    if event->name eq 'tabStrip' and event->id eq 'myTabStrip1'.
      tabstrip_event ?= event.
      selection = tabstrip_event->selection.
    endif.
    if selection = 1.
          statement1  
    elseif selection = 2.
          statement2
    endif.
    Problems is
    when we navigate the date being refreshed of previous.
    Please give some tips.
    Regards,
    Kuldeep

    There is no other option apart of what Raja D suggested..
    DATA: GT_TIHTTPNVP TYPE TIHTTPNVP.
    REFRESH GT_TIHTTPNVP.
    CALL METHOD REQUEST->GET_FORM_FIELDS
      CHANGING
        FIELDS = GT_TIHTTPNVP.
    <i>* Reward each useful answer</i>
    Raja T

  • Another instance of severe new problem in iCal - events duplicated infinite

    This is like other posted problems. I just went Leopard - Snow Leopard. Have used iCal for years and consider myself experienced. On my first attempt to add a repeating event following the OS upgrade, the repeating event was duplicated hundreds perhaps thousands of times before I even completed the entry in the popup dialog. As you all know, that dialog does not allow cancel or delete. The event is duplicated multiple times in the same day. It seems to have no termination date. It cannot be selected in order to delete it. The color is even a pastel shade of the group color that it was supposed to have.
    I have turned off iSync and hope that I can remove theses ridiculous events before they spread to every Mac and Ipod.
    I cannot find a database to delete or I'd delete it and try to resync from me.com.
    Help, Apple -- we need your attention on this one. It is definitely a **** up in iCal.

    O.k. - I am not experienced in spite of many years of using this turkey. First of, the sync/don't sync button in preferences - forget it. iCal syncs with MobileMe no matter what the setting. Bummer - except that once the hundreds of duplicate, repeat events are transfered to MobileMe, you can delete them from the web interface - unlike the iCal application that forbids deleting unwanted events.
    Second new discovery. You can put in a repeated event on the MobileMe website with no trouble but, bummer again, the new event on MobileMe does not sync back to the iCal on the iMac.
    Final and most important discovery. I got the problem in the first place by blindly supplying the information asked for and, I kid you not, iCal 4 asks for the end date of a repeated event twice. If you answer the question twice, as I did, you get N * N events. So I hope I can avoid the problem in the future. But really, iCal needs methods to delete repeated events. Also as a former long-term Palm user, I sorely miss the option to restore a calendar from another machine. (the ability to sync or overwrite the local application).

  • HT2513 Problem Creating Recurring Events in iCal.

    Hello.
    I'm having some issues creating a recurring event in one of my iCoud Calendars on iCal.
    If I create a new event then go in and change the recurrance, time, and name it stays in my iCal for a few seconds then defaults back to a basic appointment with no name, time, or recurence. I then need to go back into the event and reprogram everything. It will then save the changes.
    Its a little annoying as I need to reprogram the even and save it twice.
    Has anyone had this problems, and could offer assistance?
    Thank You!

    The same thing happened to me! I'm in another discussion thread about this and it seems many people have the same problem and it all started about a week ago

  • Time zone compatability problem with timed event created on iOS and pushed to Windows7 Outlook calendar for sharing

    Hi, I am in Jerusalem time zone. My Windows7 LAPTOP time zone is set to it (UTC+02:00 Jerusalem). My iPhone5 and iPad are both "Set Automatically" (ON)  to Jerusalem. When I create any new event in my outlook on my Laptop it's generated with the Jerusalem time zone and pushed properly via iCloud to my iPhone and iPad. However when I create a new timed event on either my iPhone or iPad. or even in iCloud calendar (in a browser) the event is pushed to outlook on my Laptop in a "Beirut" time zone. Now that both Jerusalem and Beirut are on the same time zone (UTC + 02:00) it doesn't create any problem (though I prefer to see that the pushed events are indeed in Jerusalem time zone and not Beirut...). However, at and around day time saving change days there are problems of events created on iOS devices or even in iCloud (using browser) and pushed to outlook at the wrong times (1 hour earlier or later, depends on the change direction in Jerusalem time...) with a Beirut time stamp.
    How can I resolve this problem and make sure all timed events, created on iOS devices at a Jerusalem time zone, appear as such after pushed via iCloud to my windows7 Outlook calendatr?  Thanks!

    I also have this issue (iPhone 5).  Outlook needs to be configured properly in that timezone option needs to be selected.  Which is challenging enough.
    However the bigger issue for me is that when I open the ICN file:
    1.  I have no way to accept decline etc.
    2.  When the event is populating the calendar in the wrong time I can neither cut and paste nor select and move.  It is totally static.
    So for every meeting request I have to ensure it populates the right time as per my time zone. and if it doesnt i have to manually enter a second meeting 'X' hours earlier/later depending on which time zone the meeting was generated in.
    I spoke to Apple.  Their solution is make sure Outlook is properly configured.  Fine...but good luck.  I need a work around that is Apple based.  Because this *****.
    They said they would send to the development team.  I am not holding my breath.

Maybe you are looking for

  • HT3500 help i need to install my epson printer to new imac but do not have a disk

    hi, does anyone know how to set up an epson printer to an imac without install disk. I have been trying to do this for three nights....anyone can you help?????? Nisha

  • Help needed in backgroung job problem ?

    Hi All, I scheduled VF31 txn in a background to email the invoices. Now the problem is, when suppose, if i have 10 invoices and the third invoice doesnt have an mail address....job gets failed.. what i need is even if the third invoice fails i want t

  • Unable to rollback using BMT in a stateless bean

    Hi, My stateless bean contains the following testing code UserTranaction ut = null; try{ ut = context.getUserTransaction(); ut.begin(); // get database connection from OracleDataSource // via container // update a recored in db if (true) throw new Ex

  • When does java start

    I would like to know when java starts upon reboots of Solaris machines. I cannot seems to find any startup scripts in the rc directories. Any ideas?

  • Safari crash when window closed

    Like the post earlier, safari crashes when a window closed. I used to have Speed Download, however, it is no longer on my system, and when i searched for it (and permutations of it I found nothing. I tried looking in the crash log, but I dont know wh