Well, the problem is that XHTML has no concept of:

<tag/>

        versus

<tag>
</tag>

        As far as I can tell, it views them as identical. Wicket is
introducing this foreign concept because it wants to make it clear that
<tag> can *never* have a body and to hint otherwise is wrong. Fine, I
agree.

        But maybe we can say: "wicket.markup.MarkupException: A panel
declaration must be an empty-tag of the format <tag/>"?

Gili

On Tue, 04 Jan 2005 21:17:00 +0100, Eelco Hillenius wrote:

>Though, "A panel tag may not have a body", would suggest that <span 
>id="wicket-mypanel"></span> also is correct (which it is not).
>
>Open/close tag means that you have a tag like: <span 
>id="wicket-mypanel"/>. It has been clear to me from the beginning that 
>this was meant with open/close tag. Are there any better names for it?
>
>Eelco
>
>
>Gili wrote:
>
>>Hi,
>>
>>      I just got this exception:
>>
>>wicket.markup.MarkupException: A panel must be referenced by an
>>openclose tag.
>>[markup =
>>file:/C:/Program%20Files/wicket-examples-0.9.16-beta/src/Netbeans4.0/bui
>>ld/web/WEB-INF/classes/com/be/desktopbeautifier/web/Main.html, index =
>>1, current = '<wicket:component name="box"
>>class="wicket.markup.html.panel.RoundCornerPanel" width="100%">' (line
>>7, colum
>>5)]
>>      wicket.markup.MarkupStream.throwMarkupException(MarkupStream.jav
>>a:216)
>>      wicket.markup.html.panel.Panel.handleRender(Panel.java:77)
>>      wicket.Component.render(Component.java:629)
>>      wicket.markup.WicketTagComponentResolver.resolve(WicketTagCompon
>>entResolver.java:69)
>>      wicket.Container.renderNext(Container.java:843)
>>      wicket.Container.renderAll(Container.java:670)
>>      wicket.Page.handleRender(Page.java:232)
>>      wicket.Component.render(Component.java:629)
>>      wicket.Page.render(Page.java:179)
>>      wicket.protocol.http.HttpRequestCycle.handleRender(HttpRequestCy
>>cle.java:140)
>>      wicket.RequestCycle.render(RequestCycle.java:302)
>>      wicket.protocol.http.HttpApplication.doGet(HttpApplication.java:
>>108)
>>      javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>      javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>      org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(M
>>onitorFilter.java:362)
>>
>>      You should really clarify the term "openclose tag" because it
>>isn't clear. Maybe a better term is "bodyless tag". You should say
>>something along the lines of: "A panel tag may not have a body". It is
>>far clearer.
>>
>>Gili
>>
>>
>>
>>-------------------------------------------------------
>>The SF.Net email is sponsored by: Beat the post-holiday blues
>>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
>>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
>>_______________________________________________
>>Wicket-develop mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/wicket-develop
>>  
>>
>
>
>
>-------------------------------------------------------
>The SF.Net email is sponsored by: Beat the post-holiday blues
>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
>_______________________________________________
>Wicket-develop mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/wicket-develop
>




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to