You could try implementing "ComponentMessagesSource" (or extending "ComponentMessagesSourceImpl" to make it easier).
Then add this to your hivemind module :

{code:xml}
   <implementation service-id="tapestry.ComponentMessagesSource">
       <invoke-factory>
<construct class="be.unid.tapestry.messages.UnidComponentMessagesSourceImpl">
               <event-listener service-id="tapestry.ResetEventHub"/>
<set-object property="componentPropertySource" value="infrastructure:componentPropertySource"/> <set-object property="servletContext" value="service:tapestry.globals.ServletContext"/>
           </construct>
       </invoke-factory>
   </implementation>
{code}

Regards,
Andrei Chiritescu

soir wrote:
Hello, I am looking for same solution too. I need to store properties files
and localized pictures in some directory on the server, outside Tapestry
application. Does anybody knows how I can tell Tapestry look up for the
localized content in some other directory, not in WEB-INF?

Sincerelly yours,
Igor


Peter Dawn wrote:
guys,

my web app has a lot of properties files now and its beginning to look
cluttered. is there a way to put the properties files in a separate
folder and not in the same root folder as the html file.

thanks.

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