Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 45810 invoked from network); 1 Nov 2005 21:50:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Nov 2005 21:50:07 -0000 Received: (qmail 41313 invoked by uid 500); 1 Nov 2005 21:50:05 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 41271 invoked by uid 500); 1 Nov 2005 21:50:05 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 41254 invoked by uid 99); 1 Nov 2005 21:50:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 13:50:05 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of luizaugusto.ruiz@gmail.com designates 66.249.82.200 as permitted sender) Received: from [66.249.82.200] (HELO xproxy.gmail.com) (66.249.82.200) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 13:49:58 -0800 Received: by xproxy.gmail.com with SMTP id t14so162092wxc for ; Tue, 01 Nov 2005 13:49:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=eZsm7RHPRIINP/jT28vmZ+oqdRICLNzinkKNt2YN4AoZIzjyKf4/FztRLIvUd8Utyqc7XdQnVCqDCDiWsA3LU5DrebvTMEZFoxGPk2qpOqlzEe+ydMj6P7OkZ7V57jqQPh18uuR8uZGmx6neFss/pzx37wmB+SrBYmsltE/Wynk= Received: by 10.65.53.15 with SMTP id f15mr1459199qbk; Tue, 01 Nov 2005 13:49:41 -0800 (PST) Received: by 10.64.148.13 with HTTP; Tue, 1 Nov 2005 13:49:41 -0800 (PST) Message-ID: <107ca8010511011349m622d84ccn@mail.gmail.com> Date: Tue, 1 Nov 2005 18:49:41 -0300 From: Luiz Augusto Ruiz To: MyFaces Development Subject: Re: Bug in JSFAttr.java In-Reply-To: <435EB453.4040405@skalasoft.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17248_20845955.1130881781290" References: <435EB453.4040405@skalasoft.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_17248_20845955.1130881781290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have the same problem, attribute showRootNode doesn't work with Facelets. Luiz Augusto Ruiz Sergipe - Brasil 2005/10/25, Martin Mavrov : > > Hi, > > I think I found a bug in org.apache.myfaces.renderkit.JFSAttr class. The > following constants don't look right: > > public static final String SHOW_NAV =3D > "org.apache.myfaces.tree2.SHOW_NAV"; > public static final String SHOW_LINES =3D > "org.apache.myfaces.tree2.SHOW_LINES"; > public static final String CLIENT_SIDE_TOGGLE =3D > "org.apache.myfaces.tree2.CLIENT_SIDE_TOGGLE"; > public static final String SHOW_ROOT_NODE =3D > "org.apache.myfaces.tree2.SHOW_ROOT_NODE"; > public static final String PRESERVE_TOGGLE =3D > "org.apache.myfaces.tree2.PRESERVE_TOGGLE"; > > // dataTable (extended) attributes > public static final String ROW_ID =3D > "org.apache.myfaces.dataTable.ROW_ID"; > public static final String ROW_STYLECLASS_ATTR =3D > "org.apache.myfaces.dataTable.ROW_STYLECLASS"; > public static final String ROW_STYLE_ATTR =3D > "org.apache.myfaces.dataTable.ROW_STYLE"; > > // Alternate locations (instead of using AddResource) > public static final String JAVASCRIPT_LOCATION =3D > "org.apache.myfaces.JAVASCRIPT_LOCATION"; > public static final String IMAGE_LOCATION =3D > "org.apache.myfaces.IMAGE_LOCATION"; > public static final String STYLE_LOCATION =3D > "org.apache.myfaces.STYLE_LOCATION"; > > > For Tree2 they should be showNav, showLines, etc. > > Is this correct? > > -- > Best regards, > Martin Mavrov > > -- --------------------------------------------------------- De tanto ver triunfar as nulidades, de tanto ver prosperar a desonra, de tanto ver crescer a injusti=E7a, de tanto ver agigantarem-se os poderes nas m=E3os dos maus, o homem chega a desanimar da virtude, a rir-se da honra, a ter vergonha de ser honesto. (Ruy Barbosa, 1914) --------------------------------------------------------- ------=_Part_17248_20845955.1130881781290 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have the same problem, attribute showRootNode doesn't work with Facelets.=

Luiz Augusto Ruiz
Sergipe - Brasil

2005/10/25, Martin= Mavrov <martin.mavrov@sk= alasoft.com>:
    Hi,

I think I found a bug in org.apache.myfa= ces.renderkit.JFSAttr class. The
following constants don't look right:
    public static final String SHOW_NAV           &= nbsp;        =3D
"org.apach= e.myfaces.tree2.SHOW_NAV";
    public static final String SHOW_LINES           = ;       =3D
"org.apache.myfaces.= tree2.SHOW_LINES";
    public static final String CLIENT_SIDE_TOGGLE         &nb= sp;=3D
"org.apache.myfaces.tree2.CLIENT_SIDE_TOGGLE";
 = ;   public static final String SHOW_ROOT_NODE          &= nbsp;   =3D
"org.apache.myfaces.tree2.SHOW_ROOT_NODE= ";
    public static final String PRESERVE_TOGGLE          =    =3D
"org.apache.myfaces.tree2.PRESERVE_TOGGLE";

 &= nbsp;  // dataTable (extended) attributes
   &n= bsp;public static final String ROW_ID           &nb= sp;          =3D
"= ;org.apache.myfaces.dataTable.ROW_ID";
    publ= ic static final String ROW_STYLECLASS_ATTR     &nb= sp;   =3D
"org.apache.myfaces.dataTable.ROW_STYLECLASS&qu= ot;;
    public static final String ROW_STYLE_ATTR          &= nbsp;   =3D
"org.apache.myfaces.dataTable.ROW_STYLE&= quot;;

    // Alternate locations (instead of us= ing AddResource)
    public static final String JAVA= SCRIPT_LOCATION         =3D
&quo= t; org.apache.myfaces.JAVASCRIPT_LOCATION";
    pu= blic static final String IMAGE_LOCATION          &= nbsp;   =3D
"org.apache.myfaces.IMAGE_LOCATION"= ;
    public static final String STYLE_LOCATION          &= nbsp;   =3D
"org.apache.myfaces.STYLE_LOCATION"= ;


For Tree2 they should be showNav, showLines, etc.

Is th= is correct?

--
Best regards,
Martin Mavrov




--
------------------------------------= ---------------------
De tanto ver triunfar as nulidades, de tanto ver <= br>prosperar a desonra, de tanto ver crescer a injusti=E7a,
de tanto ve= r agigantarem-se os poderes nas m=E3os dos maus,=20
o homem chega a desanimar da virtude, a rir-se da honra,
a ter vergo= nha de ser honesto. (Ruy Barbosa, 1914)
--------------------------------= ------------------------- ------=_Part_17248_20845955.1130881781290--