Jdev 10.1.2 UIX: How to handle page event and also follow link destination

Hello guys, I think this should be easy:
I have a frame with a link that produces an event which is handled by an event handler. But this link also has destination and targetFrame attributes.
The event handling just updates the visual state of the frame which contains the link, but I also need the link to load the destination into the targetFrame, but this is not happening, just the event is handled but the link doesn't work.
How can I get both, the event handling and the destination, work?
Here is the code for the link:
<link text="${uix.current.title}" destination="${uix.current.destination}"                                                             
                targetFrame="main">
  <primaryClientAction>
   <fireAction event="optionClick">
     <parameters>
       <parameter key="clickedIndex" value="${uix.current.index}" />
      </parameters>
    </fireAction>
  </primaryClientAction>
</link>Thanks
Fer

Thanks to everyone who read it. I figured out how to solve this.
The workaround was to set every link destination to one action which performs 2 things:
1. Update the visual state of the first frame (setting attributes to a session object) and;
2. Puts the destination that I wanted to be loaded into the second frame as a request attribute;
besides all the above, the link had its targetFrame set to "_parent", so the Frameset page was reloaded and therefore reloaded both frames, this way the first frame renders updated (thanks to the changes made to the session object) and the second frame has its source attribute bound to ${requestScope.frameDestination} to load the desired page (actually a struts action).
Hope this helps someone else.
Bye.

