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