Re: Localization of PageParameters

2017-07-12 Thread Ravi
Hi Martin, here's the Ticket https://issues.apache.org/jira/browse/WICKET-6419 Thank you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Localization-of-PageParameters-tp4678221p4678229.html Sent from the Users forum mailing list archive at Nabble.com

Re: Localization of PageParameters

2017-07-11 Thread Martin Grigorov
or taking the time, > > Ravi > > -- > View this message in context: http://apache-wicket.1842946. > n4.nabble.com/Localization-of-PageParameters-tp4678221.html > Sent from the Users forum mailing list archive at Nabble.com. > > -

Localization of PageParameters

2017-07-11 Thread Ravi
/java/org/apache/wicket/util/string/StringValue.java#L186> for the StringValue implementation. Thank you for taking the time, Ravi -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Localization-of-PageParameters-tp4678221.html Sent from the Users forum mailing

Re: Wizard localization

2015-12-12 Thread Maxim Solodovnik
Works as expected, Thanks a lot Sebastien! On Sat, Dec 12, 2015 at 9:31 PM, Tobias Soloschenko < tobiassolosche...@googlemail.com> wrote: > Great Job! > > kind regards > > Tobias > > > Am 12.12.2015 um 16:13 schrieb Sebastien : > > > > Hi Maxim, > > > > Wicket jQuery UI

Re: Wizard localization

2015-12-12 Thread Sebastien
Hi Maxim, Wicket jQuery UI 7.1.1-SNAPSHOT & 6.21.1-SNAPSHOT have been deployed. Enjoy! :) Sebastien. On Fri, Dec 11, 2015 at 4:29 PM, Maxim Solodovnik wrote: > Great, thanks a lot! > >

Re: Wizard localization

2015-12-12 Thread Tobias Soloschenko
Great Job! kind regards Tobias > Am 12.12.2015 um 16:13 schrieb Sebastien : > > Hi Maxim, > > Wicket jQuery UI 7.1.1-SNAPSHOT & 6.21.1-SNAPSHOT have been deployed. > > Enjoy! :) > Sebastien. > > On Fri, Dec 11, 2015 at 4:29 PM, Maxim Solodovnik >

Re: Wizard localization

2015-12-11 Thread Maxim Solodovnik
I actually don't really like the idea I can broke anything with changing resolver order :( Maybe it would be possible to modify Wizard? I believe this change will made it more flexible WDYT? On Fri, Dec 11, 2015 at 3:15 AM, Sebastien wrote: > Hi Martin, > > > I think

Re: Wizard localization

2015-12-11 Thread Maxim Solodovnik
Great, thanks a lot! WBR, Maxim (from mobile, sorry for the typos) On Dec 11, 2015 21:11, "Sebastien" wrote: > Fine, I will deploy snapshot this WE... > > On Fri, Dec 11, 2015 at 3:57 PM, Maxim Solodovnik > wrote: > > > Snapshot is OK, > > I guess 7.2.0

Re: Wizard localization

2015-12-11 Thread Maxim Solodovnik
Snapshot is OK, I guess 7.2.0 will be released in Dec,Jan :) WBR, Maxim (from mobile, sorry for the typos) On Dec 11, 2015 20:42, "Sebastien" wrote: > Hi Maxim, > > I have changed for AbstractWizard according to Martin's comment, it works > very well! :) > Will a snapshot

Re: Wizard localization

2015-12-11 Thread Sebastien
Fine, I will deploy snapshot this WE... On Fri, Dec 11, 2015 at 3:57 PM, Maxim Solodovnik wrote: > Snapshot is OK, > I guess 7.2.0 will be released in Dec,Jan :) > > WBR, Maxim > (from mobile, sorry for the typos) >

Re: Wizard localization

2015-12-11 Thread Sebastien
Hi Maxim, I have changed for AbstractWizard according to Martin's comment, it works very well! :) Will a snapshot version be ok for you or do you need a release (7.1.1)? Thanks & best regards, Sebastien. On Fri, Dec 11, 2015 at 3:06 PM, Maxim Solodovnik wrote: > I

