0
我正在開發一個使用JSF2.0的頁面&主要面孔我有一個要求,我需要將兩個輸出標籤放在單個空間行中。jsf中的兩個輸出標籤之間的空間
像這樣
地址1:^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^地址2:
我寫了下面的代碼
<h:panelGrid columns="2" styleClass="companyHeaderGrid" >
<p:outputLabel value="Address 1 : " />
<h:outputText value="38th Street Pharmacy" />
<!-- Here i need Address 2 at the right side of the page same line to the address 1-->
<p:outputLabel value="State : " />
<h:outputText value="Texas" />
<p:outputLabel value="Zip Code : " />
<h:outputText value="123456" />
<p:outputLabel value="Phone : " />
<h:outputText value="9700300009" />
<p:outputLabel value="Fax: " />
<h:outputText value="" />
<p:outputLabel value="Contact Person : " />
<h:outputText value="Clinton Albrecht" />
</h:panelGrid>
我試圖像在4列的潘內爾電網既地址1和aaddress 2個palces許多方面,我嘗試過使用「隔離」標籤來獲得空間,但它給以不同的方式出去..
請幫我
由於納尼
前
您可以用 「地址2:」/> h:panelGroup>',並設置style =「width:100%」組的樣式。 –