2
我都試過,但只拿到空白spane不帶有下劃線空白下劃線行H:的outputText
<h:outputText style="font-weight:bold;text-decoration:underline" rendered="#
{declarationBB.deaclarationOpr.declarationDetailsobj.productName == null}" value=" " />
它適合我。你確定組件正在渲染嗎?您應該用'rendered =「# {empty declarationBB.deaclarationOpr.declarationDetailsobj.productName}」' –
替換'rendered =「# {declarationBB.deaclarationOpr.declarationDetailsobj.productName == null}您嘗試使用哪種瀏覽器? –
@XtremeBiker瀏覽器是Internet Explorer,我甚至試過你的代碼,但我只是得到空白空間,但沒有空白行。 – happy