Re: Wizard localization

2015-12-10 Thread Martin Grigorov
have question regarding jqueryui wizard button localization, I need to > localize "Finish" button > I have added string on "Application" level (Application.properties.xml > file) > bla-bla > and seems to have no effect > > this http://www.7thweb.net/wicket

Re: Wizard localization

2015-12-10 Thread Sebastien
Hi Martin, > I think Wizard[_lang].properties should be moved to org/apache/wicket/extensions/Initializer[_lang].properties I didn't know (or absolutely forgot) about Initializer[_lang].properties! It is a better solution IMO, I will change this in AbstractWizard (Wicket jQuery UI)... You're are

Re: Wizard localization

2015-12-10 Thread Maxim Solodovnik
Thanks Sebastien :) Hello All, I would like to redefine wizard button on "Application level", maybe someone can suggest how it can be possible to redefine string resource resolution order? Here is the original question: I have question regarding jqueryui wizard button localizati

Localization questions

2015-02-26 Thread Maxim Solodovnik
Hello All, I have couple of questions related to localization: 1) is there any way to list all available locales in Application? let's say I have Application.properties.xml, Application_de.properties.xml, Application_ru.properties.xml, I would like to get list of Locale.EN, Locale.DE, Locale.RU

Re: Localization questions

2015-02-26 Thread Tobias Soloschenko
of questions related to localization: 1) is there any way to list all available locales in Application? let's say I have Application.properties.xml, Application_de.properties.xml, Application_ru.properties.xml, I would like to get list of Locale.EN, Locale.DE, Locale.RU in such case, is it possible

Re: Localization questions

2015-02-26 Thread Sven Meier
2) Wicket's Localizer offers several methods with locale parameter, you can get it via component.getLocalizer(). Sven On 26.02.2015 12:22, Maxim Solodovnik wrote: Hello All, I have couple of questions related to localization: 1) is there any way to list all available locales in Application

Re: Localization questions

2015-02-26 Thread Tobias Soloschenko
: Hello All, I have couple of questions related to localization: 1) is there any way to list all available locales in Application? let's say I have Application.properties.xml, Application_de.properties.xml, Application_ru.properties.xml, I would like to get list of Locale.EN, Locale.DE

Re: Localization questions

2015-02-26 Thread Maxim Solodovnik
) Wicket's Localizer offers several methods with locale parameter, you can get it via component.getLocalizer(). Sven On 26.02.2015 12:22, Maxim Solodovnik wrote: Hello All, I have couple of questions related to localization: 1) is there any way to list all available locales in Application

Re: Wicket localization in stateful pages

2013-11-17 Thread meduolis
Thanks for help, I used this example to make localization work as I wanted: http://www.wicket-library.com/wicket-examples-6.0.x/pub/?0 It does not reload page after setting new locale, so no new page version is created and when you navigate back, using browser, locale stays the same. Also I had

Re: Wicket localization in stateful pages

2013-11-13 Thread Martin Grigorov
So I tried to pass it using page parameters. Also, I have updated dynamic label model to LoadableDetachableModel. This is an option for you. See http://www.wicket-library.com/wicket-examples-6.0.x/mappers/en_US There are three links (EN, DE and BG). The demo uses LocaleFirstMapper to set the

Re: Wicket localization in stateful pages

2013-11-12 Thread Martin Grigorov
On Mon, Nov 11, 2013 at 7:02 PM, meduolis meduol...@gmail.com wrote: Storing it in page will not work as it will reset each time I call setResponsePage. Storing it in data base will not work also, because locale will became global for all visitors. So I tried to pass it using page

Re: Wicket localization in stateful pages

2013-11-12 Thread meduolis
Those are screenshots taken from quickstart project I have provided: 1. (0 page version) We enter the page. Default locale is EN. Everything are localized in english because locale is correct for all components http://apache-wicket.1842946.n4.nabble.com/file/n4662342/1-enterTheSite.jpg 2. (1

