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: [email protected] For additional commands, e-mail: [email protected]
