Hi, I would wrap the panel tag around the div and apply a class to it. For the inline icon you can use the CssUrlReplacer with ?embedBase64. See:
https://ci.apache.org/projects/wicket/guide/7.x/single.html#_cssheaderitem_and_javascriptheaderitem_compression If you would like the image to be in the HTML content you can use InlineImage: https://ci.apache.org/projects/wicket/guide/7.x/single.html#_inline_image_embedded_resource_reference_content kind regards Tobias > Am 03.01.2018 um 20:23 schrieb extraquoo <[email protected]>: > > I want to add an image icon inline the title of the panel like below > <http://apache-wicket.1842946.n4.nabble.com/file/t375760/ADA_mockup.png> > > the panel HTML is using the tag <wicket:panel> to render the panel class > > HTML : > <div style="margin-left: auto; margin-right: auto;"> > <wicket:panel> > ..............(verbiages) > </wicket:panel> > </div> > > > then the corresponding class extends the Panel : > > public class AmericansWithDisabilitiesPanel extends Panel { > private static final long serialVersionUID = 1L; > public AmericansWithDisabilitiesPanel(String pWicketId) { > super(pWicketId); > } > } > > > Is there any way to add the image to the panel title? > > > -- > Sent from: > http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