Re: Wicket localization in stateful pages

2013-11-11 Thread Sven Meier
The back-button brings you back to the previous state of the component tree. If your page is depending on external state (e.g. session or database content) for rendering, it will of course show the most recent data wherever you have told it so (by using a model). Regards Sven On 11/10/2013

Re: Wicket localization in stateful pages

2013-11-11 Thread Martin Grigorov
Hi, As Sven explained 2. new Label(contentNoModel, resolveLocalizedContent()); doesn't use dynamic model (a model that will re-calculate its object/value on each request). It initializes the value of the label at construction time and from there on this value doesn't change. See

Re: Wicket localization in stateful pages

2013-11-11 Thread meduolis
Hi Martin, so, if I want browser back action to show the same result, I have to choose between components with static models or components with dynamic models only? Because if I use different types I will get different results when backing to older page version? I am really not getting the thing

Re: Wicket localization in stateful pages

2013-11-11 Thread Martin Grigorov
Hi meduolis, I hope you know what http session is. It doesn't matter how you get to a page (via a normal (forward) link or via back button), when you read an attribute value from the session it will be the same. In your case the dynamic models use the session's locale to decide which i18n

Re: Wicket localization in stateful pages

2013-11-11 Thread meduolis
So, back button does not restore locale value in session? Ok, I will be more specific: *action 1.* I click link switchLanguageToEN; (VERSION 1) (both labels (with static and dynamic models) updates to english); *action 2.* I click link switchLanguageToDE; (VERSION 2)(... updates to german);

Re: Wicket localization in stateful pages

2013-11-11 Thread Sven Meier
Is there a way to restore locale for dynamic models when navigating between page versions? Whenever the locale is changed, put it in the session and store it in the page too. Override #getLocale() and return whatever is stored as the page's locale. Sven On 11/11/2013 04:24 PM, meduolis

Re: Wicket localization in stateful pages

2013-11-11 Thread meduolis
Storing it in page will not work as it will reset each time I call setResponsePage. Storing it in data base will not work also, because locale will became global for all visitors. So I tried to pass it using page parameters. Also, I have updated dynamic label model to LoadableDetachableModel.

Wicket localization in stateful pages

