cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianugo Rabellino <>
Subject Re: Getting an X from a FOM_X
Date Thu, 07 Aug 2003 09:04:31 GMT
Reinhard Pötz wrote:

>>But now I have a need to add the "getRealPath" method to the context, 
>>only because Linotype uses it extensively and I wanted to 
>>port it to the 
>>FOM. Is there a particular reason why it shouldn't be there? 
> I think because Stefano considered it as hack - see his comment:
> /*
>  * Yeah, I know that hardwiring those is hacky as hell. But I'll try to
>  * fix this with link translation later on.
>  */
> var home = cocoon.context.getRealPath("/") + "samples/linotype/";

I think that actually Stefano was blaming hardwiring configuration info 
right in the code instead than getting them from somewhere, not the 
getRealPath stuff.


Gianugo Rabellino
Pro-netics s.r.l. -
Orixo, the XML business alliance -
     (Now blogging at:

View raw message