h:selectOneMenu is always enable when a p:dialog's modal attribute was set true. IE6
h:selectOneMenu is always ena开发者_JS百科ble when a p:dialog shows (the dialog's modal attribute was set true.) IE6
But, in IE8 or other browsers, it works well.
hm, sounds like you are refering to the select menu is visible even though it should be hidden behind other elements?
it is an ie6 problem with select boxes (and not a jsf problem), the solution i use is a component that contains the code below, that i include in any menus etc that might appear on top of select boxes
<!-- hack: make the selectBoxes behind the div really hidden -->
<script>
document.write('<!--[if lte IE 6.5]><iframe src="javascript:false;"
class="hiddenIframeMenu"></iframe><![endif]-->');
</script>
the css:
.hiddenIframe { display:none; display:block; position:absolute; top:0; left:0;z-index:-1; filter:mask(); width:3210px; height:3210px; }
more info about the bug + solution can be found here:
http://www.targetprocess.com/agileproductblog/2006/07/ie6-select-and-z-index-problem.html
精彩评论