[opencms-dev] My own widget

zazo zazo at tlen.pl
Wed Apr 27 17:27:04 CEST 2005


Hi,

I would like to make my own widget which I can use in OpenCms. What
I was trying to do is to create listbox of files available in
current vfs direcotry.

At the moment I am able to create a list of files from "/" or
"/sites/default" directory. Actually I can use any, existing
directory. The problem is that it is *hardcoded*. I can not find the
way to make my widget be aware of which page (in vfs) I am editing
in the moment. In other words, no matter which page I put my widget
on, it will always show me files from, let's say, root diretory (/).

I hope I made myself clearly enough. If you need some extra
information about my problem, please feel free to ask.

Thanks in advance for any help.

Best regards.

Tomasz




More information about the opencms-dev mailing list