[JBoss JIRA] Created: (RF-3577) simpleTogglePanel ajax broken if filter is NONE
by Mike Hanafey (JIRA)
simpleTogglePanel ajax broken if filter is NONE
-----------------------------------------------
Key: RF-3577
URL: http://jira.jboss.com/jira/browse/RF-3577
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Mike Hanafey
Simple toggle panel is broken in 3.2.1CR8 for switch mode AJAX if the filter is set to none. Nothing happens on a click. If the content is examined it can be seen that with the filter set to NONE the server only transmits a part of the content.
Here is the content when filter is NONE ====================================================================================
<div class="dr-stglpnl rich-stglpanel " id="j_id3:j_id7" style="width: ; ;">
<script type="text/javascript"> //<![CDATA[ SimpleTogglePanelManager.add(new SimpleTogglePanel("j_id3:j_id7", "false",{onexpand: '',oncollapse: ''} )); //]]> </script>
<div class="dr-stglpnl-h rich-stglpanel-header " id="j_id3:j_id7_header" onclick="SimpleTogglePanelManager.toggleOnAjax(event,'j_id3:j_id7');A4J.AJAX.Submit('_viewRoot','j_id3',event,{'parameters':{'j_id3:j_id7':'j_id3:j_id7'} ,'actionUrl':'/Tractor/play/stp.jsf'} )">
<div class="dr-stglpanel-marker rich-stglpanel-marker"><div class="dr-stglpnl-m rich-stglpnl-marker" id="j_id3:j_id7_switch_on" style="display: none;">«</div>
<div class="dr-stglpnl-m rich-stglpnl-marker" id="j_id3:j_id7_switch_off" style="display: ;">»</div></div>Ajax Switch Type </div>
<div class="dr-stglpnl-b rich-stglpanel-body " id="j_id3:j_id7_body" style="display : none; height: ;"></div></div>
<meta name="Ajax-Update-Ids" content="j_id3:j_id7" /><span id="ajax-view-state">
<input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id3" /></span>
<meta id="Ajax-Response" name="Ajax-Response" content="true" />
With filter TIDY, the content is ===========================================================================================
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title></title></head>
<body>
<div class="dr-stglpnl rich-stglpanel" id="j_id3:j_id7" style="width: ; ;">
<script type="text/javascript">//<![CDATA[ SimpleTogglePanelManager.add(new SimpleTogglePanel("j_id3:j_id7", "false",{onexpand: '',oncollapse: ''} )); //]]> </script>
<div class="dr-stglpnl-h rich-stglpanel-header" id="j_id3:j_id7_header" onclick="SimpleTogglePanelManager.toggleOnAjax(event,'j_id3:j_id7');A4J.AJAX.Submit('_viewRoot','j_id3',event,{'parameters':{'j_id3:j_id7':'j_id3:j_id7'} ,'actionUrl':'/Tractor/play/stp.jsf'} )">
<div class="dr-stglpanel-marker rich-stglpanel-marker"><div class="dr-stglpnl-m rich-stglpnl-marker" id="j_id3:j_id7_switch_on" style="display: none;">«</div>
<div class="dr-stglpnl-m rich-stglpnl-marker" id="j_id3:j_id7_switch_off" style="display: ;">»</div></div>Ajax Switch Type </div>
<div class="dr-stglpnl-b rich-stglpanel-body" id="j_id3:j_id7_body" style="display : none; height: ;"></div></div>
<meta name="Ajax-Update-Ids" content="j_id3:j_id7" /><span id="ajax-view-state">
<input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id10" /></span>
<meta id="Ajax-Response" name="Ajax-Response" content="true" />
</body></html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (RF-3540) New node for ID j_id_jsp_1897617803_67:filterListMenu_menu_script is not present in response
by Ivan Cherkasov (JIRA)
New node for ID j_id_jsp_1897617803_67:filterListMenu_menu_script is not present in response
--------------------------------------------------------------------------------------------
Key: RF-3540
URL: http://jira.jboss.com/jira/browse/RF-3540
Project: RichFaces
Issue Type: Bug
Environment: richfaces-ui-3.2.0.SR1 , IE 7.0
Reporter: Ivan Cherkasov
I've got such errors in a4j:log
error[14:22:42,375]: Error to clear node content by innerHTML Unknown runtime error
error[14:22:42,390]: New node for ID j_id_jsp_1897617803_67:filterListMenu_menu_script is not present in response
when pressing buttons / context menu items on a such form:
-------------------------------------------
<a4j:form reRender="filtersListPanel">
<rich:panel id="filtersListPanel">
<f:facet name="header">
<h:outputText value="List of filters"/>
</f:facet>
<h:panelGroup id="filterListStuff">
<rich:scrollableDataTable id="filterList"
sortMode="single" width="350px" height="150px">
<rich:column id="filterName" width="200px">
<f:facet name="header"><h:outputText value="Filter name"/></f:facet>
</rich:column>
<rich:column id="filterSelect" width="100px">
<f:facet name="header"><h:outputText value="All"/></f:facet>
</rich:column>
</rich:scrollableDataTable>
<rich:contextMenu id="filterListMenu"
attached="true" submitMode="ajax" event="oncontextmenu">
<rich:menuItem value="new filter" reRender="filtersListPanel"/>
<rich:menuItem value="edit filter" reRender="filtersListPanel"/>
<rich:menuItem value="delete filter" reRender="filtersListPanel"/>
</rich:contextMenu>
</h:panelGroup>
<br>
<a4j:commandButton id="saveButton" value="save"
reRender="filtersListPanel">
</a4j:commandButton>
<a4j:commandButton id="cancelButton" value="cancel"
reRender="filtersListPanel" type="reset"/>
</rich:panel>
</a4j:form>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months