2013-11-10 Thread meduolis
I have noticed that localization does not work for wicket when pages versioning happens. Let say I have three components in my page: 1. wicket:message key=localizedResouceKey / 2. new Label(contentNoModel, resolveLocalizedContent()); 3. new Label(contentWithModel , new Model() { getObect

Re: Wicket localization in stateful pages

2013-11-10 Thread Sven Meier
Hi, your quickstart works fine: When you press the back button, the locale in the session stays on its last selection. Thus the dynamic localization in 1 and 3 stays on the current locale, while 2 show the previous locale, which was selected when the component was constructed. Regards Sven

Re: Wicket localization in stateful pages

2013-11-10 Thread meduolis
Exactly, I am really confused now. As I understand from your answer - this is expected behavior. I thought that back action should behave exactly the same when you navigating the site using wicket controls. Should I override back action somehow and do it myself? -- View this message in

Re: Brazilian Portuguese localization question

2013-07-18 Thread Sven Meier
Hi, that should work. Put a breakpoint on Session#locale and check whether the locale is picked up correctly. Sven On 07/18/2013 07:13 AM, Maxim Solodovnik wrote: Hello All, I'm trying to provide Brazilian Portuguese localization for our wicket based application by appending _pt_BR

Re: Brazilian Portuguese localization question

2013-07-18 Thread Maxim Solodovnik
Solodovnik wrote: Hello All, I'm trying to provide Brazilian Portuguese localization for our wicket based application by appending _pt_BR to the names of html template files like this: CongratulationsPanel_pt_BR.**html surprisingly after adding portuguese (Brazil) as browser primary language

Re: Brazilian Portuguese localization question

2013-07-18 Thread Maxim Solodovnik
Brazilian Portuguese localization for our wicket based application by appending _pt_BR to the names of html template files like this: CongratulationsPanel_pt_BR.**html surprisingly after adding portuguese (Brazil) as browser primary language the localized template files are not used. Same

Re: Brazilian Portuguese localization question

2013-07-18 Thread Maxim Solodovnik
on Session#locale and check whether the locale is picked up correctly. Sven On 07/18/2013 07:13 AM, Maxim Solodovnik wrote: Hello All, I'm trying to provide Brazilian Portuguese localization for our wicket based application by appending _pt_BR to the names of html template files like

Brazilian Portuguese localization question

2013-07-17 Thread Maxim Solodovnik
Hello All, I'm trying to provide Brazilian Portuguese localization for our wicket based application by appending _pt_BR to the names of html template files like this: CongratulationsPanel_pt_BR.html surprisingly after adding portuguese (Brazil) as browser primary language the localized template

Re: Palette and localization

2013-02-08 Thread ilgrosso
Hi, I've found the same issue as yours and opened [1] with a simple patch. Regards. [1] https://issues.apache.org/jira/browse/WICKET-5029 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Palette-and-localization-tp4495234p4656195.html Sent from the Users forum

Re: urls with localization

2013-01-16 Thread divad91
of non related errors.. Thanks for your help. Dav -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/urls-with-localization-tp1890817p4655435.html Sent from the Users forum mailing list archive at Nabble.com

select2 localization questions

2012-09-04 Thread Sandor Feher
. formatNoMatches, formatSearching and so one. thnx., Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/select2-localization-questions-tp4651732.html Sent from the Users forum mailing list archive at Nabble.com

Re: select2 localization questions

2012-09-04 Thread Igor Vaynberg
in the config object. -igor thnx., Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/select2-localization-questions-tp4651732.html Sent from the Users forum mailing list archive at Nabble.com

Re: select2 localization questions

2012-09-04 Thread Sandor Feher
-localization-questions-tp4651732p4651741.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: select2 localization questions

2012-09-04 Thread Igor Vaynberg
meanwhile.. Sorry. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/select2-localization-questions-tp4651732p4651741.html Sent from the Users forum mailing list archive at Nabble.com

Re: select2 localization questions

2012-09-04 Thread Sandor Feher
this message in context: http://apache-wicket.1842946.n4.nabble.com/select2-localization-questions-tp4651732p4651753.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: select2 localization questions

2012-09-04 Thread Igor Vaynberg
should I do. thnx., Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/select2-localization-questions-tp4651732p4651753.html Sent from the Users forum mailing list archive at Nabble.com

Static web page localization

2012-08-15 Thread Arni Kekoni
Hello I have a bunch of static web pages, with no wicket objects associated with them. These pages have .swf files like so: EMBED SRC=xyz.swf/EMBED Is it possible to use wicket to localize those .swf files? Serve xyz_en.swf for english and so on? I know you could simply create a page_en.html,

Re: Static web page localization

2012-08-15 Thread Martin Grigorov
Hi, You may use Wicket IResource that should serve the SWFs dynamically. See http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ for an inspiration. On Wed, Aug 15, 2012 at 9:02 AM, Arni Kekoni arni.kek...@tuntinetti.fi wrote: Hello I have a bunch of static web pages, with no

Re: Static web page localization

2012-08-15 Thread Arni Kekoni
Thanks! 2012/8/15 Martin Grigorov mgrigo...@apache.org: Hi, You may use Wicket IResource that should serve the SWFs dynamically. See http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ for an inspiration. On Wed, Aug 15, 2012 at 9:02 AM, Arni Kekoni arni.kek...@tuntinetti.fi

RE: Static web page localization

2012-08-15 Thread Paul Bors
Bors -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Wednesday, August 15, 2012 2:20 AM To: users@wicket.apache.org Subject: Re: Static web page localization Hi, You may use Wicket IResource that should serve the SWFs dynamically. See http://wicketinaction.com

Palette and localization

2012-03-22 Thread Andrea Del Bene
Hi, working with Palette component I've noticed that each options is localized with the following instruction from AbstractOptions: displayString = getLocalizer().getString(displayString, this, displayString); Is there any way to disable localization? I have a list of thousands

The inconsistency in a localization of enums (DropDownChoice vs EnumLabel)

2010-11-22 Thread Vitaly Tsaplin
Hi everyone, It seems there is an inconsistency in the way DropDownChoice (when localizeDisplayValues returns true) and EnumLabel localize they values. DropDownChoice uses toString and EnumLabel - toString + enum class name which makes me either have to keys for the same value or override

Localization

2010-08-04 Thread Laurentiu Trica
Hello, I followed the https://cwiki.apache.org/confluence/display/WICKET/Wicket+and+localized+URLstutorial. I have a problem with an url like this: www.example.com/a?t=token When I access that link, the url becomes: www.example.com/en/a and the link is not accessible. If I force the URL to

Another beginner localization question

2010-04-19 Thread Alexandros Karypidis
Hi, I'm using a wicket:message tags, property files and a ChoiceRenderer to allow users to switch the Locale. My ChoiceRenderer overrides wantOnSelectionChangedNotifications() to have the browser send a Locale change event to the server and when this call returns, all wicket:message content

Re: Another beginner localization question

2010-04-19 Thread Pedro Santos
Your ChoiceRenderer can implement IHeaderContributor and add your javascript to IHeaderResponse object, since when the user change the value on the selection component, the page will to be re-rendered On Mon, Apr 19, 2010 at 4:54 PM, Alexandros Karypidis akary...@yahoo.grwrote: Hi, I'm using

Re: Another beginner localization question

2010-04-19 Thread Alexandros Karypidis
Aha! ...the joys of learning Wicket! :-) On 19/4/2010 10:58 μμ, Pedro Santos wrote: Your ChoiceRenderer can implement IHeaderContributor and add your javascript to IHeaderResponse object, since when the user change the value on the selection component, the page will to be re-rendered On Mon,

Beginner localization question

2010-04-13 Thread Alexandros Karypidis
Hi, How can I have Wicket resolve a key to some localized messages with my own code at runtime? The reason I ask is because I have this use case: 1) I use Java enumerations to strongly-type a RadioChoice control: public enum RadioOptions { ONE, TWO, THREE } 2) I strongly-type a RadioChoice

