You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Paudi Moriarty (JIRA)" <ji...@apache.org> on 2010/04/26 16:23:32 UTC

[jira] Commented: (TAP5-328) Exception when checking BeanEditor Field required in ValidationDecorator

    [ https://issues.apache.org/jira/browse/TAP5-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860930#action_12860930 ] 

Paudi Moriarty commented on TAP5-328:
-------------------------------------

I'm seeing this behaviour in 5.0.16 and 5.1.0.5 in my own code and even with the beaneditortest project attached here.  Am I missing something?  

> Exception when checking BeanEditor Field required in ValidationDecorator
> ------------------------------------------------------------------------
>
>                 Key: TAP5-328
>                 URL: https://issues.apache.org/jira/browse/TAP5-328
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.15
>            Reporter: Christian Köberl
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.16
>
>         Attachments: beaneditortest.zip, PropertyEditor_cleanupEnvironment.patch
>
>
> You get the following error when marking a field "required" and using it in a beaneditor and creating a modified ValidationDecorator asking for required (like HLS suggested in http://www.nabble.com/How-to-create-my-ValidationDecorator-in-T5--td11533833.html).
> "Render queue error in AfterRender[Index:form.editor.loop]: Failure reading parameter 'validate' of component core/PropertyEditBlocks:textfield: No object of type org.apache.tapestry5.services.PropertyEditContext is available from the Environment."
> The problem is also described here by Rolf Wagner: http://www.nabble.com/-T5--Custom-ValidationDecorator-causing-Exception-in-BeanEditor-td20084804.html

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