[JBoss JIRA] (FORGE-1198) UIValidationContext should reference the current input being validated
by George Gastaldi (JIRA)
George Gastaldi created FORGE-1198:
--------------------------------------
Summary: UIValidationContext should reference the current input being validated
Key: FORGE-1198
URL: https://issues.jboss.org/browse/FORGE-1198
Project: Forge
Issue Type: Feature Request
Components: UI - API
Affects Versions: 2.0.0.Alpha12
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.0.0.Alpha13
Introduce a method in {{UIValidationContext}}:
{code}
/**
* Returns the current focused {@link InputComponent}. Return null if cannot be determined by the UI provider.
*/
public InputComponent<?, ?> getCurrentInputComponent();
{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
10 years, 9 months
[JBoss JIRA] (FORGE-1192) Ill behaved addons can screw up the command popup in Eclipse
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/FORGE-1192?page=com.atlassian.jira.plugin... ]
Koen Aers commented on FORGE-1192:
----------------------------------
[~lincolnthree]Either I didn't explain well enough or else I don't understand. I think this is *very* bad behavior. It would be like deploying a servlet that brings down the server. If I as a user install such an addon I wouldn't be able to use any other command anymore. I don't think Forge should figure out that the dependency needs to be added but I think the exception should be gracefully handled so that the popup with the other commands still is displayed.
> Ill behaved addons can screw up the command popup in Eclipse
> ------------------------------------------------------------
>
> Key: FORGE-1192
> URL: https://issues.jboss.org/browse/FORGE-1192
> Project: Forge
> Issue Type: Feature Request
> Components: UI - Eclipse
> Affects Versions: 2.0.0.Alpha12
> Reporter: Koen Aers
>
> - Create a test addon with a command that e.g. uses PersistenceFacet
> - Include javaee-api in the implementation pom.xml so everything compiles
> - Don't include the javaee addon in the addon pom.xml
> - Install the test addon
> - Try bringing up the command popup using Cmd+5
> => It doesn't come up because of a ClassNotFoundException
--
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
10 years, 9 months
[JBoss JIRA] (FORGE-1192) Ill behaved addons can screw up the command popup in Eclipse
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1192?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III closed FORGE-1192.
-------------------------------------
Resolution: Rejected
Hey Koen, this is expected behavior. Without the 'javaee forge-addon' dependency, there is no way for Forge to know the addon needs to be added as a dependency.
> Ill behaved addons can screw up the command popup in Eclipse
> ------------------------------------------------------------
>
> Key: FORGE-1192
> URL: https://issues.jboss.org/browse/FORGE-1192
> Project: Forge
> Issue Type: Feature Request
> Components: UI - Eclipse
> Affects Versions: 2.0.0.Alpha12
> Reporter: Koen Aers
>
> - Create a test addon with a command that e.g. uses PersistenceFacet
> - Include javaee-api in the implementation pom.xml so everything compiles
> - Don't include the javaee addon in the addon pom.xml
> - Install the test addon
> - Try bringing up the command popup using Cmd+5
> => It doesn't come up because of a ClassNotFoundException
--
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
10 years, 9 months
[JBoss JIRA] (FORGE-1179) Port the Bean validation commands
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1179?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-1179:
----------------------------------------
Mockup of the add-constraints UI
> Port the Bean validation commands
> ---------------------------------
>
> Key: FORGE-1179
> URL: https://issues.jboss.org/browse/FORGE-1179
> Project: Forge
> Issue Type: Sub-task
> Components: Builtin Plugins
> Reporter: Vineet Reynolds
> Fix For: 2.0.0.Final
>
> Attachments: 2013-09-12 16.05.bmml, 2013-09-12 16.05.png
>
>
> Commands in Forge 1:
> * validation setup
> * constraint Valid
> * constraint Null
> * constraint NotNull
> * constraint AssertTrue
> * constraint AssertFalse
> * constraint MinConstraint
> * constraint MaxConstraint
> * constraint DecimalMin
> * constraint DecimalMax
> * constraint Size
> * constraint Digits
> * constraint Past
> * constraint Future
> * constraint Pattern
> * remove-constraint <default_command>
--
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
10 years, 9 months