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/01/28 16:46:17 UTC

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

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
 Assigned to: Hoi Lam 
    Priority: Minor
     Fix For: V1Beta


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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Posted by "Hoi Lam (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-206?page=history ]
     
Hoi Lam resolved BEEHIVE-206:
-----------------------------

    Resolution: Fixed

The member "format" has been added to the ControlMemberTypes.Date annotation.  Users can use it to specify the date format they want to use.

> 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: V1Beta

>
> 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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Posted by "James Song (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-206?page=all ]

James Song updated BEEHIVE-206:
-------------------------------

    Attachment: PersonControl.java

> 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


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

Posted by "James Song (JIRA)" <be...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/BEEHIVE-206?page=comments#action_12313909 ] 

James Song commented on BEEHIVE-206:
------------------------------------

OK, JIRA doesn't allow me to delete previously attached, nor overwriting. 
Please ignore the PersonControl.java and MemberTypeTest.java attached at 17/Jun/05 07:19 PM.

You could find the time of attached by clicking "Manage Attachment".

> 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


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

Posted by "James Song (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-206?page=all ]

James Song updated BEEHIVE-206:
-------------------------------

    Fix Version: TBD
                     (was: V1Beta)
    Description: 
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.

  was:
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.

    Environment: 

> 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


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

Posted by "James Song (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-206?page=all ]

James Song updated BEEHIVE-206:
-------------------------------

    Attachment: MemberTypeTest.java

Update the java test to overwrite the previous one.

> 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


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

Posted by "James Song (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-206?page=all ]

James Song updated BEEHIVE-206:
-------------------------------

    Attachment: PersonControl.java

Update PersonControl.java to overwrite the previous one.

> 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


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

Posted by "James Song (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-206?page=all ]

James Song updated BEEHIVE-206:
-------------------------------

    Attachment: MemberTypeTest.java

> 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


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

Posted by "James Song (JIRA)" <be...@incubator.apache.org>.
     [ 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


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

Posted by "Zach Smith (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-206?page=all ]

Zach Smith reassigned BEEHIVE-206:
----------------------------------

    Assign To: James Song  (was: Hoi Lam)

> 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: James Song
>     Priority: Minor
>      Fix For: V1Beta

>
> 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