如何删除JSF中<h:selectonemenu>中的默认值?</h:selectonemenu>

时间:2014-03-28 01:23:12

标签: jsf

我想删除jsf中的默认值,这是我的代码:

<h:selectOneMenu disabled='#{rules["repaymentDay_disabled"]}' id='repaymentDay' value='#       {select.selection}'>
    <s:selectItems hideNoSelectionLabel='false' itemValue='#{c.code}' label='#{c.description}' noSelectionLabel='' value='#{select.SelectedChoice}' var='c' />              
</h:selectOneMenu>

根据我所读到的内容,我只需要输入noSelection标签,但它在我出错的地方不起作用?

0 个答案:

没有答案