On 9/28/06, Martin Koci <[EMAIL PROTECTED]> wrote:

Hello,

as http://issues.apache.org/jira/browse/ADFFACES-151 is fixed I found
that problem in SimpleInputTextRenderer. Is there a one right place
where solve that?


Other very strange bug is in EditableValueRenderer.getReadOnly:

ValueBinding vb = getValueBinding(bean);

if ((vb != null) && vb.isReadOnly(context))
    {
       return true;
    }

It returns true even if valueBinding cannot be resolved! It's probably a
bug in myfaces 1.1.4 - vb.isReadOnly returns true for all properties
that cannot be resolved.

I solved that problem with changing 'if' to:

if ((vb != null) && vb.getValue(context) != null  &&
vb.isReadOnly(context))



-1 to that;  if there's a 1.1.4 bug, it should get filed...

-- Adam

Reply via email to