aspose file tools
The moose likes JSF and the fly likes Encoding child components Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Encoding child components" Watch "Encoding child components" New topic
Author

Encoding child components

Garann Means
Ranch Hand

Joined: Jan 28, 2002
Posts: 214
Hi,

I'm wondering how I can automate the encoding of components within a parent component. The catch is, I don't think they count as child components or that they'll be dealt with automatically by the encodeChildren() method. The component's value is a special class containing, among other things, references to one or more component objects. If I can, I'd like to call one method - maybe encodeBegin()? - one each of these components and get them to add themselves to the current ResponseWriter.

Thanks in advance for any suggestions!
Garann Means
Ranch Hand

Joined: Jan 28, 2002
Posts: 214
Maybe I should re-examine my assumptions. Can I get peoples' opinions on whether this will work?



cell is my model class, and getEditCell() is returning a UIComponent, which is the one the children are programatically attached to.

Thanks again.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Encoding child components
 
Similar Threads
gridbagconstraints problem
Container focusLost
Composite like relationship - Mapping Question
Uniform Font for class of swing components
Help with h:selectOneMenu