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-241) DataList: ValueBindings on pass through attributes do not work
Date Fri, 13 May 2005 09:47:19 GMT
     [ http://issues.apache.org/jira/browse/MYFACES-241?page=comments#action_65271 ]
     
Mathias Werlitz commented on MYFACES-241:
-----------------------------------------

SOLUTION: I guess there are missing some entries in the HtmlDataList.xml file (extracted from
HtmlDataTable.xml) like:

<field>
        <name>onclick</name>
        <type>java.lang.String</type>
    </field>
    <field>
        <name>ondblclick</name>
        <type>java.lang.String</type>
    </field>
    <field>
        <name>onkeydown</name>
        <type>java.lang.String</type>
    </field>
    <field>
        <name>onkeypress</name>
        <type>java.lang.String</type>
    </field>
    <field>
        <name>onkeyup</name>
        <type>java.lang.String</type>
    </field>
    <field>
        <name>onmousedown</name>
        <type>java.lang.String</type>
    </field>
    <field>
        <name>onmousemove</name>
        <type>java.lang.String</type>
    </field>
    <field>
        <name>onmouseout</name>
        <type>java.lang.String</type>
    </field>
    <field>
        <name>onmouseover</name>
        <type>java.lang.String</type>
    </field>
    <field>
        <name>onmouseup</name>
        <type>java.lang.String</type>
    </field>
    <field>
        <name>style</name>
        <type>java.lang.String</type>
    </field>
    <field>
        <name>styleClass</name>
        <type>java.lang.String</type>
    </field>
    <field>
        <name>title</name>
        <type>java.lang.String</type>
    </field>

> DataList: ValueBindings on pass through attributes do not work
> --------------------------------------------------------------
>
>          Key: MYFACES-241
>          URL: http://issues.apache.org/jira/browse/MYFACES-241
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.9 beta
>     Reporter: Mathias Werlitz

>
> If you use value bindings on the pass through attributes e.g. "styleClass" with the DataList
component, no attributes are witten in html. 
> PROBLEM: There is no (generated) code for the pass through attributes, like it is present
in other components (HtmlDataTable) for setting and getting the attribute values (value bindings).
HtmlComponentBodyTagBase does provide these value bindings but DataList does not evaluate
them.

-- 
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