You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Andrew Robinson <an...@gmail.com> on 2009/06/23 17:37:36 UTC
Re: [Trinidad] Generating duplicate icon elements?
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<br...@cronos.be> 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?
Posted by Bram Van Dam <br...@cronos.be>.
> 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