You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "CONNER, BRENDAN (SBCSI)" <bc...@sbc.com> on 2005/08/26 17:35:49 UTC
Using
I recently tried to use an <h:outputLabel> tag against a <t:inputText>
tag and received a compiler error saying the id specified by the
for="..." attribute was not found. When I changed <h:outputLabel> to
<t:outputLabel>, the compiler error went away. If, instead, I changed
<t:inputText> to <h:inputText>, the error also went away.
So the bottom line, I guess, is that, when using a Tomahawk component,
any outputLabel tag used to refer to it also has to be from the Tomahawk
library. (By contrast, a Tomahawk outputLabel can be used against a
Tomahawk or non-Tomahawk tag.)
Can someone explain why there is this restriction? It's easy enough to
use <t:outputLabel> everywhere, but I was just curious.
- Brendan
Re: Using
Posted by Martin Marinschek <ma...@gmail.com>.
Doh!
no clue...
can you open an issue on this?
regards,
Martin
On 8/26/05, CONNER, BRENDAN (SBCSI) <bc...@sbc.com> wrote:
> I recently tried to use an <h:outputLabel> tag against a <t:inputText>
> tag and received a compiler error saying the id specified by the
> for="..." attribute was not found. When I changed <h:outputLabel> to
> <t:outputLabel>, the compiler error went away. If, instead, I changed
> <t:inputText> to <h:inputText>, the error also went away.
>
> So the bottom line, I guess, is that, when using a Tomahawk component,
> any outputLabel tag used to refer to it also has to be from the Tomahawk
> library. (By contrast, a Tomahawk outputLabel can be used against a
> Tomahawk or non-Tomahawk tag.)
>
> Can someone explain why there is this restriction? It's easy enough to
> use <t:outputLabel> everywhere, but I was just curious.
>
> - Brendan
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German