ADF Faces: Dvt map: How to call taskflow step after to execute javascript

Hi. I have a page fragment jsff with a dvt:map. I wrote a javascript function that catch zoom and x and y coordinates of click in the map and I need to use these parameter to call a task flow step that call a java method. How to do that ? I put setPropertyListeners inside the dvt:map but it don't works because dvt:map don't have the partialSubmit attribute.

My task flow is this way:
(view activity)mapLocalization -> (outcome)selecUnitsInThisZoomLevel -> (method call activity)ExecuteWithParams -> (outcome)ExecuteWithParams -> (task-flow-call)invocation machine
mapLocalization is a jsf fragment that contains a dvt:map. mapLocalization has to call ExecuteWithParams
by outcome selecUnitsInThisZoomLevel passing as parameter the current map zoom because ExecuteWithParams refers to a
view of a ADF data control, and this view gets a bind variable that is this map zoom for to return a code of
geografic unit that refers to this map zoom.
mapLocalization gets this map zoom by javascript function that called by left click in the dvt:map.
But after that click in the dvt:map, I don't know continue the task flow explained above because dvt:map don't have the "action"
atribute.
How to solve this?

Similar Messages

  • ADF Faces: dvt:map undefined title in the maptip

    Hi! I'm using the component dvt:map that for specific reasons of my application I am inserting it on a page for a backing bean. When the map appears on the page and I click in a geometry of the current theme shows a map tip with information about the geometry but the title of map tip is writing as undefined. The theme of the map I inserting as PredefinedThemeFOI class. Do I must set some attribute in the map or PredefinedThemeFOI?
    Edited by: reginaldo oliveira on 08/03/2011 12:35

    If you are using predefined theme, please make sure you have a label column defined for your theme in mapBuilder. The label defined in the theme definition will be used as the header of the infoWindow.

  • How to call java function with parameter from javascript in adf mobile?

    how to call java function with parameter from javascript in adf mobile?

    The ADF Mobile Container Utilities API may be used from JavaScript or Java.
    Application Container APIs - 11g Release 2 (11.1.2.4.0)

  • How to call smartform FM after using SSF_FUNCTION_MODULE_NAME?

    Hi Experts,
    How to call smartform FM after using SSF_FUNCTION_MODULE_NAME?
    I mean, in driver program i called SSF_FUNCTION_MODULE_NAME to get the related FM  for my smart form. after that How do I call it(smartform fm) . I tried to call by pressing PATTERN button in Report. but it is showing FM is not exist error.
    Call function SSF_FUNCTION_MODULE_NAME
    Export
    formname = 'zsmartform'
    import
    fm_name = function_name.
    function_name is stored the corresponding smartform fm. then How do i call it to process my smartform?
    thanks in advance.

    hi,
    Chk this sample.
    DATA: p_output_options TYPE ssfcompop, "occurs 0 with header line
    p_control_parameters TYPE ssfctrlop. "occurs 0 with header line
    p_output_options-TDCOPIES = 3. "number of copies.
    p_output_options-tddest = 'LP01'. "def
    p_control_parameters-no_dialog = 'X'. "no dilog box
    p_control_parameters-preview = 'X'. "no preview
    DATA : v_form_name TYPE rs38l_fnam.
    *---- Function to get the function module name of the    ----
    *---- specified Smart form.                              ----
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'GIVE YOUR SMART FORM NAME'   
    * VARIANT = ' '
    * DIRECT_CALL = ' '
    IMPORTING
    fm_name = v_form_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3 .
    *---- Function Module to call the Smart Form          ----
    *step 1 - go to ur smart form
    *step2 - take environment
    *step3-take function module name
    *copy that unique number.
    *step4 -come back to ur driver program.
    *step5 - place ur cursur here. take patter,.give that unique number.
    *at that time u will get the below code.
    *step6 - rename that unique number with 'v_form_name' in the code generated by pattern.
    CALL FUNCTION v_form_name
    EXPORTING
    * ARCHIVE_INDEX =
    * ARCHIVE_PARAMETERS =
    control_parameters = p_control_parameters
    * MAIL_APPL_OBJ =
    * MAIL_RECIPIENT =
    * MAIL_SENDER =
    output_options = p_output_options
    user_settings = ' '
    * ARCHIVE_INDEX_TAB =
    * IMPORTING
    * DOCUMENT_OUTPUT_INFO =
    * JOB_OUTPUT_INFO =
    * JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    for any clarifiaction pls revert.
    regards,
    Reshma

  • Dragging ADF FACES DVT Values

    Hi,
    Does ADF DVT bar graph support dragging its data?
    Use Case:
    I would show a user a bar chart displaying his current values for certain products.
    User can choose to drag the value up and down to increase/decrease its current value.
    Is this possible?
    It is some sort of dynamically changing the bar chart value on the fly using the DVT UI..
    JDEV 11G PS3

    Shay Shmeltzer wrote:
    Yes you can - see the code in the ADF Faces components demo:
    http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/graph/dragAndDrop.jspx
    Code:
    http://www.oracle.com/technetwork/developer-tools/adf/documentation/adf-faces-rc-demo-083799.html
    Hi Shay, thanks for the info...
    I tried to read at the documentation, I only see drag and drop functionality for the Scatter/Bubble/Gannt Chart from the Web User Interface Guide.
    How about the bar chart and line chart? Does this support this also?
    I mean, you can drag the value of the bar chart up and down and not dragging and dropping it on the other part of the graph which is done by the scatter or bubble graph.
    Of course, I would add some logic to save this data in my managed bean.

  • How to call an application or a execute file in trigger?

    Hi,
    Can I call an application or a execute file in trigger?
    And how to do it?

    Hi Sarah,
    It would have been helpful to answer your question if your requirement was more detailed.
    Anyway, I assume that you want to know how to execute or run a sql script file from a trigger and if that is the case then you can use EXECUTE IMMEDIATE stmt in your trigger as follows-
    EXECUTE IMMEDIATE '@script_name';
    Regards,
    Murali Mohan

  • How to call a method after a page  complete load

    Hi,
    Environment: JSF1.2.12+Spring
    I have a startpage, i will call a methode after startpage complete load. (I do not want to use javascript)
    How can i implement it.
    Edited by: zlzc2000 on Nov 6, 2009 2:53 AM

    goal: optimize load startpage(accelerate to load startpage)
    in startpage i use sql to load user's information, that in startpage is required.
    in other page i need the complete User Object (hibernate load user Object).
    i want to after dispay startpage load the user Object whith Hibernet.
    if during load startpage with hibernate to load user object, that is too slow.
    concept: 1step: with sql load user information (not full, for example: id, forename, surname,...)
    2step: results display( load startpage )
    3step: after load complete startpage, call method to load user object(it include all information of user )
    then the user object can be uesed in anywhere in the future.
    but i dont know how to impement it.
    Edited by: zlzc2000 on Nov 6, 2009 3:37 AM

  • How to Call the Acrobat plug-in through javascript

    Is it possible to call the acrobat plug-in through javascript? Kindly help me with any samples.
    Thanks,
    Prabudass

    I have found the way to open the plugin menu "Documents-->OCR Text Recognition-->Recognize Text Using OCR" through javascript. Now i have to select the settings and set the values like the below options:
    1.Primary OCR Language : English (US)
    2.Pdf Output StyLe : Formatted Text & Graphics
    3.Down Sample Images : Lowest (600 dpi)
    which are listed in the "EDIT" menu of the "Recognize Text" form, and also to activate the "OK" button. Is it possible to do the above through Java Script. Please kindly provide any samples.
    Thanks,
    Prabudass

  • How to call dialogs one after another?

    First i have to call login dialog after successfull login call another dialog.
    Can any one provide any refer for proceed further.

    Use WaitForDialog(). This returns once the first dialog is closes. Then determine if the login went well before opening the next.

  • ADF Faces Query Panel: How to display master data in detail table?

    Before stating the question, here is the background:
    I've a Fusion ADF (model/viewController) app that includes 2 tables with a master-detail relationship. The master table stores error numbers and associated levels of logging severity; the detail table stores the actual message text. These need to be separate, related tables because the requirement is that message text for a given error number can vary by product release.
    Messages are added in a bounded task flow; data for the master table entered in 1 fragment, data for the detail table in a 2nd page fragment. In the app, the Entity Objects for these tables are related with a foreign key association and have a composition association. This was done because the error numbers are generated in an Oracle DB sequence, and from what i have read that is a way in a task flow to have ADF put the number generated for the master table into the related key of the child table.
    The question is this:
    I need to create an ADF query panel with a table that searches on the detail DB table. However, i also need to use a couple of fields from the master DB table in both the query and in the ADF table. In addition, I need to add the ability for the user to edit either the master or detail record for the row he/she selects in the ADF table. I know how to create a view that would display the info i need; however, i have not been able to figure out how to obtain the keys for the selected ADF table row and pass them to the task flows that would edit.
    The master table has a numeric primary key. The detail table primary key consists of a foreign key to the master key and also a release number.
    I'm new to ADF and have been struggling with how to do this: i've a workaround that is functional but too klunky to be a permanent solution. So, could someone point me to some information on how to accomplish this?
    Versions: JDeveloper 11.1.1.4, ADF Business Components 11.1.1.59.23
    Thanks for your help!

    Thanks. I tried this out, but ran into an issue in that the detail table has 2 keys - a foreign key to the master primary key, and a 2nd key that uniquely distinguishes the detail. So i tried various things centered around using the SetCurrentRowWithKey operation and trying to obtain the selected ADF table row using an EL OF #{data.<pageDef>.<Iterator>.currentRowKeyString}; however i could not get the detail record for the selected row to display.
    I did find another approach that worked - I am wondering, is there anything problematic with this approach?:
    1. Create a VO joining the Master and Detail tables, with the Detail table being updatable.
    2. Made sure the applicable attributes were defined as keys.
    3. Add a query panel w/table using this VO.
    4. Create an ADF form based on the VO, showing the updatable fields.
    5. Create a bounded task flow with the following set on the Behavior tab:
    a. Share data controls with calling task flow
    b. Always Begin Transaction
    I specifically am wondering whether "Share data controls with calling task flow" has any negative implications or gotchas to handle. The doc at http://download.oracle.com/docs/cd/E21764_01/web.1111/b31974/taskflows_parameters.htm#ADFFD1693 doesn't suggest so, but just wanted to double-check before I go down this path.

  • ADF Faces: af:menuTabs - How to set selected tab

    I cannot find any documentation on how to set the selected tab of an af:menuTabs instance.
    Please help.

    Hi,
    the method above works if you manually inserts the menu items into a menu component, but not if you declaratively bind each component to a menu model.
    Following the ADF developer's guide, I created a dynamic menu using menuTabs (Section 11.2 Using dynamic menus for navigation). But somehow I don't get a difference in appearance between the selected and unselected tabs.
    I am also confused with the explanation in the tutorial. It says "The menu model in conjuction with nodeStamp controls whether a menu item is rendered as selected. As described earlier, a menu model is created from a tree model, which contains viewId information for each node. ViewIdPropertyMenuModel, which is an instance of MenuModel, uses the viewId of a node to determine the focus rowKey. Each item in the menu model is stamped based on the current rowKey. As the user navigates and the current viewId changes, the focus path of the model also changes and a new set of items is accessed. MenuModel has a method getFocusRowKey(), which determines which page has focus, and automatically renders a node as selected if the node is on the focus path."
    Any suggestions where I should add code to change the appearance of the selected tab? I am using the default Oracle skin.
    Greetings,
    Birgit

  • ADF Faces Declarative Component onLoad event call Backing Bean Method

    Hello.
    We are trying to implement a declarative component, that will be used as Flex Fields for our application, ie, the components will be created dynamically through a database configuration, and who is responsible for organizing and creating the components, is the declarative components, and its own backing bean.
    The declarative component, will receive a List of custom components, and with this list it is possible to create the components dynamically. We want the components to be created as soon as the page is loaded. The developer could place this declarative component in any region of his page, and even in another tab if he wishes. The problem is, that we cannot register a load event in the declarative component, since it doesn't have a document Object, to call the declarative components backing bean method that is responsible for creating components.
    How could we simulate the onLoad (of the declarative components) so that the backing bean method (responsible for creating component, and putting it in the view tree) could be called ?
    I've tried with a RENDER_RESPONSE phaseListener, but the beforePhase has no objects in the tree, and the afterPhase has already rendered to the client.
    Any ideas on how to achieve this ?
    Thanks a lot.
    Regards,
    John

    Hi Frank, thanks for the response.
    I'm curious about the dynamic declarative component. Any place I could check it out ?
    Back to my scenario. I'll try to be more clear to what we need!
    We have to have dynamic creation of components, based on a database configuration. This will allow our customers to have custom flex fields, without the need of us developing custom pages for each customer.
    One solution we are trying out, is the declarative component. Why ? Because the developer (when developing the page), knows that this specific page, is possible of customization by the client (custom flex fields). With this, the developer would choose where on his page the custom flex fields will be placed. Note that at this point (design time), no component (input, buttrons, etc) is created. The idea of the declarative component, is just so the Developer knows where he wants the custom fields placed in his page (a tab, below the form fields, in a another panel group, and so on). The declarative component, has only a container, PanelFormLayout, and no other component.
    What we want, is a way of calling our managed bean (the managed bean of the declarative component, that now I did configure it in the adfc-config.xml file , thanks for the tip) method, that's responsible for creating the custom components. The declarative component, receives a list of all the custom fields that needs to be created, at design time, through an attribute. The developer is responsible for setting this list when he drags the declarative component on his page.
    Now that I've put the declarative components managed bean in the adfc-config.xml file, the @PostConstruct is called correctly, but I still have a problem. At this moment (postContstruct call), my component PanelFormLayout (that is binded to the managed bean), is null. So I cannot add any component to the PanelFormLayout.
    Am I way out of line here Frank ?
    Really appreciate your comments.
    Thanks a lot.
    John

  • ADF Faces: sorting in af:table does'n work after migration fr. EA11 to EA13

    I have a JSF JSP with an <af:table> component (EA11). Sorting of columns in this table works fine with this code:
    <af:column>
    <f:facet name="header">
    <af:sortableHeader text="Name" property="Name"/>
    </f:facet>
    <af:outputText value="#{item.Name}"/>
    </af:column>
    Then i migrate to EA13 and changed the code to:
    <af:column sortProperty="Name" sortable="true">
    <f:facet name="header">
    <h:outputText value="Name"/>
    </f:facet>
    <af:outputText value="#{item.Name}"/>
    </af:column>
    => the column headers are rendered as sortable, but sorting of columns does not work!
    The bean property, the value attribute of the table is bound to, extends oracle.adf.view.faces.model.CollectionModel.
    I will give you a hint: documentation to <af:column> and <af:table> always describes how to implement sorting with <af:sortableHeader>.

    I use my own Implementation of CollectionModel. It extends oracle.adf.view.faces.model.CollectionModel.
    The setSortCriteria method is called correctly. Even the sorting is done correctly. I just don't see it in my page. If I click on a column header to sort the column my cursor transforms to an hourglass, and that's it. Then I click on another button which makes the page render again, and suddenly the table is sorted according to the column I clicked before.

  • Multi Mapping : How to get Message count after splitting

    Hi all,
    I am following below blog.
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    Can any body please tell me how to get the count of messages generated after splitting in the message mapping.. I have created the message data type but not aware what is needed to be done.
    Thanks and best regards,
    Kulwant Singh

    Multi mappings r done in order to split the messages to the number of messages required by the user. So for 1:N mapping, the details about "N" is based on ur requirement. So its not like - when u split, any number of message could get created. The count would be dependent on u.
    Regards,
    Prateek

  • How to call required page after the am.invokermethod is called.

    Hi All,
    I have a serch page which search the table ABC and returns the results(Standard functionality). I results table will have update icon. Now when the update icon, i will pass param mid = 100, is clicked I need to check the table MST whether it has records with mid=100. If yes, i need to display the details by calling the MSTPG page. If no, need to call other page called MSTTEMPPG.
    So, How do i check the record exists in the table or not and call the appropriate page.
    If i use am.invokermethod(), it call the procedure and executes but this method doesnot return values.so that based on the return value i can call the required page.
    Thanks,

    Thanks Senthil for the response.
    I Just wanted to keep the question simple and that is not all the requirement.
    I know the switcher bean concept i'm sure that it may not meet my requirements.lets keep it a side.
    But sure the second point you mentioned. To redirect to page based on the return value should help me can you elobrate / how do i call a page from the AM.
    1) Does am.invokermethod() - returns a value.
    2) If no, The procedure AM invokes should have the redirect method - what is the method and how do i call the page from AM
    Thanks
    Ganesh.

