myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathias Werlitz (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Commented: (MYFACES-406) styleClass attribute of x:dataList has no effect when using expressions
Date Wed, 10 Aug 2005 21:40:36 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-406?page=comments#action_12318403 ] 

Mathias Werlitz commented on MYFACES-406:
-----------------------------------------

With the nightly build I get following output:

<ul id="tree-menu" class="style-of-bean-property">
<li>1</li>
<li>2</li>
<li>3</li>
</ul>

> styleClass attribute of x:dataList has no effect when using expressions
> -----------------------------------------------------------------------
>
>          Key: MYFACES-406
>          URL: http://issues.apache.org/jira/browse/MYFACES-406
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.8 beta, 1.0.9 beta
>     Reporter: Randahl Fink Isaksen
>     Priority: Blocker
>      Fix For: Nightly Build

>
> The documentation for the x:dataList says you can add a css style class to it, but I
am unable to make that work. This is what I have:
>                            <x:dataList
>                                id="tree-menu"
>                                styleClass="test"
>                                value="#{myBean.cBean.menuItems}"
>                                var="menuItem"
>                                layout="unorderedList"
>                            >
> I was expecting to see UL and LI elements with a style class attribute containing the
value "test", but instead I get raw unstyled UL and LI tags like this:
>  <ul>
>  <li>Velkommen</li>
>  <li>Farvel</li>
>  </ul>
> I am taking the liberty of filing this as a blocker because it actually makes it impossible
for me to complete my project because we use several different lists on the pages, and they
are suppose to have different sizes, thus they need to be styled differently.
> In hopes for a quick fix.
> Randahl

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message