[ https://issues.apache.org/jira/browse/WICKET-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1789. ----------------------------------- Resolution: Fixed Fix Version/s: 1.4-M4 1.3.5 Assignee: Igor Vaynberg > Border fails to render if its contents are not visible by default > ----------------------------------------------------------------- > > Key: WICKET-1789 > URL: https://issues.apache.org/jira/browse/WICKET-1789 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.4-M3 > Reporter: Martin Makundi > Assignee: Igor Vaynberg > Fix For: 1.3.5, 1.4-M4 > > Attachments: border-bug-quickstart.zip > > Original Estimate: 0.08h > Remaining Estimate: 0.08h > > If the "contents" -element is visible=false during the first time the page is > loaded, Wicket crashes > <wicket:border> > <fieldset style="padding: 0px;"> > <legend> > <input type="button" wicket:id="toggle_contents_button" value="Click > here to show/hide"> > <span wicket:id="legend"></span> > </legend> > > <span wicket:id="contents"> > <wicket:body /> > </span> > > </fieldset> > </wicket:border> > Unexpected RuntimeException: > WicketMessage: Expected close tag for <span id="show_hide_bordera" > wicket:id="show-hide-border"> > [markup = > file:/C:/workspaces/testspace/border-bug/target/classes/org/wicket/quickstart/HomePage.html > <html> > <head> > <title>Wicket Quickstart Archetype Homepage</title> > </head> > <body> > <strong>Wicket Quickstart Archetype Homepage</strong> > <br/><br/> > <span wicket:id="message">message will be here</span> > Show-hide -content: > <form wicket:id="form"> > <span wicket:id="show-hide-border">Rendering the border crashes if its > contents are hidden by default.</span> > </form> > </body> > </html> > , index = 12, current = [Raw markup]] > Root cause: > org.apache.wicket.markup.MarkupException: Expected close tag for <span > id="show_hide_bordera" wicket:id="show-hide-border"> > [markup = > file:/C:/workspaces/testspace/border-bug/target/classes/org/wicket/quickstart/HomePage.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.