Trinidad already has essentially the same functionality - input components
can be marked as autoSubmit, at which point tabbing out will automatically
trigger a server-side submit, and error messages will be automatically
inserted into tr:messages, if present.  (There's an existing bug where
the inline messages don't show up).

-- Adam


On 3/1/07, Peter Muir <[EMAIL PROTECTED]> wrote:

On 28/02/07, Danny Robinson <[EMAIL PROTECTED]> wrote:
> Would there be support for an enhancement to the client-side validation
so
> that it behaves in the same way as the server-side logic?  Meaning, we'd
get
> rid of the javascript alert dialog and instead dyanamically show/hide
the
> error messages in the page.

You should look at the way this is done in A4J - the server side
validators are used: the onblur of the input causes it's value to be
sent, and then rendering any error messages (in the normal places),
again using ajax.  Very neat IMO.

Pete

Reply via email to