[JBoss JIRA] (RF-9485) IE9 Beta - AJAX broken
by Kalyan M (JIRA)
[ https://issues.jboss.org/browse/RF-9485?page=com.atlassian.jira.plugin.sy... ]
Kalyan M commented on RF-9485:
------------------------------
Many thanks to Nicolas for your kind reply. The fix seems to work fine in IE 10. The issue still exists in Browser Mode: IE 10 Compat View and Document Mode: Standards. I am not sure if these different settings available in IE need to be taken into consideration when testing a page or any fixes.
> IE9 Beta - AJAX broken
> ----------------------
>
> Key: RF-9485
> URL: https://issues.jboss.org/browse/RF-9485
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: compatibility
> Affects Versions: 3.3.2.SR1, 3.3.3.Final
> Environment: Windows Vista SP2 (Virtual PC VM), IE9 Beta
> Reporter: Andrew May
> Labels: ie9
> Fix For: 3.Future
>
> Attachments: AJAX.js, AJAX.js, AJAX.js, IE9.txt, JSFAJAX.txt, sarissa.js
>
>
> In the Rich Faces Demo (3.3.3 Final) there are a couple of errors shown in the JavaScript Console in IE9, and the Ajax demos do not work.
> On loading a section:
> SCRIPT5007: 'undefined' is null or not an object - framework.pack.js.jsf, line 1870 character 65
> On trying one of the AJAX demos (e.g. the CommandButton demo):
> SCRIPT16386: No such interface supported - framework.pack.js.jsf, line 2373 character 3
> In our applications (3.2.SR1), we see an error for every Ajax request:
> SCRIPT16386: No such interface supported - 3_3_2.SR1org.ajax4jsf.javascript.AjaxScript, line 120 character 1
> For both the SCRIPT16386 errors, the JavaScript is assigning A.outerHTML = new XMLSerializer().serializeToString(C)
> I believe that this is the first version of IE9 to include XMLSerializer.
> I don't know enough about XMLSerializer to know whether this is an IE9 issue or a RichFaces issue.
--
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
10 years, 9 months
[JBoss JIRA] (RF-12491) Datatable model is accessed in tab panel which is not rendered using switch type "server"
by Luis Garcia (JIRA)
[ https://issues.jboss.org/browse/RF-12491?page=com.atlassian.jira.plugin.s... ]
Luis Garcia commented on RF-12491:
----------------------------------
I recently tested this with RichFaces 5.0.0 Alpha3.
The issue is still present - The test were conducted using a set of Dynamic Tabs with DataTables inside them.
The data model for each DataTables was called upon - even if it wasn't the active Tab.
> Datatable model is accessed in tab panel which is not rendered using switch type "server"
> -----------------------------------------------------------------------------------------
>
> Key: RF-12491
> URL: https://issues.jboss.org/browse/RF-12491
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.2.0.Final, 4.2.2.Final
> Environment: Mojarra 2.1.20, JDK 1.6, JDK 1.7, Tomcat 7.0.x
> Reporter: Denis Pasek
> Labels: lazy-loaded
> Fix For: 5-Tracking
>
> Attachments: richfaces-visittree.zip, stacktrace-richfaces.png
>
>
> When a RichFaces Tab of a TabPanel contains a RichFaces DataTable the model of the DataTable is accessed even if the Tab is not rendered at all.
> Since the retrieval of the data table data might include costly database operations this is a serious performance issue.
> The issue seems to be related to the state saving of JSF: the methods are not called during encodeAll() but during state saving of view.
> My own analysis shows that AbstractTogglePanel visitTree() implementation visits all tab panels sub tree but not only the active one. Additionally it seems that the UIDataAdaptor wants to visit all rows of table even if it is not rendered as JSF state saving runs in RENDER_RESPONSE phase (see attached stacktrace).
--
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
10 years, 9 months