You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Randahl Fink Isaksen (JIRA)" <my...@incubator.apache.org> on 2005/07/22 13:08:46 UTC

[jira] Created: (MYFACES-354) styleClass attribute of x:dataList has no effect

styleClass attribute of x:dataList has no effect
------------------------------------------------

         Key: MYFACES-354
         URL: http://issues.apache.org/jira/browse/MYFACES-354
     Project: MyFaces
        Type: Bug
    Versions: 1.0.8 beta, 1.0.9 beta    
    Reporter: Randahl Fink Isaksen
    Priority: Blocker


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


[jira] Closed: (MYFACES-354) styleClass attribute of x:dataList has no effect

Posted by "Mathias Broekelmann (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-354?page=all ]
     
Mathias Broekelmann closed MYFACES-354:
---------------------------------------

    Fix Version: Nightly Build
     Resolution: Fixed

I´ve tested it with the current svn version and it was working. 
See the simple examples datalist.jsp which uses a styleclass attribute
According to the svn-logs it was allready fixed in 08/2004.

> styleClass attribute of x:dataList has no effect
> ------------------------------------------------
>
>          Key: MYFACES-354
>          URL: http://issues.apache.org/jira/browse/MYFACES-354
>      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