You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Dimm, Jason" <ja...@cingular.com> on 2006/02/24 14:27:44 UTC
How to get all emails for a thread on this forum
Hello All,
How do you get all responses to a posted thread here?
This is the instruction from this forum, but I don't know what they mean by
"message 12345"?
Better yet, is their a website for this forum I can browse?
Thanks
To receive all messages with the same subject as message 12345, send an
empty message to:
<ta...@jakarta.apache.org>
Jason E. Dimm, Senior Analyst, Cingular Wireless
IT eCommerce/Payments (Payment Processing)
Cingular Java Components, QuickPay, Wedat
Sun Certified Java Developer
Sun Certified Java Programmer
12555 Cingular Way
Alpharetta, GA 30004
Office (678)893-2232
así es la vida.
-----Original Message-----
From: Rudolf Baloun [mailto:RudolfBaloun@atron.de]
Sent: Friday, February 24, 2006 8:14 AM
To: Tapestry users
Subject: Re: Setting the default locale
I had the same Problem. The validator seems not to use the locale from
engine.
I use JBoss. I added this in my JAVA_OPTS:
-Duser.language=de -Duser.country=de
For me this worked.
Martin Carel wrote:
> Hi!
>
> For many days I've been trying to get my validation messages in
> English (from computers (both client and server) with Swedish regional
> settings). Today I got a certain success fulfilling my needs, but I
> need you guys to shed the light on some details... I believe I read
> all the pertinent material regarding the issue both in the Tapestry
> docs and in the archives for this mailing-list.
>
> I overrode the setLocale() method in my custom Engine so that it would
> be set to "Locale.UK".
>
> This took care of the Engine for the locale UK, and indeed it was the
> Engine called for all my requests. A <span jwcid="@Insert"
> value="ognl:engine.locale"/> on my page proved to me that the locale
> for my page was "en_GB". So I expected to see my validation error
> messages in English... but they actually were in Swedish.
>
> I'm guessing since there is no "ValidationStrings_en.properties" in
> org/apache/tapestry/valid/ ("ValidationStrings.properties" is present
> though, with English messages), it defaulted to Swedish, and therefore
> took "ValidationStrings_sv.properties".
>
> I thought that this line in my app.application would make the default
> locale to English:
>
> <meta key="org.apache.tapestry.accepted-locales" value="en" />
>
>
> I also (unsuccessfully) tried to provide my own implementation of
> tapestry.request.RequestLocaleManager like this (in hivemodule.xml):
>
> <implementation service-id="tapestry.request.RequestLocaleManager">
> <invoke-factory>
> <construct
> class="com.pricerunner.carhire.utils.PRRequestLocaleManager">
> <set-service property="threadLocale"
> service-id="hivemind.ThreadLocale"/>
> </construct>
> </invoke-factory>
> </implementation>
>
>
> Here is what my RequestLocaleManager implementation looks like:
>
> public class PRRequestLocaleManager implements RequestLocaleManager {
> private ThreadLocale _threadLocale;
> public Locale extractLocaleForCurrentRequest() {
> _threadLocale.setLocale(Locale.UK);
> return Locale.UK;
> }
> public void setThreadLocale(ThreadLocale threadLocale) {
> _threadLocale = threadLocale;
> }
> }
>
> Although I know my PRRequestLocaleManager was called according to my
> logs, it didn't help to set the default locale to English (since my
> validation messages were still in Swedish). And there is no trace
> whatsoever of a creation of an Engine for the Swedish locale (I was
> logging in both getLocale() and setLocale() of my custom Engine).
>
> So after all those unsuccessful experiments, I included a
> "ValidationStrings_en.properties" file in org/apache/tapestry/valid
> and it worked out.
>
> But my question still holds. How can I force the default locale (to
> English in my case)?
>
> /Martin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: How to get all emails for a thread on this forum
Posted by Jorge Quiroga <jq...@pctltda.com>.
Hello Jason:
you can browse the e-mail forum via archive mail-list at this address
http://mail-archives.apache.org/mod_mbox/jakarta-tapestry-user/
I hope that will be useful for you
Bye
JQ
Dimm, Jason escribió:
> Hello All,
>
> How do you get all responses to a posted thread here?
>
> This is the instruction from this forum, but I don't know what they mean by
> "message 12345"?
>
> Better yet, is their a website for this forum I can browse?
> Thanks
>
> To receive all messages with the same subject as message 12345, send an
> empty message to:
> <ta...@jakarta.apache.org>
>
>
> Jason E. Dimm, Senior Analyst, Cingular Wireless
> IT eCommerce/Payments (Payment Processing)
> Cingular Java Components, QuickPay, Wedat
> Sun Certified Java Developer
> Sun Certified Java Programmer
> 12555 Cingular Way
> Alpharetta, GA 30004
> Office (678)893-2232
> así es la vida.
>
>
> -----Original Message-----
> From: Rudolf Baloun [mailto:RudolfBaloun@atron.de]
> Sent: Friday, February 24, 2006 8:14 AM
> To: Tapestry users
> Subject: Re: Setting the default locale
>
> I had the same Problem. The validator seems not to use the locale from
> engine.
> I use JBoss. I added this in my JAVA_OPTS:
>
> -Duser.language=de -Duser.country=de
>
>
> For me this worked.
>
>
> Martin Carel wrote:
>
>> Hi!
>>
>> For many days I've been trying to get my validation messages in
>> English (from computers (both client and server) with Swedish regional
>> settings). Today I got a certain success fulfilling my needs, but I
>> need you guys to shed the light on some details... I believe I read
>> all the pertinent material regarding the issue both in the Tapestry
>> docs and in the archives for this mailing-list.
>>
>> I overrode the setLocale() method in my custom Engine so that it would
>> be set to "Locale.UK".
>>
>> This took care of the Engine for the locale UK, and indeed it was the
>> Engine called for all my requests. A <span jwcid="@Insert"
>> value="ognl:engine.locale"/> on my page proved to me that the locale
>> for my page was "en_GB". So I expected to see my validation error
>> messages in English... but they actually were in Swedish.
>>
>> I'm guessing since there is no "ValidationStrings_en.properties" in
>> org/apache/tapestry/valid/ ("ValidationStrings.properties" is present
>> though, with English messages), it defaulted to Swedish, and therefore
>> took "ValidationStrings_sv.properties".
>>
>> I thought that this line in my app.application would make the default
>> locale to English:
>>
>> <meta key="org.apache.tapestry.accepted-locales" value="en" />
>>
>>
>> I also (unsuccessfully) tried to provide my own implementation of
>> tapestry.request.RequestLocaleManager like this (in hivemodule.xml):
>>
>> <implementation service-id="tapestry.request.RequestLocaleManager">
>> <invoke-factory>
>> <construct
>> class="com.pricerunner.carhire.utils.PRRequestLocaleManager">
>> <set-service property="threadLocale"
>> service-id="hivemind.ThreadLocale"/>
>> </construct>
>> </invoke-factory>
>> </implementation>
>>
>>
>> Here is what my RequestLocaleManager implementation looks like:
>>
>> public class PRRequestLocaleManager implements RequestLocaleManager {
>> private ThreadLocale _threadLocale;
>> public Locale extractLocaleForCurrentRequest() {
>> _threadLocale.setLocale(Locale.UK);
>> return Locale.UK;
>> }
>> public void setThreadLocale(ThreadLocale threadLocale) {
>> _threadLocale = threadLocale;
>> }
>> }
>>
>> Although I know my PRRequestLocaleManager was called according to my
>> logs, it didn't help to set the default locale to English (since my
>> validation messages were still in Swedish). And there is no trace
>> whatsoever of a creation of an Engine for the Swedish locale (I was
>> logging in both getLocale() and setLocale() of my custom Engine).
>>
>> So after all those unsuccessful experiments, I included a
>> "ValidationStrings_en.properties" file in org/apache/tapestry/valid
>> and it worked out.
>>
>> But my question still holds. How can I force the default locale (to
>> English in my case)?
>>
>> /Martin
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org