Just to confirm - you're using INLINE client-validation?
I agree, the spacing would be better handled with CSS.

-- Adam


On 5/31/07, Petr Kotek <[EMAIL PROTECTED]> wrote:
Hi,

I have a little note to HTML code, generated by tr:input components in
label area. This code has changed in some latest release (I think) and
now look as:

<tr class="AFFieldNumberMarker af_inputText">
  <td class="af_inputText_label af_panelFormLayout_label-cell"
nowrap="nowrap">
    <!--Start: org.apache.myfaces.trinidad.Input["_id10"]-->
    <span id="_id10::icon" style="display: none;">
      <a name="_msgAnc__id10" title="Error" class="AFErrorIconStyle">X</a>
    </span>
    &nbsp;
    <label for="_id10">Order No:</label>
  </td>
  ....
</tr>

For next styling of label (for example for its vertical alignment before
multi line text input) I have big problems with "&nbsp;" included in
code. I think, that it will be better to avoid this "&nbsp;" (generally
- all hard coded formating) and space between icon and text realize by
right margin in icon element in base style?

Thanks for Your opinion,
Peter

Reply via email to