Move the Page during execution

Hi, I create a new page when running. I have a form with 2 pages:

Form1

P1

P2

I have create a badge with the code for duplicate page:

Form1. P1.occur.Max = '2 ';

Form1. P2.occur.Max = '2 ';

Form1. P1.instanceManager.addInstance (true);

Form1. P2.instanceManager.addInstance (true);

Order now page:

P1

(new istance of P1)

P2

(new istance of P2)

but I want to take this command

P1

P2

(new istance of P1)

(new istance of P2)

How can I do?

Kind regards.

Hello

You can do this with a set of subform.  Make the subform repeat value and have it select a subform in alternatives and each repetition can then either P1 or P2 event, you should set P1 and P2 to repeat with a min of zero occurrence.

So to add a P1, you'd (assuming that the entire subform is called pages);

var pages = _Pages.addInstance ();

var p1 = pages._P1.addInstance ();

Here is a very basic example. https://sites.Google.com/site/livecycledesignercookbooks/home/Federico_Benini.PDF?attredir ects = 0 & d = 1

Concerning

Bruce

Tags: Adobe LiveCycle

Similar Questions

  • MBPro stops during startup.  If I continually move the mouse during startup, it will go on my desk.  If I launch Firefox and try to do anything, it stops.  This can be corrected?

    Mac Book Pro stops unexpectedly during startup.  I can get it to go to my office, if I continually move the mouse during the boot, but after I launched Firefox and try to do anything, it will stop.  If I try to run the scans of security or reinstall OS X using the command + R and disk utilities, it stops.  Sometimes it gives me a box saying something about stopping with various options such as Cancel, stop, reboot, etc., but it makes no difference that I click on, she stops.  Sometimes, I get no warning at all.  This can be corrected?  I'm not savvy Mac.

    Reset the SMC could solve problem then.

    Reset the management system (SCM) controller on your Mac - Apple Support

    Also try the safe mode boot.

    Try safe mode if your Mac does not end commissioning - Apple Support

  • change the frequency of the signal during execution

    Hi, I'm working on a VI to calculate excess of signal I think VI seems to be good (not sure) but now my problem is

    change the frequency during execution, which I am not able to do only when I stop and run the vi frequency changes... pls

    someone help me I tried to put in an event... but no use... maybe iam missing something pls help me...

    I noticed that you have some time a loop around the entire block diagram - I'm not entirely sure why that is.  The way you have your VI wrote that the two inner loops will never come out unless there is an error-'stop' buttons are hidden.  Thus, the outer loop is not do anything for you.

    Once you take it, it is easy to see why you cannot change frequency.  It is defined once, outside of the loops and so never gets checked again.  The best way to resolve this, in your case, is to use registers with shift on the upper loop and check if the value of the frequency has changed since the last iteration.  If so, generate a new waveform and feed DAQmx writing instead.

    See the version annexed to your main VI for what I mean.  (I also replaced the controls to stop with one that is visible and which will stop the two loops without your duty to hit the button abandon.) I'm also an error on the DAQmx read in the loop at the bottom, but I'm sure it will work fine on your equipment.

    See you soon,.

    Michael

  • Pass the value of the variable during execution

    Hello

    I have a package with a set of interfaces and three other variables.

    I want to pass the value of the variable at runtime, based on the value passed I want to decide which interface to run then. How can I do this? I got a set variable but I want to asssign the value during execution.

    Any help is greatly appreciated.


    Thank you
    San

    You have many options to achieve this goal.

    1. keep the run settings in the database, extract the Variables in a time of refreshment and use these variables in your Interfaces to get values of execution.

    2. change the value to the variables on the outside. You can declare a variable in a package as a step of the statement, and then use the variable in your interface in a successive step in your package. Then, create a scenario of your package and creating the scenario, it will prompt you to include the variables that you want to include as a startup parameter. Choose the one (s) concerned. Citing this scenario using Java or an OdiStartScen command or by using Webservices ODI externally, you can provide values of the runtime as a result.

    I hope this helps.

    Concerning
    A

    Published by: 922636 on August 29, 2012 23:53

  • definition of the background image of the file during execution

    So, I have another issue to resolve and my migration to 11.5 will be complete.  In the previous iteration, the project has been able to set the background image from an external file dynamically during execution.

    After the migration, it seems that the projector keeps the canonical path to the image of Member and looking for him there. In other words, loads of projector, but a file finder opens, saying: he cannot find the background image in the path of the source machine Director.  Setting the name of the file in the jargon does not stop this behavior doesn't happen.

    I tried to re - import the image as "link to external file" (which had the same results) and flat import (which does not load the file during execution, even if I put the file name in the jargon).

    Anyone know how I can do this, the value of the background image of a file during execution?

    Thanks in advance!

    I do it all the time.  Just make sure that the image is in the same location relative to the projector that's director file.  The easiest way is of course if the image is in the same folder as the .dir file, in which case, you'd sure as to put it in the same folder as the projector, and you can set the name of the file using:

    Member ("someExternalMember"). FileName = the moviePath & "filename.jpg"

    You can have it in subfolders as well if you want to make sure that the relative location is the same.

  • Can we change the binding action of defination of page during execution

    Hi my probel is I want to change the action ExecuteWithPrams IterBinding according to the drop-down list value selected by the user. How can it be done please say.

    While this problem I'll start with a simple test case, and then move up to the more complex use cases.

    Suppose you have 2 bind params for each VO.

    (1) create new web page
    (2) remove your VO ADF, the 2 bind params table and the executeWithParams on the page such that the bindings are created behind the scenes
    (3) create a support for your page bean.
    (4) add 2 inputText unrelated to the page fields, and then map their attribute value string with getter/Setter in the bean that you created
    (5) add 1 commandButton unrelated to the page
    (6) card the actionListener commanButtons to a new method in the bean
    (7) in the actionListener method, enter the values for the 2 channels of #4 and write their values to the param #2 programmatically bind bindings
    (8) always in the actionListener method, run the connection programmatically executeWithParams
    (9) test, once working, hind the params to bind and the executeWithParams button on the screen (or remove them, but make sure the links are removed)

    Now on the case more of a VO

    (9) place another VO, is to link params, executeWithParams on the screen
    (10) also add a selectOneChoice with hard coded values for each VO, link it to your bean
    (11) change #7 above this code works on which VO #10, then written to correct string values bind them params for VO
    (12) change #8 above this code works on which #10 VO, and then calls executeWithParms good link programmatically

    Jakub Pawloski and Edwin Biemond have useful blogs on usage links programmatically:
    http://Kuba.zilp.pl/?id=721
    http://Biemond.blogspot.com/2009/03/some-handy-code-for-backing-beans-ADF.html

    Overall, your question requires a lot of code to be written for a post on the forum, so try and break down the problem solvable one-step at one time as others can help you without having to spend much of their time too much.

    CM.

  • Filter the Table during execution and keep uncommitted line changes

    Hello

    I have a requirement which has been quite difficult for me so far.

    I use the first version Jdev 12 c.

    I have a table of AF that is connected to a ViewObject that is used for sending new data.

    When I add lines to this ViewObject, I put a field that I intend to use for filtering so that the number of lines is not displayed at the same time.  This field comes from a selection of LOV.

    I want to be able to change lines are displayed in the table based on what is the current value of selection LOV.  This isn't a problem for me, and it works perfectly using a view criteria and a variable transitional EO I put in place.

    My problem is that when I select a new value in the LOV and change to bind the variable view criteria, I want all changes uncommitted to the lines to be preserved in the View object.  Currently, the lines are not keep their changes, and I need to do this, because after that the user has entered data for a large number of lines, there will be a commit to the database for all new lines added.  Is this possible or should I look for an alternative?

    I also tried to use a table filter in the link of the page layer, but I get an error that I can't debug. It is marked as Houston-34014.  In this method, I try to access my bean in pageFlowScope to filter the table.  This bean variable is updated when the LOV selection changes.  Error messages settings are {0 = oracle.jbo.Key [-220-225], 1 = root}.  I also read that this filter parameter is a static filter and does not dynamically during execution.

    Any help would be appreciated, thanks for reading.

    Hello lhymel

    I think that your problem is solved, so please close this thread and open a new thread for tuning related problem

    Thank you

    -Ashish

  • Edit/delete/add scene coordinates in the table during execution

    Hello world

    I managed to build table allows you to store and record the coordinates of the stage and remind to control steps. However, I need change/remove/add details of scene during execution. I also need to allow the user to directly edit the coordinate from the scene of the array. Wondering what someone knows what is the best way to do it? Or is it better to use the matrix or Cluster? Thanks in advance.

    Best regards

    Han Yen

    Han Yen wrote:

    Thanks much altenbach for all the advice. I tried to do a table 2D control. I've been playing with table in the control. However, I still can't find out how can I detect that I change the data in the table 2D with the more recent issue during execution? How can I then update my current table with the latest data?

    Well, the 2D table is updated immediately and you do not all the other tables.

    Do you mean that you want to update XAbs, etc. where the just changed line is already selected?

    In any case, here's a simple project, perhaps it will give you some ideas. I would recommend using also the tables for XYZPos, entrances etc. and the XYZabs. This simplifies the code because you reduce the number of terminals and table operations.

    Let me know if something is not clear to you.

  • Problem with pl/sql procedure, trying to get the value of the user during execution

    Hello

    Using oracle 11.2.0.3

    Can run sql that gets the value of the user during the fine workmanship and also via an anonymous block.

    uses of SQL & Enter_Product_Number

    anonymous block using: Enter_Product_number.

    However, get problems when trying to create a pl/sql procedure, use one of the above

    relevant below tried code part & and: buit works do not error, try bad bind variable if used: and ora-600 if try use &.

    How can we have a procedure from pl/sql that can call and receives a value of user during execution?

    Only way around what I can think of is to pass parameters to the procedure

    Thank you

    create or replace procedure ins_into_issues is

    v_nd_rec_cnt number (10);

    v_normal_rec_cnt number (10);

    Start

    Select count (*)

    in v_nd_rec_cnt

    refmast.issues I have

    where i.iss_product_num = & old_nd_product_number;

    Select count (*)

    in v_normal_rec_cnt

    refmast.issues I have

    where i.iss_product_num = & normal_product_number;

    -code below commented above works.

    end;

    Hello

    what something like this:

    create or replace procedure INS_INTO_ISSUES ( in_normal number, in_old number )  is
      v_nd_rec_cnt     number(10);
      v_normal_rec_cnt number(10);
    begin
        select count(*)
          into v_nd_rec_cnt
         from refmast.issues i
         where i.iss_product_num = in_old;
      --
        select count(*)
          into v_normal_rec_cnt
          from refmast.issues i
         where i.iss_product_num = in_normal;
    end;
    

    concerning

    Kay

  • Adding series to the table during execution?

    Newbie :-)

    I'm trying to add series to a chart during execution because the number of series to draw is variable and only determined once the XML of a HTTPService returns...

    My chart looks like this:

    < mx:PlotChart id = "mainChart" showDataTips = "true" width = "100%" height = "100%" >
    < mx:series >
    ...

    If I add:

    < mx:PlotSeries xField = "Size" yField = "CompetitorPrice" displayName = "Competitor price" / >

    then the data plots OK, but try to create the same AS serial does not work (nothing appears):

    var newSeries:PlotSeries = new PlotSeries();
    newSeries.xField = "size";
    newSeries.yField = "CompetitorPrice";
    newSeries.displayName = "SeriesAddedAtRuntime!"
    mainChart.series.push (newSeries);

    Debugging presents the new series added and it seems OK... but it does not appear on the graph. No errors.

    I tried mainChart.executeBindings (); and mainChart.validateNow (); with no chance, but I guess as to what is to be the case here, as you can probably!

    What Miss me something to force an update of the chart with the new series added?

    Thanks in advance

    John

    It is not displayed because the table is not aware of the change in ownership of the series. I think that to run the following steps (give an or take a few syntax errors):

    var set = mainChart.series;
    var newSeries:PlotSeries = new PlotSeries();
    ...
    Series.push (newSeries);
    mainChart.series = series;

  • Determine the size of the component during execution

    I am trying to build a component Paginagion of size fixed. The number of pages which means that the size of the paging is fixed, however depending on the content may vary. Most do not specify how much is displayed on a single page.

    The idea is to use the text as input and push as much as can be displayed on the page. Factors having an influence here is the fonts and formatting.

    To determine the page which you should see that I need to understand the amount of text that can be displayed. To do this, I need to know the size of the element that contains the text (think label). The size of the label is however only determined after that is layouted. So here's what I could do:

        @Override
        public void start(Stage primaryStage) {
            Label lbl = new Label("uitroweigudfgf jkfhgklfsjghslkghs kflgskjgh");
            System.out.println(lbl.getWidth()+","+lbl.getHeight());
            lbl.widthProperty().addListener(new ChangeListener<Number>(){
                @Override
                public void changed(ObservableValue<? extends Number> ov, Number t, Number t1) {
                    System.out.println(lbl.getWidth()+","+lbl.getHeight());
                }
            });
            lbl.heightProperty().addListener(new ChangeListener<Number>(){
                @Override
                public void changed(ObservableValue<? extends Number> ov, Number t, Number t1) {
                    System.out.println(lbl.getWidth()+","+lbl.getHeight());
                }
            });
            StackPane root = new StackPane();
            root.getChildren().add(lbl);
            
            Scene scene = new Scene(root, 300, 250);
            
            primaryStage.setTitle("Hello World!");
            primaryStage.setScene(scene);
            primaryStage.show();
       }
    

    After the third change, I have the dimensions of the label. With this method, I would have to push all of the text in labels to figure out what can be displayed.

    Is there a better way to do it?

    My basic problem was with the size of the labels. Try to find a solution I had a look at LabelSkinBase which uses the Utils class in the same package. This class provides methods (although private package) to calculate the size of the text that results from:

    static Text helper = new Text();
    
    static double computeTextWidth(Font font, String text, double wrappingWidth) {
      helper.setText(text);
      helper.setFont(font);
      // Note that the wrapping width needs to be set to zero before
     // getting the text's real preferred width.
      helper.setWrappingWidth(0);
      helper.setLineSpacing(0);
      double w = Math.min(helper.prefWidth(-1), wrappingWidth);
      helper.setWrappingWidth((int)Math.ceil(w));
      return Math.ceil(helper.getLayoutBounds().getWidth());
    }
    
    static double computeTextHeight(Font font, String text, double wrappingWidth) {
      return computeTextHeight(font, text, wrappingWidth, 0);
    }
    
    static double computeTextHeight(Font font, String text, double wrappingWidth, double lineSpacing) {
      helper.setText(text);
      helper.setFont(font);
      helper.setWrappingWidth((int)wrappingWidth);
      helper.setLineSpacing((int)lineSpacing);
      return helper.getLayoutBounds().getHeight();
    }
    
    static int computeTruncationIndex(Font font, String text, double width) {
      helper.setText(text);
      helper.setFont(font);
      helper.setWrappingWidth(0);
      helper.setLineSpacing(0);
      // The -2 is a fudge to make sure the result more often matches
      // what we get from using computeTextWidth instead. It's not yet
      // clear what causes the small discrepancies.
      Bounds bounds = helper.getLayoutBounds();
      Point2D endPoint = new Point2D(width - 2, bounds.getMinY() + bounds.getHeight() / 2);
      return helper.impl_hitTestChar(endPoint).getCharIndex();
    }
    

    With that, I am able to determine the amount of text can be put into the label, without the chain of ellipsis appears.

  • Edge animation interactivity allows the animation to move the page.

    Hello.

    When I place a file of edge using the overlay creator > Web content method and allow interactivity, animation can be moved to the page by the user.

    Is it possible to lock the animation in place while allowing the user to interact with the buttons in the entertainment on board?

    Thank you

    Ben.

    Thanks Bob.

    Yep, I've done the framework of Indesign and the exact same animation scene size - but the width of the Edge file was ments not on the scene.

    Changing overflow to hidden on board, I stopped the problem.

    Thanks again.

    Ben.

  • Control the scrolling of the page during a sort is done

    Hello

    We have an advanced SingleSelection table where the sort property is enabled for all columns. Whenever the user clicks on a column to sort, the control goes to the top of the page. So the user must scroll down to see how it was settled! Is it possible to control the scrolling while the sorting is done?


    Thank you
    Shree

    Shree,

    You cannot control this behavior, its default system.

    -Shiv

  • Repositioning of task flows into the web page during execution

    Do we not have an option to reposition the task on one page as we do with my.yahoo.com?

    You mean a dashbord? Yes, you can do this with the af:panelDashboard. Check out http://docs.oracle.com/cd/E15523_01/apirefs.1111/e12419/tagdoc/af_panelDashboard.html

    Timo

  • How to move the page to the screen adjustment?

    For some reason, my pages are now almost an inch under the search tool bars and leaving an inch of black over any page I watch. I tried to right click for an arrow to move it to the top, but there is no arrow. I did the resolution thing on my computer and tried everything I can think of. Looks like I'll just be shift upward. Help.
    I use Firefox as my browser and this has never happened before.

    You can attach a screenshot?

    • Use a type of compressed as PNG or JPG image to save the screenshot
    • Make sure you do not exceed the maximum size of 1 MB

    You can check if there is empty current toolbars.

    • Firefox '3-bar' menu button > customize > show/hide toolbars
    • View > toolbars
      Press the ALT key, or press F10 to display the Menu bar
    • Right click on empty toolbar space

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe

Maybe you are looking for