You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Shymon (JIRA)" <ji...@apache.org> on 2008/10/14 00:02:46 UTC

[jira] Created: (TAP5-276) BeanEditForm and java.util.Date

BeanEditForm and java.util.Date
-------------------------------

                 Key: TAP5-276
                 URL: https://issues.apache.org/jira/browse/TAP5-276
             Project: Tapestry 5
          Issue Type: Bug
    Affects Versions: 5.0.15
            Reporter: Shymon


I have a bean with property of type java.util.Date. There is also a constructor getting Date value as parameter. When I try to use BeanEditForm with this bean RenderQueueException is thrown saying:

...(for service 'BeanModelSource'): No service implements the interface java.util.Date


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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAP5-276) Add documentation about the use of @Inject to mark the correct constructor of a bean (i.e., when using BeanEditForm)

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAP5-276:
--------------------------------------

    Assignee: Howard M. Lewis Ship
     Summary: Add documentation about the use of @Inject to mark the correct constructor of a bean (i.e., when using BeanEditForm)  (was: BeanEditForm and java.util.Date)

The solution here is to put @Inject on the correct constructor, or to use the "prepare" or "prepareForSubmit" event handlers, but this was not documented well.

> Add documentation about the use of @Inject to mark the correct constructor of a bean (i.e., when using BeanEditForm)
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-276
>                 URL: https://issues.apache.org/jira/browse/TAP5-276
>             Project: Tapestry 5
>          Issue Type: Bug
>    Affects Versions: 5.0.15
>            Reporter: Shymon
>            Assignee: Howard M. Lewis Ship
>
> I have a bean with property of type java.util.Date. There is also a constructor getting Date value as parameter. When I try to use BeanEditForm with this bean RenderQueueException is thrown saying:
> ...(for service 'BeanModelSource'): No service implements the interface java.util.Date

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAP5-276) Add documentation about the use of @Inject to mark the correct constructor of a bean (i.e., when using BeanEditForm)

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-276.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.16

> Add documentation about the use of @Inject to mark the correct constructor of a bean (i.e., when using BeanEditForm)
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-276
>                 URL: https://issues.apache.org/jira/browse/TAP5-276
>             Project: Tapestry 5
>          Issue Type: Bug
>    Affects Versions: 5.0.15
>            Reporter: Shymon
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.16
>
>
> I have a bean with property of type java.util.Date. There is also a constructor getting Date value as parameter. When I try to use BeanEditForm with this bean RenderQueueException is thrown saying:
> ...(for service 'BeanModelSource'): No service implements the interface java.util.Date

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org