Thanks for your reply, Petros.  I tried that, and I have the same issue.

Here is my directory structure:

src
  main
    java
      com
        companyname
          pages
            coops
              FindCoops.java
    webapp
      coops
        FindCoops.tml
        FindCoops.properties

I have not had any issues to date with the directory structure; Tapestry
finds all the pages just fine, it finds the hibernate.cfg.xml, it finds
my assets, etc.  But for some reason, I can't get this properties file
to work.  Am I missing something obvious?

Thanks,
Andy

On Thu, 2008-04-03 at 02:14 -0700, Petros Petrou wrote:
> I think you need to move your FindCoops.properties  file to be next to your
> .tml file and not the .java file. 
> 
> Petros
> 
> 
> Andy Huhn-2 wrote:
> > 
> > OK, this is driving me crazy.
> > 
> > I have a .tml named FindCoops.tml that contains the following fragment:
> > 
> > <t:label for="userPstlCodeField"/>
> > <input t:type="TextField" t:id="userPstlCodeField"
> > t:value="userPstlCode" />
> > 
> > In the same directory as the corresponding .java page file, I have a
> > file named FindCoops.properties that contains the following:
> > 
> > userPstlCodeField-label=ZIP
> > 
> > Yet when the input is rendered, it is rendered with a label of "User
> > Pstl Code Field".  Shouldn't it be rendered as ZIP?
> > 
> > I'm on T5.0.11.
> > 
> > Thanks!
> > Andy
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to