DataTable error message problem

Hi guys! I write a dataTable with input fields under each field i show validation message. But when one input field has an error message and other don't the table looks very ugly. Any suggesstions how to make one row for the all columns.
[245 byte] By [amitteva] at [2007-10-2 19:39:18]
# 1
use panelgroup
pringia at 2007-7-13 22:17:07 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Can you post example code please?
amitteva at 2007-7-13 22:17:07 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Put the inputText and the h:message inside a h:panelgroup component.
pringia at 2007-7-13 22:17:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
OK but what actually happens is that when the table is displayed the cell with the input field and the error message is disproportionate to the other cells. Wanna post you some code to see?
amitteva at 2007-7-13 22:17:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5

hey ya Pringy

The suggestion you have made is not working right for us because the cell under which the validated message is printed moves up but the rest of the row doesent

we have the following code:

<h:column id="column4">

<f:facet name="header">

<h:outputText styleClass="outputText" value="&#1045;&#1043;&#1053;/&#1051;&#1053;&#1063;"

id="egn"></h:outputText>

</f:facet>

<h:outputText styleClass="outputText"

value="#{commonRepresentorsList.egn}" id="crEgn"></h:outputText>

<f:facet name="footer">

<h:panelGroup

rendered="#{licenseTableRowState.renderedInputRow}">

<h:panelGrid columns="1">

<h:inputText id="representorEgn" styleClass="inputText"

value="#{commonRepresentor.egn}" size="10"

required="true"></h:inputText>

<h:message for="representorName">

</h:message>

</h:panelGrid>

</h:panelGroup>

</f:facet>

</h:column>

javabasha at 2007-7-13 22:17:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...