[opencms-dev] how to use explorer_files.html in my backoffice admin module

Stefano Suzzi s.suzzi at protesa.it
Thu Oct 28 14:22:00 CEST 2004


Hi,

i'm try to create an index.jsp for my administration module,

I would like to show the list of files starting from /mydir directory.

 

In my javascript section if I call the action explorer_files.html without
any parameter it works but start from the current directory that was
positioned in explorer view.

I've tried to give parameters looking the call done in the templates of html
galleries with no success.

How do I have to give the parameters? Or how do I change the current dir
before the call?

Thanks.

Stefano.

 

// call in the jsp

 
document.location.href='<cms:link>/system/workplace/action/explorer_files.ht
ml</cms:link>?mode=listonly';

 

//call in the htmlgallery template

//document.location.href="]]><method
name="getServletPath"/><![CDATA[system/workplace/action/explorer_files.html?
mode=listonly&folder=]]><process>link_value</process><![CDATA[&flaturl=windo
w.body.admin_head.location.href%3d\"]]><method
name="getServletPath"/><![CDATA[system/workplace/administration/htmlgallery/
administration_head_htmlgalleries2.html";

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20041028/a113c0a4/attachment.htm>


More information about the opencms-dev mailing list