You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org> on 2010/03/13 12:08:27 UTC
[jira] Commented: (MYFACES-2536) converterId and validatorId should
not be required
[ 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.