Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Problems rendering custom component

Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm building a custom component (my very first), but I seem to have some problem with it. There is a parent component and nested children. The parent seems fine, it is supposed to output some HTML for itself in encodeBegin(). Then it should render code for its children in encodeEnd(). The children encodeBegin() and encodeEnd() methods are called, but no HTML is rendered for them. Here is what the code looks like (just the UIComponents):

I've not qutoed the implementation of other methods, I am guessing they are not relevant. Now, all these are called but only the parent code is rendered correctly. Since I am a newbie at custom components, I am sure to be doing something very wrong; I just don't know what. Any hints?
Yeah. What he said. Totally. Wait. What? Sorry, I was looking at this tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic