You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org> on 2010/09/07 11:54:33 UTC

[jira] Commented: (TRINIDAD-1906) Client Validation igonred with tag

    [ https://issues.apache.org/jira/browse/TRINIDAD-1906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906724#action_12906724 ] 

Matthias Weßendorf commented on TRINIDAD-1906:
----------------------------------------------

One solution could be to have a custom taghandler for f:ajax, which hooks up the correct Trinidad logic.

However the same issue would be still present, if page authors call directly jsf.ajax.request(); (or 3rd party libraries)

> Client Validation igonred with <f:ajax> tag
> -------------------------------------------
>
>                 Key: TRINIDAD-1906
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1906
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.0.3-core
>            Reporter: Matthias Weßendorf
>
> Have a form like:
> ...
>     <tr:form....>
>       <tr:panelFormLayout>
>         <tr:inputText id="ajax" label="Field 1:">
>           <f:ajax event="change" />
>         </tr:inputText>
>         <tr:inputText id="ppr" label="Field 2:" required="true">
>         </tr:inputText>
>       </tr:panelFormLayout>
>     </tr:form>
> ...
> Go to field1, type and TAB out:
> => An ajax request is queued and send down to the server
> In Trinidad (with autosubmit, instead of f:ajax) you'd see a warning that "Field 2" is required

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