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, 2009 at 6:55 AM, Martin Letendre <letendre.mar...@gmail.com>wrote: > 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.com > >wrote: > > > > > 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> > > > </wicket:panel> > > > > > > > > > 2- The call to the component is > > > > > > <div wicket:id="actionMenuOne">actions</div> > > > > > > 3- The generated HTML by wicket is > > > > > > <div wicket:id="actionMenuOne" id="actionMenuOne1"> > > > <wicket:panel> > > > <div> > > > ... some code > > > </div> > > > </wicket:panel> > > > </div> > > > > > > 4- The tag <wicket:panel> is breaking some YUI javascript... > > > > > > *Question: * > > > > > > is there a way to exclude <wicket:panel> tag for this component but > keep > > > the <div wicket:id="actionMenuOne"> tag ? > > > > > > > > > > > > > > > > > > > > > -- > > > Martin Letendre > > > 4230 Wilson > > > Montréal, Qc > > > 514.690.8027 > > > > > > > > > > -- > > View this message in context: > > > http://www.nabble.com/exclude-%3Cwicket%3Apanel%3E-tp25678826p25678951.html > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > > -- > Martin Letendre > 4230 Wilson > Montréal, Qc > 514.690.8027 >