[ 
https://issues.apache.org/jira/browse/WICKET-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Gardfjäll updated WICKET-1673:
------------------------------------

    Attachment: wicket-quickstart-collapsable-border.tar.gz

Quickstart project that contains sample code that illustrates the problem.

The following particular sequence of steps results in an exception being thrown:

1. Click "Inner border" link (i.e., collapse inner border)
2. Click "Outer border" link (collapse outer border)
3. Click "Outer border" link again (try to expand outer border) 

This results in "WicketMessage: Expected close tag for <div style="margin: 
10px;" wicket:id="innerBorder">" 

> Toggling visibility on nested Borders breaks page markup 
> ---------------------------------------------------------
>
>                 Key: WICKET-1673
>                 URL: https://issues.apache.org/jira/browse/WICKET-1673
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.3
>         Environment: Windows, Linux
>            Reporter: Peter Gardfjäll
>         Attachments: wicket-quickstart-collapsable-border.tar.gz
>
>
> The problem was discovered during the development of a reusable 
> CollapsableBorder component.
> The component is intended to be used to create collapsable sections on web 
> pages (clicking a link collapses/expands the section, i.e. the border 
> contents).
> The component works as expected, unless CollapsableBorders are nested inside 
> each other. In such cases collapsing an inner border, followed by a collapse 
> and expand operation on the outer border produces an exception.
> The problem is described in greater detail in the following thread from the 
> mailing list:
>   
> http://www.nabble.com/Problems-toggling-visibility-on-nested-borders-td17528668.html

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

Reply via email to