Strange behavior in Periodic application

I have a finance application with YTDINPUT set to u2018Nou2019 used for budgeting.
When I enter figures in one month i.e. February 2009, sales 4000, save the numbers and run a report. A total of -4000 is reported for March 2009.
Looking directly in the SQL fact tables there are no data for March 2009.
When I change my report to show the data source dimension in the Row the figures in March 2009 disappear.
What is wrong? How do I get rid of the figures in March 2009?

Hi Bjorn
Thanks for your quick reply.
To me the tblYTDFormula look wrong. Only YTD uses base level and the formula for Periodic is a lag calculation over time. This tells me that the formulas are to YTD applications.
I have an application set with both YTP and Periodic applications. I have made a full optimize of the application, without any effect on the data.
Currently I am only entering data on P&L accounts.
With basis in your example.
The figures that I see for March only exists on parent level if I look at bas level for account there are no data.
Jesper

Similar Messages

  • Report gives strange behavior

    Hi Gurus,
    I am facing strange problem with my oracle report 10GR2 release. Problem is, when user runs a report in early part of the morning from application server, the report runs normally and it generates the PDF file with proper data. But when the same user runs the same report in later part of the day with the same parameters as he gave in the morning, the report doesn't shows any result on generated PDF file.
    At the same time if we run the report query in the data base from sqlplus, it gives the proper output. I have checked the server log and the report trace file also but I didn't found any special and abnormal thing in the log file. I have asked the application DBA also to look into this problem but they are not able to identify the problem.
    The problem occurs only in production database in acceptance and test I am not able to simulate the condition.
    Do any one knows the strange behavior of the report on the application server? If more information is required then please ask.
    Thanks in advance.

    When you say that the PDF is not generated what exactly happens
    a. The report is not generated at all and a blank page is shown up even after a prolonged period of time
    or
    b. Some error is thrown (REP errors)
    Apart from this, what is the value set of maxConnect attribute in reports server configuration file located in <ORACLE_HOME>\reports\conf directory.
    Edited by: Anand on Nov 20, 2010 9:43 AM

  • Strange Behavior with gMSA in Server 2012 R2

    Greetings,
    I have been doing some testing with gMSA Accounts in a Server 2012 R2 environment (two separate environments, actually), and I have noticed something very strange that occurred in both environments, which does not appear to be occurring in one of our customer's
    self-managed environments.
    We created a Group Managed Service Account using the following article:
    http://blogs.technet.com/b/askpfeplat/archive/2012/12/17/windows-server-2012-group-managed-service-accounts.aspx
    Everything went smoothly, and the account installs/tests successfully on both of the hosts that we are testing on. I am able to set my services to run under the account, and most of them appear to work fine. I am having some issues with a few of my services,
    and I believe that the strange behavior I am seeing may have something to do with this - described below: 
    As soon as I set the service's Log On Account (via the Log On Tab under the Service's Properties), the entirety of the "Log On" tab changes to "greyed out," and I am unable to change the Log On account back via the GUI (Screenshot
    attached).
    I found that I am able to successfully change the account via Command Line using sc.exe, but the Log On tab remains greyed out! So far, I have found nothing to remedy this, but confirmed that it happens for any service I set to use the gMSA as the Logon
    Account, and that it happens in 2 separate test environments, but not in a Customer's production environment - very strange.
    All servers in this environment are running Server 2012 R2, and domain Functional Level is currently Server 2012.
    I have been unable to find any information online about this behavior, so I am hoping someone has seen this before, and can explain why this is happening.
    Nick

    VIvian,
    Yes, we used the Install-AdServiceAccount gMSA command on each host using the gMSA account, and then ran Test-AdServiceAccount gMSA, which returned "True."
    However, one thing I noticed is that if I run Test-ADServiceAccount gMSA as a Local Administrator, it fails with the following:
    PS C:\Users\Administrator> Test-AdServiceAccount gMSA$
    Test-AdServiceAccount : The server has rejected the client credentials.
    At line:1 char:1
    + Test-AdServiceAccount gMSA$
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : SecurityError: (:) [Test-ADServiceAccount], AuthenticationException
        + FullyQualifiedErrorId : ActiveDirectoryCmdlet:System.Security.Authentication.AuthenticationException,Microsoft.A
       ctiveDirectory.Management.Commands.TestADServiceAccount
    If I run Test-ADServiceAccount gMSA as Domain Administrator, it returns true:
    PS C:\Users\Administrator.<domainname>> Test-AdServiceAccount gMSA$
    True
    Is this normal?
    Overall, I think the issue I am running into is at the Application Level, and not a problem with the gMSA, as it appears to be working. (Can Start/Stop services without any issues). I will be investigating my issue further with 3rd-party vendors, unless
    you think there is something wrong with my gMSA accounts based on the information I have provided.
    Nick

  • Strange behavior of the Macbook pro display

    Hi to all
    I'm using my MacBook pro, and notice some strange behavior after open several windows or applications, I don't know how to explain, so here is a photo:
    http://www.flickr.com/photos/86155326@N00/
    I have tried: go back to 10.4.6 / create a new account / Hardware test... and Nothing.
    Any suggestions?
    Pedro

    I am having the exact same problem(and no one is replying to my post either), I read in another post of someone who had a somewhat similar issue and someone commented that it was bad VRAM and warranted the logic board to be replaced. I'm hoping this is not the case, or at least hoping the problem does not get worse because I am in school and can't be without this computer for 2 weeks while it gets repaired..I'm hoping I can last til the holidays...
    pictures of my problem:
    http://www.rpi.edu/~neala/pics/display/Messed%20up%20desktop.png
    http://www.rpi.edu/~neala/pics/display/Picture%204.png
    Sometimes I can make it go away by moving windows, and sometimes that makes it worse... this computer is only 100 days old...come on apple..help us out!

  • Report FP_TEST_00 - Strange behavior

    Hello Gurus,
    A strange behavior with report FP_TEST_00 occurs:
    SA38 --> FP_TEST_00 --> select a device --> execute --> print preview then and error or popup is show:
    Adobe Reader
    Error initializing the font server module
    Then the SAP GUI is closed, I check the ST22 and no dump is generated and in transaction SM21 only appear:
    DP  Q0  4 Connection to user 551 (ADMIN ), terminal 86 (HUSVP-SAP-BA) lost
    DP  Q0  I Operating system call recv failed (error no. 232 )
    The #1 log entry: *
    Details Page 2 Line 28 System Log: Local Analysis of sapdev                   1
    Time     Type Nr Clt User TCode Grp N Text
    11:37:20 DP                     Q0  4 Connection to user 551 (ADMIN ), terminal 86 (HUSVP-SAP-BA) lost
    Connection to user 551 (ADMIN ), terminal 86 (HUSVP-SAP-BA) lost
    Details
    Recording at local and central time........................ 25.02.2010 11:37:20
    Task...... Process    User...... Terminal Session TCode Program Cl Problem cl         Package
    11092      Dispatcher                                           K  SAP Web AS Problem STSK
    Further details for this message type
    Module nam Line Error text..........              Caller.... Reason/cal
    dpxxdisp   1223 551  ADMIN       86  HUSVP-SAP-BA DpRTmPr    NiBufRe
    Documentation for system log message Q0 4 :
    The SAP Dispatcher (part of the application server) has lost the
    connection to a terminal process.  For example, this happens when the
    terminal program (GUI) terminates without correctly logging off the
    application server.  More detailed information about the error
    context is not available here.
    Technical details
    File Offset RecFm System log type             Grp N variable message data
       21 254340 m     Error (Function,Module,Row) Q0  4 551  ADMIN       86  HUSVP-SAP-BA     DpRTmPrNiBufRedpxxdisp1223
    The #2 Log show: *
    Details Page 2 Line 29 System Log: Local Analysis of sapdev                   1
    Time     Type Nr Clt User TCode Grp N Text
    11:37:20 DP                     Q0  I Operating system call recv failed (error no. 232 )
    Operating system call recv failed (error no. 232 )
    Details
    Recording at local and central time........................ 25.02.2010 11:37:20
    Task...... Process    User...... Terminal Session TCode Program Cl Problem cl         Package
    11092      Dispatcher                                           K  SAP Web AS Problem STSK
    Further details for this message type
    Module nam Line Error text        Caller.... Reason/cal
    nixxi.cp   4435           recv232 NiIRead    recv
    Documentation for system log message Q0 I :
    The specified operating system call was returned with an error.
    For communication calls (receive, send, etc) often the cause of errors
    are network problems.
    It could also be a configuration problem at operating system level.
    (file cannot be opened, no space in the file system etc.).
    Additional specifications for error number 232
    Name for errno number ECONNRESET
    No documentation available for error ECONNRESET
    Technical details
    File Offset RecFm System log type             Grp N variable message data
      21 254520 m     Error (Function,Module,Row) Q0  I           recv232                     NiIReadrecv   nixxi.cp4435
    Edited by: Hernando Polania Cadena on Feb 25, 2010 8:36 PM

    Hello All,
    I applied the solution in page
    http://wiki.sdn.sap.com/wiki/display/PLM/Adobe%209%20-%20SAPGUI%20crash
    Works OK
    Thanks
    Hernando

  • Strange behavior with Zoom and Image control

    HELP - I have a strange behavior (bug?) with using Zoom
    effect on an Image that has been placed on a Canvas. I am using
    dynamically instantiated images which are placed on a canvas inside
    a panel. I then assign a Zoom IN and Zoom Out behavior to the
    image, triggered by ROLL_OVER and ROLL_OUT effect triggers. THE BUG
    is that the image jumps around on the Zoom OUT and lands on a
    random place on the canvas instead of coming back to the original
    spot. This is especially true if the mouse goes in and out of the
    image very quickly. HELP -- what am I doing wrong? Computer = Mac
    OS X 10.4.9 Flex 2.0.1
    Here's a simple demo of the bug -- be sure to move the mouse
    in and out rapidly:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="setUp();">
    <mx:Script><![CDATA[
    import mx.events.EffectEvent;
    import mx.effects.Fade;
    import mx.effects.Zoom;
    import mx.rpc.events.ResultEvent;
    import flash.display.Sprite;
    import mx.core.UIComponent;
    import mx.controls.Image;
    private var zoomIn:Zoom;
    private var zoomOut:Zoom;
    private function setUp():void {
    var image:Image = new Image();
    image.id = "album_1_1";
    image.x = 200;
    image.y = 200;
    image.width = 64;
    image.height = 64;
    image.source = "
    http://s3.amazonaws.com/davidmccallie/album-128.jpg";
    image.addEventListener(MouseEvent.ROLL_OVER, doZoom);
    image.addEventListener(MouseEvent.ROLL_OUT, doZoom);
    myCanvas.addChild(image);
    zoomIn = new Zoom();
    zoomIn.zoomHeightTo = 2.0;
    zoomIn.zoomWidthTo = 2.0;
    zoomIn.captureRollEvents = true;
    zoomIn.suspendBackgroundProcessing = true;
    zoomOut = new Zoom();
    zoomOut.zoomHeightTo = 1.0;
    zoomOut.zoomWidthTo = 1.0;
    zoomOut.captureRollEvents = true;
    zoomOut.suspendBackgroundProcessing = true;
    private function doZoom(event:MouseEvent):void {
    var image:Image = Image(event.currentTarget);
    if (event.type == MouseEvent.ROLL_OVER) {
    zoomIn.target = event.currentTarget;
    zoomIn.play();
    } else if (event.type == MouseEvent.ROLL_OUT) {
    zoomOut.target = event.currentTarget;
    zoomOut.play();
    ]]>
    </mx:Script>
    <mx:Panel width="100%" height="100%"
    layout="absolute">
    <mx:Canvas id="myCanvas" width="100%" height="100%">
    </mx:Canvas>
    </mx:Panel>
    </mx:Application>

    There must be bugs in the Zoom effect code -- I changed the
    Zoom to Resize in the above code, and it works perfectly. Of
    course, Resize is not as nice as Zoom because you can't set the
    resize to be around the center of the image, but at least it works.
    Does anyone know about bugs in the Zoom effect?

  • Strange Behavior of GET PERNR

    Hi All,
    I am facing a strange behavior with GET Event for PNP LDB.
    In my selection-screen, i have fields like Payroll Area, Current Period, Other Period, personnel number.
    Usually, i populate Payroll area, other period(say 06-2007) and input some personnel number.
    When i tried to debug for one personnel, its not at all going into GET PERNR event...it directly goes to END-OF-SELECTION event.
    Please help on this.
    Regards,
    Kiran Chennapai

    Hi Manoj,
    The below is some part for my coding:
    START-OF-SELECTION.
      IF pnptimr9 = 'X'.
        PERFORM f_get_next_period.    "Take next period when the selection
        " is current period
      ENDIF.
    Get deatils of actions and pay-scales
      PERFORM f_get_data.
      CLEAR: g_num_processed, g_num_skipped, g_num_success, g_num_error.
    GET pernr.
      rp_provide_from_last p0001 space pn-begda pn-endda.
      IF pnp-sw-found = 1.
    Verify whether the personnel is under the given Payroll area or not
        CHECK p0001-abkrs = pnpxabkr.
        IF p_eegrp IS NOT INITIAL.
    Verify personnel's employee group is under the given EEgroup
          CHECK p_eegrp = p0001-persg.
        ENDIF.
    start processing for the selected personnel
        PERFORM f_process_data.
      ENDIF.
    END-OF-SELECTION.
    Do increment process for all the selected personnel
      IF NOT git_process[] IS INITIAL.
        PERFORM f_increment_process.
      ENDIF.
    When i tried to put a break-point at the first statement in the GET event and executed, its not going into GET event at all.(personnel number is existing in the system)
    Regards,
    Kiran Chennapai

  • Strange Behavior in iMovie 08

    I recently purchased a MacPro, installed Leopard and moved all my files, applications, and settings from my MacBook Pro notebook by way of a Time Machine backup. Everything went without a hitch except for iMovie 08. When I open it it appears to start up but the application window never opens and almost all the menu items are grayed out. I can quit the application and start it again, but still get the same strange behavior. I have repaired permissions, verified my disk, deleted preferences and reinstalled iLife, then updated in software update, all with no effect. However iMovie 08 runs just fine on my MacBook Pro which should be identical to my Mac Pro. What gives? Ironic since a primary reason for purchasing this computer was for its enhance performance capabilities

    1) load and install the update for iM08, vers 7.1.
    2) then, in System Preferences/Monitor/Color Profile choose 'any other' than the actual one (e.g. AdobeRGB).. launch iM08.. now, set the Color Profile to your wanted one..

  • Strange behavior in HTMLDB

    Greetings,
    We've been running HTMLDB since 1.5 and are currently at 2.2.1.00.04, but within the last two weeks we have been seeing some very strange behavior. Form submissions or moving from one page to the next in either the Development GUI or within any application will result in either blank pages (although in most cases a reload [refresh] will bring up the page that was expected) or the following errors:
    Error Workspace 741023382320307 has no privileges to parse as schema.
    or
    Access denied by Application security check (this one will only allow us to logout, refresh doesnt work).
    or
    ORA-0000: normal, successful completion
    Error Unable to fetch authentication_scheme in application 4000. (a refresh brings the page up normally)
    We've made no major changes to hardware/operating system/software.
    We have ruled out our load balancer by accessing htmldb by FQDN and port number, and have disabled webcache. Its almost as if our session variables in memory will just suddenly disappear.
    [EDIT]
    These pages and errors are absolutely random. I could experience 20 of them in an hour or 1 in the next week. We have done extensive log checking, but can find nothing that would explain the behavior.
    [EDIT]
    Has anyone experienced these issues. We are currently running a number of applications in production and this is already starting to affect them.
    Thanks in Advance,
    Clifford Moon
    Message was edited by:
    cjmoon
    Message was edited by:
    cjmoon

    Hi Earl.
    I just confirmed from one of the developers that it
    happens either way...
    Any ideas?
    cliffDid you happen to change browsers recently, like IE7 perhaps?
    I'm not really sure what's happening but this sounds like what I call 'browser confusion'. Basically, like what you mentioned, that the current session state gets dropped, either in the browser or the server. Don't know which.
    Earl

  • Adding custom navigation rules results in strange behavior

    Hello,
    We'd like to add navigation rules to our application. To avoid post-JHeadstart-generation-steps we created an extra faces-config-custom.xml file which contains the navigation rules. When adding this file to the web.xml and run the aplication we encounter strange behavior
    - Errors are shown in duplicate
    - 'Transaction completed' messages are not shown
    Try adding the underneath faces-config-custom.xml to a standard HR demo project and you will get the same behavior.
    (1) What is the reason of this strange behavior?
    (2) How can we add custom navigation rules, without having to do post creation steps?
    Regards Leon
    [faces-config-custom.xml]
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>BezwaarVerzoeken</from-outcome>
    <to-view-id>/pages/inboeken/BezwaarVerzoeken.jspx</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>LosseOpdrachten</from-outcome>
    <to-view-id>/pages/inboeken/LosseOpdrachten.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    [Add faces-config-custom.xml to web.xml]
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config-custom.xml,...

    Leon,
    When you perform a drag and drop operation, JDeveloper adds the following lines to the faces-config.xml:
    <lifecycle>
    <phase-listener>
    Oracle.adf.controller.faces.lifecycle.ADFPhaselistener
    </phase-listener>
    </lifecycle>
    However, JHeadstart uses its own subclass of ADFPhaselistener, and defines the lifecycle element in JhsCommon-beans.xml. Due to a bug in ADF, ADF does not look for the lifecycle element in other files than faces-config, and adds its own element in faces-config.xml If you remove these lines, everything works fine again.
    To prevent this from happening again, you can move the following entry from JhsCommon-beans.xml to faces-config.xml:
    <lifecycle> <phase-listener>oracle.jheadstart.controller.jsf.lifecycle.JhsADFPhaseListener</phase-listener>
    </lifecycle>
    And then make a custom template for JhsCommon-beans.vm where you remove this entry.
    Steven Davelaar,
    JHeadstart team.

  • Strange behavior with Firefox

    Hi Team,
    I am using HTMLDB V2.0 and Firefox V1.5.0.1. I used wizard to create a report/form application. However, when I press a button to update the form all the buttons line up in a vertical row and I then have to press the same button again.
    My application is 30412 at htmldb.oracle.com. The problem is occurring at page 4. Go to page 3 (2nd tab) and select any record. You will be directed to page 4. Then when you press any button (cancel, create, delete, apply changes) on page 4, page 4 is refreshed and the buttons strangely line up in a vertical column. I then have to press the same button again before the update occurs.
    I have the same report/form setup on pages 1 and 2 and it is working fine on those pages.
    This strange behavior is not occurring in IE. I also notice that the font size is bigger in IE .
    I would appreciate any help you might offer.
    I really enjoy working with HTMLDB.
    Thanks, Andy

    Sorry about that. I removed all the authorization schemes from the application. I also changed the authentication scheme to HTMLDB. Let me know if I need to do something more for you to get access.
    Thanks for looking at it.
    I think it may have something to do with the "button, alternative 3" template from theme 3 that I am using. When I switch to the "button" template from theme 3 then the strange behavior goes away in Firefox.
    Andy

  • Strange behavior with obssocookie on different browser

    Hi,
    I am trying to integrate OAM with our application deployed on WLS. I have set up an IIS proxy server and installed a web gate on it. I have seen a couple of strange behavior
    1) If I try to access some static image file, SSO keeps asking for authentication. It happens for both firefox and IE, but it doesn't happen for chrome though. Looks like for image file request, the obssocookie is not passed correctly. Anyone sees that before?
    2) If I use firefox on the machine where WLS app server is installed to connect to proxy server, if I use hostname in the URL, I don't see the obssocookie. If I use IP address in the URL, I can see obssocookie. If I use IE or any browser from any other machine, obssocookie is always available
    thanks.
    -Wei

    I found it in the document
    B.1 How Logout Works
    The WebGate logs a user out when it receives a URL containing "logout." (including the "."), with the exceptions of logout.gif and logout.jpg, for example, logout.html or logout.pl. When the WebGate receives a URL with this string, the value of the ObSSOCookie is set to "logout."
    The Access System sets an obSSOCookie for each user or application that accesses a resource protected by a WebGate. The obSSOCookie enables users to access resources that are protected by the Access System that have the same or a lower authentication level. Removing the ObSSOcookie causes the WebGate to log the user out and requires the user to re-authenticate the next time he or she requests a resource that is protected by the Access System.
    Well, I havn't got that far in the document:)
    Thanks a lot for your help.
    -Wei

  • Strange behavior with Label#setWrapText(true) in GridPane.

    I've got a strange behavior with a Label, which has setWrapText(true) in a GridPane.
    Check out the sample and click the button.
    You see, that the GridPane suddenly behaves as if it had GridPane.setVGrow and HGrow set for the lblStatus.
    (it takes the full available space).
    Furthermore the first column shrinks to a minimum, so that lblText1 can't display its text anymore.
    Tested with 2.1 GA.
    Any help with that?
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.geometry.Insets;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.Label;
    import javafx.scene.layout.GridPane;
    import javafx.stage.Stage;
    public class TestApp4 extends Application {
        public static void main(String[] args) {
            launch(args);
        @Override
        public void start(final Stage stage) throws Exception {
            GridPane gridPane = new GridPane();
            gridPane.setPadding(new Insets(2, 2, 2, 2));
            Label lblText1 = new Label();
            lblText1.textProperty().set("Some text");
            Label lblText2 = new Label();
            lblText2.textProperty().set("Some other text");
            Button btnClick = new Button();
            btnClick.textProperty().set("Click me");
            final Label lblStatus = new Label();
            lblStatus.setWrapText(true);
            gridPane.add(lblText1, 0, 0, 1, 1);
            gridPane.add(lblText2, 1, 0);
            gridPane.add(lblStatus, 0, 2, 2, 1);
            gridPane.add(btnClick, 0, 3, 2, 1);
            btnClick.setOnAction(new EventHandler<ActionEvent>() {
                @Override
                public void handle(ActionEvent actionEvent) {
                    lblStatus.setText("very long text, very long text, very long text, very long text,very long text, very long text");
            gridPane.setGridLinesVisible(true);
            Scene scene = new Scene(gridPane, 300, 300);
            stage.setScene(scene);
            stage.show();
    }Edited by: csh on 19.07.2012 03:35

    It seems the Label doesn't like it, that it is in a GridCell with rowspan = 2
    If it is in a normal cell (no rowspan), it works.
    If I add ColumnConstraints to the gridpane, it kind of works, but the Label still occupies more space than it should.
    Edited by: csh on 19.07.2012 03:51

  • Strange behavior with Bindings??

    Hello to all JavaFX 2 Binding experts,
    I have a strange behavior with Bindings in JavaFX 2.2 (Java 1.7 update 21). Please have a look at the following source code:
    package test;
    import javafx.application.Application;
    import javafx.beans.binding.BooleanBinding;
    import javafx.beans.property.SimpleBooleanProperty;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.fxml.FXML;
    import javafx.fxml.FXMLLoader;
    import javafx.scene.Parent;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.control.RadioButton;
    import javafx.stage.Stage;
    public class BindingVsProperty extends Application
        @FXML
        private RadioButton opt11;
        @FXML
        private RadioButton opt12;
        @FXML
        private RadioButton opt21;
        @FXML
        private RadioButton opt22;
        @FXML
        private Label lbl11And21;
      @Override
        public void start(Stage arg0) throws Exception
            FXMLLoader l_loader = new FXMLLoader();
            l_loader.setLocation(BindingVsProperty.class.getResource("BindingVsproperty.fxml"));
            l_loader.setController(this);
            l_loader.load();
            Scene l_scene = new Scene((Parent)l_loader.getRoot());
            arg0.setScene(l_scene);
            useBinding1();
            //useBinding2();
            //useBinding3();
            arg0.show();
        private void useBinding1() // NOT WORKING - ChangeListener.changed(..) is not called
            BooleanBinding l_andOpt11Opt21 = opt11.selectedProperty().and(opt21.selectedProperty());
            l_andOpt11Opt21.addListener(new ChangeListener<Boolean>()
                @Override
                public void changed(ObservableValue<? extends Boolean> arg0, Boolean arg1, Boolean arg2)
                    System.out.println("Opt 1.1 AND Opt 2.1 changed to: " + arg2);
        private void useBinding2() // OK - ChangeListener.changed(..) is called
            BooleanBinding l_andOpt11Opt21 = opt11.selectedProperty().and(opt21.selectedProperty());
            lbl11And21.visibleProperty().bind(l_andOpt11Opt21);
            l_andOpt11Opt21.addListener(new ChangeListener<Boolean>()
                @Override
                public void changed(ObservableValue<? extends Boolean> arg0, Boolean arg1, Boolean arg2)
                    System.out.println("Opt 1.1 AND Opt 2.1 changed to: " + arg2);
        private void useBinding3() // NOT WORKING - ChangeListener.changed(..) is not called
            BooleanBinding l_andOpt11Opt21 = opt11.selectedProperty().and(opt21.selectedProperty());
            new SimpleBooleanProperty(false).bind(l_andOpt11Opt21);
            l_andOpt11Opt21.addListener(new ChangeListener<Boolean>()
                @Override
                public void changed(ObservableValue<? extends Boolean> arg0, Boolean arg1, Boolean arg2)
                    System.out.println("Opt 1.1 AND Opt 2.1 changed to: " + arg2);
        public static void main(String[] args)
            launch(args);
    <?xml version="1.0" encoding="UTF-8"?>
    <?import java.lang.*?>
    <?import java.util.*?>
    <?import javafx.scene.control.*?>
    <?import javafx.scene.layout.*?>
    <?import javafx.scene.paint.*?>
    <BorderPane id="BorderPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefWidth="371.0" xmlns:fx="http://javafx.com/fxml">
      <center>
        <AnchorPane prefHeight="200.0" prefWidth="200.0">
          <children>
            <Label id="lblAnd" fx:id="lbl11And21" layoutX="82.0" layoutY="121.0" text="Group1 Opt1 AND Group2 Opt1 is true" textFill="#41cc00" visible="false" />
            <RadioButton fx:id="opt21" layoutX="216.0" layoutY="24.0" mnemonicParsing="false" text="Group 2 - Opt 1">
              <toggleGroup>
                <ToggleGroup fx:id="group2" />
              </toggleGroup>
            </RadioButton>
            <RadioButton fx:id="opt22" layoutX="216.0" layoutY="67.0" mnemonicParsing="false" text="Group 2 - Opt 2" toggleGroup="$group2" />
            <RadioButton fx:id="opt11" layoutX="29.0" layoutY="24.0" mnemonicParsing="false" text="Group 1 - Opt 1">
              <toggleGroup>
                <ToggleGroup fx:id="group1" />
              </toggleGroup>
            </RadioButton>
            <RadioButton fx:id="opt12" layoutX="29.0" layoutY="67.0" mnemonicParsing="false" text="Group 1- Opt 2" toggleGroup="$group1" />
          </children>
        </AnchorPane>
      </center>
    </BorderPane>
    What I need for my application is the use case in useBinding1(), i.e., a BooleanBinding where several listeners are attached to. The problem is that I never get a callback in the ChangeListener if one of the RadioButton.selectedProperty() is changed.
    Now I tried what happens if I use the same BooleanBinding for another binding to a property plus the listener, now the listener gets callbacks as expected! (see useBinding2() )
    Than I thought may be Bindings must be bound in order to trigger listeners and tried useBinding3() where I bind the BooleanBinding to a new BooleanProperty, in this case the listener doesn't get callback anymore...
    And now I'm very frustrated and hope that anyone out there can help me to understand this strange behavior.
    Thanks a lot!
    WhiteAntelope

    All these work just fine for me: the listeners are all called as expected. Note that the listener is only invoked when the value of the binding actually changes, which doesn't happen every time a radio button is pressed. (For example, if both buttons are unselected, the binding is false. If one button is selected, the binding remains false and the listener is not invoked. When the second button is selected, the binding becomes true, and the listener is invoked.)

  • Strange behavior of HtmlPanelGrid.getChildren().clear();

    I have some problem, described in previous messages.
    Investigating it, I found some strange behavior, which I cannot understand.
    I builded a small application to isolate this strangeness.
    There are two pages, first and second. There are hyperlinks from first page to second. Secon page serves as an indicator, that navigation was successfull. It is not so all the time.
    There is a bean, which constructs a hyperlink at runtime and which contains my problem, as I think.
    The config file is (header and footer skipped):
    <navigation-rule>
    <from-view-id>/welcomeJSF.jsp</from-view-id>
    <navigation-case>
    <from-outcome>select</from-outcome>
    <to-view-id>/secondPage.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <managed-bean>
    <managed-bean-name>bean</managed-bean-name>
    <managed-bean-class>Buggy.Bean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    One can see, that navigation is always controlled with the one constant string literal -- select. The bean is called just "bean" and it exists during a session.
    First page is (header and footer skipped):
    <f:view>
    <h:form>
    <h:commandLink id="link1" action="select" value="link1 (hardcoded)"/>
    <h:panelGrid id="panel" binding="#{bean.panel}" columns="20" border="1" cellspacing="0">
    <h:commandLink id="link2" action="select" value="link2 (hardcoded)"/>
    </h:panelGrid>
    </h:form>
    </f:view>
    One can see, that there are two hardcoded hyperlinks, one is inside the panelGrid, second is outside. Also it is seen, that the panel is binded with bean property as a whole.
    The second page is just displaying a text to be sure the navigation occured.
    Now the bean (header and footer skipped):
    private HtmlPanelGrid panel;
    public HtmlPanelGrid getPanel() {
    return panel;
    public void setPanel(HtmlPanelGrid panel) {
    this.panel = panel;
    Application application = FacesContext.getCurrentInstance().getApplication();
    MethodExpression expr = application.getExpressionFactory().createMethodExpression(FacesContext.getCurrentInstance().getELContext(), "select", String.class, new Class[0]);
    HtmlCommandLink link = (HtmlCommandLink) application.createComponent(HtmlCommandLink.COMPONENT_TYPE);
    link.setId("link3");
    link.setValue("link3 (softcoded)");
    link.setActionExpression(expr);
    panel.getChildren().clear();
    panel.getChildren().add(link);
    One can see, that a third (softcoded) hyperlink is added to the panel dynamically, with preliminary clearing panel content.
    * STRANGENESSES *
    1) despite the fact, that the panel is cleared prior to adding softcoded hyperlink, I CAN see it on the page (all 3 hyperlinks are seen)
    2) in the debugger I can see, that while executing code, the children list is empty; this can mean, that the order of execution of the Jave code and JSP code is reversed; despite this fact, I see the hardcoded link BEFORE the softcoded
    3) the link2 (hardcoded) is not work, i.e. it is not leads the second page to be displayed
    4) if I comment the line panel.getChildren().clear(); then all 3 hyperlinks start to work

    But when I put links creation code in bean's constructor, it was lost.
    It seems to me, that the system creates panel independently and only after that calls setter of my bean. Ergo, the data from the panel field, initialized in constructor is overwrited.
    Where I should place programmatic filling of panel element?

Maybe you are looking for

  • How to open a new OAF page in new window while clicking submit button

    Dear All I am facing one problem.I have to pass some parameter in new page only after validation.I can't do validation in processRequest bacause I perform validation after clicking the submit button. So I have to write redirect code in processForm Re

  • Retrieve recording from fios

    I guess this topic was discussed before and it was all over the internet. here is the issue.  I just got new plan and sign up with fios tv with dvr.  I am new to this and actually first use dvr.  I recorded some shows on tv and want to take it out pu

  • ITunes no longer plays in stereo. Fixes?

    Recently, and very suddenly, I found that iTunes sound quality had plummeted. It was hard to pin down at first, but then I realized that - somehow - the playback had changed from stereo to mono. How can I switch the sound back to stereo and the way i

  • How to synchronize a graphic on one layer with an effect on another

    Hi.  I'd like to use the bulge effect on my main layer to create distortions in the underlying graphic.  I'd also like to synchronize this with the image of a magnifying glass or other lens so that when I mover the lens around, the main image distort

  • 11" MBA - want to point iTunes to EX HD

    I just purchased an 11" MBA and am trying to point iTunes to a collection of music files stored on an external hard drive but have not been successful after trying a few tips found on the internet.  I have never stored music files on the MBA HD.  Any