Re: exclude wicket:panel

2009-09-30 Thread Alex Objelean
In your Application class add the following line: getMarkupSettings().setStripWicketTags(true); Martin Letendre wrote: Don't display the wicket:panel tag 1- I am using a wicket panel to create a component here is the code. wicket:panel div ... some code /div

Re: exclude wicket:panel

2009-09-30 Thread Pedro Santos
maybe you want have an custom WicketNamespaceHandler On Wed, Sep 30, 2009 at 8:01 AM, Alex Objelean alex_objel...@yahoo.comwrote: In your Application class add the following line: getMarkupSettings().setStripWicketTags(true); Martin Letendre wrote: Don't display the wicket:panel tag

Re: exclude wicket:panel

2009-09-30 Thread Martin Letendre
My component is ment to be distribute to a third party. I have no access to the Application class. Is there a way to apply the same behavior to a single component... On Wed, Sep 30, 2009 at 7:01 AM, Alex Objelean alex_objel...@yahoo.comwrote: In your Application class add the following line:

Re: exclude wicket:panel

2009-09-30 Thread Pedro Santos
take a look at how GMap2 component resolve that problem: /** * @see org.apache.wicket.MarkupContainer#onRender(org.apache.wicket.markup.MarkupStream) */ @Override protected void onRender(MarkupStream markupStream) { super.onRender(markupStream); if

Re: exclude wicket:panel

2009-09-30 Thread Jeremy Thomerson
If you're distributing it to third parties, it's really their problem - in that this will be universal for all components in their app. If they don't want the tags there, they will strip them (which is default in production). -- Jeremy Thomerson http://www.wickettraining.com On Wed, Sep 30,