ywtsang wrote: > when I have wicket component tags inside a wicket:remove tag, the wicket > complains as error: > Markup remove regions must not contain Wicket component tags > > e.g. > <wicket:remove> > test > </wicket:remove> > > is there any configuration that allows the wicket to just accept any kind of > "content" in the wicket:remove ? i.e. it can allow wicket component tags > just ignore them when parsed by wicket > > we want this because we think that the content inside wicket:remove should > have no processing logic at all, just for preview purpose, and so we want it > to accept any kinds of tag inside.
<wicket:remove> causes Wicket to remove anything inside it. So why would you want to put Wicket components inside it? If you are putting things in there for "preview purpose" why do they need to be Wicket tags? Wicket tags won't show up when you preview the markup in a browser. That just doesn't make any sense. If you want to use this for commenting things out while developing, use HTML comments. Otherwise, I really can't see what possible problem you could have that you're trying to solve with this. Al -- Alastair Maw Wicket-biased blog at http://herebebeasties.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user