【发布时间】:2013-09-18 13:43:44
【问题描述】:
我试图仅将样式应用于特定组件,但该样式应用于整个页面,而不仅仅是子视图。有没有办法只将样式应用于一个组件?
<f:subview>
<ace:dialog id="pop" draggable="true" modal="true"
visible="#{bean.popupVisible}" resizable="false"
closeOnEscape="false" autoCentre="true" header="Details">
<h:outputStylesheet>
.ui-dialog-titlebar {
width:400px;
}
</h:outputStylesheet>
...
</f:subview>
【问题讨论】:
标签: css jsf jsf-2 icefaces icefaces-3