You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2008/01/11 16:51:47 UTC

Re: Quick but urgent Tapestry question

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,  <mu...@fantasymail.de> 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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org