Re: Beginner localization question

2010-04-13 Thread Igor Vaynberg
if you have a component/page you can use component.getstring() if not you can get the localizer from application and use that, afaik application.get().getresourcesettings().getlocalizer() -igor On Tue, Apr 13, 2010 at 9:33 AM, Alexandros Karypidis akary...@yahoo.gr wrote: Hi, How can I have

FeedbackMessage Localization

2010-01-31 Thread Marek Šabo
Hi all, I was wondering, is there a way to localize messages comming from info() and error() form methods via property files? I could do it via session logic but I'm interested in other ways. Regards, -- Marek Šabo - To

Re: FeedbackMessage Localization

2010-01-31 Thread Andrew Lombardi
You could use a StringResourceModel or ResourceModel and just grab the object that results On Jan 31, 2010, at 6:12 AM, Marek Šabo wrote: Hi all, I was wondering, is there a way to localize messages comming from info() and error() form methods via property files? I could do it via session

Re: FeedbackMessage Localization

2010-01-31 Thread Igor Vaynberg
info(getstring(key)) -igor On Sun, Jan 31, 2010 at 6:12 AM, Marek Šabo ms...@buk.cvut.cz wrote: Hi all, I was wondering, is there a way to localize messages comming from info() and error() form methods via property files? I could do it via session logic but I'm interested in other ways.

Re: FeedbackMessage Localization

