myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Byrne <den...@dbyrne.net>
Subject Re: WARN [HtmlLabelRenderer]
Date Tue, 06 Dec 2005 16:32:05 GMT
I usually do this w/ floating div tags.

---- Original message ----
>Date: Tue, 6 Dec 2005 09:12:31 +0100
>From: Kasper Hansen <myfaces@zizi.dk>  
>Subject: Re: WARN  [HtmlLabelRenderer]  
>To: users@myfaces.apache.org
>
>That did help, thanks! But how do I get the label to be at 
the left side of 
>the input component?
>
>Tirsdag 06 december 2005 08:50 skrev Dennis Byrne:
>> Kasper,
>>
>> try placing the element <h:outputLabel for="documentTitle">
>> after the element w/ @id=documentTitle .
>>
>> ---- Original message ----
>>
>> >Date: Tue, 6 Dec 2005 08:42:19 +0100
>> >From: Kasper Hansen <myfaces@zizi.dk>
>> >Subject: WARN  [HtmlLabelRenderer]
>> >To: users@myfaces.apache.org
>> >
>> >Hi,
>> >I get this warning:
>> >08:28:10,484 WARN  [HtmlLabelRenderer] Unable to find
>>
>> component
>>
>> >'documentTitle' (calling findComponent on
>>
>> component 'form1:_id21')
>>
>> >In fact I get it on all my labels! But I do not understand
>>
>> what the error
>>
>> >means, since there is a component with id documentTitle. 
I'm
>>
>> I reading the
>>
>> >error msg. wrong? Please can anyone help me..
>> >
>> >Best regards, Kasper
>> >
>> >this is my jsf code (I know the td isn't good coding..):
>> >
>> >						<td
>>
>> class="formCell">
>>
>> 	<h:outputLabel for="documentTitle">
>>
>> 	<h:outputText id="documentTitleLabel" value="#
>> {msg.docTitleLabel}" />
>>
>> 	<h:outputText id="documentTitleLabelFreeText"
>>
>> >value="#{msg.freeText}" />
>>
>> 	</h:outputLabel>
>>
>> >						</td>
>> >						<td>
>>
>> 	<h:inputText id="documentTitle" tabindex="8"
>> styleClass="textField"
>>
>> >value="#{searchPage.documentTitle}" required="false">
>>
>> 	<f:validateLength minimum="0" maximum="50"/>
>>
>> 	</h:inputText><br />
>>
>> >							<span
>>
>> class="elementError"><h:message 
for="documentTitle" /></span>
>>
>> >						</td>
>>
>> Dennis Byrne

Dennis Byrne

Mime
View raw message