[Trinidad] Generating duplicate icon elements?

View: New views
3 Messages — Rating Filter:   Alert me  

[Trinidad] Generating duplicate icon elements?

by Bram Van Dam-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Howdy,

The following code seems to generate duplicate elements. Is this a bug,
or am I missing something?

<tr:outputLabel value="val" for="anInput"/>
<tr:inputText id="anInput" value="#{blub}"/>

results in

<span id="anInput::icon" style="display:none;">
being generated twice. Once inside another span along with the label,
and once more inside a table along with the input field.

Any takers?

Ta,
  - Bram

Re: [Trinidad] Generating duplicate icon elements?

by Andrew Robinson-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

tr:inputText generates a label. Set simple="true" to stop it from doing so.

-Andrew

On Tue, Jun 23, 2009 at 6:48 AM, Bram Van Dam<bram.vandam@...> wrote:

> Howdy,
>
> The following code seems to generate duplicate elements. Is this a bug, or
> am I missing something?
>
> <tr:outputLabel value="val" for="anInput"/>
> <tr:inputText id="anInput" value="#{blub}"/>
>
> results in
>
> <span id="anInput::icon" style="display:none;">
> being generated twice. Once inside another span along with the label, and
> once more inside a table along with the input field.
>
> Any takers?
>
> Ta,
>  - Bram
>

Re: [Trinidad] Generating duplicate icon elements?

by Bram Van Dam-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> tr:inputText generates a label. Set simple="true" to stop it from doing so.

Aaaaaaah, seems I was looking in the wrong place. Thanks a bunch!

  - Bram