Not for the tags on the jsp page, for every tag without id is a id
created during creation of the component.

But if you create UIComponents in your application (in custom components
or for component binding) you need to set an id.

Volker


Mike Duffy wrote:
> Is it necessary to set an id for every component on the page (e.g., every 
> h:outputText component,
> etc.)?
> 
> Thx.
> 
> Mike
> 
> --- Volker Weber <[EMAIL PROTECTED]> wrote:
> 
> 
>>Hi,
>>
>>the warning is created whenever, on a component without an id set, a
>>getClientId() call is made.
>>If this clientId just used internaly (for logging etc.) and not rendered
>>out then you won't found it in the html.
>>
>>Have you application generated UIComponents where no id is set explicitly?
>>
>>Mike Duffy wrote:
>>
>>>I meant to say, "when I do a view source on the JSP [and look at the HTML] I 
>>>can not find an
>>>identifier for _id229.
>>>
>>>Seems odd.
>>>
>>>Mike
>>>
>>>
>>>--- Martin Marinschek <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>
>>>>The warning is a bit odd in that it spits out the automatically
>>>>generated id, which you won't see in the JSP source ;)
>>>>
>>>>You should be able to find it in the HTML source, though!
>>>>
>>>>regards,
>>>>
>>>>Martin
>>>>
>>>>On 12/23/05, Mike Duffy <[EMAIL PROTECTED]> wrote:
>>>>
>>>>
>>>>>I see this warning, "WARNING: Component _id229 just got an automatic id,", 
>>>>>but when I do a
>>>>
>>>>view
>>>>
>>>>
>>>>>source on the JSP I can not find an identifier for _id229.
>>>>>
>>>>>This seems odd.  Anyone know why the id wouldn't be there?
>>>>>
>>>>>Thx.
>>>>>
>>>>>Mike
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>__________________________________
>>>>>Yahoo! for Good - Make a difference this year.
>>>>>http://brand.yahoo.com/cybergivingweek2005/
>>>>>
>>>>
>>>>
>>>>--
>>>>
>>>>http://www.irian.at
>>>>
>>>>Your JSF powerhouse -
>>>>JSF Consulting, Development and
>>>>Courses in English and German
>>>>
>>>>Professional Support for Apache MyFaces
>>>>
>>>
>>>
>>>
>>>
>>>             
>>>__________________________________________ 
>>>Yahoo! DSL – Something to write home about. 
>>>Just $16.99/mo. or less. 
>>>dsl.yahoo.com 
>>>
>>
>>-- 
>>Don't answer to From: address!
>>Mail to this account are droped if not recieved via mailinglist.
>>To contact me direct create the mail address by
>>concatenating my forename to my senders domain.
>>
> 
> 
> 
> 
>               
> __________________________________________ 
> Yahoo! DSL – Something to write home about. 
> Just $16.99/mo. or less. 
> dsl.yahoo.com 
> 

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.

Reply via email to