Thanks a lot. I just added the buttons.

Eelco


On 5/14/06, Takeshi Matsuba <[EMAIL PROTECTED]> wrote:

Hi.

Thank you for your advice about encoding.

Now,I localize buttons too.
please see followed diff output.


***************
*** 59,64 ****
--- 59,72 ----
                imgReset.setFont(font);
                getSharedResources().add("save", Locale.SIMPLIFIED_CHINESE, 
imgSave);
                getSharedResources().add("reset", Locale.SIMPLIFIED_CHINESE, 
imgReset);
+
+               Font fontJa = new Font("Serif", Font.BOLD, 16);
+               DefaultButtonImageResource imgSaveJa = new 
DefaultButtonImageResource("\u4fdd\u5b58");
+               imgSaveJa.setFont(fontJa);
+               DefaultButtonImageResource imgResetJa = new 
DefaultButtonImageResource("\u30ea\u30bb\u30c3\u30c8");
+               imgResetJa.setFont(fontJa);
+               getSharedResources().add("save", Locale.JAPANESE, imgSaveJa);
+               getSharedResources().add("reset", Locale.JAPANESE, imgResetJa);
        }

        /**




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to