[opencms-dev] Antwort: Re: Antwort: Re: How to write into Frontend User-Forms?

Mathias Lin | SYSVISION mail at mathiaslin.com
Tue Jun 16 15:17:31 CEST 2009


Frank, also don't forget to lock the file
cmsObject.lockResource("path/to/resource");
if it already exists, before you modify it.
(But that's probably not the problem here - it would throw another exception
than you reported I guess)



Nacho Fernández Orellana wrote:
> 
> Hi Frank and list,
> 
> Have you tried the path without "/sites/default"? Always remember that
> whenever you are using file paths, those will always be relative to the
> "current" site path. If it is already "/sites/default/", any path starting
> with "/sites/default/wherever..." will be interpreted as
> "/sites/default/sites/default/wherever..." Hope this helps. Greetings,
> 
> Nacho Fernandez.
> 


-----
Mathias Lin
SYSVISION Ltd., China
http://www.sysvision.com
-- 
View this message in context: http://www.nabble.com/How-to-write-into-Frontend-User-Forms--tp24032965p24054206.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list