You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mathias Werlitz (JIRA)" <my...@incubator.apache.org> on 2005/05/12 18:02:07 UTC

[jira] Created: (MYFACES-241) DataList: ValueBindings on pass through attributes do not work

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


[jira] Closed: (MYFACES-241) DataList: ValueBindings on pass through attributes do not work

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

     Resolution: Fixed
    Fix Version: Nightly Build

Fixed, thanks for Mathias Werlitz for his contribution.

> 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
>     Assignee: Martin Marinschek
>      Fix For: Nightly Build

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


[jira] Commented: (MYFACES-241) DataList: ValueBindings on pass through attributes do not work

Posted by "Mathias Werlitz (JIRA)" <my...@incubator.apache.org>.
     [ 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