]
George Gastaldi closed FORGE-893.
---------------------------------
Fix Version/s: 2.0.0.Alpha11
(was: 2.x Future)
Resolution: Done
Implemented.
UIInput<?> should support setValidator(UIIInputValidator)
getValidator() for input-level-validation
---------------------------------------------------------------------------------------------------
Key: FORGE-893
URL:
https://issues.jboss.org/browse/FORGE-893
Project: Forge
Issue Type: Feature Request
Components: UI - Eclipse, UI - IntelliJ IDEA, UI - Shell
Affects Versions: 2.0.0.Alpha3
Reporter: Lincoln Baxter III
Assignee: George Gastaldi
Fix For: 2.0.0.Alpha11
Currently Forge 2 UI API supports command-level validation, but we don't support
field-level validation, which would be useful for dev simplification/ease of use.
This may or may not be able to live on the base InputComponent interface, but more likely
it will need to be customized for each of UISelectOne, UISelectMany, UIInput, and
UIInputMany types.
{code}
public interface InputComponent<IMPLTYPE, VALUETYPE> extends
Faceted<HintsFacet>
{
Validator<VALUETYPE> getValidator();
IMPLTYPE setValidator(Validator<VALUETYPE>);
}
{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: