[ 
https://jira.jboss.org/jira/browse/RF-8097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12494132#action_12494132
 ] 

Tomasz Kurpios commented on RF-8097:
------------------------------------

This is the response I got when I used drop down menu component:

{code:xml}
<div class="rich-ddmenu-label rich-ddmenu-label-unselect export " 
id="coreForm:table1:rowActionToolBar:j_id93">
                                                <div 
class="rich-label-text-decor" id="coreForm:table1:rowActionToolBar:j_id93_span">
                                                Export
                                                </div>
                                                <div style="margin: 0px; 
padding: 0px; border: 0px; position: absolute; z-index: 100;">
                                                        <div 
id="coreForm:table1:rowActionToolBar:j_id93_menu" class="rich-menu-list-border" 
style="display: none; z-index: 2;">
                                                                <div 
class="rich-menu-list-bg">
                                                                        <div 
class="rich-menu-item rich-menu-item-disabled" 
id="coreForm:table1:rowActionToolBar:j_id94" onclick="Event.stop(event);">
                                                                                
<span class="rich-menu-item-icon rich-menu-item-icon-disabled " 
id="coreForm:table1:rowActionToolBar:j_id94:icon">
                                                                                
        <img alt="" height="16" src="/demo/sync8.0.09/images/spacer.gif" 
width="16" />
                                                                                
</span>
                                                                                
<span class="rich-menu-item-label rich-menu-item-label-disabled" 
id="coreForm:table1:rowActionToolBar:j_id94:anchor">
                                                                                
Export to CSV file
                                                                                
</span>
                                                                        </div>
                                                                </div>
                                                                <div 
class="rich-menu-item rich-menu-item-disabled" 
id="coreForm:table1:rowActionToolBar:j_id95" onclick="Event.stop(event);">
                                                                        <span 
class="rich-menu-item-icon rich-menu-item-icon-disabled " 
id="coreForm:table1:rowActionToolBar:j_id95:icon">
                                                                                
<img alt="" height="16" src="/demo/sync8.0.09/images/spacer.gif" width="16" />
                                                                        </span>
                                                                        <span 
class="rich-menu-item-label rich-menu-item-label-disabled" 
id="coreForm:table1:rowActionToolBar:j_id95:anchor">
                                                                        Export 
to XLS file
                                                                        </span>
                                                                </div>
                                                        </div>
                                                        <div 
class="rich-menu-list-strut">
                                                                <div 
class="rich-menu-list-strut" style="">
                                                                &#160;
                                                                </div>
                                                        </div>
                                                </div>
                                        </div>
                                        <script 
id="coreForm:table1:rowActionToolBar:j_id93_menu_script" 
type="text/javascript">new 
RichFaces.Menu.Layer('coreForm:table1:rowActionToolBar:j_id93_menu',{'hideDelay':800,'delay':50}
 
).asDropDown('coreForm:table1:rowActionToolBar:j_id93').addItems([['coreForm:table1:rowActionToolBar:j_id94',{'closeOnClick':false,'disabled':true}
 ] 
,['coreForm:table1:rowActionToolBar:j_id95',{'closeOnClick':false,'disabled':true}
 ] ] );
                                        </script>
                                </div>
                        </div>
{code}

> DropDownMenu renderer renders invalid XML.
> ------------------------------------------
>
>                 Key: RF-8097
>                 URL: https://jira.jboss.org/jira/browse/RF-8097
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-menu
>    Affects Versions: 3.3.2.SR1
>         Environment: Firefox 3.0, JBoss 4.2
>            Reporter: Tomasz Kurpios
>
> It seems that DropDownMenu / Menu Item renderer closes one more div than it 
> should

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to