Similar Messages

  • In bdc how we handle page phone area in transaction pa30

    in bdc how we handle page phone area in transaction pa30.suppose one maintain phone no but not pager no.in that case how we will handle

    in my system ..i have phone number only displayed...if you want to put page number also then add a ddition qualifier like PG or some number by contacting functional guys..
    regards:)

  • In  BDC how you handled header data and item data

    In  BDC how you handled header data and item data

    Raja,
    Can you be more clear ?
    Usually you load the header data one and then loop at the item data and then load the item data.
    This example should help you.
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    Regards,
    Ravi
    Note - Please mark all the helpful answers

  • How to handle selection event in alv component

    Hi all,
        i am new to webdynpro abap. and i want to know how to handle selection event(such as select all / unselect ) in my simple alv application.
    Thanks very much

    Hi,
    By default when you use the selection mode for the ALV as Multi/Mutli No Lead then this option is enabled.
    Try to implement the event ONLEADSELECT and check wether this event is triggered or not.
    DATA: lo_value type ref to cl_salv_wd_config_table.
        CALL METHOD  lo_value->if_salv_wd_table_settings~set_selection_mode
          EXPORTING
            value = cl_wd_table=>e_selection_mode-multi_no_lead.
    Try to implement these event for ALV and put a break-point and test which event is getting triggered.
    ON_CLICK           
    ON_DATA_CHECK      
    ON_FUNCTION        
    ON_LEAD_SELECT     
    ON_STD_FUNCTION_AFTE
    ON_STD_FUNCTION_BEFO
    Please provide more inputs.
    Regards,
    Lekha.

  • How to handle server event in component through BOL Concept

    Hi All,
                Please let me know how o handle Server event in Component through BOL Concept.
    Thanks,
    Prameela.

    Hi Prameela,
    If you want the server event to be triggered in the search view, you have to add the code in the GET_DQUERY_DEFINITIONS method.
      DATA: lv_getter TYPE string.
    CONCATENATE 'GET_P_' <rt_result>-field INTO lv_getter.
        TRANSLATE lp_getter TO UPPER CASE.                    "#EC SYNTCHAR
        TRY.
            CALL METHOD me->(lp_getter)
              CHANGING
                cs_result = <rt_result>.
          CATCH cx_sy_dyn_call_illegal_method.
    *     no P-Getter found
        ENDTRY.
    Regards,
    Leon

  • Can you tell me how I can ask for help with the following Indesign question:  I am a new Indesign user and a Creative Cloud member.  I was using the Window/Pages drop down window to view my pages alphabetically or by page number and also to determine whet

    I am a new Indesign user and a Creative Cloud member.  I was using the Window/Pages drop down window to view my pages alphabetically or by page number and also to determine whether or not my JPEG files were sufficiently HI-Res for the printer.  I don't know how I did it but somehow the window has changed so that now it does not have the alphabetical/numerical/Hi-Res information.  It just shows the pages in a two page spread in numerical order.  How can I restore the window so that I will be able to view the information as I did previously.
    Your help will be appreciated,
    Don Unwin
    [Personal Information Removed]

    The pages panel is not the place where you see this information.  You can customize the Links panel to show all sorts of things, including the page number, effective and actual ppi, and whether the link is OK or needs updating.

  • TS4118 My calendar entries are not duplicated in either iCloud, or iPad - but are duplicated on my iPhone.  How do I stop this, and also how do I delete the duplicates???

    My calendar entries are not duplicated in either iCloud, or iPad - but are duplicated on my iPhone.  How do I stop this, and also how do I delete the duplicates???

    mervrich,
    Use the "Troubleshooting iOS devices" link in iCloud: Troubleshooting iCloud Calendar.

  • How to use the eventing and databag with a WAS 6.20 ?

    How to use the eventing and databag with a WAS 6.20 ?
    Is what there is a good guide for these services?
    Thank's

    In the raise event you can pass the value
    like below.
    <SCRIPT>
    function raiseEvt(value1){
    if(window.document.domain == window.location.hostname){
    if ( document.domain.indexOf(".") > 0 ) document.domain = document.domain.substr(document.domain.indexOf(".")+1);
       EPCMPROXY.raiseEvent( "urn:com.sap:BWEvents","BWiViewevent", value1, null );
      // alert('tree domain'+document.domain);
    </SCRIPT>
    and in the
    subscribe event you can get the values like below.
    <script language="javascript">
    if(window.document.domain == window.location.hostname){
    document.domain = document.domain.substring(document.domain.indexOf('.')+1);
        EPCMPROXY.subscribeEvent("urn:com.sap:BWEvents","BWiViewevent", window, "myreceiveEvent");
    function myreceiveEvent( eventObj ) {
          document.forms[0].gp_hidden.value = eventObj.dataObject;
    </script>
    Also look at the following link for a complete documentation.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/Enterprise%20Portal%20Client.pdf
    Regards
    Raja

  • How to uninstall pages, numbers and keynote

    does anyone know how to install pages, numbers and keynote?

    Quit. Drag from Applications folder to Trash. Empty. Or:
    Mac Basics: Launchpad is the fast way to find and open your apps - Apple Support

  • How to add page event on the every pdf  footer

    How to add page event on the every pdf footer

    there is an option available in third party tool which you are using for create PDF using java. so read API documentation. if you can also extend/customize any feature using java

  • How to create serviice no and also vendor

    sir,
    for external services,
    1. how to create serviice no and also vendor
    2. hot to create service contract
    3. rate contract
    pls explain with details and t  codes step by step
    we need to use the service no for orders
    sai meghna

    hi
    1. sevice number you have to use AC03 transaction and click on create button
    select the service category
    enter the description of service
    enter the valuation class and Base UOM.
    and save
    2. Vendor you have to create using XK01 and select the vendor group and enter the required details for address/payment transaction etc and save.
    service contract we can use MK31 there are two types value and qty based contracts.

  • How to disable external VGA and also enable onboard VGA

    hello,
     my spec is
    cpu corei5 ivybridge
    mis zh77A GA43
    vga hd7770 msi
    i want to know, how to disable external VGA and also enable onboard VGA ??
    and
    i want to ask too, if i disable external VGA In MB, it is my external VGA still consumption power? or i must unplug my external VGA ?
    how much different power consumption between external VGA and onboard VGA on idle time?
    because my computer each night be used for download, i want to save power as i can...
    also there is a eco mode? i want to know about eco mode, how much power can be save under eco mode? on idle time computer
    sorry my bad english

    Well remove the HD7770 and is disabled and doesn't consume any power. You can't enable or disable it the discrete vga when pc is in use. That board does also not support Virtu.
    The possible power saving beacuse of eco mode depends on the individual systems. There is no general value. Just try it. 

  • How to handle Valuechange events, when page bean is in request scope

    Hello balusc and forum mates,
    I want to know is there any good way to handle ValueChangeEvents events, when the page's bean in request scope.
    My problem is, I have a page having more than 1 value change event so How can I maintain page values at backing bean. My bean is request scope, I can't change to session scope.
    Please I really need it.

    Hi Frank...
    In my code i used almost same logic as Andrejus Baranovskis has explained in his Editable Table example...
    You can refer that example to see what problem I'm facing...
    http://andrejusb.blogspot.com/2007/04/create-edit-and-delete-operations-in.html
    The Bean Scope in this Example is Session scope...Save button is working fine...
    But as i Change the bean scope to Request scope then Save button is not working for Edit but it is working for Delete Action very well..
    I want that save button should work also for Edit action in Request Scope..
    Please Make me understand that why it is happened like that..
    and help me to find the solution..
    and Also if you have a better document to Explain the life cycle of Application in Different Bean Scope...So please provide me that Doc to me...
    It would be a great help for me to understand the concept of session...
    Thanks Frank
    Fizzz...

  • How to handle the events of business object (BAPI)

    Hi,
    How to register to BAPI event and handle?
    For example, for a business object 'inv', there is an event as 'created'.
    I want to insert entry in a z table when an inv is created.
    I assume that the 'created' event is triggered when an inv is created.
    How i can register to that event and handle that event so that i can
    insert an entry in z table.
    Thanks,
    Prasad

    ComponentListener?
    : jay

  • How to handle key events in iphone

    I want to be able to detect physical keyboard (e.g. bluetooth) events in an iOS app.
    In Mac, there is a class NSEvent which handles both keyboard and mouse events, and in ios (iphone/ipad) the counterpart of NSEvent is UIEvent which handles only touch events. I know ios API does not provide this functionality, but how can i handle key events in iphone???

    in my application header part of the page is common of all page. header.jsff contains comandmenuItem named "proceduralhelp". if I click proceduralhelp a pop up opens .
    in my login page when first time I open popup and press escape popup is not closing.
    rest of the cases after login escpe will cose the popup.
    only on the loginpage that to for the first time it is not closing when pressing up on escape key. (then we click on close button. and once again open the popup in loginpage now if we press escape it works).
    Thanks,
    Raghavendra.

Maybe you are looking for

  • Nokia 820 problems

    Just bought two Nokia 820s, one for my wife and one for myself. Awesome phones except for a couple of issues. First, the GPS and Nokia Here Maps. When I am at home the maps show me in the right spot but reports (showing the address) that I am 3 house

  • Problem with very sloooow printing of pdfs in Acrobat 7 Pro and 9 Pro

    Some pdfs print with no problem but others are painfully slow. We find that some that are slow with Adobe 7 Pro print fine with Adobe 9 Pro, while others are slow with Adobe 9 Pro but print fine with Adobe 7 Pro. Still others are slow with both. A hu

  • How to enable my apple id?

    How can I enable my id?

  • Trim up to a certain character

    hi everyone, i hope someone can help me with this. i have a string that I need to trim up to a pipe character ("|"). the problem is, the length of the characters before this pipe character varies greatly. How can I trim the string (for example, abcde

  • Link for Adobe Flash player offline installers

    Does Adobe.com have an offline installer for the latest version of Adobe Flash player?