[ 
https://issues.apache.org/jira/browse/WICKET-2867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870786#action_12870786
 ] 

Juergen Donnerstag commented on WICKET-2867:
--------------------------------------------

I'm not in favor of the idea. It's very little work to add <wicket:panel> with 
the big pro that it's easy for any user to identify the markup as related to a 
Panel. 

Please have a look at org.apache.wicket.markup.html.panel.Fragment which are a 
much better solution for small snippets.

Juergen

> Don't strictly require <wicket:panel> in panel markup
> -----------------------------------------------------
>
>                 Key: WICKET-2867
>                 URL: https://issues.apache.org/jira/browse/WICKET-2867
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.4.8
>            Reporter: Ondra Žižka
>            Priority: Minor
>
> When using a simple HTML snippet in a file for a panel, Wicket complains:
>    Expected the open tag. Markup for a panel component has to contain part 
> '<wicket:panel>'
> I think this is not necessary, and is not "as simple as it gets". Why not use 
> the whole file if <wicket:panel> is not found?
> I am rewriting my site to wicket, and I have many such snippets. It would be 
> nice if I didn't have to go through each single one just to add 
> <wicket:panel>.
> Thanks for considering :-)
> Ondra

-- 
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