Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2123

tr:chart chartDrillDownListener method not called with facelets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-core
    • None
    • Components, Facelets
    • None
    • Intel x64 platform, Windows 7, FireFox 5.0

    Description

      I'm trying to use Trinidad charts and I have problems with the chartDrillDown listener and also with the binding of the chart component to an UIComponent.

      1.)
      If I use a JSPX page with jsp:root and f:view tags, so withOUT Facelets it all works fine...the chartDrillDown fires up.

      2.)
      If inside ui:composition tags, so WITH facelets the problem is, that the API tries to look up the chartDrillDownListener as a property not as a MethodExpression.

      This is also the case with bindig the tr:chart element to an UIComponent.

      I debugged the class UIXChart, as the event travels throught its "broadcast(FacesEvent event)" method.

      // Deliver to the default ChartDrillDownEvent
      if (event instanceof ChartDrillDownEvent)

      { broadcastToMethodExpression(event, getChartDrillDownListener()); }

      super.broadcast(event);

      In case of FACELETS the getChartDrillDownListener() method tries to call getProperty() for UIXComponentBase and exits with a PropertyNotFoundException.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kokavecz.andras Kokavecz AndrĂ¡s
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified