that is not how resource/i18n works.
Then the keys in the property file has somehow the locale it it???

johan


On 8/17/06, sathya81 < [EMAIL PROTECTED]> wrote:

Thanq Johan, well iam able to solve my problem, but still i need to create
that number of property files based on the number of locales present, but it
wud have been better if only a single property file can be used for all the
locales...but i think its a bit silly idea to have a single property file
serving for all the locales ..any way..thanq
my mistake was i did not create home.properties file for Home.html page. so
wicket cud not load it.



Johan Compagner wrote:
>
> you don't need to have 4 html files
> We should rewrite that FormInput example asap for 2.0
> So that it uses property files and only have 1 markup file.
>
> johan
>
>
> On 8/17/06, sathya81 < [EMAIL PROTECTED]> wrote:
>>
>>
>> hi Juergen,
>>
>> I have gone through the examples, but i dont need that way, there they
>> create locale based html files, so if there are 4 locales, i need to
>> create
>> 4 html files for each locale, but in my i cannot do that, so i used the
>> <wicket:message key >tag. actually inthe index page ,(user login page),
>> wicket is loading the properties file as expected and it even displays
>> teh
>> whole path in the eclipse console, but once i submit,
>> i direct the user to home page, this is where i get a problem, wicket is
>> not
>> able to load the same properties file once again..
>>
>> I tried to use ResouceBundle to load the properties file in Home.class
>> but
>> wicket is not able to find out the path even though i hard coded it
>>
>> any help?
>>
>> sathya
>>
>> Juergen Donnerstag wrote:
>> >
>> > Did you look at wicket-examples already? The form example and the pub
>> > example both suppport multiple locales. There should be no need for
>> > you load the properties file explicitly not should you add a locale
>> > variable to the session.
>> >
>> > Juergen
>> >
>> >
>> -------------------------------------------------------------------------
>> > 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
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Internationalization-support-in-Wicket-tf2119658.html#a5846932
>> Sent from the Wicket - User forum at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> 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&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

--
View this message in context: http://www.nabble.com/Internationalization-support-in-Wicket-tf2119658.html#a5848594
Sent from the Wicket - User forum at Nabble.com.


-------------------------------------------------------------------------
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&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to