Grouped nodes added to Vbox - Height issue? Bug?

Maybe you guys could try this out as well? I'm most probably doing something wrong but for demonstrative purposes, I've found an issue with a VBox incorrectly stating its height value when it consists of grouped nodes.
Take the following for example, albeit simple and incomplete (it's more or less what I've got going on in my code):
     var goupedNodesSequence : Node[];
        for(i in [0..30]){
            //Label
            var myLabel : Label = Label{               
                textFill: Color.WHITE
                text: "Lable Number: {i}"
         //Rectangle
            var myRectangle : Rectangle = Rectangle{
                width: 100
                height: 25
                fill: Color.BLUE
         //Grouped label and rectangle
            var nodeGroup : Group = Group{
                content: [myLabel , myRectangle ]
            insert nodeGroup into goupedNodesSequence
            }//forloop
            //VBox
            def groupedNodesVBox : VBox = VBox {
                    content: goupedNodesSequence
                    spacing: 3       
            }My code is slightly different in that the construction of the groupedNodesSequence is done in a forloop within a function that returns the sequence. The sequence of nodes is then assigned to the VBox.content property.
I've noticed that visually, it looks correct in that each node, within the VBox, is a rectangle with a label on top of it. This is fine. But when you want to know the height property of the VBox node, it seems to be overstated in that it appears to add the height of all nodes including spacing (approximately anyway) to the total height of the VBox.
I've even tried to use the Stack feature to place the nodes in a stack formation and messed around with the X/Y translations and layout features but a no go.
I wonder if this has anything to do with the "bug" some people (PhiLHo ?) have encountered with using VBoxes and Scrollbars and getting incorrect Scroller max values possibly due to this incorrect height reading of the VBox? Check out PhiLHo's response to this thread to know what I'm talking about over here
I simply compensated the incorrect height difference in my code as it was more efficient for me, but I thought I'd bring this up for discussion and see if anyone else is having the same issue.
Essentially, put a few nodes together and group them, then add the group node to another sequence, and place that sequence of grouped nodes into a VBox. See what kind of height you're getting for the VBox.

For me, the VBox height comes out to 865, which I think is correct. You have 31 groups in the VBox, and each group has a rect that's 25 tall. Add to this the 30 inter-item spacings of 3 gives: 31 x 25 + 30 x 3 = 865. [Edited to avoid confusion between the arithmetic expression and forum markup.]
But if you look at the heights of each of the nodes, it's something of a puzzle. The height of each Label is 14, the height of each rect is 25, and the height of each nodeGroup (each contains a label and a rect) is 36. Huh??? How can this be if the label overlaps the rect? (I puzzled over this for a bit as well.)
At issue is how you're finding the height of each item. If you use boundsInLocal or boundsInParent, you get the heights I listed above. If you look at the actual boundsInParent of each label and rect, though, you'll notice something odd: the boundsInParent of Label are something like:
BoundingBox [minX = -1.0, minY=-11.0, maxX=97.0, maxY=3.0, width=98.0, height=14.0]
So the bounds of the Label are mostly above the origin, and the bounds of the Rectangle extends below the origin. That's why, when you throw them into a Group, the height of the Group is almost the sum of the two heights, even though visually the Label and the Rectangle overlap.
You might ask why the bounds of the Label extend above the actual label text. Well, that might be a bug. I'll investigate it. If you look at the layoutBounds of a Label, it makes more sense.
Meanwhile, a great explanation of the various JavaFX bounds can be found on [Amy Fowler's blog|http://weblogs.java.net/blog/2009/07/09/javafx12-understanding-bounds].
Edited by: smarks on Jan 5, 2010 3:31 PM

Similar Messages

  • Queue to skill group node with consider if statement.

    Hello,
    I have a question on a queue to skill we have set up. There have been complaints that calls have not been able to be answered after the center closes even though they are logging in an agent or two to clean up these calls. Within the queue to skill is consider if statement that says:
    IF call center location is open and there is at least one agent logged in, queue the call to this skill group.
    This applies to both skills that are in this queue to skill node. What they are saying is that if there are calls queing after the center is closed and they have already passed the consider if statements and are sitting in MOH/queuing, would these consider if statements not allow the call to be delivered to an agent if they log in after the center is closed as they are stating that they will log an agent in and they still can't pick up the call. However, these are agents at 2 different locations on 2 separate PGs so that throws another variable into the mix. Not sure how much of the truth they are telling either....
    Also, is there a way to check if the call is queing to both groups or just one? Not sure if there is something in the DB that will tell you this, I know there is a route field in RCD but I'm assuming this will only popluate after a call is handled.
    There is also a TOD check that will not allow calls to this queue if it past hours of op built in as well.
    Thanks

    Paul,
    It sounds like the first "IF" statement is being used as an "accept or deny" calls access to the queue node-
    If the queue to skill group node is the where this decision is made(perfectly acceptable to do so)- once a call passes through the queue to node- calls do not return to it unless you loop though it.
    Think linear-
    Start----Queue to(with if) -----play music-----play announcement--------wait-------loops back to play music-------
    Queue to node (conditions-if agents logged on queue the call, if not, the call is not queued)-If calls do not get queued in this step, calls are just in the treatment, not actually queueud- even if your subsequent steps are to play music, play prompts etc- the call is not queueud. 
    I do not recommend this---but it would resolve the issue if agents logged on after the call was in the treatment----
    Start----Queue to(with if) -----play music-----play announcement--------wait-------loops back to queue to(with if)------
    Logging in agents to the queue would not automatically add callers to the queue-
    the script would need a new queue to node during the treatment- again looking to see if agents signed on.
    I would advise adding an Admin Script with TOD/ DOW conditions and then set a variable for open/ closed-
    If the script is "open" queue the calls to the skill group, then if agents do sign on to the queue the calls can be answered.
    Start---
    IF Node(if open)---->Queue to(if not required here) -----play music---play announcement---wait---loops back to play music-
          '------>(if closed) play after hours greeting/ route to voicmail/hangup.

  • Collapsible Panel within another Collapsible Panel HEIGHT ISSUE

    Having an issue with the height of a collapsible panel that has another collapsible panel within it not adjusting. I am using Dreamweaver CS5.
    When I try the fix of changing line 431 in .js  (where you change "px" to "auto" where it says this.content.style.height = this.toHeight + "auto";) it does not work in IE7 or Firefox. If I change  the height inferences in the .js on lines 392, 431, and 439--it  worksperfect in Firefox, however it throws an error in IE7. Anyone have a  clue???
    Here is my page: http://www.l-3choosewisely.com/dev/
    username: owl
    password: l3ae2011
    Help would be greatly appreciated. PLEASE PLEASE PLEASE help me!

    For right now I have "semi-fixed" the issue, by adding a min-height to my second collapsible panel set, but really am NOT HAPPY
    with it... please help me, it has to be something with the auto-height... I know I am looking right at it and just not seeing it.

  • Image is not printing in PrintAdvanceDataGrid when the PrintAdvanceDataGrid was added to Vbox

    I tried to print the image in the PrintAdvance Data Grid  , image is not priniting  when the PrintAdvanceDataGrid was added to Vbox or Vgroup, can any one help?

    Images are loaded asynchronously, so they appear after the page is sent to the printer.  Using an image cache should help.
    -Alex

  • Issues / Bug with Nokia N9

    Issues / Bug with Nokia N9
    1. The mobile network gets disconnected after each call and I have to wait atleast 10-20 seconds to redial or make a new call, I cannot dial a number just after I finish a call / speaking with someone. It happens on both Incoming and outgoing Calls.
    Troubleshooting Steps:
    1. Changed SIM card from the telecom provider atleast 3 times. The same SIM card works absolutely fine in another mobile.
    2. Reset and set to default settings tried - No Result
    2. The ear piece volume is considerably low.
    Troubleshooting Steps:
    1. Reset and set to default settings tried - No Result
    3. When playing a video online on YouTube the timing for a 4 minute video shows as
        34:00 34:23 instead of showing 04:00 04:23
    Troubleshooting Steps:
    1. Reset and set to default settings tried - No Result
    4. The photos from the Facebook app built into the phone do not always load even If I am running a 3.5G Mobile Data connection or at Home on a Wi-Fi connection
     Troubleshooting Steps:
    1. Reset and set to default settings tried - No Result
    I am from India, bought the phone last year from Abu Dhabi and it is Made in Finland.
    Really I need someone to help me out here!!

    If you reinstalled the OS again from Nokia, you may just have a defective phone and there could be something wrong with the hardware.  I have two N9's and I haven't experience any of these problems.
    Can you record these problems and post the link to youtube here so I can see what's happening?
    I Choose Nokia!

  • How to get count of group of current login user if AD Group is added in SharePoint Group?

    My Client has 2 SharePoint Application. For the AD Users they have created AD Group and added users in that AD Group as per requirement. Later AD Group is added in SharePoint Group. When I'm trying to fetch Current User Group count, I can able to get the
    count of Groups using below statement.
    int groupCount = SPContext.Current.Web.CurrentUser.Groups.Count;
    Above Statement, returns always 0 value if I tried with User who are added in AD Group and if I add AD User and then it will return the exact count.
    Please suggest solution to get Count of Group of Current User. My Application contains more than 60 SharePoint group.

    Hello,
    I believe your code doesn't count those AD group users until they login at least once. If this is the case then try to use "SPUtility.GetPrincipalsInGroup" as suggested in below post:
    http://stackoverflow.com/questions/4314767/getting-members-of-an-ad-domain-group-using-sharepoint-api
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Row Height Issue

    Oh Hi I have selected Optimize height by row content from Table and font tab and it shows all my text in activity name but when i saved the layout it changes back to keep current rows heights. Can any one tell me how do i fix this
    Thanks in Advanced

    *793199 ,*
    The "Row Height" issue is a common problem. Some things that affect my row height are:
    * Not saving my layout after changing row height
    * Notebook items in the gantt chart affecting the row height and may have to be manually widened to display all of the text or symbols
    Row Height*
    Optimize height by row content:* Indicates you want each row's height determined by its content. If you choose this option, type or select the maximum number of lines that should be included in each row.
    Good luck and let me know how it turns out.

  • Known performance issue bugs and patches for R12.1.3

    Hi Team,
    We have upgraded oracle application from 12.1.1 to 12.1.3.
    I wanted to apply the known performance issue bugs and patches for R12.1.3.
    Please let me know for any details.
    Thanks,

    Are u currently facing any performance issues on 1213?
    Tuning All Layers Of E-Business Suite – Performance Topics
    http://www.oracle.com/technetwork/apps-tech/collab2011-tuning-ebusiness-421966.pdf
    • Start with Best Practices : (note: 1121043.1)
    • SQL Tuning
    – Trace files
    – SQLT output (note: 215187.1)
    – Trace Analyzer (note: 224270.1)
    – AWR Report (note: 748642.1)
    – AWR SQL Report (awrsqrpt.sql)
    – 11g SQL Monitoring
    – SQL Tuning Advisor
    • PL/SQL Tuning
    – Product logs
    – PL/SQL Profiler (note: 808005.1)
    • Reports Tracing
    – note: 111311.1
    • Database Tuning
    – AWR Report (note: 748642.1)
    – ADDM report (note: 250655.1)
    – Automated Session History (ASH) Report
    – LTOM output (note: 352363.1)
    • Forms Tuning
    • Forms Tracing (note: 373548.1)
    • FRD Log (note: 445166.1)
    – Generic note: 438652.1
    • Middletier Tuning
    – JVM Logs
    – JVM Sizing (note: 362851.1)
    – JDBC Tuning (note: 278868.1)
    • OS
    – OSWatcher (note: 301137.1)

  • Queue to Skill Group node Failure

    Queue to Skill Group node failing on load and sometimes witout load
    Router Log Viewer
    3/28/2013 1:04:07 PM          Call route request from routing client CVP_PG_1G (ID 5015) with unknown DN of 7771111000.
    3/28/2013 1:04:08 PM          Call route request from routing client CVP_PG_1G (ID 5015) with unknown DN of 7771111000.
    3/28/2013 1:04:12 PM          Call route request from routing client CVP_PG_1G (ID 5015) with unknown DN of 7771111000.
    3/28/2013 1:04:12 PM          Call route request from routing client CVP_PG_1G (ID 5015) with unknown DN of 7771111000.
    3/28/2013 1:04:14 PM          Call route request from routing client CVP_PG_1G (ID 5015) with unknown DN of 7771111000.
    rtrtest logs
    :40:29:245 ra-rtr Trace: (29437 29438 12329 : 0 0) CallEventReport: CID=(150565,47621458),Event=DISCONNECT, DlgEnds=1, FromVRU=0, CallState=2, Cause=NORMAL
    16:40:29:245 ra-rtr Trace: (29437 29438 12329 : 0 0) Dialog received event report 6 from NIC during RunScript.
    16:40:29:245 ra-rtr Trace: (29437 29438 12329 : 0 0) Canceling queuing for CID=(150565,47621458)
    16:40:29:245 ra-rtr Trace: (29437 29438 12329 : 0 0) Unqueuing Call CID=(150565,47621458) for SkillGroup CUCM_PG_1.Cisco_Voice.SMDSkill, pos=14
    16:40:29:246 ra-rtr Trace: (29437 29438 12329 : 0 0) Dialog sending VRUQueueEvent to VRU (4)
    16:40:29:252 ra-rtr Trace: (29437 29438 12329 : 0 0) Dialog handling script resp
    16:40:29:252 ra-rtr Trace: (29437 29438 12329 : 0 0) CallEventReport: CID=(150565,47621458),Event=DISCONNECT, DlgEnds=1, FromVRU=0, CallState=22, Cause=INVALID_CAUSE
    16:40:29:252 ra-rtr Trace: (29437 29438 12329 : 0 0) Dialog (callstate:22) received event(6)(Call disconnected. (Event has dialog end set.)) 
    16:40:29:252 ra-rtr Trace: (29437 29438 12329 : 0 0) Dialog resuming (Call disconnected. (Event has dialog end set.)) status (3)
    16:40:29:252 ra-rtr Trace: (29437 29438 12329 : 0 0) Dialog aborted and was deleted.
    16:40:29:252 ra-rtr Trace: (29437 29438 12329 : 0 0) Dialog sending release call to VRU
    16:40:29:252 ra-rtr Trace: (29437 29438 12329 : 0 0) Deleting Dialog.
    16:40:29:252 ra-rtr Trace: For message (9) from routing client CVP_PG_1F (ID 5014) could not find dialog id (29438).
    16:40:29:254 ra-rtr Trace: Received dialog fail for unknown dialog(29438) from PG.
    CVp VRU PIM logs
    Line 15925: 16:46:11:090 PG1A-pim7 Trace: DIALOGUE::NoSuchRouterDIDError:DIALOG_FAIL  RCID=5014 PID=5000 FailureType=2 NumOfEvents=1 DID=29677 DIDRelSeqNo=-1 ReasonCode=1
    Line 15946: 16:46:19:533 PG1A-pim7 Trace: DIALOGUE::NoSuchRouterDIDError:DIALOG_FAIL  RCID=5014 PID=5000 FailureType=2 NumOfEvents=1 DID=29695 DIDRelSeqNo=-1 ReasonCode=1
    Line 15958: 16:46:20:690 PG1A-pim7 Trace: DIALOGUE::NoSuchRouterDIDError:DIALOG_FAIL  RCID=5014 PID=5000 FailureType=2 NumOfEvents=1 DID=29584 DIDRelSeqNo=-1 ReasonCode=1
    Line 15960: 16:46:20:691 PG1A-pim7 Trace: DIALOGUE::NoSuchRouterDIDError:DIALOG_FAIL  RCID=5014 PID=5000 FailureType=2 NumOfEvents=1 DID=29584 DIDRelSeqNo=-1 ReasonCode=1
    Trying on Simple Script now:
    Ideas and response appreciated. Thanks.

    What ivr type is being used. It seems the call correlation is failing when the number ends 0 check either your translation routes or that you correlation I'd does not start as 0 as this will cause calls to fail
    Sent from Cisco Technical Support iPad App

  • New security group then added into either built in administrator or domain admin group

    I am having windows 2012 R2 DC so i need to create administrator group please let me know if we create new security group then added into either built in administrator or domain admin group it will work? i have tried but not working any other alternative
    methods to get admin access

    Controlling local group membership could be done by GPOs:
    Using Group Policy Restricted Groups: http://social.technet.microsoft.com/wiki/contents/articles/20402.active-directory-group-policy-restricted-groups.aspx
    Using a startup script that adds a domain group as member of a local group: http://technet.microsoft.com/en-us/library/bb490706.aspx
    If you have manually added a domain security group to local Administrators group of a computer and you still see that the members are not admins then you can do the following:
    Logoff and logon again and see if that helps
    If you are using a universal group then you be having a problem with the membership. More details here: http://www.windowsdevcenter.com/pub/a/windows/2004/06/15/fsmo.html. You can try converting the group to a global one for testing.
    Adding a user to Domain Admins group will make you, by default, a local administrator on domain-joined Windows Systems. This is because, domain admins are, by default, members of local Administrators group. However, you should make the membership of Domain
    Admins group very limited and only for users who do global domain administration.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • EMAIL AND CALENDAR ACCOUNT STATUS ISSUE / BUG OS 10.3.1

    I found an issue / bug which is really frustrating me!
    Phone:      Blackberry Q10 (SQN100-3)
    OS:           10.3.1.1565
    Mail:          IMAP
    Calendar:  Google Calendar
    Last week I updated my BB Q10 to the new officially released OS 10.3.1
    Today I noticed that the connection info / status for email accounts and calendars (Settings > Accounts) wasn’t indication correctly.
    In the Accounts menu it shows “E-mail” below the name of my email account and “Calendar” below my calendar account to indicate that my Q10 is connected to these accounts. But when I turn airplane-mode on it still shows E-mail and Calendar without being connected to any of these accounts.
    Strangely when I turn on my phone while in airplane-mode the Accounts menu shows “E-mail” for my email account and “No Connection” for my calendar account, obviously without being connected to my email account. But when I turn of airplane-mode I receive emails and new appointments but the Accounts status for calendar still shows “No Connection”.
    Apparently the account status is not updated while using my phone, it shows the status at startup. This is very annoying and I am unable to check whether I am connected or not to my email and calendar while not in airplane-mode.
    In OS 10.2.1 the account status worked correctly and was updated (connected / no connection) while using my phone.
    Anybody else with the same problem?
    Is this already a known issue / bug?
    Anyone an idea how to solve this issue?

    I would simply delete both accounts (email and calendar) then readd them.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Updates for previously paid for apps that address stability issues, bug fixes, other improvements that a customer is entitled to

    Why is the policy of Apple to prohibit customers from downloading FREE updates for previously paid for apps that address stability issues, bug fixes and other improvements that a customer is entitled to because the customer does not currently have a credit card on file that they can verify has an available balance??? I can understand it even for free apps or apps on sale or because most of those apps depend on in-app purchases but COME ON. Where is the ethics in that policy? Where is the consumer protection? Especially considering the ONLY marketplace to receive these third party products is through apple. INSANE.
    Wasted another 3 or 4 hours today trying to find a solution. I am unable to provide alternative payment method and money is tight for next 2 weeks but this is temporary. It's not as if I will never be purchasing more apps and apple products in the future. I have been a loyal apple customer since the days when Power!ac 9500 retailed for $8,000.00. Another words for a very long time.
    Anyone else find this to be a legitimate issue?

    I am all for any instance where I am asked to verify my account or Apple ID. The issue is that I am being denied delivery of a beneficial update of a premium, already paid for app... Because I am (at the moment) maxxed out with my credit card I have associated with my Apple ID.
    There are four different (full version) paid for apps that just all released major updates.  The third party developers offer the updates for free to customers who have purchased the full version of the app and the update includes stability improvements, iOS 7 comparability, bug fixes and expanded functionality.
    These are not apps that, in total, cost over $100... And that I use every day.
    Never had an issue with being required to verify my account or Apple ID.

  • [CS4] Clipping Mask issue (bug?) - Beachball when I try to select masked group

    I have a somewhat complex compound path (1400 points) that I've duplicated several times and clipped. I want to make a second copy of this clipped set of objects. When I try to select the group that contains the clipping mask (with the selection tool or in the layers palette) illustrator chugs for over a minute. Once it's done chugging and I have my group selected I hit copy and paste. It chugs for another minute and then does nothing but deselect my group.
    I saved the file down into CS3 format and opened it in CS3. I have no trouble with copy, paste, select, scale, or anything when I'm in CS3 - no slowdown at all. I saved the file in CS3 and opened the CS3 format file in CS4 and I still have the beachball/chug problem.
    I'd like to note that the trouble begins only when I apply the clipping mask. I can select all those objects and copy/paste/rotate/scale/whatever until I apply a mask and then I can't do anything to them. The clipping mask itself is rather simple - only 26 points.
    I'm on a G5 with 8gigs of RAM and over 30gigs of available space in my scratch disc. Any advice or any other users who've had this problem?

    No that is not true and you know CS 3 does not come close to CS4 in performance and if I were you I would download the trial, although I have feeling you do not have the resources to to actually run the program and that has you quite miffed,
    Perhaps the next release will finally release you, so long!
    Tracy I found that there s a setting that is on by default in CS 4 that would make things go a bit slow and always has if selected by the user.
    Clearly a mistake I would think but for some reason the default settings for the raster effects is 300 ppi as opposed to 72 ppi which really many times will eat up the memory no matter how much you have, and Illustrator can only use a limited amount of RAM something like 2GB, so that the amount of RAM is not the issue and the scratch could be as wide open as possible but it still will choke.
    It may not have the resource to as in your case make a review. So I would try setting the document raster image effects setting to 72 ppi and then when outputting it change it to 300ppi or tell the printer to do so.
    Hans I am sure you will now be relieved to find out that CS4 is behaving as it should with the right setting.
    Enjoy the trial it is free. You are going to love CS 4.
    I am mistaken Tracy and Hans CS 3 also has the default setting at 300 ppi I should have checked first.
    Yes Hans this might be an issue that is a strike against CS4 on large complex projects
    I am certain it was good idea to change the clipping path behavior. The question is how big or complex does the file have to be before this happens.
    Hans you should still try the trial and see for yourself. Of course if you don't have the resources it might be difficult to load the trial.
    I would still try changing the setting to 722 ppi and changing it for output after the work has been completed.
    Yes I think you found and important bug.

  • ADF: big issues (bug?) with dinamic region refresh

    Hi all,
    we are creating a page that contains a component like the DinamicTabUiShell, but we have several problems refreshing the dinamic region we are using.
    Here is a detailed explanation of our work.
    We have page (monitoraggio.jspx) that has a panel stretch layout. Inside the top facet, we have navigation pane, that draws its tabs with a for each, looping through a managed bean (monitoraggioTabbedPane) collection . Inside the center facet, we have a dinamic region (monitoraggio.jspx, ID=r1).
    We can say that we implemented the adf DinamicTabUiShell.
    This is monitoraggio.jspx
       <af:panelStretchLayout id="psl2" topHeight="auto"
                                             endWidth="0px" bottomHeight="0px"
                                             >
                         <f:facet name="bottom"/>
                         <f:facet name="center">
                               <af:region value="#{bindings.dynamicRegion1.regionModel}"
                                          id="r1" partialTriggers="::np1:cni1"
                                          />
                          </f:facet>
                         <f:facet name="end"/>
                         <f:facet name="top">
                            <af:panelGroupLayout layout="vertical" id="pgl2">
                               <af:spacer width="10" height="10" id="s1"/>
                               <af:panelBorderLayout id="pbl1"
                                                     styleClass="AFStretchWidth"
                                                     binding="#{viewScope.monitoraggio.tabbedPaneArea}">
                                  <af:navigationPane id="np1">
                                     <af:forEach items="#{monitoraggioTabbedPane.monitoraggioTabItems}"
                                                 var="tab">
                                        <af:commandNavigationItem text="#{tab.tabName}"
                                                                  id="cni1"
                                                                  action="#{tab.activateTab}"
                                                                  selected="#{tab.selected}"
                                                                  immediate="true"
                                                                 >
                                        </af:commandNavigationItem>
                                     </af:forEach>
                                  </af:navigationPane>
                                  <f:facet name="end">
                                     <af:group id="g1">
                                        <af:commandImageLink id="cil1"
                                                             icon="/icons/closeDialog_mo.png"
                                                             disabledIcon="/icons/closeDialog_d.png"
                                                             hoverIcon="/icons/closeDialog_n.png"
                                                             depressedIcon="/icons/closeDialog_md.png"
                                                             action="#{monitoraggioTabbedPane.removeSelectedTab}"
                                                             rendered="#{monitoraggioTabbedPane.currentTabPosition > 0}"
                                                             immediate="true"/>
                                        <af:spacer width="15" height="10" id="s2"/>
                                     </af:group>
                                  </f:facet>
                               </af:panelBorderLayout>
                            </af:panelGroupLayout>
                         </f:facet>
                      </af:panelStretchLayout>monitoraggio.jspx page def
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.56.60" id="monitoraggioPageDef"
                    Package="sop.view.pageDefs" SkipValidation="true"
                    ControllerClass="sop.view.pagePhaseListener.MonitoraggioListener">
       <parameters/>
       <executables>
          <variableIterator id="variables"/>
          <taskFlow id="dynamicRegion1"
                    taskFlowId="${monitoraggioTabbedPane.monitoraggioCurrentTab.taskFlowId}"
                    activation="deferred"
                    xmlns="http://xmlns.oracle.com/adf/controller/binding"
                    RefreshCondition="#{monitoraggioTabbedPane.changed}">
             <parameters>
                <parameter id="oggettoCoinvolto"
                           value="#{monitoraggioTabbedPane.monitoraggioCurrentTab.oggettoCoinvoltoAllarme}"/>
                <parameter id="refreshFlag" value="#{true}"
                           xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
                <parameter id="isStandalone" value="#{true}"
                           xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
                <parameter id="beanRicercaTratte" value="#{null}"
                           xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
             </parameters>
          </taskFlow>
       </executables>
       <bindings/>
    </pageDefinition>The content of the dinamic region is took from the managed bean of each tab added to the navigation pane: each tab keeps track (through OggettoCoinvolto attribute) of its content, and the dinamic region loads its task flow using the tab attribute OggettoCoinvolto.
    Since we have to open tabs programmatically, to open a tab, what we do is:
    - add a tab to the monitoraggioTabbedPane managed bean tabs collection (here we create the tab managed bean object, setting the OggettoCoinvolto property)
    - try to refresh both the dinamic region and the tabbed pane.
    All these operations, work flawlessly: we see that the model (monitoraggioTabbedPane tabs collection) contanis all the tabs, and each tab contains its correct task-flow-id, and this task-flow-id is correctly returned to the dinamic region.
    The problems is about refreshing the view (both the dinamic region and the navigation pane)
    To refresh them we tried using both AdfFacesContext.getCurrentInstance().addPartialTarget, and queueActionEventInRegion, we tried also setting the region refresh property to "ifneeded" and we changed a boolean flag passed as input of the region each time we wanted to refresh it, we used partianTriggers (you can all see in monitoraggio.jspx), but it does not work...
    Sometimes we see that only the NavigationPane is refreshed, and sometimes when switching tabs, we see that the dinamic region does not change its content.
    What can we do? Is our way to refresh region/dinamic pane wrong ?
    We tried also to set the refresh property of the region to 'default' and using the refresh condition, changing it programmatically, but it does not seem to work...
    Take, as an example, a refresh condition that simply gets the value of a boolean in a managed bean (monitoraggioTabbedPane.changed).
    TO make the refresh condition work, is it sufficient to change the boolean with a simple assignment (changed = true), or do we need to use JSFUtils.setExpressionValue(#{monitoraggioTabbedPane.changed}, true) ?
    Is there any way, in adf 11g, to dinamically launch an design-time-unknow-number of task-flows, where each task-flow is implemented as a region and each region must be associated to a different tab. Is possible to achieve this using dinamic region, or we are mis-using the dinamic region ? How can we refresh it ?
    Many thanks to anyone willing to lean an hand...

    I notice you have the activation property set to deferred.
    <taskFlow id="dynamicRegion1"
    taskFlowId="${monitoraggioTabbedPane.monitoraggioCurrentTab.taskFlowId}"
    activation="deferred"
    I would set it back to default or immediate for the sake of clarity. According to the doc, setting it to deferred has the same effect as immediate for JSP based pages. This is purely cosmetic.
    You have refreshCondition set which is not what you want in this case.
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    RefreshCondition="#{monitoraggioTabbedPane.changed}">
    You should clear this setting and change the refresh attribute to ifNeeded.
    Your refreshFlag is hard-coded to true.
    <parameter id="refreshFlag" value="#{true}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
    When dynamicRegion1 is refreshed, it will only execute if one of it's task flow parameters has a different value then it did during the previous execution. refreshFlag should be set to an el expression that changes at least every time you change tabs if not more often depending on your requirement.
    You mention "we changed a boolean flag passed as input of the region each time we wanted to refresh it" Did you set refreshFlag to an el expression in a different version of the code?
    Sounds like you may have already tried all the above - if that's the case here some suggestions to help diagnose the issue further after you've returned to settings above.
    1) Go to monitoraggio.jspx page def and - in the design tab - and right click to the right and the left of dynamicRegion1 and select Toggle Breakpoint to enable breakpoints before and after the task flow is evaluated.
    2) Go to the design view of the task flows that you are showing in the tabs. Right-click on the each task flows default activity and select Toggle breakpoint to set a breakpoint.
    When you run the application, you should hit the pageDef break points any time the task flow is queued for refresh. If you don't hit those breakpoints, then whatever you are doing to refresh the task flow isn't working.
    Assuming you are successfully queuing your task flow for refresh, you'll hit the pageDef breakpoints. When you hit the first one (on the left), go the expression evaluator in the debugger and enter the el expression for refreshFlag and evaluate it. You want to verify that it changes as expected. If the value of the expression doesn't change before the next tab is displayed, the task flow won't be re-executed. If the values not changing as expected, you need to change the logic you use to update the refreshFlag.
    You'll only hit the breakpoints on the default activities in your task flows when they are actually executed. If you hit the default activity breakpoint but are still seeing stale data, there's something wrong with the logic internal to the task flow.
    Hope that helps.

  • VBox scroll issue inside ModuleLoader (w/ screenshot of issue)

    I've got a VBox that when scroll while the project is running as an Application it works perfectly. I then change the Application to a Module and load it into a parent app using ModuleLoader. Once I do that, the scroll no longer works correctly. Seen screenshot
    http://www.jetscreenshot.com/demo/20090428-375-225kb.jpg
    I also included this issue a bug submitted here:
    http://bugs.adobe.com/jira/browse/SDK-16394
    Has anyone ran into something like this with ModuleLoader? The controls are nested like this (if it is of any help):
    Main Application
        ViewStack
              Box
                  Panel
                        ModuleLoader
                            Module
                                  VBox
                                        ViewStack
                                            VBox <--- this is the Vbox with scroll issues
                                                HBoxes as children
    It seems almost as those events in the loaded Module are getting confused with the rest of the application. I have tried several things to rememdy this.
    Any ideas or suggestions would be much appreciated.

    I finally got it! I kept chopping code out the project until the MXML and AS were identical in both the working test case and the broken app. Still the problem occurred. I then compared project properties on both projects and  modifed them until they were identical. Still the test case worked and the main app didn't.
    Then I compared the HTML wrappers. That was were my problem was. The main app HTML wrapper had:
    "wmode", "transparent",
    in the call to AC_FL_RunContent().
    I removed that and the scroll issue went away! I also added it to the working test app to double check, and sure enough, the scroll in the test app was now broken. This also explains why FullScreen mode worked, since the wrapper isn't used in fullscreen mode.
    The brown back ground is no longer visible when the app runs, but I guess we will have to move that into the Flex app itself since the scroll takes priority.
    I'm ecstatic.

Maybe you are looking for

  • Acquiring local address for datagram socket created by DatagramChannel.open

    I've found that when I open an anonymous DatagramChannel (i.e. unbound, unconnected), the socket that it creates has no local address info I.e. no local port. Hopefully the example below will explain the problem... import java.nio.channels.DatagramCh

  • Cost center updating thorugh LSMW

    Dear All, I have uploaded cost centers ( changed new costcenters) thorugh LSMW. I hv created recording using T-Code PP01 and select relationship according to the BEGDA and ENDDA and i choiced the relation ship ID A011 costcenter Assignment and i did

  • Picture messaging help!!!!!!

    Ever since I bought my brand new unlocked palm treo 680 I have been unable to receive or send picture messages. My service is through GCI and I have unlimited data texting so that is not the issue. Is there a setting I need to do to my phone to allow

  • We aren't getting any volume with teacher, band, my guitar.

    We've turned the volume up on the computer.  We put the settings in mixer on for the speakers.  The computer is picking up my guitar in tuner, but we aren't getting anything for sound on the computer with regards to the guitar, teachers voice, band,

  • Accordion Menu does not do proper job

    I am using an accordion menu to select data to display on a line chart. I manipulate some data with a spinner and the graph on the line chart does not change. If I move up a label and move down again then the graph has changed. If I replace the accor