OK, I'm glad you're back in operation.
On Feb 2, 2008 9:39 AM, Michael Gerzabek <[EMAIL PROTECTED]> wrote:
> Ok, finally I found it: Months ago I was playing around with the Label
> component. I found [1] and did a little rewrite to be able to put labels
> directly in my .tml files. Now 3 months l
Ok, finally I found it: Months ago I was playing around with the Label
component. I found [1] and did a little rewrite to be able to put labels
directly in my .tml files. Now 3 months later restarting the project I
forgot about that.
So sorry for the noise!
Michael
[1] http://www.nabble.com/-
Ok. I packed the sources. But before I sent them I wanted to try it one
more time on my own. I generated new .project and .classpath files with
maven (2.0.8), created a new project in eclipse (3.2) imported the
project built it and ...
... all the labels where there! So actually now I have wha
Something odd is going on, because there are specific tests for this
stuff so I know it works in the code. Without seeing all the code and
the full layout, there's no much more I can do. If you can provide a
zipped up Maven project to demonstate the problem, I'm sure I can whip
up a fix.
On Feb
Howard Lewis Ship schrieb:
Havning trouble following you ... what is the name, location and
contents of your .properties file?
Does the expansion work or not work?
No!
the layout like in maven archetype (both get packaged):
|
+- JAVA/.../pages/prm/Contact.java
+- RESOURCES/.../pages/prm/
Havning trouble following you ... what is the name, location and
contents of your .properties file?
Does the expansion work or not work?
On Feb 1, 2008 11:49 AM, Michael Gerzabek <[EMAIL PROTECTED]> wrote:
> I'm sorry Howard. The .properties file seems to get read. When I debug
> the application
I'm sorry Howard. The .properties file seems to get read. When I debug
the application the InternalComponentResourcesImpl holds the right file
in the attribute _properties. I can see all the mappings there. But the
page doesn't display the content of the property if requested.
Is there maybe a
Sorry, should be ${message:site-label}, to verify that your
.properties file is in the fight place and readable.
On Feb 1, 2008 2:54 AM, Michael Gerzabek <[EMAIL PROTECTED]> wrote:
>
> Howard,
>
> I have the setup that the maven archetype prepares. So the anwser is yes.
> The .properties file is
oh, and when I debug the page and check the ComponentResources the file is
there! But somehow it doesn't get read in rendering the page.
Michael
Michael Gerzabek wrote:
>
> Howard,
>
> I have the setup that the maven archetype prepares. So the anwser is yes.
> The .properties file is on the c
Howard,
I have the setup that the maven archetype prepares. So the anwser is yes.
The .properties file is on the classpath. I double checked and put a copy
right in the package where the java sources are. I put the ${site-label}
into the .tml and got:
Could not convert 'site-label' into a compo
On Jan 31, 2008 12:55 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> I see you point, and it just highlights the fact that .tml files are
> allowed at the webapp root level which, itself, is an exception to the
> rule. For components, the .tml and .properties file must be bundled
> in the sam
I see you point, and it just highlights the fact that .tml files are
allowed at the webapp root level which, itself, is an exception to the
rule. For components, the .tml and .properties file must be bundled
in the same package folder as the .class file.
For pages, and only pages, we allow the .t
On Jan 30, 2008 8:02 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> Is your Contact.properties file in the correct place? It should be on
> he classpath, with the .class file (not with the .tml file). Verify
> this by putting ${site-label} into your template somewhere to see what
> you get.
Is your Contact.properties file in the correct place? It should be on
he classpath, with the .class file (not with the .tml file). Verify
this by putting ${site-label} into your template somewhere to see what
you get.
On Jan 29, 2008 10:54 PM, Michael Gerzabek <[EMAIL PROTECTED]> wrote:
> -- Con
-- Contact.tml --
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Person
${person.firstName} ${person.lastName}
submitLabel="Änderungen speichern"
reorder="title, firstName, lastName, birthDay, EMail, phone,
fax, mobile, site"/>
bac
Hard to see from this, can we see your .properties files?
On Jan 29, 2008 1:59 AM, Michael Gerzabek <[EMAIL PROTECTED]> wrote:
> hi guys
>
> I'm using T5.0.9.
>
> submitLabel="Änderungen speichern" reorder="title, firstName, lastName,
> birthDay, EMail, phone, fax, mobile, site"/>
>
> I provide t
Actually I was wrong. The property file get's read but the labels on the
page are alsways empty. Any clues?
Michael
Michael Gerzabek schrieb:
hi guys
I'm using T5.0.9.
submitLabel="Änderungen speichern" reorder="title, firstName,
lastName, birthDay, EMail, phone, fax, mobile, site"/>
I pr
hi guys
I'm using T5.0.9.
submitLabel="Änderungen speichern" reorder="title, firstName, lastName,
birthDay, EMail, phone, fax, mobile, site"/>
I provide the BeanModel like pinpointed in [1] and [2]. I provide a
.properties file where the name of the page [Contact] = name of
file[Contact]. I
18 matches
Mail list logo