Oracle ADF Faces - af:attribute
Summary

Tag name: < af:attribute >

The attribute tag is a temporary replacement for < f:attribute > tag. In JSF 1.1.x, the < f:attribute > immediately evaluates ValueBindings instead of setting the ValueBinding on the component for later evaluation. The JSF 1.2 release will include this bug fix. In the interim, using the < f:attribute > tag will give the user the expected behavior when using a ValueBinding for the value attribute.

Example:

            <af:table var="emp" value="#{employees}">
              <af:attribute name="banding" value="none"/>
              <af:column >
                <af:outputText value="#{emp.ename}">
                  <af:attribute name="styleClass" value="#{emp.role}"/>
                </af:outputText>
              </af:column >
              <af:column >
                <af:commandButton action="#{emp.viewDetails}">
                  <af:attribute name="label" value="More on this #{emp.title}"/>
                </af:commandButton>
              </af:column >
            </af:table>

Attributes
Name Type Supports EL? Description
name String No name of the attribute
value Object Yes the value of the attribute
Copyright © 2003-2006, Oracle Corporation. All Rights Reserved.

E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy