,
Bas Gooren
Op 26 mei 2018 bij 13:41:25, Martin Grigorov (mgrigo...@apache.org) schreef:
Hi,
Here is another solution:
- put the locale in RequestCycle's metadata
- override Session#getLocale() and if Session#isTemporary() then use the
metadata, otherwise use the session's locale
On Fri, May 25
Hi,
Here is another solution:
- put the locale in RequestCycle's metadata
- override Session#getLocale() and if Session#isTemporary() then use the
metadata, otherwise use the session's locale
On Fri, May 25, 2018 at 7:20 PM, Bas Gooren <b...@iswd.nl> wrote:
> Hi!
>
> We build ma
Hi!
We build mainly e-commerce websites on wicket, which means most pages are
publicly visible and indexable.
Since our websites are multi-language we have a custom
CompoundRequestMapper which checks if the url contains a valid locale, and
updates the session locale accordingly.
This works great
I add a converter class and it works without impacting the message
resources.
Thank you so much.
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
-
To unsubscribe, e-mail:
protected NumberFormat newNumberFormat(Locale
locale) {
return super.newNumberFormat(Locale.ENGLISH);
};
};
}
});
You could equally well just override Component#getLocale() to return
ENGLISH, but th
why using getDateFormat() for the decimal/currency converter ? can you
explain a little bit detailed?
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
-
To unsubscribe, e-mail:
Hi,
override #newConverter() and let is return a subclass of DateConverter,
which overrides #getDateFormat() to return a DateFormat ignoring the
given locale.
Have fun
Sven
Am 05.01.2018 um 19:03 schrieb extraquoo:
I understand. could you please show me any sample of such this custom
I understand. could you please show me any sample of such this custom
converter?
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
b:
>Hi ,
>
>my application supports the locale switch and when I am switching to
>Spanish
>locale, the bigDecimal type textfield cannot be recognized the dot (eg.
>555.555 is read as 55 ).
>
>The textfield code is:
>
>final
Hi ,
my application supports the locale switch and when I am switching to Spanish
locale, the bigDecimal type textfield cannot be recognized the dot (eg.
555.555 is read as 55 ).
The textfield code is:
final FormBorder q4Border = new FormBorder(
"questio
I'm afraid this is incomplete solution
I can try to get all different AM/PM symbols, but solution seems to be
incomplete :(
According to this demo: http://demos.telerik.com/kendo-ui/datetimepicker/api
Telerik own datetimepicker.value() JS getter returns GMT date/time
Can it be used?
On Sat, Apr
Hi Maxim,
Thanks for having looked into details!
So, I am now doing a conversion as soon as the input is processed
(#getInput). The conversion is performed in an utility method [1] which
might be completed in the future (the user can still override
DatePicker#getInput() or TimePicker#getInput()
I guess, maybe client side processing can be added?
i.e. value can be "normalized" before being accessible by wicket?
On Sat, Apr 1, 2017 at 11:14 AM, Maxim Solodovnik
wrote:
> AM can also be:
> AM: "နံနက်"
> AM: "上午"
> AM: "PD"
> AM: "காலை"
> AM: "dop."
>
>
>
AM can also be:
AM: "နံနက်"
AM: "上午"
AM: "PD"
AM: "காலை"
AM: "dop."
Is there any well known method to get value from JS.min file?
On Sat, Apr 1, 2017 at 11:10 AM, Maxim Solodovnik
wrote:
> BTW problem is wider :(
> in
BTW problem is wider :(
in
wicket-kendo-ui-culture/src/main/resources/com/googlecode/wicket/kendo/ui/resource/cultures
There are 25 files with "a.m." :(
On Sat, Apr 1, 2017 at 10:08 AM, Maxim Solodovnik
wrote:
> Thanks for the investigation
> I'll try to implement
Thanks for the investigation
I'll try to implement something like this:
http://stackoverflow.com/questions/13581608/displaying-am-and-pm-in-small-letter-after-date-formatting/42466448#42466448
Will let you know :)
On Sat, Apr 1, 2017 at 3:23 AM, Sebastien wrote:
>
(transferring to users@)
Hi Maxim,
The #setLabel issue is because DateTimePicker is a composition (of a
DatePicker and a TimePicker), therefore you need to set it in #newDateTime
and #newTimePicker.
If I supply DateTimePicker#label to underlying datepicker and timepicker,
it will be unique/same
output in your other thread about the issue in the
Spring related test.
It is a bug in the tests.
If a test expects to see _en in the result then it should make sure the
session locale is EN.
I build Wicket with bg_BG all the time but those tests do not fail in that
case :-/
Martin Grigorov
;
> It is a bug in the tests.
> If a test expects to see _en in the result then it should make sure the
> session locale is EN.
>
> I build Wicket with bg_BG all the time but those tests do not fail in that
> case :-/
>
> Martin Grigorov
> Wicket Training and Consulting
> http
I've pasted the same output in your other thread about the issue in the
Spring related test.
It is a bug in the tests.
If a test expects to see _en in the result then it should make sure the
session locale is EN.
I build Wicket with bg_BG all the time but those tests do not fail in that
case
ndleTest.concatBundle:48->Assert.assertEquals:144->Assert.assertEquals:115
> expected: but was:
>
> ResourceReferenceLocatingTest.locateMinifiedJavaScriptResourceReference:214->checkNonStrictUsingJavaScriptResourceReference:236->Assert.assertThat:956
> TestCase [locale=
Hi,
Now I'm checking if calendar component suits to our needs
(http://www.7thweb.net/wicket-jquery-ui/calendar/ExtendedCalendarPage?).
Is there any options which influence the locale behaviour of Calendar
component ?
For example in header section the year and month name order and so one.
TIA
needs
(http://www.7thweb.net/wicket-jquery-ui/calendar/ExtendedCalendarPage?).
Is there any options which influence the locale behaviour of Calendar
component ?
For example in header section the year and month name order and so one.
TIA, Sandor
--
View this message in context:
http
-locale-question-tp4671747p4671749.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
to use l10n...
TIA, Sandor
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/wicket-jquery-ui-calendar-locale-question-tp4671747p4671749.html
Sent from the Users forum mailing list archive at Nabble.com
Done.
https://issues.apache.org/jira/browse/WICKET-5909
sorry for delay.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Package-resource-location-does-not-consider-current-session-style-and-locale-tp4670338p4670823.html
Sent from the Users forum mailing list
of sample_style.css), which is returned
to the browser. This seems to be a bug, isn't it? The same applies to the
locale.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Package-resource-location-does-not-consider-current-session-style-and-locale-tp4670338.html
Sent
PackageResource#getResourceStream(), which does not take
Session.get().getStyle() into account and as a result locates the wrong
resource file (sample.css instead of sample_style.css), which is returned
to the browser. This seems to be a bug, isn't it? The same applies to the
locale.
--
View
#newResourceResponse uses
PackageResource#getResourceStream(), which does not take
Session.get().getStyle() into account and as a result locates the wrong
resource file (sample.css instead of sample_style.css), which is returned
to the browser. This seems to be a bug, isn't it? The same applies to the
locale
Hello,
i have a question regarding the input conversion in NumberTextField (wicket
6.14)
This is the code in question:
/**
* Always use {@link Locale#ENGLISH} to parse the input.
*/
@Override
protected void convertInput
in question:
/**
* Always use {@link Locale#ENGLISH} to parse the input.
*/
@Override
protected void convertInput()
{
IConverterN converter = getConverter(getNumberType());
try
{
setConvertedInput
Hi,
In the application an user should be able to change session locale with
a GET parameter (e.g. ?locale=pl). I implemented it in onConfigure for
my abstract WebPage where I check if the parameter exists and change
session locale and it works fine.
Nevertheless I wonder if it is a proper place
,
In the application an user should be able to change session locale with
a GET parameter (e.g. ?locale=pl). I implemented it in onConfigure for
my abstract WebPage where I check if the parameter exists and change
session locale and it works fine.
Nevertheless I wonder if it is a proper place
On Mon, Nov 25, 2013 at 6:31 PM, Marcin Zajączkowski msz...@wp.pl wrote:
Hi,
In the application an user should be able to change session locale with
a GET parameter (e.g. ?locale=pl). I implemented it in onConfigure for
my abstract WebPage where I check if the parameter exists and change
session
Hi everybody.
I am a newby with wicket ...
Actually I am using jquery.ui.*calendar*. Nice.
And I don't know how to set this Locale from English to *French*.
Thanks for you help.
Regards.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Calendar-set-Locale
how to set this Locale from English to *French*.
Thanks for you help.
Regards.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Calendar-set-Locale-tp4661491.html
Sent from the Users forum mailing list archive at Nabble.com
Hello,
I am using https://github.com/sebfz1/wicket-jquery-ui/
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Calendar-set-Locale-tp4661491p4661493.html
Sent from the Users forum mailing list archive at Nabble.com
:
Hello,
I am using https://github.com/sebfz1/wicket-jquery-ui/
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Calendar-set-Locale-tp4661491p4661493.html
Sent from the Users forum mailing list archive at Nabble.com
Hi Seb,
Like someone says, it works like clockwork.
Thanks you very much.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Calendar-set-Locale-tp4661491p4661496.html
Sent from the Users forum mailing list archive at Nabble.com
Hi,
I try to set locale for my custom session on application newSession method
like this:
When application start I get my pages localized in EN language, not in XX.
What am I doing wrong here? Please help :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How
Maybe you don't have the language pack for the locale you set hence Wicket
defaults to the english langauge pack?
Get yourself familiar with Chapter 12 Internationalization with Wicket of
the Wicket Free Guide
http://wicket.apache.org/learn/books/freeguide.html
-
~ Thank you,
p
Thanks for reply, it was my browser cache :). Thanks anyway.
The code I mentioned above works as expected.
Issue solved.
Thank you
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-properly-set-locale-on-application-startup-tp4660439p4660443.html
Sent from
When in doubt... clear your cache :)
~ Thank you,
Paul Bors
-Original Message-
From: meduolis [mailto:meduol...@gmail.com]
Sent: Tuesday, July 23, 2013 4:14 PM
To: users@wicket.apache.org
Subject: Re: How properly set locale on application startup
Thanks for reply, it was my browser
I'm interested in doing a slight change to the way Wicket resolved
markup files in regard to varation, style and locale.
Is the algorithm that implements this markup resolution process provided
via a pluggable interface or is it hard coded into the framework?
Yours sincerely,
Chris Colman
markup files in regard to varation, style and locale.
Is the algorithm that implements this markup resolution process
provided via a pluggable interface or is it hard coded into the framework?
Yours sincerely,
Chris Colman
Pagebloom Team Leader,
Step Ahead Software
pagebloom - your business
: Saturday, 30 March 2013 10:20 PM
To: users@wicket.apache.org
Subject: Re: Is the algorithm used to locate markup via variation,
locale
etc., pluggable?
Yes you can freely customize it. What exactly do you want to do?
advertisement
How this algorithm works it's explained in chapter 12 of Wicket
Actually I think I found it: 12.4.5 in the guide!
-Original Message-
From: Andrea Del Bene [mailto:an.delb...@gmail.com]
Sent: Saturday, 30 March 2013 10:20 PM
To: users@wicket.apache.org
Subject: Re: Is the algorithm used to locate markup via variation,
locale
etc., pluggable?
Yes you
via variation,
locale
etc., pluggable?
Yes you can freely customize it. What exactly do you want to do?
advertisement
How this algorithm works it's explained in chapter 12 of Wicket guide
:)
http://code.google.com/p/wicket-guide/downloads/list
/advertisement
I'm interested in doing a slight
:
for (int i = 0; i getBaseUrl().getSegments().size() - 1; ++i)
by:
for (int i = 1; i getBaseUrl().getSegments().size() - 1; ++i)
So now it doesn't strip the ${locale} part of the URL to relativize
resources paths.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Mounting
The segment with the locale should be removed by the IRequestMapper as
LocaleFirstMapper does.
But in your case you have the locale hardcoded in the .css file, or at
least this is what I understood, and Wicket should not remove anything
that is not added by it.
There could be a bug in UrlRenderer
Martin Grigorov-4 wrote
The segment with the locale should be removed by the IRequestMapper as
LocaleFirstMapper does.
But on UrlRenderer#renderContextRelativeUrl, getBaseUrl() shows pt-br/home
when I'm accessing http://localhost:8990/Site/pt-br/home
This caused my tags to be rewritten
Hi!
I do want to mount our application URLs as following:
/${locale}/PageName
So I can access Page1 as:
/pt-br/Page1
/en-us/Page1
The application is a simple website with not so many dynamic content, so
in most cases it directly uses a href=... /, img src=... /
without wicket:id.
That's fine
Hi,
Check http://www.wicket-library.com/wicket-examples/mappers/en_US
example. It shows how to do this with LocaleFirstMapper.java
On Mon, Aug 27, 2012 at 2:20 PM, Adriano dos Santos Fernandes
adrian...@gmail.com wrote:
Hi!
I do want to mount our application URLs as following:
/${locale
my resources inside the locale directory, so CSS
background-image in HTML files work, but then it fails on the other
resources (caused by this ../ prefix).
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Mounting-URLs-with-locale-prefix-tp4651528p4651539.html
Sent
Hi,
I'm bulidng my application and i want the user to set is prefered language.
My problem is that i want to save the user selecteion in a cookie (i need to
set the cookie locale, no?) but i havn't found any working implementation
that can show me how it's done.
Is there any one that can help
Hi Martin,
Thank you for your fast replay!
What do you mean by saying: ...parse it and set it in the session.
How to do it?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/set-locale-in-cookie-tp4649827p4649829.html
Sent from the Users forum mailing list archive
On Sun, Jun 10, 2012 at 7:32 PM, oliver.stef ova...@gmail.com wrote:
Hi Martin,
Thank you for your fast replay!
What do you mean by saying: ...parse it and set it in the session.
How to do it?
The cookie value will be a String like en or en_US or en_US_variation.
Create a Locale object
Thanks again!
It's now much clearer!!
for some reason i have error on CookieUtils... so i implement it like this:
(on my HomePage.java)
form.add(new SubmitLink(English){
@Override
public void onSubmit() {
getSession().setLocale(new Locale(en_US
You can use RequestCycleListener to change locale setting in case . In
Application init():
getRequestCycleListeners().add(new RequestLocaleListener());
public class RequestLocaleListener extends AbstractRequestCycleListener
{
public static final String LOCALE_COOKIE = LC
YAP!!! WORKING
MARTIN - Thanks again!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/set-locale-in-cookie-tp4649827p4649833.html
Sent from the Users forum mailing list archive at Nabble.com
YAP!!! WORKING
MARTIN - Thanks again!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/set-locale-in-cookie-tp4649827p4649834.html
Sent from the Users forum mailing list archive at Nabble.com
() {
getSession().setLocale(new Locale(en_US));
Cookie languageCookie = new
Cookie(WicketApplication.LANGUAGE_COOKIE_NAME, en_US);
languageCookie.setMaxAge(WicketApplication.LANGUAGE_COOKIE_AGE);
((WebResponse)getResponse()).addCookie
Hi,
I'm new to wicket I'm trying to map two different paths like
/first.html
/primero.html
to the same page and depending on the mount used the Locale should be set so
that the site is internationalized.
I've overriden MountedMapper with the following:
CODE START
import
Hi,
You should also override #mapHandler() method to produce Urls
depending on the current locale.
On Mon, Apr 23, 2012 at 6:12 PM, sb simon.bott...@gmail.com wrote:
Hi,
I'm new to wicket I'm trying to map two different paths like
/first.html
/primero.html
to the same page and depending
) {
IRequestHandler requestHandler;
if (requestPathMatches(_request)) {
// set the Locale
Session session = Session.get();
session.setLocale(locale);
requestHandler = super.mapRequest(_request);
} else {
requestHandler = null;
}
return
Try clicking the source code links from wicket-library.com. Always times
out for me.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/inferring-locale-from-URL-in-1-5-tp4497412p4505742.html
Sent from the Users forum mailing list archive at Nabble.com
in context:
http://apache-wicket.1842946.n4.nabble.com/inferring-locale-from-URL-in-1-5-tp4497412p4505742.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
from wicket-library.com. Always times
out for me.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/inferring-locale-from-URL-in-1-5-tp4497412p4505742.html
Sent from the Users forum mailing list archive at Nabble.com
Hmm, I was actually planning to use that code (LazyHttpsConfig)
myself. Looked like a nice way to avoid hard-coding port numbers for
dev vs prod use. Maybe not now. :-)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/inferring-locale-from-URL-in-1-5
what I came
up with:
https://gist.github.com/2198074
I suspect that stripping the locale from the hostname (vs path segment) is
not needed, since you were probably doing that in your example so that the
locale doesn't show up as a parameter to the page. I'm still experimenting
with it.
Thanks
impls are very
flexible :-)
I suspect that stripping the locale from the hostname (vs path segment) is
not needed, since you were probably doing that in your example so that the
locale doesn't show up as a parameter to the page. I'm still experimenting
with it.
Thanks again for your help
Hi,
Check http://www.wicket-library.com/wicket-examples/mappers/ - LocaleFirstMapper
On Fri, Mar 23, 2012 at 2:04 AM, armhold armh...@gmail.com wrote:
What's the cleanest way to set a user's locale based on the domainname of the
URL of the request in 1.5?
https://cwiki.apache.org/WICKET
What's the cleanest way to set a user's locale based on the domainname of the
URL of the request in 1.5?
https://cwiki.apache.org/WICKET/wicket-and-localized-urls.html This guide
relies on overriding newRequestCycleProcessor(). Would a proper 1.5 analog
be to add a custom
On Mon, Feb 13, 2012 at 8:57 AM, cosmindumy cosmind...@yahoo.com wrote:
Hello again,
I have the following problem. I have a customized DateTimePanel component,
wich has a DateTextFiled. The problem is that when I change the locale and
pressing submit the date is not valid anymore due to date
I solved it somehow. I used addOrReplace(component) so the date is again
replaced with the format of the new locale. It's not good solution.
Anyway, I have DatePanel that has inside a DateTextField. There is no setter
for converter of Date Text Field. In my case date format is not changed when
I
-on-changing-locale-tp4383834p4386555.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
Hello again,
I have the following problem. I have a customized DateTimePanel component,
wich has a DateTextFiled. The problem is that when I change the locale and
pressing submit the date is not valid anymore due to date format.
For example I have set the locale de-DE, date looks 02.02.2012 I
Hello,
I'm trying to use Wicket(1.5.1) with JQWicket(0.7).
But it does not work together with a locale custom mapper shown in Wicket's
example page.
http://wicketstuff.org/wicket/mappers/de_DE
When I access a page where JQWicket components are added through this
custom mapper, no JavaScript
Thanks, Igor, it worked.
Regards,
Andrew Schetinin
On Fri, Oct 28, 2011 at 10:45 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
you are right. i was looking in 1.5 where we have exposed the locale.
for the time being you can simply do this:
Locale old=session.getlocale
for that key in more than one language (I have
a list of locale names).
It is easy to get a translation for a current locale -
component.getLocalizer().getString() would do the job. But Localizer does
not help me to get strings for other locales.
Once upon a time, there seems to be Localizer.getString
Localizer#getString(final String key, final Component component, final
IModel? model, final Locale locale, final String style, final String
defaultValue)
-igor
On Fri, Oct 28, 2011 at 10:54 AM, Andrew Schetinin ascheti...@gmail.com wrote:
Hi,
I have a question about Wicket localization I
Hi Igor,
But as I said, this method is deprecated and ignores Locale parameter:
@Deprecated
public String getString(final String key, final Component component,
final IModel? model,
final Locale locale, final String style, final String defaultValue)
throws
you are right. i was looking in 1.5 where we have exposed the locale.
for the time being you can simply do this:
Locale old=session.getlocale();
session.setlocale(foo);
localizer.get(..);
session.setlocale(old);
-igor
On Fri, Oct 28, 2011 at 1:22 PM, Andrew Schetinin ascheti...@gmail.com wrote
and implemented the onSelectionChanged method. If the user
choose another option the only thing I have to do is to set the Locale to
the choosen language.
Is there a similar functionality for images?
At the moment I've tried a little bit with this:
--
Image imageGerman = new Image( someImage
There is a locale pub example in wicket-examples that shows how to do it.
-igor
On Apr 1, 2011 3:21 PM, hrbaer herber.m...@gmail.com wrote:
Hi all,
is there any chance to change an image once the user choose another
language?
With a text it's very easy because the only thing you have
Thanks Igor.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/changing-image-on-locale-change-tp3421291p3421371.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e
*bump* +1
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-set-fallback-locale-tp3160912p3322517.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
In a base page check the current locale and if it is not in the list of
supported ones just change it to the default one.
On Thu, Feb 24, 2011 at 2:29 PM, Minas Manthos minas.mant...@gmail.comwrote:
*bump* +1
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How
thanks for informative answer
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Set-default-locale-when-suitable-locale-not-found-tp3252800p3254024.html
Sent from the Users forum mailing list archive at Nabble.com
In project i have several *.properties files for custom locale (page_en_GB
and page_ru_RU).When user with default locale en US come, hes got exception.
Can I do that if a suitable location has not been found to use my custom
locale ?
I try to use Locale.setDafault(...), but it doesnt work
if no matches are made the user should fall back to page.html and
page.properties. so put your default locale into those files instead
of specific locales.
otherwise you can call session.setlocale() to force it.
-igor
On Tue, Feb 1, 2011 at 11:36 AM, planime planime...@mailforspam.com wrote
I've searched for this on the mailing list archive but could not find. Sorry
if my search skills are bad. :-)
My application is entirely based on pt_BR, so I create sessions with that
specific locale. All resources are based on the pattern
ResourceFile.extension.
The problem is that Wicket keeps
On Sun, Jan 16, 2011 at 12:59 PM, Bruno Borges bruno.bor...@gmail.comwrote:
I've searched for this on the mailing list archive but could not find.
Sorry
if my search skills are bad. :-)
My application is entirely based on pt_BR, so I create sessions with that
specific locale. All resources
.n4.nabble.com/CSS-not-depending-on-locale-but-some-other-logic-tp2311409p2311409.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
.css/ //must be the last one !
Any hints would be appreciated !
King regards
Armando
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/CSS-not-depending-on-locale-but-some-other-logic-tp2311409p2311409.html
Sent from the Wicket - User mailing list archive
Hey
Thank you for your reply .. that is what I was looking for !
Kind regards
Armando
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/CSS-not-depending-on-locale-but-some-other-logic-tp2311409p2311753.html
Sent from the Wicket - User mailing list archive
Hi Marieke,
To force a component to be rendered in another locale (in this case your
e-mail), you can override getLocale() from the top-most component that
is used to render the e-mail.
Regards,
Erik.
On Tue, Jun 8, 2010 at 3:30 AM, Marieke
Vandammemarieke.vanda...@tvh.be wrote
Hi Erik,
problem is that I generate the emailtext in the onSubmit of my form. The
data that is printed in my form, and visible to the webuser, needs to be in
the locale from the session. So I can't override the getLocale from the
Form. Or am I missing something?
Thanks, Marieke
--
View
Hi Marieke,
So you are using getString? In that case my suggestion won't work.
You could still add an invisible component to the form, but that's about
as hairy as temporarily setting the session locale.
Erik.
Op 09-06-10 14:24, Marieke Vandamme schreef:
Hi Erik,
problem is that I
something.
Now I save the locale from the session into a temp-locale variable, and
change the locale from the session to the email-language. Than I can use the
getString function. Afterwards I put the temp-locale variable back into the
session. I don't find this a perfect solution, so I have you
1 - 100 of 226 matches
Mail list logo