* Joerg Heinicke <[EMAIL PROTECTED]> [2004-05-27 22:35]:
> On 27.05.2004 23:22, Alan wrote:
>
> > I'm attempting to use cocoon.context.getRealPath() in my
> > flowscript. Like so:
> >
> > cocoon.context.getRealPath("/WEB-INF")
> >
> > However, I'm getting this exception:
> >
> > org.apache.avalon.framework.CascadingRuntimeException: getRealPath is
> > not a function.
> >
> > Does cocoon expose this method?
>
> It seems not:
> http://cocoon.apache.org/2.1/userdocs/flow/api.html#Context+Object
Found the code for FOM_Cocoon.java and there's this:
/* TODO: Vote on the inclusion of this method
public String jsFunction_getRealPath(String path) {
return context.getRealPath(path);
}
*/
What are the issues surrounding this method? I'd like to use it.
Can this vote happen soon?
--
Alan / [EMAIL PROTECTED] / http://engrm.com/
available for contract --> http://engrm.com/the-pitch.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]