2010-01-31 Thread Marek Šabo
@Igor - works like a charm @Andrew - took me a while to play with hierarchy but got it working Thank you both, regards -- Marek Šabo On 01/31/2010 07:16 PM, Igor Vaynberg wrote: info(getstring(key)) -igor On Sun, Jan 31, 2010 at 6:12 AM, Marek Šabo ms...@buk.cvut.cz wrote: Hi all, I

Re: FeedbackMessage Localization

2010-01-31 Thread Andrew Lombardi
No problem. Igor's is probably a helluva lot easier :) If this helped, consider writing an example in the Wiki and/or adding an Example to WicketByExample.com! :P Cheers! On Jan 31, 2010, at 4:35 PM, Marek Šabo wrote: @Igor - works like a charm @Andrew - took me a while to play with

Localization properties overriding

2010-01-25 Thread Marek Šabo
Hi all, I have a question regarding property binding when using localized property files, consider following: UserHomePage page has one property for localization and that is title=User's Home which is then used in markup as: head titlewicket:message key=title //title /head ... This page

Re: Localization properties overriding

2010-01-25 Thread Marek Šabo
: Hi all, I have a question regarding property binding when using localized property files, consider following: UserHomePage page has one property for localization and that is title=User's Home which is then used in markup as: head titlewicket:message key=title //title /head ... This page

Re: Localization properties overriding

2010-01-25 Thread Erik van Oosten
, consider following: UserHomePage page has one property for localization and that is title=User's Home which is then used in markup as: head titlewicket:message key=title //title /head ... This page has inside an UserAddPanel with form with following properties: formContainer.uaForm.title

Re: Localization properties overriding

2010-01-25 Thread Marek Šabo
have a question regarding property binding when using localized property files, consider following: UserHomePage page has one property for localization and that is title=User's Home which is then used in markup as: head titlewicket:message key=title //title /head ... This page has inside

Reading localization properties from Subclass .properties file

2009-11-06 Thread Leo . Erlandsson
BasePage public SubclassPage() { super(); } } Now for the problem: We would like to be able to read the localization properties from the Page _Subclass_ .properties file. This apparently won't work because the HeaderPanel is added in BasePage, and uses

Ang. Reading localization properties from Subclass .properties file

2009-11-06 Thread Leo . Erlandsson
Sorry for the inconvenience, Wicket is handling this beautifully and loads the correct resourceKey value from the Page subclass .properties file. I don't dare admit what the problem was Thanks for a great framework!

Reading localization properties from Page Subclass .properties file

2009-11-05 Thread Leo . Erlandsson
BasePage public SubclassPage() { super(); } } Now for the problem: We would like to be able to read the localization properties from the Page _Subclass_ .properties file. This apparently won't work because the HeaderPanel is added in BasePage constructor

RE: Localization of values coming from my Model

