Capturing action Event in the Embedding View

Hi Experts,
              I embedded View B in the View A through View UI Element Container, Now through the WDMODIFYVIEW we are creating elements in the View B. Now  we need to create elements based upon the Actions performed in the View A. How to capture which action is being triggered in the View A so that i can create elements in the View B.
If we use WDDOBEFOREACTION in the View B as the if_wd_view_controller refers the View B we  cannot able to find out which action is triggered in the View A.
Any suggestions how to find out the Actions in the View A, as view B is embedded in it.

Hi vikranth,
   I think you need to capture the action in view A and pass that action into view 2.
See as u are saying that in view 2 you want that elemts to be created depending on view 1 action.Now this means that some action has been performed in view 1.suppose action ACTION_ADD_SG_QR has been performd in view 1 which can be collecetd in WDDOBEFOREACTION of view 1 only.
And then you pass this collecete action through context mapping to the view 2 where you can write the code depending on this action name.
hope this helps you.
regards
PG

Similar Messages

  • In ICal is there a way to see all of the text in all day events on the month view of the calendar.  Seems to wrap text only if there is a time on the event

    In ICal is there a way to see all of the text in all day events on the month view of the calendar?  Seems to wrap text only if there is a time on the event

    The paths won't agree on the two OSs so a simple XML import isn't likely to work.
    See Sync iPod/iPad/iPhone with two computers and, if needed, Make a split library portable. The techniques in the first link will work when moving the library between Windows and OS X as long as the library is "portable", but iTunes takes quite some time checking the database when the library is opened under a different OS.
    tt2

  • HT2513 my iCal shows events in the "month" view but not in the "week" view? why is that?

    my iCal shows events in the "month" view but not in the "week" view? why is that? doesnt sync automatically all the time only sometimes

    my iCal shows events in the "month" view but not in the "week" view? why is that? doesnt sync automatically all the time only sometimes

  • How can I see more than 6 all day events in the week view without scrolling?

    How can I see more than 6 all day events in the week view without scrolling?  I need to see all of my all day events at once.  I use this for scheduling and comparing of # invoices.  Going back and forth to scroll is cumbersome.  I just want to be able to expand the top section so I can see everything at once.

    Any ideas, anyone?

  • Trigger an event in the parent view, when popping a child view (Mobile)

    So from one view I'm pushing another view with some data:
    <s:Button label="Edit System" click="navigator.pushView(EditSystem, systems.selectedItem)"/>
    The problem I have is that in this other view I'm updating a view things in my sqlite database, so when I pop the 'EditSystem' view and return to the original, I want to run a function to requery the the sql so I can update a view things in the original view. But from what I can fugure Eventlisteners dont work across views? How do I trigger an event in the original view when I return from a child view via pop? 

    You should find this post useful: http://flexponential.com/2010/12/05/saving-scroll-position-between-views-in-a-mobile-flex- application/
    It demonstrates one way of saving and restoring data when pushing and popping a view.

  • Action reference in the MAIN view for other Views

    Hi Experts,
    I have created a view(MAIN) that contains SUBMIT button and also included four other views(Using ViewContainerUIElement) in the MAIN view itslef. So am calling the respective view based on some certain condition from MAIN view.
    Now my problem is, am using  check_mandatory_attr_on_view() method which is being called on SUBMIT action from MAIN view of WDDOBEFOREACTION. But it is not checking Required Fields from other views. It checks the Required Fields only in the MAIN view.
    I know that I want to call the reference of other views in MAIN view, but how can I do it?
    Please help me, as how I can check the Required fields on action of SUBMIT button in MAIN view for other views.
    BR,
    RAM.

    Hi,
    Though am in MAIN view, If i clicks the submit button it checks the Required fields on both MAIN and Sub views, where still I have not called the Sub view.
    If you didn't call the sub view, the WDDOINIT method of your sub view wouldn't have been triggered and so the sub view reference is not set in the component controller, isn't it.?
    OR you are calling sub view separately in the initial state and get the reference and then in your MAIN view calling the sub view based on condition in the View Container UI..?
    If so, create an attribute in your Main view (say sub_view_name of type string) and then use the below code to get the current sub view name and then pass the corresponding sub view reference:
    DATA:lr_view_controller    type ref to        IF_WD_VIEW_CONTROLLER,
           lr_main_view_usage  type ref to        IF_WD_RR_VIEW_USAGE.
           lr_vc_assignment      type ref to        IF_WD_RR_VIEW_CNT_ASSIGNMENT.
           lr_view_usage           type ref to        IF_WD_RR_VIEW_USAGE.
           lr_t_views                 type                WDRR_VCA_OBJECTS.
           lr_s_view                  like line of        lr_t_views.
           lr_view                     type ref to        if_wd_rr_view.    
          lr_view_controller = wd_this->wd_get_api( ).
        lr_main_view_usage = lr_view_controller->GET_VIEW_USAGE( ).
       lr_t_views  = lr_main_view_usage->GET_VIEW_CNT_ASSIGNMENTS( ). "This will return all the View Container assignments.
    * Now loop over all the View containers and get the reference of embedding view.
       loop at lr_t_views  into lr_s_view .
          lr_vc_assignment = lr_s_view-VIEW_CNT_ASSIGNMENT.
          lr_view_usage  = lr_vc_assignment->GET_DEFAULT_VIEW_USAGE( ). " This will return view usage reference
          lr_view = lr_view_usage->get_view( ). " This will have the meta info of view
          wd_this->sub_view_name = lr_view->get_name( ).   
       endloop.
    Now in onAction submit,
    CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
                                  EXPORTING
                                   view_controller =  lr_view_controller " MAin view reference
    case wd_this->sub_view_name.
    when 'SUB_VIEW1'.
    CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
                                  EXPORTING
                                   view_controller = wd_comp_controller->gr_emb_view1.
    when 'SUB_VIEW2'.
    CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
                                  EXPORTING
                                   view_controller = wd_comp_controller->gr_emb_view2.
    Or, alternatively; create all the nodes(of sub views) in component controller, then map all those to MAIN view, then read the required node attributes and validate manually.
    hope this helps u,
    Regards,
    Kiran

  • All of a sudden my ical will not allow me to add events through the monthly view mode.

    All of a sudden my ical wil not allow me to add events throught the monthly display mode.  I ahve to go the the daily or the weekly mode.

    Hi John,
    Thanks so much for wading in. I did exactly what you suggested - glad you gave me the hint about how to access my library files. There was only one document that seemed to have anything to do with cache, and that was called Calendar Cache. (I've attached a screen capture of all the files incase I should have deleted something else as well.) I deleted Calendar Cache then restarted iCal, but after updating I was still unable to add new events.
    Is there anything else you can suggest?
    Thanks again,
    Susan

  • I am using iCal 8.0 and I don't know how to include event times along side the event in the monthly view.  help.  :)

    I am using iCal Version 8.0 (2026)
    I have read through responses to a similar question as I am posing, but the recommendations that I've found don't seem to be in the iCal preferences/ general tab.
    Two great solutions that don't seem to be in my preferences winder are: 
    1.  A respondent recommended checking the box 'show event times' on the general/ preferences tab, but that box does not appear in my window
    2.  A second response i found recommended that 'I check box for 'Show time in Month view.' in Under General/ preferences, but that option is not appear either.
    Any other thoughts please

    The grouped yellow pages are a Section (Chapter).
    If you have logical divisions within your documents that fall on page boundaries, do the sensible thing and actually divide them with:
    Menu > Insert > Section Break
    …where you want the separation. Both before and after.
    Moving or removing individual pages is like ripping pages out of a book and/or reshuffling them. It makes sense to relocate or remove entire sections, which are pages connected by their content, but not the individual pages within those that have continuing text both before and after them.
    Peter

  • Calendar is creating an extra event when the event spans the week view end of week to beginning of next week.

    When I create an event in Calendar that goes from Saturday to Sunday, like my work shift that starts at 5:30 pm and ends at 3:30 am the next day, the event gets duplicated onto the next day but is seen as a single event. So if I delete the one on Sunday it deletes the Saturday one as well. But visually there are two separate events. This happens when spanning work weeks. I first noticed it because my week view was set to start on Sundays. All of my Saturday shifts were duplicated onto the Sunday. It seemed to be okay only when I switched the week to start on Mondays. But then I just went to create an extra shift I picked up on Sunday and now it's there on Monday as well.

    Ive reset, restored and this is the second phone. Thought it maybe a wonky screen that would shift it while setting dates. THe only thing I can think of is that I am syncing with google calendar, but it only happens when setting events in ios not if i do it from google website on desktop PC.

  • Why does my Web Publishing Tool fail to create an image of my front panel when I select the "Embedded" viewing mode?

    I am trying to create an html file for access by a client computer through the LabVIEW Web Server. I want to enable the client to control the vi, so am chosing "Embedded" for the Viewing Option in the Web Publishing Tool. The small preview screen in the Web Publishing Tool shows an image of my front panel, but the resulting html file does not include this image. The Web Server error log shows a 404 error which I believe is due to the lack of an image (or any front panel objects) present in the html file: Error: 404 "Not Found" for "/.lv_frontpanelprotocol.rpvi100", file "c:/program files/national instruments/labview 2010/www/.lv_frontpanelprotocol.rpvi100": Can't access URL
    If you are aware of this problem or know any solutions, please post a reply.
    Thanks,
    David

    Does it work if you preview the web page locally?
    Does the client computer have at least the minimum 2010 run time engine installed?
    (quote: Additionally, the Run-Time Engine allows your browser to display VIs that are embedded in Web pages.")
    LabVIEW Champion . Do more with less code and in less time .

  • Capture onclick event on the Download Link of a File Browse Item

    I'm using APEX 4.0.1 and need to create a javascript:popupURL after a file browse item's onClick event fires and before the download dialog popup appears.
    Here's a related thread: {thread:id=2135877}
    Is this possible to do? If so, any help will be appreciated.
    Edited by: CM Randy SD on Jan 11, 2011 7:54 AM

    >
    I tried each of the following in the the Element HTML Form Element Attributes for the File Browse item:
    onClick=javascript:alert(this.value);
    onClick=javascript:popupURL('http://www.google.com');
    onFocus=javascript:alert(this.value);
    onChange=javascript:alert(this.value);And what happened?
    [A few points on good practice:
    1. In the XHTML normally used in APEX 4.0 mark-up, all XHTML, including attribute/event handler names, should be in lower case: <tt>onclick</tt>, <tt>onfocus</tt>, <tt>onchange</tt>...
    2. Attribute values should always be quoted.
    3. The <a href="http://crisp.tweakblogs.net/blog/313/the-useless-javascript-pseudo-protocol.html">"javascript:" pseudo-protocol is evil</a>. There are a few places in APEX where we may have to resort to using it as URL is all we're offered to work with, but it's always better to use an event handler of some kind, either inline or (better) registered dynamically at runtime following the principles of <a href="http://en.wikipedia.org/wiki/Unobtrusive_JavaScript">unobtrusive JavaScript</a>. +It absolutely should not be used in inline event handlers.+
    So:
    {code}
    onclick="alert(this.value);"
    etc

  • ICal has stopped showing events for Sundays only in the month view.

    iCal has stopped allowing events to be entered or viewed on Sundays from the Month view.  If I double click on a date on the month view, for a Sunday, nothing happens on the screen but if I go to the day view there is a default New Event on the day. 
    If I enter an event from the day view it does not appear on the Sunday in the month view.
    On previous Sundays where events already exist I can add a new event from the month view.  If I add an event using google calendar from Chrome it appears on the Sunday and then I can add event from the month view.
    This just recently started happening.
    I am using Mavericks 10.9.1 with iCal Version 7.0 (1835.1).

    dutchlab,
    Quit Calendar, then try removing the com.apple.iCal.plist file from your Macintosh HD/Users/yourusername/Library/Preferences Folder. To find that folder, use Finder>Go Menu>Depress the "Option" key>Library, and open the Preferences Folder. Drag the com.apple.iCal.plist file to your desktop, and log out/in or restart and check Calendar for functionality.

  • Why are my events in iCal NOT sorted by calendar? (in the month view))

    I use 5 calendars in iCal (iCloud).
    Even in iCloud beeing opened in a browser, the events are all mixed up. The events of "Calendar 1" are sometimes above those of "Calendar 2", sometimes below. Same thing with the other calendars. This causes much blindness in using iCal...
    When I use iCal, all events are also mixed up, but in a different order as they are in iCloud (browser).
    I think, it should be able to sort all events in the month view by the calendar in which they have been entered. Isn't this the purpose of beeing able to arrange the calendars in differents ways?
    Sorry for my bad english...
    I would be grateful for some help!

    no help?

  • Why do my events change in the day view, when I create a new event? (iCal for iPad 2)

    Every time I create a new event in the day view in iCal on iPad, the other events (which I created before for the same day) change their starting and/or their ending time.
    Please help!

    monkeyde,
    You are getting entagled in the two confusing meanings of the term pixels, namely as a unit identical to points and equalling 1/72 inch, and the basic component of raster images (and effects).
    You can read on in this very recent thread:
    Is there a way to get Illustrator to know how many pixels are in an inch?

  • No time field in an event added by pressing down a date in the month view of the calendar!, no time field in an event added by pressing down a date in the month view of the calendar!

    I have been trying to add time to an event i already added but the time field does not exist.
    this happens only when I add the event from the month view while I press a date. in no other senario does this happens.
    may be its a bug in the calendar.
    if I press the + sign then it's normal.
    any suggestions on how to fix this?

    there is edit button; however, my problem comes after that. if the event was added using the above method then there is still no way to change the time of the event in that date. if the event was added in any other way then I can change the time.
    and I just realized my iphone3gs with ios5.0.1 has the same exact bug.

Maybe you are looking for

  • Lion Kernel Panic in Mini

    Can anybody make sense of the Kernel Panic so as to lead me into the right place? I've unplugged all my firewire and USB and running different browsers and it always crashes. I can't find the common denominator..... Interval Since Last Panic Report: 

  • XML Parsing broken after 1.5 Upgrade

    Hi, I have st upgraded to Java 1.5 and now I get the following error in my code Caused by: java.lang.NullPointerException at java.util.Hashtable.put(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source)

  • Web Services tutorial problem (deploying hello service)

    Hi! I am getting an error when deploying helloservice example (using asant or web console). Message from web console error is pasted below. Essentially the WSDL file is not being created. How to solve this problem?? An error has occurred. Deploying a

  • CS5 crashing on open new MBA OSX 10.6

    Hi, PS CS5 has been running fine last few weeks, new install MBA 13" 4GB OSX 10.6- Just started crashing on open - Header from OSX report - Process:         Adobe Photoshop CS5 [288] Path:            /Applications/Adobe Photoshop CS5/Adobe Photoshop

  • Safari keeps crashing on start-up. should I uninstall?

    It opens for a few seconds and tries to load, or even manages to load a page and then crashes. If it helps the error message reads: Process:         Safari [2761] Path:            /Applications/Safari.app/Contents/MacOS/Safari Identifier:      com.ap