I thought the properties file needs to end up next to the class file in the
classpath when the project is built - regardless of where it comes from.
(src/main/java/... or src/main/resources/... or wherever) 


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]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-T5-%3A-label-in-properties-file-tp16467115p16467350.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to