Martin,
can you do that?
On 9/28/06, Adam Winer <[EMAIL PROTECTED]> wrote:
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
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com