Maybe you are looking for

  • Adobe Bridge - White balance metadata

    When I browse raw files from my Canon EOS Rebel XT/350D in Adobe Bridge I always look at the Metadata tab to check for the f-stop value, speed, white balance settings, etc. of the currently-selected raw image file. I noticed that the pictures shot in

  • Send MMS with your PC

    Hi Everyone! Did you know you can send Multimedia Messages(MMS) through PC Suite? If you download the Nokia Multimedia Factory you can create and send MMS from your PC with a connected Nokia phone. You need to have Nokia PC Suite installed first, you

  • How To Pass Parameter To a Procedure in Form Personalization

    Hi , I Have to pass some parameters to a procedure which will submit a concurrent request . But the parameter should pass through a Form , like lov or some check Boxs. when i am doing it through Form Personalization, i am unable to get the value from

  • How do i change camera raw in cs6?

    just upgraded to CS6 on XP system. My new nikon d7100 is not supported in CS5. I have tried uplaoding various new camera raw versions but can not make a change within cs6 as it still only see the outdated version 7. I understand that I need to run ve

  • Comcast cannot be TRUSTED!

    slamming is an illegal telecommunications practice, in which a subscriber's service is changed without their consent. I recently discovered that Comcast had "slammed" my account starting back in 2008 by billing me $5.99 per month for "insurance" I ha