• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is there an Alignment Procedure ?

 
a phil
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Am building a jsp that has a 2 sections. The first section has a html table that wraps couple JSF tags. Only <h:inputText> and <hutputText> and <h:commandButton> tags are used within this html table.

Now, the second section has a little different. The same html table structure is used as the first section, but the JSF tags wrapped within it are: <h:selectOneRadio>, <h:inputText> and <h:commandButton> tags.

The problem:
When the page renders, the two sections are supposed to have proper alignments. When the pages is rendered, the radioButton renders a table that is not allowing the second section to align in the same way as the first section. Could anyone help me with this ? I need to align the 2 sections along the same way.

Any thoughts/ideas is much appreciated.

Thanks

Phil
 
Vishwas Babu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Phil,


If your requirement is two adjacent identical tables , you may nest them within a <h:panelGrid> and specifying the same columnClasses for both of them (you must be fixing the width etc in pixels or %).

Can you post a code snippet to better illustrate your requirment?


Regards,
Vishwas
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!