You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Eric Meyer (JIRA)" <ji...@apache.org> on 2006/03/10 14:06:41 UTC

[jira] Commented: (COCOON-1570) fi:validation-errors styling element does not work in AJAX mode

    [ http://issues.apache.org/jira/browse/COCOON-1570?page=comments#action_12369852 ] 

Eric Meyer commented on COCOON-1570:
------------------------------------

Hello Jean-Baptiste. I have not been able to yet. My solution was to switch the form to non-ajax mode on the final forms submission. This also has the nice benefit of scrolling the page to the top (where the validation-errors are displayed). However, Sylvain didn't like my patch to make various widgets non-ajax (http://issues.apache.org/jira/browse/COCOON-1774).

I'd still like to fix 1570, but I am in the midst of a release this week, so I'm not sure when I'd get to it. Thank you for checking in with me.

> fi:validation-errors styling element does not work in AJAX mode
> ---------------------------------------------------------------
>
>          Key: COCOON-1570
>          URL: http://issues.apache.org/jira/browse/COCOON-1570
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms
>     Versions: 2.1.8
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Jason Johnston
>     Assignee: Jean-Baptiste Quenot

>
> The <fi:validation-errors/> styling element does not work in AJAX mode, because
> it is not generated by a template element and therefore has no way to signal
> whether or not it needs to be updated.
> An equivalent template "ft:" element should be created to replace the current
> "fi:" element, which creates its own instance representation with the optional
> bu:replace wrapper when necessary.
> See the following threads for discussion:
> http://marc.theaimsgroup.com/?t=112292921500001&r=1&w=2
> http://marc.theaimsgroup.com/?t=112297470700001&r=1&w=2

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira