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
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:
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
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 :
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?
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
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
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
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
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
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 İş
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
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
Hey, I have something like that implemented in the following way:
@Override
protected ListAbstractLink newSubMenuButtons(String
buttonMarkupId) {
ListAbstractLink languages = new
ArrayListAbstractLink();
14 matches
Mail list logo