Re: T5: BeanEditForm doesn't pick up .properties

2008-02-02 Thread Howard Lewis Ship
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

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-02 Thread Michael Gerzabek
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/-

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-02 Thread Michael Gerzabek
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

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Howard Lewis Ship
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

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Michael Gerzabek
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/

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Howard Lewis Ship
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

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Michael Gerzabek
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

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Howard Lewis Ship
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

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Michael Gerzabek
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

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Michael Gerzabek
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

Re: T5: BeanEditForm doesn't pick up .properties

2008-01-31 Thread Massimo Lusetti
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

Re: T5: BeanEditForm doesn't pick up .properties

2008-01-30 Thread Howard Lewis Ship
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

Re: T5: BeanEditForm doesn't pick up .properties

2008-01-30 Thread Massimo Lusetti
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.

Re: T5: BeanEditForm doesn't pick up .properties

2008-01-30 Thread Howard Lewis Ship
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

Re: T5: BeanEditForm doesn't pick up .properties

2008-01-29 Thread Michael Gerzabek
-- 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

Re: T5: BeanEditForm doesn't pick up .properties

2008-01-29 Thread Howard Lewis Ship
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

T5 BeanEditForm prints no labels was: [ T5: BeanEditForm doesn't pick up .properties]

2008-01-29 Thread Michael Gerzabek
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

T5: BeanEditForm doesn't pick up .properties

2008-01-29 Thread Michael Gerzabek
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