[richfaces-issues] [JBoss JIRA] (RF-13359) Showcase: several components don't work

Brian Leathem (JIRA) jira-events at lists.jboss.org
Thu Nov 21 04:12:05 EST 2013


    [ https://issues.jboss.org/browse/RF-13359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925626#comment-12925626 ] 

Brian Leathem commented on RF-13359:
------------------------------------

It took a while, but I isolated the single offending line:
https://github.com/richfaces/richfaces/blob/master/framework/src/main/resources/META-INF/resources/org.richfaces/push.js#L259

{code}
      $(document).on('cleanDom.RICH', function(event, ui) {
        if ($.contains(ui.target, widget.element)) {
          widget._destroy();
        }
      });
{code}

[~lfryc] It's not clear to me what you are trying to achieve here, but the end result seems to be that the destroy call is too aggressive.  Can you re-visit this please?

{panel:title=Note:|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#FFFFCE}
The isolation was difficult, as the file in question should have nothing to do with the progressBar component.  Hence why the effect was observed only had an effect when included via resource packaging.
{panel}
                
> Showcase: several components don't work
> ---------------------------------------
>
>                 Key: RF-13359
>                 URL: https://issues.jboss.org/browse/RF-13359
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.0.0.Alpha2
>         Environment: Showcase 5.0.0-SNAPSHOT
>            Reporter: Pavol Pitonak
>            Assignee: Brian Leathem
>            Priority: Blocker
>             Fix For: 5.0.0.Alpha2
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> # deploy Showcase and open http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=progressBar&skin=blueSky
> # open browser console
> # click on "Start Process" button
> result:
> * this message appears in browser console 
> {quote}
> event.returnValue is deprecated. Please use the standard event.preventDefault() instead. 
> {quote}
> * progress bar is rendered wrongly
> * the same message is displayed on these pages (and these components are broken too)
> ** http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=togglePanel&skin=blueSky
> ** http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=tabPanel&sample=dynamic&skin=blueSky
> ** http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=accordion&sample=dynamic&skin=blueSky
> ** http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=panelMenu&skin=blueSky
> ** http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=dragDrop&skin=blueSky
> ** http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=hotKey&skin=blueSky
> ** http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=focus&skin=blueSky

--
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