On Thu, 01 Nov 2012 08:46:42 -0200, <devnull2...@gmx.de> wrote:
getAbsoluteLocalFilepath() is called in page classes, e. g. to store a
file under this path. Another example for a method in Foo could be
public InlineFileStreamResponse getImageAsStream() ...
where we also need the baseDir.
With the above information in mind, I see no reason for injecting this
configuration symbol into the entity classes. Just change
getAbsoluteLocalFilepath() to receive the base path as a parameter. Or
just create another method that returns the relative path and add the
absolute path somewhere else.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org