[richfaces-issues] [JBoss JIRA] (RF-13446) Unspecified javascript error occurs when clicking a4j:commandButton to rerender rich:scrollableDataTable inside rich:simpleTogglePanel

Brian Leathem (JIRA) issues at jboss.org
Thu Jun 5 17:38:16 EDT 2014


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

Brian Leathem updated RF-13446:
-------------------------------

    Fix Version/s: 3.Future


> Unspecified javascript error occurs when clicking a4j:commandButton to rerender rich:scrollableDataTable inside rich:simpleTogglePanel
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-13446
>                 URL: https://issues.jboss.org/browse/RF-13446
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.3.1.SP3
>            Reporter: Masafumi Miura
>            Assignee: Brian Leathem
>             Fix For: 3.Future
>
>         Attachments: RF-13446.patch
>
>
> *Description of problem:*
> Unspecified javascript error occurs when clicking a4j:commandButton to rerender rich:scrollableDataTable inside rich:simpleTogglePanel. And same javascript error also happens when resizing IE browser window after clicking the a4j:commandButton.
> *Version-Release number of selected component (if applicable):*
> Richfaces 3.3.1.SP3 and also one-off patch applied BZ#982322.
> *Steps to Reproduce:*
> 1. Modify the following two files of richfaces-demo.war:
>  - Edit WAR/templates/main.xhtml  and change from:
>     {code}
>     <table cellpadding="0" cellspacing="0" border="0"
>     class="content_container" width="100%">
>     <tbody>
>         <tr>
>                 <td>
>                         <div class="content_container_left_brick"></div>
>                 </td>
>                 <td width="100%" class="content_container_pdddings">
>     <!-- tabpanel begin -->
>                 <ui:insert name="body">Body</ui:insert>
>     <!-- tabpanel end -->
>                 <rich:spacer style="height:10px;" />
>                 <rich:separator style="height:1px" />
>                 <div style="float:right;"
>                 class="footer-text">#{environment.version}</div>
>                 <div style="float:none">
>                         <a
>                         href="http://jboss.com/index.html?module=bb&amp;op=viewtopic&amp;t=104575"
>                                  style="color:#000; display:block"  class="footer-text">RichFaces. Most
>                                  Important Links</a>
>                 </div>
>                 </td>
>         </tr>
>     </tbody>
>     </table>
>     {code}
>     to:
>     {code}
>     <ui:insert name="body">Body</ui:insert>
>     {code}
>  -  Edit WAR/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml and add rich:simpleTogglePanel and a4j:commandButton which rerender the
>    rich:scrollableDataTable.  Please note that the original template uses a html table to wrap the facelet body.  The error won't show if the facelet body is wrapped with the html body until you resize the browser window.
> 2. Deploy modified richfaces-demo.war to EAP 5.1.2
> 3. Go to http://<hostname>:<port>/richfaces-demo/richfaces/scrollableDataTable.jsf on Internet Explorer 9 (Document mode: Internet Explorer 8)
> 4. Click the button "test" at the bottom of the page. 
> *Actual results:*
> It show the following "Unspecified error" in the IE console. And it will also showe same javascript error when resizing IE browser window after clicking the "test" button.
> {code}
> SCRIPT16389: Unspecified error
> controls-scrollable-data-table.js, line 62 character 23
> {code}
> *Expected results:*
> No javascript error happens.
> *Additional info:*
> The reported customer is using one-off patch was created from BZ#982322 branch.
> http://anonsvn.jboss.org/repos/richfaces/branches/enterprise/3.3.1.SP3_BZ-982322/



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the richfaces-issues mailing list