In 4.1 this can be done, the solution is no different than the chart
built into the workbench, except that instead of returning an IAsset
that invokes a URL request that generates the chart, the
IEngineService will read and push the content of an external file.

On Jan 11, 2008 3:28 AM,  <[EMAIL PROTECTED]> wrote:
> Hi Howard!
>
> I have already asked on the mailing list but got no solution yet
> that would work for me and we need to finish the project quite soon....
>
> I simply want to add pictures for a catalogue in a different directory to the 
> web application, without having to war them as it is gigabytes of data.
>
> So I want to add the path in a properties file e.g. /home/www/images
> that is outside of any webroot directory.
>
> It is a Tapestry 4.1 application.
>
> is there an "easy" way to just return an Image similiar to
>
> public IAsset getImage(String image){
> return new IAsset getImagePath().concat(image);
> }
>
> ?
>
>
> Max
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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

Reply via email to