Hi Joshua,
Rieken, Joshua wrote:
Greetings,
I would like to add a "Browse..." button to a macro like the one in the Image
dialogue that lets the users choose a directory. Is there a way to do this using macros in
wiki pages, or do I need to write Java?
Where would you like this "Browse..." button to be displayed? In the
WYSIWYG editor's "Edit Macro Properties" dialog for a specific macro
parameter? This is really complex to do. Or, maybe you simply want your
macro to generate a HTML file upload input. In this case I think you can
wrap the proper HTML code in a HTML macro inside the content of you wiki
macro. Take a look at how video macro (
http://code.xwiki.org/xwiki/bin/view/Macros/Video20Macro ) is made.
Hope this helps,
Marius
Thanks.
-Joshua-
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users