You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Petr Kotek <ko...@crcdata.cz> on 2007/05/31 09:44:16 UTC
[Trinidad] Note to tr:input... generated HTML
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>
<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 " " included in
code. I think, that it will be better to avoid this " " (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
Re: [Trinidad] Note to tr:input... generated HTML
Posted by Adam Winer <aw...@gmail.com>.
Ah, that bug got fixed a day or two ago. That is,
you don't have to specify INLINE for pages to work.
INLINE is still much cooler than the default. :)
-- Adam
On 5/31/07, Petr Kotek <ko...@crcdata.cz> wrote:
>
> Yes, I must insert into trinidad-config.xml line:
> <client-validation>INLINE</client-validation>
> Without it, commandButton with action binding do nothing.
>
> Peter
>
> Adam Winer wrote:
> > 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 <ko...@crcdata.cz> 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>
> >>
> >> <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 " " included in
> >> code. I think, that it will be better to avoid this " " (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
> >>
> >
>
> --
>
> Petr Kotek
> CRC Data spol. s r.o.
> U krčské vodárny 26 - vývojové pracoviště
> 140 00 Praha 4
> tel: +420 241 442 464
> fax: +420 241 442 645
> GSM: +420 602 339 057
> www.crcdata.cz
>
>
Re: [Trinidad] Note to tr:input... generated HTML
Posted by Petr Kotek <ko...@crcdata.cz>.
Yes, I must insert into trinidad-config.xml line:
<client-validation>INLINE</client-validation>
Without it, commandButton with action binding do nothing.
Peter
Adam Winer wrote:
> 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 <ko...@crcdata.cz> 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>
>>
>> <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 " " included in
>> code. I think, that it will be better to avoid this " " (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
>>
>
--
Petr Kotek
CRC Data spol. s r.o.
U krčské vodárny 26 - vývojové pracoviště
140 00 Praha 4
tel: +420 241 442 464
fax: +420 241 442 645
GSM: +420 602 339 057
www.crcdata.cz
Re: [Trinidad] Note to tr:input... generated HTML
Posted by Adam Winer <aw...@gmail.com>.
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 <ko...@crcdata.cz> 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>
>
> <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 " " included in
> code. I think, that it will be better to avoid this " " (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
>