I define this Class... but I have a dude...
The two list inside of this Class... must be HtmlSelectManyListBox or
UISelectMany ?


public class HtmlShuttleList extends UIPanel {

    public static final String SHUTTLE_LIST_FAMILY = "SLFAMILY";

    HtmlSelectManyListbox validList;

    HtmlSelectManyListbox selectedList;

    HtmlCommandButton addButton, addAllButton, removeButton,
removeAllButton;

--
Mariano G. Petrakovsky
Programmer · Software Factory
AXG Tecnonexo -  www.tecnonexo.com

Development facilities:Av. Maipú 1252 8º (C1006ACT) · Buenos Aires ·
Argentina.
Tel.: (54-11) 4878-0005 - Fax: (54-11) 4878-0065.

Headquarters: 1604 Spring Hill Road, Suite 160 Vienna · VA 22182 · USA.
Tel.: (202) 986-7541 - Fax: (202) 787-3891.


· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· · · ·


-----Mensaje original-----
De: news [mailto:[EMAIL PROTECTED] nombre de Werner Punz
Enviado el: Viernes, 01 de Julio de 2005 13:34
Para: [email protected]
Asunto: Re: New Component


Hi Mariano, the best way to do this is to find a component which does
most of the wanted functionality and then write a child class of the
tag, the renderer and the component (if needed)

You can use UIComponent as a base, but you will save lots of work if you
start with a more high level approach (Most components derive from
something higher than UIComponent or UIInput)

For the ShuttleList a Panel or a Div might be a good starting point as a
base because you need some kind of Panel Functionality anway.

Werner



Mariano Petrakovsky wrote:
> After long time, I'm decide to create a custom component. :P
>
> I want to do a component like ShuttleList of ADF, Two SelectManyListBox,
> four CommandButtons (Add, Add All, Remove, Remove All). The elements
inside
> Lists can move together Lists.
>
> My cuestion is... can extends an existent UIComponent to do this or... I
> extends of UIComponent Class :(?
> How think is the better mode to do this component? :)
> Thanxs!!!
>
>




Reply via email to