You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Rüdiger Schulz (JIRA)" <ji...@apache.org> on 2007/03/12 14:48:09 UTC

[jira] Commented: (WICKET-347) Wicket tags inside Panel should be ignored

    [ https://issues.apache.org/jira/browse/WICKET-347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480091 ] 

Rüdiger Schulz commented on WICKET-347:
---------------------------------------

wicket:preview seems to be very nice; didn't know about this one before. However, the only information I could find are the blog entries by Ryan Sonnek (http://www.jroller.com/page/wireframe?entry=wicket_preview_with_one_javascript). Is this now somehow included in a current release / branch? I didn't find anything on the Wiki as well, at least http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html is not saying anything about it.

Wicket Bench also has some information on wicket:preview, however, my HTML designer is not working inside Eclipse (and on my setup, this didn't work, but that's another Issue).

> Wicket tags inside Panel should be ignored
> ------------------------------------------
>
>                 Key: WICKET-347
>                 URL: https://issues.apache.org/jira/browse/WICKET-347
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.2.5
>         Environment: Wicket 1.2.5
> JDK 1.5
>            Reporter: Rüdiger Schulz
>         Assigned To: Igor Vaynberg
>            Priority: Minor
>
> When inserting a panel into page, it's sufficient to put <div wicket:id="panelId"></div> in the page's markup, and the complete markup from the Panel will be inserted into the div tags.
> However, when working on the pure HTML as a designer, it is quite useful to copy the complete panel markup into the div tag, to have a complete preview in the browser without any rendering. This usually works, but when simply copying the markup from the panel markup to the page markup, Wicket stumbles over the additional wicket-tags pasted from the panel markup:
> <div wicket:id="panelId">
>   <span wicket:id="labelFromPanel">label_text</span>
> </div>
> This throws wicket.markup.MarkupException: Expected close tag for <div wicket:id="panelId">.
> It also happens e.g. with a <wicket:message>.
> As the span inside the div is irrelevant anyway (we're in the page-markup here), it would be nice if all markup inside panel references could simply be ignored, even if there are wicket tags inside.

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