myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CONNER, BRENDAN \(SBCSI\)" <bc1...@sbc.com>
Subject RE: Encoding a field's id attribute
Date Tue, 13 Sep 2005 22:34:40 GMT
Never mind.  Silly question.  I just do getClientId(FacesContext).

- Brendan

>  -----Original Message-----
> From: 	CONNER, BRENDAN (SBCSI)  
> Sent:	Tuesday, September 13, 2005 5:25 PM
> To:	'MyFaces Development'
> Subject:	Encoding a field's id attribute
> 
> I'm constructing a custom component, and I would like its id to be the
> familiar colon-separated format (e.g., subview:form:id), and I also
> would like the id to have the row index included it if it occurs
> inside a table (e.g., view:form:table_0:id).
> 
> Is there some encapsulated way to have an ID of the above form
> generated in my custom component, or does it have to do some sort of
> tortured manual logic to construct its id?
> 
> - Brendan

Mime
View raw message