JSF中的導航處理

在 JSF 中如果考慮國際化問題,則導航標籤都是從message.properties文件中取出來的,一般使用<h:outputText>標籤取出來,由於要在取出來的±上面加鏈接,所以不能嵌套使用<span>標籤。

<span class="bodylink" > 
&gt; 
<href="../firstpage.faces">
    
<h:outputText value="#{msgs.FirstPage}" styleClass="breadcrumb"></h:outputText>
</a> 
&gt; 
<href="accountym.faces">
        
<h:outputText value="#{msgs.AccountYmDate}" styleClass="breadcrumb">
        
</h:outputText>
</a><br>
<hr width="95%" color="#c2dbf8" noshade="noshade" SIZE="1">
</span>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章