If you're not limited to pure JSP tag technology, you could consider
the following three alternatives, which allow you to quickly create
composite components:

1) Facelets
2) Shale/Clay
3) t:aliasBean + jsp includes

On 9/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm looking at designing a simple component that would render the
> following:
> 
> 2 ListBoxes with items in each of them. Each being plugged on a
> different List in the background.
> 
> I'm trying to figure out how to do that right now... I have created a
> custom component that works but does not render my listboxes. The way I
> saw this was that in my component's code, in encodeBegin, I could create
> 2 UISelectMany components and setting their parent to my component.
> 
> Now be honest... Is this a horrible way to do things :p? The reason I'm
> asking is because I'm trying to figure out if i can render this without
> having to use the responsewriter to write HTML, ie by using another
> component and calling its encodeBegin method so that later changes can
> be repercuted in my component automatically.
> 
> Are there any examples of custom components that do this? I'm figuring I
> could use the ResponseWriter and iterate through the ListBoxes' lists
> etc... but I'm wondering if creaeting the components and setting their
> required properties is possible.
> 
> Thanks a lot,
> 
> Greg
>

Reply via email to