On Aug 26, 2009, at 3:35 PM, Thomas Mortagne wrote:
Would be even better to support any URL and make
attachment just one
specific URL like attach:Space1.Page1@myjar.jar to add attachments
yes definitely.
I propose:
{{script urls="http://...., attach:Space.Page@somejar.jar, ..."}}...
Note that this allows reusing the Attachment parser.
Thanks
-Vincent
On Wed, Aug 26, 2009 at 12:27, Vincent Massol<vincent(a)massol.net>
wrote:
> Hi,
>
> I'd like to implement this behavior:
>
> {{script language="..." jarPages="Space1.Page1, Space2.Page,
..."}}
> ...
> {{/script}}
>
> Optional:
> - offer a way to specify explcitley the jars. For example: Space1.Page1(a)myjar.jar
>
> It would add the jars located in the specified pages to a
> URLClassLoader used to execute the script.
>
> Obviously programming rights would be checked.
>
> WDYT?
>
> Thanks
> -Vincent