2009-10-19 Thread Bernhard Michal
... StringResourceModel expect string which is supposed to be resource key to find localization in resource bundle. I recommend you to read http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications .html. -Original Message- From: Jeffrey Schneller [mailto:jeffrey.schnel

Re: Localization of values coming from my Model

2009-10-19 Thread Olivier Bourgeois
Use the StringResourceModel with properties bundle, it is very powerful because you can add dynamic data coming from the model. I've done some things like this, assuming infoModel.dateFormat() returns a formated date : new Label(tableTitle, new StringResourceModel(table.title, this, new

Localization of values coming from my Model

2009-10-16 Thread Jeffrey Schneller
I am trying to display a page using my CompoundPropertyModel however some of the values coming from the model need to be localized before displaying to the user. This is being done inside of a wizard step. For example: My model has the following properties String gender boolean

RE: Localization of values coming from my Model

2009-10-16 Thread Bernhard Michal
, 2009 4:36 PM To: users@wicket.apache.org Subject: Localization of values coming from my Model I am trying to display a page using my CompoundPropertyModel however some of the values coming from the model need to be localized before displaying to the user. This is being done inside of a wizard

RE: Localization of values coming from my Model

2009-10-16 Thread Jeffrey Schneller
Michal [mailto:michal.bernh...@tigra.cz] Sent: Friday, October 16, 2009 1:39 PM To: users@wicket.apache.org Subject: RE: Localization of values coming from my Model Why don't you use special model for each component? Because this is very specific thing - CompoundPropertyModel is not supposed

RE: Localization of values coming from my Model

2009-10-16 Thread Bernhard Michal
It doesn't seem correct... StringResourceModel expect string which is supposed to be resource key to find localization in resource bundle. I recommend you to read http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications .html. -Original Message- From: Jeffrey Schneller

RE: Localization of values coming from my Model

2009-10-16 Thread Jeffrey Schneller
a coat to be safe -Original Message- From: Bernhard Michal [mailto:michal.bernh...@tigra.cz] Sent: Friday, October 16, 2009 2:15 PM To: users@wicket.apache.org Subject: RE: Localization of values coming from my Model It doesn't seem correct... StringResourceModel

Re: urls with localization

2009-10-05 Thread ivilis vytautas.civi...@gmail.com
www.domain.com/nl/home Thank you -- View this message in context: http://www.nabble.com/urls-with-localization-tp24676709p24677616.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: urls with localization

2009-10-05 Thread ivilis vytautas.civi...@gmail.com
then appropriate page with defined locale will be shown. www.domain.com/uk/home www.domain.com/nl/home Thank you -- View this message in context: http://www.nabble.com/urls-with-localization-tp24676709p24677616.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: urls with localization

2009-10-05 Thread ivilis vytautas.civi...@gmail.com
to use such urls in wicket? If users clicks that link then appropriate page with defined locale will be shown. www.domain.com/uk/home www.domain.com/nl/home Thank you -- View this message in context: http://www.nabble.com/urls-with-localization-tp24676709p24677616.html Sent from the Wicket

Re: urls with localization

2009-10-05 Thread Alex Objelean
in wicket? If users clicks that link then appropriate page with defined locale will be shown. www.domain.com/uk/home www.domain.com/nl/home Thank you -- View this message in context: http://www.nabble.com/urls-with-localization-tp24676709p24677616.html Sent from the Wicket - User

Re: urls with localization

2009-10-02 Thread ivilis vytautas.civi...@gmail.com
, How is it possible to use such urls in wicket? If users clicks that link then appropriate page with defined locale will be shown. www.domain.com/uk/home www.domain.com/nl/home Thank you -- View this message in context: http://www.nabble.com/urls-with-localization-tp24676709p24677616

Re: urls with localization

2009-10-02 Thread Alex Objelean
is it possible to use such urls in wicket? If users clicks that link then appropriate page with defined locale will be shown. www.domain.com/uk/home www.domain.com/nl/home Thank you -- View this message in context: http://www.nabble.com/urls-with-localization-tp24676709p24677616.html Sent

Re: urls with localization

2009-10-02 Thread ivilis vytautas.civi...@gmail.com
Gatos wrote: Hello, How is it possible to use such urls in wicket? If users clicks that link then appropriate page with defined locale will be shown. www.domain.com/uk/home www.domain.com/nl/home Thank you -- View this message in context: http://www.nabble.com/urls-with-localization

Palette override localization

2009-07-28 Thread Tim Lantry
Is there a way to turn off the localization of the choices in a Palette component? It looks like the AbstractChoice has the ability but the Palette which uses AbstractOptions does not. Thanks, Tim

Re: urls with localization

2009-07-27 Thread Jan Kriesten
Hi, How is it possible to use such urls in wicket? If users clicks that link then appropriate page with defined locale will be shown. www.domain.com/uk/home www.domain.com/nl/home see this thread: http://www.nabble.com/Localization%2C-Bookmarkable-pages%2C-and-mounting-strategies

Re: urls with localization

2009-07-27 Thread Alex Objelean
, How is it possible to use such urls in wicket? If users clicks that link then appropriate page with defined locale will be shown. www.domain.com/uk/home www.domain.com/nl/home Thank you -- View this message in context: http://www.nabble.com/urls-with-localization

Re: urls with localization

2009-07-27 Thread Gatos
. www.domain.com/uk/home www.domain.com/nl/home Thank you -- View this message in context: http://www.nabble.com/urls-with-localization-tp24676709p24677616.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: urls with localization

2009-07-27 Thread Jan Kriesten
I'm using wicket 1.3.5 and RequestDecorator could not be found. You have to read the posts more carefully - there were two references to pastebin! --- Jan. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: urls with localization

2009-07-27 Thread Alex Objelean
in context: http://www.nabble.com/urls-with-localization-tp24676709p24677616.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: Localization message for validators

2009-07-03 Thread Igor Vaynberg
yeah, it does seem inconsistent :| will have to think about this some more. on the first glance field.key seems ok and personally i do not mind going back to it but i need to search back through the archives and reread the threads that affected this change in the first place if i can find them

Re: Localization message for validators

2009-07-03 Thread Uwe Schäfer
Igor Vaynberg schrieb: yeah, it does seem inconsistent :| will have to think about this some more. on the first glance field.key seems ok and personally i do not mind going back to it but i need to search back through the archives and reread the threads that affected this change in the first

Re: Localization message for validators

2009-07-02 Thread Uwe Schäfer
Major Péter schrieb: Dear Igor referring to your comment on https://issues.apache.org/jira/browse/WICKET-2350 where it reads: the proper format of the override key is formid.componentid.key, you are missing the formid part. this was considered a bug in earlier versions of wicket and was

Re: Localization message for validators

2009-06-30 Thread Major Péter
troubles with the localization. With the previous 1.3.6 release I was capable to restrict a localization message for a validation to only one wicket id e.g. : in foobar.java RequiredTextField nameTF = new RequiredTextField(name); nameTF.add(StringValidator.lengthBetween(2, 255)); nameTF.add(new

Localization message for validators

2009-06-29 Thread Major Péter
Hi all, I have recently upgraded my application to wicket 1.4-rc5, and now I have some troubles with the localization. With the previous 1.3.6 release I was capable to restrict a localization message for a validation to only one wicket id e.g. : in foobar.java RequiredTextField nameTF = new

Re: Localization message for validators

2009-06-29 Thread Igor Vaynberg
open a jira issue with a quickstart attached. -igor 2009/6/29 Major Péter majorpe...@sch.bme.hu: Hi all, I have recently upgraded my application to wicket 1.4-rc5, and now I have some troubles with the localization. With the previous 1.3.6 release I was capable to restrict a localization

Re: Share Localization across many pages/componets

2009-05-03 Thread Martijn Dashorst
( resource, null, ); } -- View this message in context: http://www.nabble.com/Share-Localization-across-many-pages-componets-tp23323748p23329846.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Share Localization across many pages/componets

2009-05-01 Thread Mathias Nilsson
You could do this in your base class if you use markup inheritence public String getResource( String resource ){ return Application.get().getResourceSettings().getLocalizer().getString( resource, null, ); } -- View this message in context: http://www.nabble.com/Share-Localization-across

Re: Share Localization across many pages/componets

2009-05-01 Thread Jeremy Thomerson
public String getResource( String resource ){  return Application.get().getResourceSettings().getLocalizer().getString( resource, null, ); } -- View this message in context: http://www.nabble.com/Share-Localization-across-many-pages-componets-tp23323748p23329846.html Sent from the Wicket - User

Share Localization across many pages/componets

2009-04-30 Thread Ryan McKinley
that are duplicated across many pages/components and don't want to maintain duplicate translations etc. How do people generally solve this problem? I don't see any references on the wiki/web -- perhaps a custom ResourceStreamLocator? Is there a standard way to consolidate all my localization rather

  1   2   3   >