Re: How to add image in the panel class

2018-01-04 Thread extraquoo
I am adding the img tag in the i18n xml with key-value by using 

Re: How to add image in the panel class

2018-01-03 Thread Tobias Soloschenko
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 :
> 
> I want to add an image icon inline the title of the panel like below
>  
> 
> the panel HTML is using the tag  to render the panel class
> 
> HTML :
> 
>
>..(verbiages) 
>
>
> 
> 
> 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: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


How to add image in the panel class

2018-01-03 Thread extraquoo
I want to add an image icon inline the title of the panel like below
 

the panel HTML is using the tag  to render the panel class

HTML :


..(verbiages) 




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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org