Re: submenu in NavbarDropDownButton

2014-12-18 Thread Martin Grigorov
Hi, Yes, you can. But in this case instead of playing with #onComponentTagBody() it would be better to use an hierarchly like: Link - Image - Label The HTML markup would look like: a wicket:id=linkimg wicket:id=flag/span wicket:id=label/span/a Martin Grigorov Wicket Training and

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Hasan Çelik
Thanks for reply, Can you give detail about getCookieUtils() and CCA_LANGUAGE_COOKIE_NAME in your CcaWebApplication class Regards, On 17 December 2014 at 09:06, Richter, Marvin marvin.rich...@freenetdigital.com wrote: Hey, I have something like that implemented in the following way:

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Martin Grigorov
I guess his code just uses Wicket's CookieUtils class. See https://github.com/apache/isis/blob/master/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/widgets/themepicker/ThemeChooser.java#L94-L105 for example. Martin Grigorov Wicket Training and Consulting

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Hasan Çelik
Thanks Martin, I am newbie for wicket... It may be easy error for you but I didn't understand...Why am I getting this error? Which dependencies should I add in pom.xml ? If I change the codes like that, I am getting error, ​ [image: Inline images 1] [image: Inline images 2] Web Sitesi :

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Francois Meillet
What is the error, any stacktrace ? François Meillet Formation Wicket - Développement Wicket Le 17 déc. 2014 à 11:55, Hasan Çelik hsnclk1...@gmail.com a écrit : Thanks Martin, I am newbie for wicket... It may be easy error for you but I didn't understand...Why am I getting this error?

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Hasan Çelik
there is a compile error on the first image.. Web Sitesi : www.ab-hibe.com E-mail: hasance...@berkadem.com E-mail: i...@ab-hibe.com Gsm1: 0 544 640 96 25 Adres : 1271. Sokak 33/14 Sabri Mermutlu İş Merkezi Balgat Ankara On 17 December 2014 at 13:03, Francois Meillet francois.meil...@gmail.com

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Francois Meillet
which is ? François Meillet Formation Wicket - Développement Wicket Le 17 déc. 2014 à 12:11, Hasan Çelik hsnclk1...@gmail.com a écrit : there is a compile error on the first image.. Web Sitesi : www.ab-hibe.com E-mail: hasance...@berkadem.com E-mail: i...@ab-hibe.com Gsm1: 0 544

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Ernesto Reinaldo Barreiro
images did not make it... On Wed, Dec 17, 2014 at 11:11 AM, Hasan Çelik hsnclk1...@gmail.com wrote: there is a compile error on the first image.. Web Sitesi : www.ab-hibe.com E-mail: hasance...@berkadem.com E-mail: i...@ab-hibe.com Gsm1: 0 544 640 96 25 Adres : 1271. Sokak 33/14 Sabri

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Hasan Çelik
getCookieUtils() method... ??? Does it make sense now? [image: Inline images 1] Web Sitesi : www.ab-hibe.com E-mail: hasance...@berkadem.com E-mail: i...@ab-hibe.com Gsm1: 0 544 640 96 25 Adres : 1271. Sokak 33/14 Sabri Mermutlu İş Merkezi Balgat Ankara On 17 December 2014 at 13:13, Ernesto

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Martin Grigorov
Try by uploading the images to some web service. It seems the mail server removes them ... Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Dec 17, 2014 at 1:58 PM, Hasan Çelik hsnclk1...@gmail.com wrote: getCookieUtils() method... ??? Does it make sense

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Hasan Çelik
I think, you can not see the images, sorry about that https://unsee.cc/nupibero/ https://unsee.cc/donebuga/ https://unsee.cc/bizumaso/ Web Sitesi : www.ab-hibe.com E-mail: hasance...@berkadem.com E-mail: i...@ab-hibe.com Gsm1: 0 544 640 96 25 Adres : 1271. Sokak 33/14 Sabri Mermutlu İş

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Martin Grigorov
What code do you have at BasePage.java, line 209 ? It calls #getString() with en as resource key. And you have no en key in YourApplication.properties. Read http://wicket.apache.org/guide/guide/i18n.html about internationalization. Martin Grigorov Wicket Training and Consulting

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Hasan Çelik
You're awesome :) thanks a lot, I understand my mistake..In my properties file english refers gb but in the codes I wrote en ... Martin can I add country's flag near the turkish and english button?? only tr=Turkish gb=English Web Sitesi : www.ab-hibe.com E-mail: hasance...@berkadem.com

RE: submenu in NavbarDropDownButton

2014-12-16 Thread Richter, Marvin
Hey, I have something like that implemented in the following way: @Override protected ListAbstractLink newSubMenuButtons(String buttonMarkupId) { ListAbstractLink languages = new ArrayListAbstractLink();