myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volker Weber <users.myfa...@weber-oldenburg.de>
Subject Re: WARNING: Component _id229 just got an automatic id,
Date Fri, 23 Dec 2005 11:15:48 GMT
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 <users.myfaces@weber-oldenburg.de> 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 <martin.marinschek@gmail.com> 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 <mduffy_lists@yahoo.com> 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.

Mime
View raw message