Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-Beta
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Tomcat 7.0.12
ICEfaces-2.1.0.BETA-10022011-bin
-
Assignee Priority:P1
Description
I have modified the poc so that the first submenu has a menuitem to dymamically add the 'Print' menuitem to the top ace:menubar. When the page is first rendered, we have the following rendered out for the menuitem:
<a onclick="showProcessingMessage('Menu Action');;ice.ace.ab({source:'menuForm:screen1Child2',process:'@all',update:'@all',params:{'ice.customUpdate':'menuForm:screen1Child2'}});" href="#" class="wijmo-wijmenu-link ui-corner-all"><span class="wijmo-wijmenu-text"><span class="wijmo-wijmenu-text">Add Pring Menu Item</span></span></a>
Once the menuitem is selected and the ace:menubar model is changed, the same menuitem renders out like this:
<a onclick="showProcessingMessage('Menu Action');;ice.ace.ab({source:'screen1Child2',process:'@all',update:'@all',params:{'ice.customUpdate':'screen1Child2'}});" href="#" class="wijmo-wijmenu-link ui-corner-all"><span class="wijmo-wijmenu-text"><span class="wijmo-wijmenu-text">Add Pring Menu Item</span></span></a>
The id's have changed, they no longer have the form id prepended. The result is that pressing a menuitem with the new id's after the dynamic update, you do not get the the appropriate response from the server.
<a onclick="showProcessingMessage('Menu Action');;ice.ace.ab({source:'menuForm:screen1Child2',process:'@all',update:'@all',params:{'ice.customUpdate':'menuForm:screen1Child2'}});" href="#" class="wijmo-wijmenu-link ui-corner-all"><span class="wijmo-wijmenu-text"><span class="wijmo-wijmenu-text">Add Pring Menu Item</span></span></a>
Once the menuitem is selected and the ace:menubar model is changed, the same menuitem renders out like this:
<a onclick="showProcessingMessage('Menu Action');;ice.ace.ab({source:'screen1Child2',process:'@all',update:'@all',params:{'ice.customUpdate':'screen1Child2'}});" href="#" class="wijmo-wijmenu-link ui-corner-all"><span class="wijmo-wijmenu-text"><span class="wijmo-wijmenu-text">Add Pring Menu Item</span></span></a>
The id's have changed, they no longer have the form id prepended. The result is that pressing a menuitem with the new id's after the dynamic update, you do not get the the appropriate response from the server.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Brad Kroeger
created issue -
Brad Kroeger
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | Menu.java [ 13605 ] |
Brad Kroeger
made changes -
Assignee | Ken Fyten [ ken.fyten ] |
Brad Kroeger
made changes -
Attachment | Menu.java [ 13605 ] |
Brad Kroeger
made changes -
Attachment | Menu.java [ 13606 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.1 [ 10241 ] | |
Assignee Priority | P1 | |
Assignee | Ken Fyten [ ken.fyten ] | Arturo Zambrano [ artzambrano ] |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 2.1-Beta2 [ 10294 ] |
Ken Fyten
made changes -
Security | Private [ 10001 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |