Moving focus between views

Hello
Current situation: I have a viewset (top and bottom) with the bottom having multiple views which have their visibility turned on or off depending on the value of a drop down in the top view.
Problem: When the selection is made in the drop down, the correct view is shown in the bottom view, however, the entry fields cannot be accessed. I need to be able to enter data in the bottom view, however, it seems that the focus has stayed in the top view. How can I move the focus?
Thanks,
Helen

Hi Helen,
Check whether this works...
In the wdModifyView() method of the required view...
call the method getElement("id") of the IWDView object and call the method requestFocus() of the IWDViewelement object obtained.
Thanks & Regards,
Renjith

Similar Messages

  • How can i navigate via navigational link between views in different windows

    hello
    i am using CRM_UI and have opened a popup
    gv_transcr_popup is a attribute referrring to if_bsp_wd_popup in my implementation class
    gv_transcr_popup = comp_controller->window_manager->create_popup(
        iv_interface_view_name = 'AIC_CM_TRANS/AssignTranspReq' "#EC NOTEXT
        iv_usage_name          = 'CUBAssignTransporReq'         "#EC NOTEXT
        iv_title               = lv_title ).
    get instance of BOL dynamic query
      lo_qs = cl_crm_bol_dquery_service=>get_instance( 'BTQAIC_CM_TRANSPORTREQ').
      gv_transcr_popup->set_on_close_event( iv_view = me iv_event_name = 'AssignTranspReq' ).
      gv_transcr_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
      gv_transcr_popup->open(   ).
    through the iv_usage_name i will open in this popup a search view from another window
    in this window is a searchview implemented and now after selecting the line in the result view in want to navigate through outbound plug / inbound plug to the starting view .
    but i get the exception
    Target view AIC_CM_TRANS/TransportReq of the navigation is not assigned to the current window AIC_CM_TRANS/AssignTranspReq ( which is true)
    now the question: how can i navigate between views of different windows?
    Best Regards
    britta

    hi
    i have found a way : you have to use a outboungplug from the windows interface ..then it is working
    best regards
    britta

  • How to pass internal table between views

    Hello Experts,
      How to pass an internal table between views? I have followed some steps but its showing an error.
    i have created a table type of ZTTYPE_VBAP and line type  VBAP.
    I have declared in component controllers attribute  LT_VBAP of associated type ZTTYPE_VBAP .
    But when i am using this in my method in component controller its not taking.

    Venkata123# wrote:
    Hello Experts,
    >
    >   How to pass an internal table between views? I have followed some steps but its showing an error.
    >
    > i have created a table type of ZTTYPE_VBAP and line type  VBAP.
    > I have declared in component controllers attribute  LT_VBAP of associated type ZTTYPE_VBAP .
    > But when i am using this in my method in component controller its not taking.
    you will have to declare a node with the attributes in the context tab of component controller. by doing this you will make this node a global one in your entire application . now copy the value you have in the internal table of yours in this node.
    after doing so you can read this node anywhere in the program and you can retrieve the values.
    regards,
    sahai.s

  • Navigations Between View  in Webdynpro ABAP

    Is there any other ways to navigate between Views Other than Using the Out bond and In bond Plugs...?
    And one more While reusing the Views from one WDP1 in WDP2...
    For example :
       Take WDP1 it has got 10 Views
    I want to reuse the 8th view in WDP2 how it is done...
    Hint: ( I tried some thing like this 
                But  in WDP2 only the default view of Wdp1 is Coming ?
    Thanks In advance :
    Nagarjun
    <removed by moderator>
    Edited by: Thomas Zloch on Feb 28, 2012

    Hi,
    1. You should use inbound and outbound plugs to navigate from one view to other view.
    2. If you want to reuse any particular view, you need to mark that as interface view( create one window and place that view inside that window and mark it as interface view)
    Hope this helps u.,
    Thanks & Regards,
    Kiran.

  • Differences between view and materialized view

    Hello,
    Please tell me the Differences between view and materialized view in oracle 9i.
    Thanks and regards
    Madhuri

    How can I create index in a view?
    Please read reply of Justin Sir.
    Regards
    Girish Sharma

  • Change the focus between two windows

    I have a program that uses a console window, and an appletviewer window. I want to know the code required to change the focus between each of the windows. By focus I mean which window is on top of the screen.

    These are java.awt.Frame or javax.swing.JFrame objects, right? Use their show() method. Some OS's may not allow you to steal focus. You could try:
    frame1.hide();
    frame2.hide();
    if(wantframe1ontop)
    frame2.show();
    frame1.show();
    else
    frame1.show();
    frame2.show();
    }

  • LR5 stopped moving files between folders

    Hi everybody,
    I've noticed today that my LR5 stopped moving files between folders, I select files I want to move and drag them over to a new location like I always did before with only difference is now nothing happends, no messages with errors, nothing... I tried to google it and couldn't find anything related to my problem.
    I'm using Windows 8 x64. I checked the permissions on all the photo folders and everything seems to be correct. I also run LR under admin rights, so there shouldn't be any OS related issues... in addition, it was working just fine till today.
    I hope you can at least point me in right direction to dig more info on the problem with my LR5.
    Thx!

    Hi everybody,
    I've noticed today that my LR5 stopped moving files between folders, I select files I want to move and drag them over to a new location like I always did before with only difference is now nothing happends, no messages with errors, nothing... I tried to google it and couldn't find anything related to my problem.
    I'm using Windows 8 x64. I checked the permissions on all the photo folders and everything seems to be correct. I also run LR under admin rights, so there shouldn't be any OS related issues... in addition, it was working just fine till today.
    I hope you can at least point me in right direction to dig more info on the problem with my LR5.
    Thx!

  • Navigate between View with Value Node.

    Dear Expert,
        I would like to know the best way to carrying data in Webdynpro between View.
       For example, I have a Quiz applcation with 10 pages (View) of question.  I would like to submit the answer at the end of the page (10th View).   So, at the end of the page, I need the to retreive the answer from page 1 to 10 and submit it.
    1.   I am using copyToLocal.  What that does it when the application fire Next event plug.  it will
    Quiz.<b>set</b>QuizAns1(Quiz.<b>get</b>QuizAns1)
    and do the same thing for next 9 pages in order to bring the answer from page 1 to the end.
    To simplfied, I am considering.
    2.  Model Beans
    /people/valery.silaev/blog/2005/06/29/apojo--almostplain-old-java-objects-as-model
    3.  Session Beans.
         Is any concern that I shouldn't use session bean in webdynpro??
    Or any other way to make the Code more organize?
    Thanks all.

    Hi,
    The best way to carry data in WebDynpro views is through context attributes.
    Create a context as below in component controller
    Context
    +Questions (node:cardinality 0..n,selection 0..n)
    ---Question
    +Answers
    ---Ans (node:cardinality 0..n,selection 0..n)
    Map the above context to all the views.
    In the wdDoInit() of component controller create Ans elements under Answers node equal to question node.
    for(int i=0;i<wdContext.nodeQuestions.size();i++)
    wdContext.nodeAnswers().addElement(wdContext.nodeAnswers().createAnswersElement());
    // This way we need not create the elements in each view before going to the next view.
    Populate the Question attribute with Questions.
    Through indexing show the question corresponding to views as
    In first view (index 0)
    wdContext.nodeQuestions.getQuestionsElementAt(<b>0</b>).getQuestion();
    In second view (index 1)
    wdContext.nodeQuestions.getQuestionsElementAt(<b>1</b>).getQuestion();
    and so on..
    // Note: The Answer node will not be populated intially with values as your answer might be multiple choice.
    After the user gives answer store the answer in the corresponding index of Ans attribute under node Answers as
    For the answer in first view
    wdContext.nodeAnswers.getAnswersElementAt(<b>0</b>).setAns(<get the answer from the view>);
    For the answer in second view
    wdContext.nodeAnswers.getAnswersElementAt(<b>1</b>).getAns(<get the answer from the view>);
    In your last view you can get the Questions and Answers by looping through the Questions and Answers node.
    This way you will need only one attribute for Question and Answer respectively.

  • Communication between Views | UITabBar

    Hi,
    I have a TabBar application with three UITabbar Items.
    1. Main
    2. Settings
    3. About
    All 3 views are loaded from XIB files and I have created my UI in these views, linked it to UIActions and UIOutlets and the code within the views works perfectly. My question is how do I communicate between views.
    Say for example, I have a button in Settings view and if I click that, a label's text in Main views has to change. I am a bit confused as to how to go about it. Do i create a separate class and use it to store all the data my views share or is it possible for me to get a pointer to the other views and then alter its data directly.
    I am a bit new to iPhone programming and so am trying to learn things as and how I implement them. Any help is appreciated.
    Thank you,
    Sharath

    You can find the other controllers through the tab bar controller or you can create variables in the app delegate.

  • Creating Relationships between views, causes writable mapping error

    Hi
    I'm using the DBAdapter in ESB (10.1.3.3), which uses Toplink and I am trying to create a relationship between a table and a view. None of the objects have any keys or indexes, so I am creating a relationship directly.
    When I have created the adapter service and compile the ESB, I get the following error:
    Descriptor EmployeePhonesV -> The following primary key fields are unmapped: STAFF_NUMBER
    Descriptor EmployeePhonesV -> The following primary key fields have no writable mappings: STAFF_NUMBER
    When I imported the view, I had to tell it that the primary key was a composite as there is no real unique key field.
    Is this a known problem that I can't create relationships between views???
    Any help most appreciated.
    Chris

    Hello Chris,
    The exception is stating there isn't a mapping capable of setting the STAFF_NUMBER field. How do you have this field mapped? Generally there should be a writable either direct-to-field mapping or OnetoOne mapping using this field though other types of mappings will work.
    Best Regards,
    Chris Delahunt

  • Move focus between elements of browser page doesn't work with JVM 1.6.x

    Hi,
    why JVM 1.6 doesn't support accessibility?
    with JVM 1.5_10 or above it's possible to move from elements of IE browser page with tab and enter and exit from applet
    with JVM 1.6 or using plugin 1.6 this is not more possible.
    with plugin 1.6 and JVM 1.5 applet can gains focus but it doesn't release it
    with JVM 1.6 applet doesn't gain focus and all keyevents are intercepted from browser.
    to make my applet and page accessible I need to move focus between elements of browser page with tab,
    and enter and exit from applet.
    Just because my users can't use mouse but only keyboard.
    Note that FireFox doesn't work at all, even if bug seems fixed https://bugzilla.mozilla.org/show_bug.cgi?id=93149
    (you can watch a recorder right sample here on: http://www.vista.it/ing_vista_0311_video_streaming_accessibile_demo.php)
    Please advise.

    Hello Carl,
    some things are so easy if some one takes place the clou. I clear all cache information in the firefox browser and all is working fine.
    Thank you very much and have a nice weekend.
    Regards
    Thorsten

  • It stopped sending mail and moving messages between folders, junk messages stopped being moved.

    Recently, Thunderbird stopped sending mail and moving messages between folders, junk messages stopped being moved.

    Further notes (different user, same problem):
    * This is a problem that started in Thunderbird 32
    * This involves both automatic (filter) moves and manual moves
    * This includes use of keys and hotkeys (the delete key, for example)
    * Restarting Thunderbird does seem to "reset" the problem... for a while. I notice the problem most when either I've been away from the computer/program for a while or when waking a laptop computer from a sleep or hibernation state.

  • Moving apps between screens

    I'm having trouble moving apps between screens. I can move one app but then if I try and move another, I drag it off the side of the screen but the screen doesn't change. The only workaround I have is to move an app to the dock, change the screen with a swipe, then move the app out of the dock back onto the new screen. Is anyone else having this problem?

    I thought this was broken on my iPad after upgrading to iOS 4.2. After messing around, I found that if I move an icon around on the screen and hold it at the edge of the screen for a few extra seconds, with the edge of the icon slightly off the screen. Then the screen will change.

  • Moving files between folders is very slow

    Hi, I have an iMac 2011. Processor: 2.7GHz Intel Core i5/ Memory 4GB
    OS X Yosemite, version 10.10.1
    After I change my OS from Mavericks to Yosemite, moving files between folders is very slow.
    For example, if I move one jpg file in Desktop to Pictures folder (or just any other folders like Trash), it takes about 3 seconds.
    When I was still using Mavericks, it made that Ding sound and transferred files right away. However, now, although it makes the Ding sound right away, the file is still there for 3 seconds.
    I tried to clean up my mac using many apps, but they never fixed this problem.
    I've also tried what I saw on this one thread. OS X File Transfers Very Slow
    Go->Connect to Server then type "cifs://server-address" but it says there is a problem and did nothing. (maybe different issue)
    Please help!

    There may be other issues, but you installed the "Genieo" or "InstallMac" ad-injection malware. Follow the instructions on this Apple Support page to remove it.
    Back up all data before making any changes.
    Besides the files listed in the linked support article, you may also need to remove this file in the same way:
    ~/Library/LaunchAgents/com.genieo.completer.ltvbit.plist
    If there are other items with a name that includes "Genieo" or "genieo" alongside any of those you find, remove them as well.
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those. If Safari crashes on launch, skip that step and come back to it after you've done everything else.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, then you may have one of the other kinds of adware covered by the support article. Follow the rest of the instructions in the article.
    Make sure you don't repeat the mistake that led you to install the malware. Chances are you got it from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates
    if it's not already checked.

  • Modification dates change when moving/copying between hard-drive and flash

    I use a flash drive to store most of my work-related documents on. That way, I have them when I'm at school (on a Windows XP computer) and at home on my Mac OS 10.3.9. I
    try to occasionally back-up my flash drive by dragging it's contents to my Mac. Copying in this direction USUALLY retains the appropriate modification date.
    However, if I move things from the Mac to the USB drive (I occasionally make changes to a file on the Mac when my flashdrive isn't handy), the modification date changes to the copy/move date. Is there a way around this? It alters the information about the file and sometimes makes a version look newer than another version of a document. When in reality, it’s older--it’s just been moved/copied and the date changed.
    I often move things back and forth for backup purposes, but if it keeps changing the dates on it’s own, it’s impossible to tell which is REALLY the
    most current copy/version.
    Is there a fix so that copying and moving files between volumes does NOT change the modification date of the file?
    Powerbook G4--12 in.--1.33 GHz   Mac OS X (10.3.9)  

    Hi, teacher. When my Lexar JumpDrive Secure is formatted as a MS-DOS volume so a PC can read it, the last-mod dates of files that I copy to it are changed to the date and time of copying. When it's formatted as a Mac OS Extended volume, the original last-mod dates are copied to it unchanged. Looks like you can thank Bill Gates for the inconvenience: apparently it's a DOS file system "feature". Don't you wish you could use Windoze all the time?
    On second thought, the files really are changed when you write them to a DOS volume, because the DOS file system has no place to store the metadata about your files that a Mac pays attention to and a Windoze box doesn't. So when you write Mac files to a DOS volume, that metadata — which is part of each Mac file — is simply discarded, causing the last-mod date to change.
    Message was edited by: eww

Maybe you are looking for