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

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

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