myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Korherr (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-2536) converterId and validatorId should not be required
Date Sat, 13 Mar 2010 11:08:27 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844857#action_12844857
] 

Jakob Korherr commented on MYFACES-2536:
----------------------------------------

This was not really what I ment. Take a look at the code in ConvertDelegateHandler: 

public String getConverterId(FaceletContext ctx)
    {
        return converterId.getValue(ctx);
    }

If converterId is not required anymore, this code will throw an ugly NullPointerException.

I will take care of this now :)

> converterId and validatorId should not be required
> --------------------------------------------------
>
>                 Key: MYFACES-2536
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2536
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0-beta-2
>         Environment: myfaces core trunk
>            Reporter: Martin Koci
>            Assignee: Jakob Korherr
>            Priority: Trivial
>         Attachments: MYFACES-2536.patch
>
>
> With JSF 2.0 attributes converterId resp. validatorId (tags f:converter resp. f:validator)
aren't required. See:
> https://javaserverfaces.dev.java.net/nonav/docs/2.0/pdldocs/facelets/f/converter.html
> https://javaserverfaces.dev.java.net/nonav/docs/2.0/pdldocs/facelets/f/validator.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message