tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Blatecky (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2122) visible() on empty <div> is false; prevents valiation of Palette component
Date Wed, 05 Jun 2013 09:58:21 GMT

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

Julien Blatecky commented on TAP5-2122:
---------------------------------------

Everything is visible() or deepVisible() now, because it is display:none or visibility:hidden
but not display:hidden.
                
> visible() on empty <div> is false; prevents valiation of Palette component
> --------------------------------------------------------------------------
>
>                 Key: TAP5-2122
>                 URL: https://issues.apache.org/jira/browse/TAP5-2122
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Blocker
>              Labels: jquery, validation
>             Fix For: 5.4
>
>
> Noticed that required validation for Palette was not working; a little debugging shows
that the validation disabled because the <select> element is not deepVisible().
> The enclosing div.t-palette is not jQuery.is(":visible"); that's because it has no text
content (I believe), just a hidden field and nested divs.
> The correct solution is that visible() should be based on the CSS "display" property
not being "hidden".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message