You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "James Song (JIRA)" <be...@incubator.apache.org> on 2005/06/17 20:00:54 UTC

[jira] Reopened: (BEEHIVE-206) control property constraint:AnnotationMemberTypes.Date accept one format

     [ http://issues.apache.org/jira/browse/BEEHIVE-206?page=all ]
     
James Song reopened BEEHIVE-206:
--------------------------------

     Assign To: Hoi Lam  (was: James Song)

I see the folloowing error when running "ant build" from trunk/controls/test:
      [apt] D:\beehive\controls\test\src\units\org\apache\beehive\controls\test\java\property\Member
TypeTest.java:67: A value assigned to a control property does not satisfy its constraints. Cause: Va
lue assigned to a date property is not in the specified format.
      [apt]     private PersonControlBean thisPerson;

Repro:
1. Copy the attached PersonControl.java into trunk\controls\test\src\controls\org\apache\beehive\controls\test\controls\property\constraint;
2. Copy the attached MemberTypeTest.java into trunk\controls\test\src\units\org\apache\beehive\controls\test\java\property
3. from trunk\controls\test, run "ant build"

> control property constraint:AnnotationMemberTypes.Date accept one format
> ------------------------------------------------------------------------
>
>          Key: BEEHIVE-206
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-206
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1Beta
>     Reporter: James Song
>     Assignee: Hoi Lam
>     Priority: Minor
>      Fix For: TBD
>  Attachments: MemberTypeTest.java, MemberTypeTest.java, PersonControl.java, PersonControl.java
>
> Currently, AnnotationMemberTypes.Date only accept YYYY/MM/DD.
> There will be cases when user would like to specify the HH:MM, or other input format, such as long date format.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira