Space between two output labels in jsf -


i developing page using jsf2.0 & prime faces have requirement need place 2 output lables in single line space.

like this

address 1: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ address 2:

i wrote below code

            <h:panelgrid columns="2"  styleclass="companyheadergrid" >                    <p:outputlabel value="address 1 : " />             <h:outputtext value="38th street pharmacy" />               <!-- here need address 2 @ right side of page same line 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> 

i tried many ways both address 1 , aaddress 2 palces in pannel grid 4 columns , tried space using "spacer" tags, gives outpit in different way..

please me

thanks before nani

you can't achieve colspan or rowspan in plain jsf, need plain html table or primefaces panelgrid.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -