myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luiz Augusto Ruiz <luizaugusto.r...@gmail.com>
Subject Re: Bug in JSFAttr.java
Date Tue, 01 Nov 2005 21:49:41 GMT
I have the same problem, attribute showRootNode doesn't work with Facelets.

Luiz Augusto Ruiz
Sergipe - Brasil

2005/10/25, Martin Mavrov <martin.mavrov@skalasoft.com>:
>
> 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 =
> "org.apache.myfaces.tree2.SHOW_NAV";
> public static final String SHOW_LINES =
> "org.apache.myfaces.tree2.SHOW_LINES";
> public static final String CLIENT_SIDE_TOGGLE =
> "org.apache.myfaces.tree2.CLIENT_SIDE_TOGGLE";
> public static final String SHOW_ROOT_NODE =
> "org.apache.myfaces.tree2.SHOW_ROOT_NODE";
> public static final String PRESERVE_TOGGLE =
> "org.apache.myfaces.tree2.PRESERVE_TOGGLE";
>
> // dataTable (extended) attributes
> public static final String ROW_ID =
> "org.apache.myfaces.dataTable.ROW_ID";
> public static final String ROW_STYLECLASS_ATTR =
> "org.apache.myfaces.dataTable.ROW_STYLECLASS";
> public static final String ROW_STYLE_ATTR =
> "org.apache.myfaces.dataTable.ROW_STYLE";
>
> // Alternate locations (instead of using AddResource)
> public static final String JAVASCRIPT_LOCATION =
> "org.apache.myfaces.JAVASCRIPT_LOCATION";
> public static final String IMAGE_LOCATION =
> "org.apache.myfaces.IMAGE_LOCATION";
> public static final String STYLE_LOCATION =
> "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ça,
de tanto ver agigantarem-se os poderes nas mãos dos maus,
o homem chega a desanimar da virtude, a rir-se da honra,
a ter vergonha de ser honesto. (Ruy Barbosa, 1914)
---------------------------------------------------------

Mime
View raw message