[richfaces-issues] [JBoss JIRA] (RF-8608) rich:effect name does not properly create the JS function to be called

Marek Będkowski (JIRA) jira-events at lists.jboss.org
Thu Mar 8 16:15:37 EST 2012


     [ https://issues.jboss.org/browse/RF-8608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Będkowski updated RF-8608:
--------------------------------

    Attachment: processEffect.js.patch


Patch to processEffect removing with and eval statements.
                
> rich:effect name does not properly create the JS function to be called
> ----------------------------------------------------------------------
>
>                 Key: RF-8608
>                 URL: https://issues.jboss.org/browse/RF-8608
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-misc, regression
>    Affects Versions: 3.3.3.Final
>            Reporter: Tomas Cerny
>             Fix For: 3.Future
>
>         Attachments: processEffect.js.patch, richFacesRegister.xhtml
>
>
> rich:effect name does not properly create the JS function..
> Consider your documentation example:
> <!--  invoking by JavaScript -->
> <div id="contentDiv">...</div>
> <input type="button" onclick="hideDiv({duration:0.7})" value="Hide" />
> <input type="button" onclick="showDiv()" value="Show" />
> <rich:effect  name="hideDiv"  for="contentDiv" type="Fade" />
> <rich:effect  name="showDiv"  for="contentDiv" type="Appear" />
> it worked on the older version but in 3.3.3 so I must downgrade :|
> This is my browser complaint:
> Error: Effect[A.type] is not a constructor
> Source File: http://localhost/a4j/g/3_3_3.Final/org/richfaces/ui.pack.js
> Line: 15201

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list