You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2010/08/11 08:35:03 UTC

svn commit: r984305 - /myfaces/tobago/trunk/src/docbook/tobago-tutorial.xml

Author: lofwyr
Date: Wed Aug 11 06:35:03 2010
New Revision: 984305

URL: http://svn.apache.org/viewvc?rev=984305&view=rev
Log:
fix deprecated doc

Modified:
    myfaces/tobago/trunk/src/docbook/tobago-tutorial.xml

Modified: myfaces/tobago/trunk/src/docbook/tobago-tutorial.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/src/docbook/tobago-tutorial.xml?rev=984305&r1=984304&r2=984305&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/docbook/tobago-tutorial.xml (original)
+++ myfaces/tobago/trunk/src/docbook/tobago-tutorial.xml Wed Aug 11 06:35:03 2010
@@ -1006,7 +1006,7 @@ tobago-resource/html/standard/standard/i
     if (readonly != null) {
       return readonly;
     }
-    ValueBinding vb = getValueBinding(TobagoConstants.ATTR_READONLY);
+    ValueBinding vb = getValueBinding(Attributes.READONLY);
     if (vb == null) {
       return false;
     } else {
@@ -1138,9 +1138,9 @@ public class NumberSliderRenderer extend
       throws IOException {
     String currentValue = getCurrentValue(facesContext, component);
     boolean readonly
-        = ComponentUtil.getBooleanAttribute(component, ATTR_READONLY);
+        = ComponentUtil.getBooleanAttribute(component, Attributes.READONLY);
     boolean disabled
-        = ComponentUtil.getBooleanAttribute(component, ATTR_DISABLED);
+        = ComponentUtil.getBooleanAttribute(component, Attributes.DISABLED);
     TobagoResponseWriter writer
         = HtmlRendererUtil.getTobagoResponseWriter(facesContext);
     ...