* Joerg Heinicke <[EMAIL PROTECTED]> [2004-05-28 21:47]:
> On 28.05.2004 18:09, Alan wrote:
>
> >>Oh, sorry, I looked a bit to fast on it. We decided for FOM to provide
> >>as less functionality as possible. If someone has a use case for a
> >>feature not implemented like the one above he can propose it to be
> >>included. Then it can be voted about it (on the dev list of course).
> >
> >
> > What is the reasoning behind this? The getRealPath method is
> > part of the ServletContext API. Why would it be harmful to
> > expose this basic utility method? Could you point me to a thread
> > where this is hashed out? I'd like to know the issues before I
> > make the proposal.
>
> Not the thread about the decision, it only refers to that one, but
> includes also some of the ideas:
> http://marc.theaimsgroup.com/?t=107996583500001&r=1&w=4
Actually, it references the method that I'm looking to expose.
Sylvan suggests a workaround. He says:
An example: last week, a customer of mine (I do mentoring for
them and they're not subscribed to users@) asked me "I get a "no
such property or method" error when calling
context.getRealPath() in my flowscript. Why?". I answered that
this method isn't available in flowscript and provided a
10-lines workaround involving looking up the sourceresolver
and resolving a "context://" URL.
Can anyone expand on this? I'll use this work around rather than
try and ask for a vote.
--
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]