You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Balázs Palcsó (JIRA)" <ji...@apache.org> on 2018/10/10 06:21:00 UTC

[jira] [Commented] (TAP5-2075) Checkbox doesn't trigger VALIDATE event

    [ https://issues.apache.org/jira/browse/TAP5-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16644509#comment-16644509 ] 

Balázs Palcsó commented on TAP5-2075:
-------------------------------------

I have attached the clientside validation code for @AssertTrue I wrote back in 2014.
I never got to test it actually, but I though it might be helpful to finish this JIRA

> Checkbox doesn't trigger VALIDATE event
> ---------------------------------------
>
>                 Key: TAP5-2075
>                 URL: https://issues.apache.org/jira/browse/TAP5-2075
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3.6, 5.4
>            Reporter: Geoff Callender
>            Assignee: Thiago H. de Paula Figueiredo
>            Priority: Major
>              Labels: patch
>         Attachments: 0006-TAP5-2075-Checkbox-doesn-t-trigger-VALIDATE-event.patch, asserttrue.js
>
>
> Imagine a list of entries with a "delete" checkbox on each row.
> When submitted, I would like to validate each checked row to decide whether it is OK to delete.
> I can write an event handler, onValidateFromDelete(), but it will never be called because Checkbox doesn't bubble up the VALIDATE event.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)