F_ApiFind FA_errno returns-1, if the user clicks on the document.

I am facing the following problem. I do several finds in a while loop and replaces them. However, because there are many while replacements occur, the user can click the document somewhere. When he or she then makes a return in F_ApiFind-1 and the while loop stops. Why is this happening? How can I manage this case?

I'm not interesting in this question, no more. Thank you.

Tags: Adobe FrameMaker

Similar Questions

  • The clicked State remains on until the user clicks again and then return to the normal state

    I'm doing a light switch.

    Don't worry how, but here the click switch and stay in position of eon th until you click New.

    Using the buttons in the muse, the switch moves during the click on but goes back to the normal state

    http://www.cathylbrown.com/testf/

    Is it all similarly to this light switchwork.

    Ciao

    Cathy

    Good late night puzzle.

    I would reach this using a slide show.

    Put the two images in the slide show, and then have just a next button with an opaque fill 1%, which was set to be over the switch. When the user clicks, the slide show will move to next slide (which will be State of the switch). I probably also decrease in the duration of the default transition for the melted transition so it's faster than the default value of 3 seconds.

  • Cannot get active document when the user clicks on the document in Adobe FM 2015.

    I am facing the following problem:

    I have a timer in my application that strikes several times after 2 seconds to get the name of the current document (if there is).

    If the user selects text (the click of the mouse down) of the current document in Adobe FM 2015 then the following API call returns 0 (which is false):

    F_ApiGetId (FV_SessionId, FV_SessionId, FP_ActiveDoc)

    Later, if the user leaves the mouse (click of the mouse to the top) then in the next hit of the timer the document name is extracted.

    It seems that the Adobe FM 2015 cannot manage simultaneously the two entries of the user of the application and the API in my application calls.

    Why is this happening?

    It seems that Adobe FrameMaker 2015 cannot handle at the same time user UI events and FDK API calls from external applications.

    When user interacts with the application FM calls API FDK for my failure in the external application with error codes.

  • Can I re - open a dialog when a user clicks the Ok button?

    Hi all

    I would like to catch missing entry (selection of the menu drop-down) in an Illustrator scripted dialog box and return the user to the dialog box, as it was before he clicked on ok.

    Now the script logic goes in this direction:

    var windowResource = "dialog {------}.

    text: "Batch Converter,------."

    maximizeButton:true,------.

    assets: true\

    {resizable: true} ';

    var aDialog = new Window (windowResource);

    Add all sorts of UI elements

    [...]

    Display dialog box

    var returnValue = aDialog.show ();

    user clicked ok

    If (returnValue == 1) {}

    Search for user input

    -> reopen dialogue if there is something missing

    }

    the user clicks Cancel
    else {}

    aDialog.close ();

    }

    I really don't want to mess with the custom event handlers, just go back to the original dialog box seems the simplest and the easiest to use right now.

    Is it still possible?

    See you soon,.

    Mike

    Another method that I like is to disable the ok button until all the requirements.

    I just made some changes to W_J_T code to make it simple to see the differences

    function test() {
        var w = new Window("dialog", "Drop Down List");
        w.margins = 25;
        var txt = w.add("statictext", undefined, "Select A Drop Down Item:");
        var dropArray = [];
        for (var i = 1, l = 50; i < l; i++) {
            dropArray.push("Drop Down List Item = " + i);
        }
        var dropList = w.add('dropdownlist', undefined, dropArray);
        dropList.onChange = function() {
            if(dropList){
                okBtn.enabled = true;
            };
        }
        var okBtn = w.add('button', undefined, 'OK');
        okBtn.preferredSize = [200, 25];
        okBtn.enabled = false;
        okBtn.onClick = function() {
                w.close();
        }
        w.show();
    }
    test();
    
  • How to get the user clicks SeriesName APEX 4.2 flash chart and defined on a hidden element?

    Hello

    I'm developing a graphic clickable flash of APEX, which should be linked to a specific set of data on another page using the SeriesName (clicked several sets of cards).

    (Returned by a function) sql for APEX chart is

    Select distinct null link, d. DNAME label
    , sum(e. SAL ) over (partition by e. ( DEPTNO salary ( )
    , sum(e. Comm ) over (partition by e. DEPTNO ) comm
    de d Dep. , emp e
    e. DEPTNO = d . DEPTNO

    Currently I am able to disply SeriesName (e.g. salary or Comm) on the 2D chart. This is done by including {% SeriesName} Custome XML.

    But I am unable to detect which series name, the user clicks on - pay is comm.  for example, I am not able to enter the name of the series clicked and set it to a hidden item (called P38_SERIES_NAME).  I have to use JavaScript to achieve this? If so, how?

    The reason why I want to use the unique sql is due to that I will have to call a function to return the dynamic and running sql code, I don't know how many series I. i.e. could be comm, average age, salary, bonus etc...

    What is the easiest way to achieve this?   I use APEX 4.2 and Oracle 11 g.

    Thanks for your advice.

    Concerning

    Susanna Su

    Susanna,

    What you experience is the difference between session state and the value of the element on the page. The URL you have is generated on the rendering of the page and use the value of current session state of the question right now. Then when the page is on the client side and that you set the value of the item through javascript this value is still next to the customer and not in session state. Put the value in session state would not matter, however, because the link has already been made. Your best option is to send the page, ensuring the correct value is set to session state and use a branch in present after the process to redirect the user to the correct page.

    I have also described this here: https://forums.oracle.com/message/11110579#11110579

  • How to get an onChange event when the user clicks a button?

    Hello

    I'm new to APEX and have the following problem:

    Implementation:
    There are two text elements, one for the zip code and the other for the city.

    When you change the zip code, the city will be changed accordingly with the data from the database.

    I've implemented an "OnChange" in the zip code for this element.

    Problem: The on change event is executed only if the user leaves the text with a tab element or click on another piece of text.

    When it hits the "next page" button directly the city is not changed.

    Pointers for a solution please.


    Turalf

    Published by: Turalf on May 12, 2010 07:52

    Well, depends on how your button is built but, in any case, Javascript supports the onclick event on the element for each HTML.
    Model based buttons are often created as links using the indicator A, but which prevent you from adding an onclick on her event.
    In this case you must choose if you want to cancel the default action, or you prefer to perform the default action (the doSubmit in general) as well as the onclick event.
    The order of execution is
    1. the onclick event
    2. default action

    If you return false from the associated with onclick the function Manager, the default action will be canceled if you return true, he will be executed.

    Flavio

    ----
    http://oraclequirks.blogspot.com

  • Canceling a task of bpm when the user clicks Cancel

    I have a BPM process with a task that appears on a users workspace, the user needs to update a field on a screen (implementation of entry). The task has autocomplete, checked, so they do not have to manually click the next step in the task. When the user clicks the Cancel button, it seems to cancel the entire process, rather than just the task. Is there a way to do this?

    Brand

    That's the problem with the help of the ' entry' option for main task of the Interactive activity (the 'Cancel' button is not doing its job properly).

    Go with a screenflow. If you want to continue to use the "entry" for the Interactive task component call, be returned of course to have the named conditional transition 'Cancel' and the button of setting the value of the entry to be the predefined variable "result" (BPM object presentations normally use 'Cancel' - instructions Input need to 'Cancel').

    Dan

  • Is there a signal when the user clicks the overflow (3 points icon) on the actionbar button?

    Hello world

    Is there a signal when the user clicks the overflow (3 points icon) on the actionbar button? I would like to receive this signal (and signal when the overflow menu is closed) in order to modify the list of action items.

    Thank you very much

    -tom

    actionMenuVisualStateChanged is what you are looking for

  • Call the action when the user clicks on notification of hub

    I wish that my application to call directly when a user clicks on a notification of hub (as with BBM messages).

    Is it possible, or BBM is a special case?  Currently, I have it so there is a button 'open' on the notification of hub, but that is not optimal.

    No, it only is not supported today.

  • I don't like the automated results of mouseover actions. I want to return to a requirement of click.

    I don't like the automated results of mouseover actions. I want to return to a requirement of click. How do I do that & is there somewhere to make it universal?

    Just reply to * address email is removed from the privacy *.

    Thank you

    Hello

    Thank you for the update.

    Sorry for the delay on our part, I would like to know some details.

    1. where does at home?

    2. is it on the internet if so what browser is you help?

    3. is it a program?

  • How to make only two columns as editable in five online when the user clicks a line using adf 12.1.3.

    Hello

    I displays a table on the screen. This table is read only during the initial page load. I want to do only two columns as editable on five in a row when the user clicks a line using adf 12.1.3.

    Is it possible in the adf. If possible how to handle this. Please help on this.

    For example, drop table editable Full and then replace rest inputText (components entry in general) with af:outoutText, everything except those two.

    And use the clickToEdit feature...?

  • How to trigger DA when the user clicks a button close the standard window

    Hello!

    Apex 5.0 & universal theme.

    I want to trigger some DA when the user clicks on the button indicated to my image (button close the standard window). In fact, I would like to pass a value of my hidden form IR back and refresh IR if value = 1 or don't refresh with another value.

    Is this possible?

    Thank you.

    close_form.png

    Hi Yava,

    Seems that you have chosen to add the event handler to the page parent (the one with the IR). I think it's best. This means that the code above does not apply.

    The dialogclose event and all other dialogue jQuery UI events are triggered in the dialog box to create a DA pull on the IR will not work (because the dialog box is outside the IRR while she bubbles it won't go through the SORTING). You must handle the event on the body. This works because the event propagates to the body. Set the Type to choose to be "jQuery Selector". JQuery Selector enter 'body' (without the quotes). The event you want to handle is a custom, event which means that this isn't one of those in the select list. For event, choose "Custom". Then enter Custom Event "dialogclose" (without the quotes). Now you have a DA who fires when * all * dialog closes. You may or may not need to get more selective than that. For action, you can use refresh as you do already.

    Kind regards

    -John

  • Current connected user returning 'anonymous' in the environment of the client only.

    Hi all.

    We are having trouble getting to the user currently logged on our faces / ADF / BPM Workspace application running at the customer.

    First of all we try this:

    Director main = ADFContext.getCurrent () .getSecurityContext () .getUserPrincipal ();

    Or

    String userName = ADFContext.getCurrent () .getSecurityContext () .getUserName ();

    Or

    FacesContext.getCurrentInstance () .getExternalContext () .getRemoteUser ());

    And all variants of this return 'anonymous' as a user.

    I don't know if the two problems are related, but if we try to get through WorkflowContext we had a warning "not secure", followed NullPointerException.

    As this code:

    IWorkflowContext wfContext = ADFWorklistBeanUtil.getWorkflowContext ();

    String userName = wfContext.getUser ();

    Output:

    < 3 December 2014 11:03:34 BRST > < WARNING > < oracle.soa.services.workflow.worklist > < BEA-000000 > < < >. WorkflowService.getWorkFlowContext () - the application with context path: / workflow/InfraeroUI is not secure. It is strongly recommended to secure the applications of task details. >

    < 3 December 2014 11:03:34 BRST > < error > < infraeroui.mbean.AbrirPecBean > < BEA-000000 > < Erro na inicializacao:

    java.lang.NullPointerException

    at oracle.bpel.services.workflow.worklist.adf.ADFWorklistBeanUtil.verifyContext(ADFWorklistBeanUtil.java:767)

    at oracle.bpel.services.workflow.worklist.adf.ADFWorklistBeanUtil.getWorkflowContext(ADFWorklistBeanUtil.java:722)

    at oracle.bpel.services.workflow.worklist.adf.ADFWorklistBeanUtil.getWorkflowContext(ADFWorklistBeanUtil.java:677)

    at infraeroui.mbean.AbrirPecBean.initialize(AbrirPecBean.java:230)

    ...

    I guess that our problem if the same thing that these unanswered question here:

    https://community.oracle.com/thread/3562505?start=0 & tstart = 0

    Despise these errors, if I look for the user name (I know is the current) in LdapIdentityStore (see below), he finds the user properly.

    Ctx JpsContext is JpsContextFactory.getContextFactory () .getContext ();.

    LdapIdentityStore ldapIdentityStore = (IdentityStoreService.class) ctx.getServiceInstance (LdapIdentityStore);

    UserManager uMgr = ldapIdentityStore.getIdentityStore () .getUserManager ();

    User name is "t808835673".

    User user = uMgr.searchUser ("t808835673", new ReadOptions());

    String name = user.getName ();

    System.out.println (Name); t808835673, found.

    Some info from the environment:

    WebLogic Server: 10.3.6.0

    Middleware: 11.1.1.7.1

    I guess it is a matter of settings for weblogic/bpm.

    Thanks in advance.

    Gabriel Stabel

    Well, we found a solution.

    In our case, the problem was a parameter missing (automatic by JDeveloper removal v11.1.1.7.1) in our page human task workflow configuration file (_TaskFlow.xml).

      
          bpmWorklistContext
          #{pageFlowScope.bpmWorklistContext}
          
        
    

    Without this parameter, we had a problem in the customer environment, but not in ours. Probably of slightly different versions components question about.

    With this setting the code below works in both environments.

    String userName = ADFWorklistBeanUtil.getWorkflowContext().getUser();
    
  • Make the text appear in the box when the user clicks on the part of an image

    Is there an easy way to do this in the Muse?

    (1) do different areas of an image map.

    (2) automatically type the letter 'A' in a text box when the user clicks the area 'A' and so on.

    Thank you!

    Essentially, you want a keyboard on the screen? This is not possible with the standard tools of Muse. It would be quite simple with Javascript, however.

    David

    Creative muse

  • Disable the first/previous/next/last buttons when the user clicks on the button "create".

    Hello

    I have a requirement to disable the first/previous/next/last buttons when the user clicks on the button "create". The must be enabled after the user clicks on the submit, and then the button "validate".

    Is this possible please?

    Thank you.

    Hello

    Using BC4J in the model layer? If so, you might use an EL to the property of disabled button. Something like

    
    

    Replace in the binding attribute on your page (preferably the primary key of your form attribute).

    Arun-

    Edit: Check out this blog for more information on this EL: https://blogs.oracle.com/adf/entry/highlighting_new_rows_in_adf

Maybe you are looking for