• Post Reply Bookmark Topic Watch Topic
  • New Topic

Encoding child components

 
Garann Means
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!