You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org> on 2009/12/25 15:31:29 UTC

[jira] Created: (EXTVAL-79) deactivate required initialization via web.xml context parameter

deactivate required initialization via web.xml context parameter
----------------------------------------------------------------

                 Key: EXTVAL-79
                 URL: https://issues.apache.org/jira/browse/EXTVAL-79
             Project: MyFaces Extensions Validator
          Issue Type: Improvement
          Components: Bean Validation, Core, Property Validation
    Affects Versions: 1.1.2, 1.1.1, 1.2.2, 1.2.1
            Reporter: Gerhard Petracek
            Priority: Minor


required initialization is useful in case of component libs like trinidad.
due to several dynamic features the next version of extval isn't compatible with the required attribute (within pages).
if there is no benefit from using metadata based required initialization, it's possible to deactivate it to get back the compatibility with the required attribute within pages.

web.xml:
<context-param>
    <param-name>org.apache.myfaces.extensions.validator.DEACTIVATE_REQUIRED_INITIALIZATION</param-name>
    <param-value>true</param-value>
</context-param>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (EXTVAL-79) deactivate required initialization via web.xml context parameter

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTVAL-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek resolved EXTVAL-79.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.3-SNAPSHOT
                   2.0.3-SNAPSHOT
                   1.2.3-SNAPSHOT

> deactivate required initialization via web.xml context parameter
> ----------------------------------------------------------------
>
>                 Key: EXTVAL-79
>                 URL: https://issues.apache.org/jira/browse/EXTVAL-79
>             Project: MyFaces Extensions Validator
>          Issue Type: Improvement
>          Components: Bean Validation, Core, Property Validation
>    Affects Versions: 1.2.3-SNAPSHOT, 2.0.3-SNAPSHOT, 1.1.3-SNAPSHOT
>            Reporter: Gerhard Petracek
>            Priority: Minor
>             Fix For: 1.2.3-SNAPSHOT, 2.0.3-SNAPSHOT, 1.1.3-SNAPSHOT
>
>
> required initialization is useful in case of component libs like trinidad.
> due to several dynamic features the next version of extval isn't compatible with the required attribute (within pages).
> if there is no benefit from using metadata based required initialization, it's possible to deactivate it to get back the compatibility with the required attribute within pages.
> web.xml:
> <context-param>
>     <param-name>org.apache.myfaces.extensions.validator.DEACTIVATE_REQUIRED_INITIALIZATION</param-name>
>     <param-value>true</param-value>
> </context-param>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (EXTVAL-79) activate required initialization

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTVAL-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek resolved EXTVAL-79.
------------------------------------

    Resolution: Fixed

> activate required initialization
> --------------------------------
>
>                 Key: EXTVAL-79
>                 URL: https://issues.apache.org/jira/browse/EXTVAL-79
>             Project: MyFaces Extensions Validator
>          Issue Type: Improvement
>          Components: Bean Validation, Core, Property Validation
>    Affects Versions: 1.2.3-SNAPSHOT, 2.0.3-SNAPSHOT, 1.1.3-SNAPSHOT
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>            Priority: Minor
>             Fix For: 1.2.3-SNAPSHOT, 2.0.3-SNAPSHOT, 1.1.3-SNAPSHOT
>
>
> required initialization is useful in case of component libs like trinidad.
> by default it's deactivated to avoid issues in combination with dynamic meta-data and severity aware validation.
> so it's required to activate it manually via
> web.xml:
> <context-param>
>     <param-name>org.apache.myfaces.extensions.validator.ACTIVATE_REQUIRED_INITIALIZATION</param-name>
>     <param-value>true</param-value>
> </context-param>
> or within an extval startup listener:
> ...
> ExtValContext.getContext().addGlobalProperty("init:required", Boolean.TRUE);
> ...
> *** with trinidad ***
> if you are using the trinidad support module it gets activated automatically.
> so the required attribute of input components (used within pages) will be ignored.
> if you don't need features like severity aware validation, you can re-introduce the support for the required attribute via:
> web.xml:
> <context-param>
>     <param-name>org.apache.myfaces.extensions.validator.ACTIVATE_REQUIRED_INITIALIZATION</param-name>
>     <param-value>false</param-value>
> </context-param>
> or a custom add-on

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (EXTVAL-79) deactivate required initialization via web.xml context parameter

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTVAL-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek reopened EXTVAL-79:
------------------------------------

      Assignee: Gerhard Petracek

> deactivate required initialization via web.xml context parameter
> ----------------------------------------------------------------
>
>                 Key: EXTVAL-79
>                 URL: https://issues.apache.org/jira/browse/EXTVAL-79
>             Project: MyFaces Extensions Validator
>          Issue Type: Improvement
>          Components: Bean Validation, Core, Property Validation
>    Affects Versions: 1.2.3-SNAPSHOT, 2.0.3-SNAPSHOT, 1.1.3-SNAPSHOT
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>            Priority: Minor
>             Fix For: 1.2.3-SNAPSHOT, 2.0.3-SNAPSHOT, 1.1.3-SNAPSHOT
>
>
> required initialization is useful in case of component libs like trinidad.
> due to several dynamic features the next version of extval isn't compatible with the required attribute (within pages).
> if there is no benefit from using metadata based required initialization, it's possible to deactivate it to get back the compatibility with the required attribute within pages.
> web.xml:
> <context-param>
>     <param-name>org.apache.myfaces.extensions.validator.DEACTIVATE_REQUIRED_INITIALIZATION</param-name>
>     <param-value>true</param-value>
> </context-param>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.