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 <[EMAIL PROTECTED]>
> >Subject: WARN  [HtmlLabelRenderer]
> >To: [email protected]
> >
> >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

Reply via email to