Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 33008 invoked from network); 4 Jul 2005 09:15:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jul 2005 09:15:52 -0000 Received: (qmail 22585 invoked by uid 500); 4 Jul 2005 09:15:48 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 22553 invoked by uid 500); 4 Jul 2005 09:15:47 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 22540 invoked by uid 99); 4 Jul 2005 09:15:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2005 02:15:47 -0700 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=HTML_20_30,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [141.113.102.112] (HELO mail-out.emea.daimlerchrysler.com) (141.113.102.112) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2005 02:15:48 -0700 Date: Mon, 04 Jul 2005 11:15:37 +0200 From: mathias.werlitz@daimlerchrysler.com Subject: Antwort: RE: New Component In-reply-to: To: users@myfaces.apache.org Message-id: MIME-version: 1.0 Content-type: multipart/alternative; boundary="=_alternative 0032DE94C1257034_=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dies ist eine mehrteilige Nachricht im MIME-Format. --=_alternative 0032DE94C1257034_= Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable If you output only HTML then you can use HtmlSelectManyListbox. If it's posssible to use only methods provided by UISelectMany, then use=20 the superclass instead. But you have to make sure that the Listbox=20 renderer is used by the component. mpetrakovsky@tecnonexo.com schrieb am 01.07.2005 13:58:16: >=20 > I define this Class... but I have a dude... > The two list inside of this Class... must be HtmlSelectManyListBox or > UISelectMany ? >=20 >=20 > public class HtmlShuttleList extends UIPanel { >=20 > public static final String SHUTTLE=5FLIST=5FFAMILY =3D "SLFAMILY"; >=20 > HtmlSelectManyListbox validList; >=20 > HtmlSelectManyListbox selectedList; >=20 > HtmlCommandButton addButton, addAllButton, removeButton, > removeAllButton; >=20 > -- > Mariano G. Petrakovsky > Programmer =B7 Software Factory > AXG Tecnonexo - www.tecnonexo.com >=20 > Development facilities:Av. Maip=FA 1252 8=BA (C1006ACT) =B7 Buenos Aires = =B7 > Argentina. > Tel.: (54-11) 4878-0005 - Fax: (54-11) 4878-0065. >=20 > Headquarters: 1604 Spring Hill Road, Suite 160 Vienna =B7 VA 22182 =B7 US= A. > Tel.: (202) 986-7541 - Fax: (202) 787-3891. >=20 >=20 > =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 = =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7=20 =B7 =B7 > =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 = =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7=20 =B7 =B7 > =B7 =B7 =B7 =B7 >=20 >=20 > -----Mensaje original----- > De: news [mailto:news@sea.gmane.org]En nombre de Werner Punz > Enviado el: Viernes, 01 de Julio de 2005 13:34 > Para: users@myfaces.apache.org > Asunto: Re: New Component >=20 >=20 > 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) >=20 > 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) >=20 > 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. >=20 > Werner >=20 >=20 >=20 > 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=20 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!!! > > > > >=20 >=20 >=20 >=20 --=_alternative 0032DE94C1257034_= Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable
If you output only HTML then you can use HtmlSelectM= anyListbox.

If it's posssible to use only methods provided by UISelectMany, then use the superclass instead. But you have to make sure that the Listbox renderer is used by the component.

mpetrakovsky@tecnonexo.com schrieb am 01.07.2005 13:= 58:16:

>
> 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=5FLIST=5FFAMILY =3D &= quot;SLFAMILY";
>
>     HtmlSelectManyListbox validList;
>
>     HtmlSelectManyListbox selectedList;
>
>     HtmlCommandButton addButton, addAllButton, removeButton,=
> removeAllButton;
>
> --
> Mariano G. Petrakovsky
> Programmer =B7 Software Factory
> AXG Tecnonexo -  www.tecnonexo.com
>
> Development facilities:Av. Maip=FA 1252 8=BA (C1006ACT) =B7 Buenos Air= es =B7
> Argentina.
> Tel.: (54-11) 4878-0005 - Fax: (54-11) 4878-0065.
>
> Headquarters: 1604 Spring Hill Road, Suite 160 Vienna =B7 VA 22182 =B7 USA.
> Tel.: (202) 986-7541 - Fax: (202) 787-3891.
>
>
> =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 = =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7
> =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 = =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7 =B7
> =B7 =B7 =B7 =B7
>
>
> -----Mensaje original-----
> De: news [mailto:news@sea.gmane.org]En nombre de Werner Punz
> Enviado el: Viernes, 01 de Julio de 2005 13:34
> Para: users@myfaces.apache.org
> Asunto: Re: New Component
>
>
> Hi Mariano, the best way to do this is to find a component which does<= br> > 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 SelectManyL= istBox,
> > four CommandButtons (Add, Add All, Remove, Remove All). The eleme= nts
> 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!!!
> >
> >
>
>
>
>
--=_alternative 0032DE94C1257034_=--