I would accept your suggestion right away, but we really need to have a JSF component in order to add it to the tree component dynamically. Is this possible with facelets ?


Murray Brandon <[EMAIL PROTECTED]> wrote:
With Facelets templating over the top of JSF it's dead easy - you just
include some xhtml that has any number of components inside it:




value="#{selectedPerson.telephoneNo}"/>



We use it for all our widget controls on this project even if its a 1:1
correllation, that way we can chop and change which JSF components we
use at the end of the day.
The only trick is for small sets of components you don't display/not
display using tags, but use of the rendered=" property on the
components instead.
It works.

Regards, Murray

Ionut S wrote:
> Hi,
> I was wondering if somebody had any success in writing a custom
> component that aggregates other existing components ?
>
> For example, creating a component that extends UIPanel and adding to
> its children 2 existing components (a label and a combo box, let's say)..
>
> Thank you !
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to