[forge-issues] [JBoss JIRA] (FORGE-893) UIInput<?> should support setValidator(UIIInputValidator) getValidator() for input-level-validation

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Wed May 8 13:28:53 EDT 2013


     [ https://issues.jboss.org/browse/FORGE-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lincoln Baxter III updated FORGE-893:
-------------------------------------

    Description: 
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}

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


    
> 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: Story
>          Components: UI - Eclipse, UI - IntelliJ IDEA, UI - Shell
>    Affects Versions: 2.0.0.Alpha3
>            Reporter: Lincoln Baxter III
>
> 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: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list