Juraj Húska created RF-13414:
--------------------------------

             Summary: showcase - chart demo - event handling - when chart 
clicked it renders redundant info
                 Key: RF-13414
                 URL: https://issues.jboss.org/browse/RF-13414
             Project: RichFaces
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: component-output, showcase
    Affects Versions: 5.0.0.Alpha2
            Reporter: Juraj Húska


When clicking on the chart in the showcase demo for event handling, e.g. 
following output is rendered:

{code:none}
Point with index 3within series 3 was clicked. Point coordinates [1995,10.5]

Series index: 3 DataIndex: 3 [1995,10.5]
{code}

The information is duplicated because it is retrieved in two ways: one from 
_server side_ ({{<h:outputText id="msg" value="#{chartEventBean.msg}"/>}}) and 
_client side script_.

I see that it is nice showcase of both ways, but IMHO the script for *hover* 
event is doing this well. The output would be more cleaner. WDYT ?

Steps to reproduce:
# load 
http://showcaselatest-richfaces.rhcloud.com/richfaces/component-sample.jsf?demo=chart&sample=events&skin=blueSky
# click on any chart line point and see the output

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to