gt; the tml file looks like
>>>>
>>>> http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>
>>>>
>>>> German |
>>>> English |
>>
org/schema/tapestry_5_1_0.xsd";>
>>>
>>> German |
>>> English |
>>>
>>>
>>>
>>> en and de have been set in the configuration. the english version just
>
org/schema/tapestry_5_1_0.xsd";>
>>
>> German |
>> English |
>>
>>
>>
>> en and de have been set in the configuration. the english version just
>> works
>> fine. as soon as I click the german l
n |
> English |
>
>
>
> en and de have been set in the configuration. the english version just works
> fine. as soon as I click the german link, I'm redirected to the index page.
>
> tried it with tapestry 5.2.0-SNAPSHOT and 5.1.0.5.
>
> ca
p://www.nabble.com/t5-localization-tp25729423p25729423.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional command
Hi guys,
solved it myself.
I had the appName for the PageTester as "App". After changing it to
"app" everything works as expected on both platforms. However I wonder
if this is a bug (as Mac OS X is case-sensitive as well) or if this is
the expected behaviour?
Thanks,
Daniel
On 30.11.2
Hi everyone,
I'm experiencing a strange behaviour regarding localization. As usual
I've got two localization catalogs in my WEB-INF directory:
app.properties
app_de.properties
I've got some unit tests using the PageTester initialized like this:
tester = new PageTester(appPackage, appName, "s
Thanks Tiago
Really strange component behavior since it's in total contradiction with
the framework spirit :
"Designers love it because Tapestry templates are so close to ordinary
HTML, without all the cruft and confusion seen in JavaServer Pages."
"The goal in Tapestry is for component templ
Em Wed, 22 Oct 2008 06:54:33 -0300, Stephane Decleire
<[EMAIL PROTECTED]> escreveu:
But with the following piece of code, the result is the hardcoded
"Firstname" string. Localization of the string did not occured ...
Firstname
This is how the Label component works: if you provide a body, it
Hi all,
I encounter the following problem :
If i include the following code in one of my form, with the appropriate
line firstname-label=prenom in my french localized messages file, the
result is OK and the firstname label is localized.
But with the following piece of code, the result is th
I've already tried to inject the ComponentResources into my class
without success :-(
public static void
contributeComponentClassTransformWorker(OrderedConfiguration
configuration, PropertyAccess propertyAccess, ComponentResources
componentResources) {
configuration.add("InjectSelectio
I've already tried to inject the ComponentResources into my class
without success :-(
public static void
contributeComponentClassTransformWorker(OrderedConfiguration
configuration, PropertyAccess propertyAccess, ComponentResources
componentResources) {
Caused by: java.lang.RuntimeException:
Classes are non-localized.
However, you can write code that can access the current Locale or
localed Messages object via the ComponentResources object injected
into each class.
On Thu, Oct 16, 2008 at 2:48 PM, Stephane Decleire
<[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> Is there a way to use
Hi everybody,
Is there a way to use Tapestry localization services like Messages in a
ComponentClassTransformWorker ?
My goal is to localize the component described by Marcelo Lotif
in the Tapestry Wiki
(http://wiki.apache.org/tapestry/Tapestry5AnotherSelectWithObjects).
Thanks in advance
Hi,
What is the best way to localize the options of a dynamically generated
Select component ?
Thanks in advance.
Stephane
Hi there,
a late answer, but maybe good to have in the archive when somebody
browses it:
1) You can use the method getMessages() of the service
ComponentResources to get the message bundle of the Template.
- Tobias
Filip S. Adamsen schrieb:
Hi,
Welcome to the list. :)
Regarding your que
Hi,
Welcome to the list. :)
Regarding your questions:
1) There's no way to localize page classes. Why do you need this?
2) For overriding internal services - if you must - you can probably use
an Alias:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/alias.html.
3) No, there's no
Hi all,
I've read through the majority of the Tapestry 5 documentation and
implemented a few samples to make sure I understand how things work.
There are a few specific tasks I couldn't figure out and would
appreciate if anyone could shed some light...
1) Is there a way to localize page classes?
Or just look on the wiki:
http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner
Cheers,
Nick.
Marcus wrote:
Hi Stephane,
search this forum for "*T5 How to Override the default banner message"
*
Marcus
Hi Stephane,
search this forum for "*T5 How to Override the default banner message"
*
Marcus
Hi,
I can't find the way to localize the default messages provided by
Tapestry for input validation like :
"You must correct the following errors before you may continue" or "You
must provide a value for ..."
Any help is welcome.
Stephane
I'm facing the exact same problem. I have a WEB-INF/AppName.properties
properties file that works fine, but as soon as I localise it - for
example renaming it to WEB-INF/AppName_sv.properties - it's not found
or not used and I end up with missing messages.
Is this a bug? I'm using 5.0.6 by the wa
t; From: Massimo Lusetti [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 28, 2007 2:32 PM
> To: Tapestry users
> Subject: Re: [T5] Localization
>
> On 8/28/07, Christoph Jaeger <[EMAIL PROTECTED]> wrote:
>
> > If not, does this seem difficult to implement?
>
>
On 8/28/07, Christoph Jaeger <[EMAIL PROTECTED]> wrote:
> If not, does this seem difficult to implement?
Using normal ResourceBundle features? And doing that inside javacode
where logic belongs?
--
Massimo
http://meridio.blogspot.com
Hi,
is there a way to use messages with parameters directly from a HTML
template?
Something like:
${message:results,prop:numberOfDatasets}
with
Page.java
...
public int getNumberOfDatasets()
{
return numberOfDatasets;
}
...
Page_en.properties:
results:Found %d datasets.
Page_de.p
It works fine for me using the following files/code:
app_ja.properties
app_en.properties
AppModule.java:
configuration.add("tapestry.supported-locales", "en,ja");
Page.html:
Japanese
English
Page.java:
@Inject
private PersistentLocale persistentLocaleService;
...
voi
it is
> recognized correctly so it is not a matter of bad language settings.
>
> Do you have any idea why global resource files with language appendixes
> (_en, _pl, _de) are ignored?
>
> jm.
>
>
>
--
View this message in context:
http://www.nabble.com/-T5--
Component_pl.html) it is recognized
correctly so it is not a matter of bad language settings.
Do you have any idea why global resource files with language appendixes
(_en, _pl, _de) are ignored?
jm.
--
View this message in context:
http://www.nabble.com/-T5--Localization-and-application-messa
Hi Howard,
I do really appreciate T5. It's quite impressive right now and expect
it to be the definitive framework when completed.
for now I have a remark. Page http://tapestry.apache.org/tapestry5/
tapestry-core/guide/localization.html includes a strange translation
of "Welcome Back" :
29 matches
Mail list logo