Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.8.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Windows XP Prof.
Tomcat 6.0.18
JSF 1.1
-
Workaround Exists:Yes
-
Workaround Description:Use onclick="if (!confirm('Are you sure you want to delete this event?')) return false;" instead of panelConfirmation="..."
Description
I use an ice:selectOneMenu with a partialSubmit="true" to select the shown rows of a ice:dataTable. In the dataTable is a column with an ice:commandLink with a panelConfirmation. If selecting a new item in selectOneMenu and new drawing of the dataTable the system produces log messages "WARNUNG: Parameters: Invalid chunk ignored." and if selecting a new item more times the application stucks and crashes tomcat. If removing the panelConfirmation everything works fine.
Issue Links
- is duplicated by
-
ICE-7950 ice:panelPopup produces "Invalid chunk ignored" warning on console on Tomcat
- Closed
Activity
Gerhard Posch
created issue -
Dumitru Ban
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | PanelConfirmationRenderer.patch.txt [ 12080 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 1.8.3 [ 10211 ] | |
Assignee Priority | P2 | |
Assignee | Yip Ng [ yip.ng ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #19603 | Wed Nov 04 13:15:45 MST 2009 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelconfirmation/PanelConfirmationRenderer.java
|
yip.ng
made changes -
Attachment | screenshot-1.png [ 12082 ] |
yip.ng
made changes -
Attachment | screenshot-2.png [ 12083 ] |
yip.ng
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Summary | ice:panelConfirmation produces log messages "WARNUNG: Parameters: Invalid chunk ignored." and chrashed tomcat after a while! | ice:panelConfirmation produces log messages "WARNING: Parameters: Invalid chunk ignored." and chrashed tomcat after a while! |
Salesforce Case | [] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 | |
Assignee | Yip Ng [ yip.ng ] |
Evgheni Sadovoi
made changes -
The HTML.NAME_ATTR needs to be set for accept, cancel and clientOnly input elements of a confirmation panel.
The panel confirmation is now rendered as follows:
<DIV style="Z-INDEX: 25002; POSITION: absolute; VISIBILITY: visible; TOP: 372px; LEFT: 539px" id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser class=icePnlCnf>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser-handle class=icePnlCnfHdr _eventID="2">
<SPAN id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser-title>Delete user</SPAN>
</TD>
</TR>
<TR>
<TD id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser-message class=icePnlCnfBody>
<SPAN>Delete this user?</SPAN>
</TD>
</TR>
<TR>
<TD class=icePnlCnfBtns>
<INPUT id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser-accept onclick="Ice.PanelConfirmation.current.accept();return false;" value=Yes type=submit>
<INPUT id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser-cancel onclick="Ice.PanelConfirmation.current.cancel();return false;" value=No type=submit>
</TD>
</TR>
</TBODY>
</TABLE>
<INPUT id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUserclientOnly type=hidden>
</DIV>
With the patch will be rendered as follows:
<DIV style="Z-INDEX: 25002; POSITION: absolute; VISIBILITY: visible; TOP: 372px; LEFT: 539px" id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser class=icePnlCnf>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser-handle class=icePnlCnfHdr _eventID="2">
<SPAN id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser-title>Delete user</SPAN>
</TD>
</TR>
<TR>
<TD id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser-message class=icePnlCnfBody>
<SPAN>Delete this user?</SPAN>
</TD>
</TR>
<TR>
<TD class=icePnlCnfBtns>
<INPUT id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser-accept onclick="Ice.PanelConfirmation.current.accept();return false;" value=Yes type=submit name=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser-accept>
<INPUT id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser-cancel onclick="Ice.PanelConfirmation.current.cancel();return false;" value=No type=submit name=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUser-cancel>
</TD>
</TR>
</TBODY>
</TABLE>
<INPUT id=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUserclientOnly type=hidden name=MainForm:TabSet:0:ContentsView_users:UserDataTable:confirmDeleteUserclientOnly>
</DIV>