problem of calculation contentHeight

I have a large flow (about 90 k) with a good mix of text, images and links.

I have a scroll bar that I use in conjunction with a single sprite controller/container attached to a text box to display the text.

After the workflow is loaded and I compose/updateallcontianers, I put the max of the scroll bar for:
bar.maxScrollPosition = cont.contentHeight - textArea.height;
(I also tried bar.maxScrollPosition = cont.contentHeight as well)

Almost always, the scroll bar ends up having a greater number than the real contentHeight.

When the text box is resized, it recalculates all this, and after some restorations and optimizes for the browser, the scroll the max position and the contentHeight are synchronized.

I tried to use composePosition instead of dial, and has no effect. I tried to use composePosition after composing and has no effect.

I use Gumbo 5032.

Is this a bug?
I can post the code if necessary.
Thank you
Tim

It is estimated that the contentHeight. To get the exact version, you must call composePosition() before making the contentHeight. If it is not working for you, please let us know - it's a bug. If you have a code example, which would be useful.

Thank you!

-robin

Tags: Adobe Open Source

Similar Questions

  • Does anyone know how to fix a problem of calculation in a pdf file that is a financial spreadsheet?

    Currently I have a financial spreadsheet I had to create for my work.  One of the cells does not calculate correctly.  I need for the cell to use calculation Total - Total balance = balance.  I used abbreviations in the cell itself to the formula so I know this isn't the problem.  The poor figures will calculate in the cell.  I find that I have to delete the wrong number, and then in another cell.  Once I click in another cell that will fill out the right balance.  I would be fine with that, but my boss is not ok with having to perform additional steps.  Can someone help me?

    It sounds like a problem of calculation of field command. Access the form Edit mode - calculation order of field tasks - more - and make sure that the field of the Balance is under the other two fields in the list.

  • Problem of calculation of SmartView

    Hello

    I have a problem when I run a calculation of SmartView 11.1.2.5.000 (Build 111) on 2013 Office.

    This is the error message:

    Windows7_64.png

    Can I have help :-)?

    The error happens all now or after the calc works for while, if after a certain time, it is useful to have a look at the following support doc.

    An error Smart View "unable to connect to the provider. Make sure that it is running in the specified host and port. (503) error' (Doc ID 1676636.1)

    See you soon

    John

  • Problem of calculation of form

    I have a form that has a page with about 20 lines. Each line has 6 columns - we'll call it A, B, C, D, E, F. That's how they work together:

    A - column name, without calculation functions

    B - user enters a value here

    C - this auto calculates 'B' times a percentage that is located on another page

    D - auto calculates the difference between B and c.

    E calculates this car had ' times a percentage that is located on another page

    F is the (+) sum of C and E

    To work properly, it would look like this:

    A B C (25% assuming)DE (assume 10%)F
    Name of the creditor100025075075325

    HERE'S MY PROBLEM:

    The whole process autocalculation takes effect when the number is entered in 'B '. However, once I have enter the number 'B' and click on tab / out of this field, C D and E auto calculate correctly but F does not work. F will only auto calculate correctly once I go to another field and enter a number/letter/etc. and tab / click out. Each area is configured to calculate by going under the tab 'calculate' in the properties and using the drop down menu to select the names of the two fields.

    Why don't F calculated correctly on tab / clicking off B?

    This is a typical symptom of a wrong field calculation order. The correction procedure, it depends on which version of Acrobat you are using. In form editing mode, select:

    Acrobat 9: shape > edit fields > set field calculation order

    Acrobat 11: Tasks > other tasks > set field calculation order

    Acrobat DC: More > set field calculation order

  • Problem with calculation on update interactive report

    Apex 3.2

    I have an interactive report, that is editable, and the functions of grand.
    My problem is when users try the function of calculation on 2 columns, we get the
    "ORA-01722: invalid number."
    My report is generated using apex_item
    The code in the first column is
    eoline.plannedqty PLANNEDQTY
    second column depends on the CASE, so it's either
    APEX_ITEM.DISPLAY_AND_SAVE(2,eoline.orderqty)
    or
    APEX_ITEM.TEXT(2,eoline.orderqty,5,10,'style="text-align:right;" onchange="show(this);"')
    I tried to_char, to_number, but can't make it work.

    I missed something obvious

    Gus

    In other words:

    SELECT 1 + APEX_ITEM.DISPLAY_AND_SAVE(2,2)
    from dual
    

    Yields:

    ORA-01722: invalid number

    Why?

    SELECT APEX_ITEM.DISPLAY_AND_SAVE(2,2)
    from dual
    

    Yields:

    2
    

    Of course, on your screen, all you see is a number in a text box, but you're still emitting of HTML code. You can not expect from the Apex to handle this. The calculations just perform calculation asked on the values of your defined columns.

    Solution? Turn off calculations in your issuing html columns because it does not work like that.

  • Problem of calculation Script

    Hi all



    I have the following calculation script:

    UPDATECALC OFF SET;
    SET AGGMISSG

    Fix (& CurVersion,
    & BudYr,
    localcur,
    @Relative (@MEMBER (@CONCATENATE (@SUBSTRING (@Name ([Department]), 0, 3), "_A01")), 0),
    @Relative("All_Products",0))


    Fix ("dirty", @relative(Expenses,0), Jan: DEC)


    Budget)

    If (@isuda ('entity', 'New'))

    Budget = real-> final-> & PriorYr;

    endif
    )

    endfix
    endfix


    I want to copy the real-> Final data budget-> work only for the entities marked with UDA 'new '.

    I can't use datacopy command I use if statement.

    There are 2 problems with these scripts:

    1. it does not create the blocks for the new budget year since we don't use datacopy

    2. If I try to use create custom block missign it opens too many blocks in the Essbase database.

    How can I change the code above to achieve this datacopy resolve these two issues I have mentioned.

    Thanks for your help.

    Two thoughts:
    (1) create new UDAs, for example, NewA1, NewA2, etc. A pain, but it could be done.
    (2) I think that this has been suggested before, but I don't know if it would really work: DIFFICULTY (@RELATIVE ("Division_A1", 0) AND @UDA ('entity', 'New'))

    Kind regards

    Cameron Lackpour

  • Problem of calculation of forms

    Greetings!

    Make a simple form in Acrobat, several rows of 'qtya' * 'prixUn' = 'totala', where the totals are then added to the top down. Pretty simple.

    However, the total field, if I exceed 3 numbers (greater than 999) of the screen displays this code - > $ 1. #R, unless I click on it, then it shows the total entitlement and the total general works very well.

    Therefore, for customs formalities, he MUST display, but I can't understand why it will not...

    Anyone has an idea on how to solve this problem?

    The formula is as I have indicated above, for each line (qtyb * priceb) = totalb and so on... The total is the sum of all total fields...

    That means $1. average #R?

    The problem is in the validation scripts that you use. Some of the code they contain are intended to be placed in a custom Format script, then it is not sensible in a validation script. If you replace each validation script with the following should work:

    Custom validation script

    If (+ event.value = 0) event.value = "";

    Because you set the formatting of the fields for an integrated, you don't have the rest of the code you currently have.

    In addition, the field calculation order is not correct, then you need to change, so it makes sense for the form.

  • Problem of calculation Manager: planning starts the same rule several times

    We have a very odd behavior to our Oracle EPM System 11.1.2 environment. Whenever a rule of calculation Manager takes more than 5 minutes at the end, Planning begins to run again and again. In some cases, the beginning of rules down and post the error messages, others to complete correctly, after launching several times.

    The journal of planning looks something like this, after the launch of the rule only once:

    2011-07-08 14:13:41, 726 NEWS Thread-115 calcmgr.launch - Date/time began: 2011/07/08:14:13:41.726 COT/Application/database server: localhost/COL_PYG/PYG Business Rule Name: 1.5 General. Operat Catast Seguros committees of planning user: admin
    2011-07-08 14:18:41, 737 calcmgr.launch INFO wire-117-Date/time began: 2011/07/08:14:18:41.737 COT/Application/database server: localhost/COL_PYG/PYG Business Rule Name: 1.5 General. Operat Catast Seguros committees of planning user: admin
    2011-07-08 14:20:37, 723 calcmgr.launch INFO wire-115-Date/time end: 2011/07/08:14:20:37.722 COT/Application/database server: localhost/COL_PYG/PYG Business Rule Name: 1.5 General. Operat Catast Seguros committees of planning user: admin.
    2011-07-08 14:23:41, 751 calcmgr.launch INFO wire-118-time started: 2011/07/08:14:23:41.751 COT/Application/database server: localhost/COL_PYG/PYG Business Rule Name: 1.5 General. Operat Catast Seguros committees of planning user: admin
    2011-07-08 14:24:48, 093 calcmgr.launch INFO wire-117-Date/time end: 2011/07/08:14:24:48.093 COT/Application/database server: localhost/COL_PYG/PYG Business Rule Name: 1.5 General. Operat Catast Seguros committees of planning user: admin.
    Reaquired rental list task: Fri Jul 08 14:28:12 COT 2011:1310153292779
    caching with composite grid: 55475421
    compositeGrid: com.hyperion.planning.olap.HspCompositeGrid@34e7cdd
    2011-07-08 14:28:41, 765 calcmgr.launch INFO wire-119-time started: 2011/07/08:14:28:41.765 COT/Application/database server: localhost/COL_PYG/PYG Business Rule Name: 1.5 General. Operat Catast Seguros committees of planning user: admin
    2011-07-08 14:30:44, 116 calcmgr.launch INFO wire-118-Date/time end: 2011/07/08:14:30:44.116 COT/Application/database server: localhost/COL_PYG/PYG Business Rule Name: 1.5 General. Operat Catast Seguros committees of planning user: admin.
    2011-07-08 14:33:41, 779 calcmgr.launch INFO wire-120-time started: 2011/07/08:14:33:41.779 COT/Application/database server: localhost/COL_PYG/PYG Business Rule Name: 1.5 General. Operat Catast Seguros committees of planning user: admin
    2011-07-08 14:34:07, 110 calcmgr.launch INFO wire-119-Date/time end: 2011/07/08:14:34:07.109 COT/Application/database server: localhost/COL_PYG/PYG Business Rule Name: 1.5 General. Operat Catast Seguros committees of planning user: admin.
    2011-07-08 14:38:41, 793 calcmgr.launch INFO wire-121-time started: 2011/07/08:14:38:41.793 COT/Application/database server: localhost/COL_PYG/PYG Business Rule Name: 1.5 General. Operat Catast Seguros committees of planning user: admin
    Time in seconds: 0
    Time in seconds: 0
    Time in seconds: 0
    Time in seconds: 0
    Time in seconds: 0
    Time in seconds: 0
    Time in seconds: 0
    2011-07-08 14:39:21, 108 MORTALS Thread-121 calcmgr.launch - Date/time closed: 2011/07/08:14:39:21.108 COT/Application/database server: localhost/COL_PYG/PYG Business Rule Name: 1.5 General. Operat Catast Seguros committees of planning user: admin.     Exception: com.hyperion.planning.InvalidCalcException: an error occurred when executing the specified calc script. See the log for more details.
    2011-07-08 14:39:31, 171 FATAL-120-Date/time end thread calcmgr.launch: 2011/07/08:14:39:31.171 COT/Application/database server: localhost/COL_PYG/PYG Business Rule Name: 1.5 General. Operat Catast Seguros committees of planning user: admin.     Exception: com.hyperion.planning.InvalidCalcException: an error occurred when executing the specified calc script. See the log for more details.

    My guess is you have changed the time of do not expire on the standard interval rule and of course to have long-term rules.

    Consult the support company article rules that take more than five Minutes to execute are Re-launched several times [755406.1 ID]
    https://support.Oracle.com/CSP/main/article?cmd=show&type=not&DOCTYPE=problem&ID=755406.1

    I saw cases where a firewall or load balancer has been filed to cut connections to certain intervals, forcing the browser to submit the application re-launch. In our case, I believe that the support article is the appropriate path for your problem.

    Kind regards

    John A. Booth
    http://www.metavero.com

  • Small problem of calculation for the size of the Page when using overflow online

    Hello world:

    It seems to me that in 11g when I use:

    (1) a presentation of table form
    (2) overflow online
    (3) calculate the width of the Table

    The calculation does not take into account the width of the "twistie" as I call it, which is a small triangular arrow pointing at the time where there is something to the overflow inline and points downwards when you look at what is in the overflow online.

    Pages that have these 3 features have a scroll bar on the bottom, which needs a little more room. I guess that's the width of "twistie" is not taken into account.

    I looked on this forum as well as the Release Notes to see if it was a known problem, but did not find, and I can send you a unit with the HRSchema test, if you want to.

    I realize that I can use the "pixels" instead of calculating the width of the Table, but I thought I should report it to you if you didn't know already.

    Mary
    U

    Mary,

    You use JDeveloper 11.1.1.4?
    I so that explained. This version of JDev has some annoying layout changes. The good news is that JHeadstart 11.1.1.3 who has just been released should solve these problems of presentation.

    Steven Davelaar,
    Jheadstart team.

  • Problem with calculation of measurement using instruction box

    Hello Experts

    I have a measure that calculates the percent of sales by State - "sale by States" / "Total sales" * 100 and the requirement is when the numerator of the measure is < 11 then it should be ' *'. I tried to write a next case statement case when sales by State < 11 THEN ' *' ELSE sales by State END / "Total sales" * 100. I get an error saying incompatibility of data type of ideas how I can make it work.

    Thank you
    RC

    Published by: user1146711 on July 12, 2012 07:39

    Published by: user1146711 on July 12, 2012 09:17

    Hi RC,.

    I used to have the same than the one that I solved it using the following statement hope, that it will aid.

    BOX WHEN ((ARRAY. NUMERATORCOLUMN< 11))="" then="" '*'="" else="" concat(cast(round((((numerator="" column)/(denominator="" column))*100),1)="" as="" char(50)),'%')="">

    Here the results of instruction box in the two values is * Alternatively, value (which is stored as varchar instead of the number data type).
    Have, so the results are varchar. you get no data type mismatch error.

    That, by your statement the case... A case get varchar and another survey number which is the offset. (Logic)

    I have concatenated with the '%' sign to show results under 15%, 16% and stores the same results (Varchar).

    I hope that this solves your problem. Please, attribute points. :) :)

    Let me know, if you still find problems.

  • Add instance problem with calculation

    I have a form where I have a total calculation field. When I add an instance

    everything below this instance is in the form is no longer calculated. PLE

    help of the ESA.

    K

    You need a .rawValue, like this:

    xfa.resolveNode("#subform[1].setup-tr2").rawValue

    + xfa.resolveNode ("#SubForm [1].") Mid - TR2 "). RawValue + etc...

  • Problem of calculation help necessary solution quickly

    I've created a registration adobe acrobat in Adobe LiveCycle form.  I worked on this all day and had to distribute today.  I don't know what's wrong with my code.  I need an eye informed immediately if possible.  Calculated fields are on page 2.  The right TotTour, TotMDin, TotWDin, & then TotDue column

    Nikki

    Hello

    I.ve made some changes to scripts youre and form saved as dynamic. Now, he calculates.

    Hope this what you need.

    ARO

    Paul Butenko

  • Problem of calculation of dynamic scenario ASO

    Dear friends,

    There is a request from the client to automate the calculation of dynamic scenario,

    Here, the example below should be automated.

    If you look at the code, the current month is seven (& Startmo is the variable for this) version is at work and the working version should be set under every month until dec in line with forecasts current-> work, and over seven months is must be real-> Final, currently, customer is updated manually for each month. As am new to Aso could someone help me get the logic right with the formulas of existing mdx or is there another way to do it.

    What is already existing: the Substitution variables start month (Sep) and month (Aug)
    Period: Dynamic Dimension
    Years: stored
    Scenario: Active Hirearchies
    Version: stored



    When (CurrentMember is ([years]) [FY10] AND CurrentMember ([period]) is [July]) then ([scenario]. [Real] [Version]. [Final])
    When (CurrentMember is ([years]) [FY10] AND CurrentMember ([period]) [August]) then ([scenario]. [Real] [Version]. [Final])

    When (CurrentMember is ([years]) [FY10] AND CurrentMember ([period]) is [September]) then ([scenario]. [Current forecasts] [Version]. [Work])
    When (CurrentMember is ([years]) [FY10] AND CurrentMember ([period]) is [OCt]) then ([scenario]. [Current forecasts] [Version]. [Work])

    Appreciate all your valuable suggestions...

    Thanks in advance

    I wrote this quickly without having the possibility to validate. I he would burst into pieces to understand what is breaking. I usually have foget parens.

  • [8i] problem of calculation of Date/time...

    So I am currently faced with a situation where I need to calculate the total number of hours that a workstation is in use for each day in a given period. I have a table with newspaper each time that each workstation is used. The problem is a workstation can be used for any period of time, commencing on any day and ending on any day. This means that a particular log entry may extend over several days. I don't know how to split the difference between the time of the end of an entry and departure date/time of entry over several days.

    Here is a sample table and some sample data for what I'm doing:
    -- Note: in reality, this table contains more columns
    CREATE TABLE     my_hrs
    (     record_id     NUMBER     NOT NULL
    ,     sdatetime     DATE     
    ,     edatetime     DATE     
    ,     workstation     VARCHAR2(4)
         CONSTRAINT my_hrs_pk PRIMARY KEY (record_id)
    );
    
    -- Note: sdatetime, edatetime, and workstation CAN all be NULL, though I won't provide
    -- any sample data for these situations since I want to ignore them in my results
    -- Additionally, there are hundreds of workstations, but I'm only using 2 to simplify the sample data
    
    INSERT INTO     my_hrs
    VALUES (12345,TO_DATE('03/01/2010 08:00','mm/dd/yyyy HH24:MI'),TO_DATE('03/01/2010 13:35','mm/dd/yyyy HH24:MI'),'123A');
    INSERT INTO     my_hrs
    VALUES (13427,TO_DATE('03/01/2010 08:10','mm/dd/yyyy HH24:MI'),TO_DATE('03/01/2010 10:02','mm/dd/yyyy HH24:MI'),'321B');
    INSERT INTO     my_hrs
    VALUES (21543,TO_DATE('03/01/2010 14:07','mm/dd/yyyy HH24:MI'),TO_DATE('03/01/2010 16:30','mm/dd/yyyy HH24:MI'),'123A');
    INSERT INTO     my_hrs
    VALUES (22412,TO_DATE('03/01/2010 10:15','mm/dd/yyyy HH24:MI'),TO_DATE('03/01/2010 15:30','mm/dd/yyyy HH24:MI'),'321B');
    INSERT INTO     my_hrs
    VALUES (11976,TO_DATE('03/01/2010 17:00','mm/dd/yyyy HH24:MI'),TO_DATE('03/02/2010 02:30','mm/dd/yyyy HH24:MI'),'123A');
    INSERT INTO     my_hrs
    VALUES (34215,TO_DATE('03/01/2010 22:10','mm/dd/yyyy HH24:MI'),TO_DATE('03/02/2010 04:30','mm/dd/yyyy HH24:MI'),'321B');
    INSERT INTO     my_hrs
    VALUES (24789,TO_DATE('03/02/2010 13:00','mm/dd/yyyy HH24:MI'),TO_DATE('03/05/2010 02:30','mm/dd/yyyy HH24:MI'),'123A');
    INSERT INTO     my_hrs
    VALUES (31542,TO_DATE('03/02/2010 21:30','mm/dd/yyyy HH24:MI'),TO_DATE('03/04/2010 10:30','mm/dd/yyyy HH24:MI'),'321B');
    According to my data in the example above, these are the results I want to see:
    WORKSTATION     DATE          HRS_IN_USE
    ------------------------------------------
    123A          3/1/2010     14.96667
    321B          3/1/2010     8.95000
    123A          3/2/2010     13.50000
    321B          3/2/2010     7.00000
    123A          3/3/2010     24.00000
    321B          3/3/2010     24.00000
    123A          3/4/2010     24.00000
    321B          3/4/2010     10.50000
    123A          3/5/2010     2.50000
    321B          3/5/2010     0.00000
    Is this possible? (Please note that if the workstation was not used on a particular day, I want to show him 0 for this workstation for that day). Another thing to note is that I work with Oracle 8i.

    Thanks in advance for the help!

    Hello

    user11033437 wrote:
    Sorry, bind variables are DATEs.

    Where are you running that? I assumed it was SQL * Plus, where the bind variable can not be DATEs.
    That's exactly why I wanted a full test case.

    user11033437 wrote:
    The WHERE clause is the culprit here.

    SELECT  p.min_date  + ROWNUM - 1      AS a_date
    ,     p.min_date + ROWNUM         AS next_date
    FROM     all_objects
    ,     (     -- Begin in-line view p to define parameters
              SELECT      :start_date  AS min_date
              ,      :end_date  AS max_date
              FROM      dual
         ) p     -- End in-line view p to define parameters
    -- WHERE     ROWNUM <= p.max_date + 1 - p.min_date --this is causing the error
    

    Published by: user11033437 on March 12, 2010 09:02
    Replaced the post with something SPECIFIC

    Thanks, I appreciate it.
    A surprising number of people on this forum does not seem to see the value of posting something specific. It's a great relief to work with someone who does.

    I said how I could not simply subtract two dates, t1d - T2D, in a place determined; I had to use TO_NUMBER (t1d - T2D). Maybe even workaround will be used here.

    user11033437 wrote:
    When I run the subquery p by itself and add a line to avoid the sdatetime of edatetime and look at the results, it seems that he could return the difference between two days of a type of INTERVAL data, rather than a number...

    SELECT      :start_date  AS min_date
              ,      :end_date  AS max_date
              ,      :end_date - :start_date AS my_int
              FROM      dual
    

    I discovered that if in the end I have will be querying this database and another, however the other database is Oracle 8i, 9i is obviously...

    sigh of frustration

    It may seem reasonable (at the time your conclusion and your frustration): intervals have been introduced in Oracle 9. (However, I noticed that sometimes "what's new" were actually available, although without papers, in earlier versions).
    Yet once again, how are the bind varibales defined? Looks like they are the timestamps. Subtracting two DATEs results in a NUMBER, but by subtracting two stamps produced an INTERVAL. You can change to the DATEs where they are defined?
    Try to use TO_DATE or CAST in the subquery p, to ensure that it produces DATEs:

    ,     (     -- Begin in-line view p to define parameters
              SELECT      CAST (:start_date AS DATE)  AS min_date
              ,      CAST (:end_date   AS DATE)  AS max_date
              FROM      dual
         ) p     -- End in-line view p to define parameters
    
  • Problem of calculation the sum in the Transient attribute

    Scenario is,

    I have a form master detail. I want to make the sum of the Quantity column of the secondary table. I have visited many blogs for this tutorial.

    I made view accessor in detail in VO. Master then transitional attribute default Value Master VO, I set value Expression such as DetailViewAccessor.sum ("Qty")

    When I run BCJ4 tester. Transient attribute shows all the total instead of the current detail record. in tutorials they showed her work:)

    J Dev Version 11.1.2.4

    I did it. No need to create to display the details of Accessor.of to the master.  I used ViewLink accessor between master and detail as pictured

    then, by default value transient expression attribute, I wrote ShpContractDView.sum("Qty"), Inseated to the create view accessor.

    It is a success and Trail for me Ashish and Timo please tell me the concept behind what I did?

Maybe you are looking for