[forge-issues] [JBoss JIRA] (FORGE-1393) constraint commands are missing

Antonio Goncalves (JIRA) issues at jboss.org
Tue Dec 31 00:45:32 EST 2013


Antonio Goncalves created FORGE-1393:
----------------------------------------

             Summary: constraint commands are missing
                 Key: FORGE-1393
                 URL: https://issues.jboss.org/browse/FORGE-1393
             Project: Forge
          Issue Type: Sub-task
          Components: UI - Shell
    Affects Versions: 2.0.0.Beta4
            Reporter: Antonio Goncalves


On Forge 1.x you could add constraints to a specific field with 

{code}
constraint NotNull --onProperty login ;
{code}

The {{constraint}} commands are missing. If we follow the new naming convention, we should have, at least, one command to create new custom constraints (that could go into a default {{constraint}} package for example : 

{code}
constraint-new MyOwnConstraint ;
{code}

And a command to add a constraint to a property :

{code}
constraint-add NotNull --onProperty login ;
constraint-add MyOwnConstraint --onProperty lastname ;
{code}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list