2010-02-16 25 views
1

我指定此RichFaces的豐富:面板接頭沒有出現

<rich:panel> 
     <f:facet name="header"> 
       Panel #1. Changing Style Synchronously 
     </f:facet> 
      Each component in the RichFaces has a pre-defined set of classes you can manipulate with. If defined, those 
      classes overwrite the ones come from the skin. 
    </rich:panel> 

從RichFaces的演示,在我的JSF頁面,並顯示沒有標題,但我在我的CSS沒有這將干擾。這可能是什麼原因?

感謝

+0

+1,因爲我也在我的應用程序中看到了這一點。他們工作了一段時間,然後發生了一些變化。如果我發現我會發布解決方案。 – Adam 2011-04-06 16:17:53

+0

我的問題是,我不小心包括在面板的形式小標籤,使他們沒有足夠的面板作爲直接父。請參閱下面的更多細節。 – Adam 2011-04-06 16:27:53

回答

1

我沒有看到與使用了F任何問題:小

+0

完美罰款我已經用做它的其他方式,我很遺憾沒有時間詳細檢查了這一點,但對於其他的讀者,你有體面的代表說,它應該工作,所以我不知道我做什麼,但至少你也有一個解決方法。良好的業力給了daedlus的答案。 – volvox 2010-02-20 11:22:46

-1

OK,就請隨時爲什麼在F評論:小標籤不工作,但我得到我的漂亮的光澤頭時,我改變了代碼,以便它是這樣的,而不是:

<rich:panel header="header"> 
      Each component in the RichFaces has a pre-defined set of classes you can manipulate with. If defined, those 
      classes overwrite the ones come from the skin. 
    </rich:panel> 
+0

它在這裏工作與'' – Bozho 2010-02-16 14:42:54

0

嘗試

<f:facet name="header"> 
    <div><h:graphicImage value="/images/search.png" /> 
    <h:outputText value=" Action Logs Search" /></div> 
    </f:facet> 

或DER再生錯誤你提到

0

礦消失時,我不小心包括在面板形式面板的方面。方面必須是模態面板的孩子:

<rich:panel> 
    <a4j:form> <!-- This is trouble! --> 
    <f:facet name="header"> 
      Panel #1. Changing Style Synchronously 
    </f:facet> 
     Each component in the RichFaces has a pre-defined set of classes you can manipulate with. If defined, those 
     classes overwrite the ones come from the skin. 
    </a4j:form> 
</rich:panel> 
相關問題