[richfaces-issues] [JBoss JIRA] (RF-13414) showcase - chart demo - event handling - when chart clicked it renders redundant info
Juraj Húska (JIRA)
jira-events at lists.jboss.org
Wed Dec 4 09:26:07 EST 2013
[ https://issues.jboss.org/browse/RF-13414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juraj Húska updated RF-13414:
-----------------------------
Description:
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
was:
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
> 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
> Priority: Trivial
>
> 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
More information about the richfaces-issues
mailing list