[forge-issues] [JBoss JIRA] (FORGE-1393) constraint commands are missing
George Gastaldi (JIRA)
issues at jboss.org
Fri Jan 3 16:46:33 EST 2014
[ https://issues.jboss.org/browse/FORGE-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933666#comment-12933666 ]
George Gastaldi commented on FORGE-1393:
----------------------------------------
The syntax is a bit different:
{code}
constraint-add --javaClass org.demo.model.Customer --constraint Null
{code}
> 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
> Assignee: George Gastaldi
> Fix For: 2.0.0.Final
>
>
> 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