Hi Oana,

Actually, what I wanted to do was to be able to load into the Modalbox a
piece of html code like:


and launch the modalbox from a button.

So what I tried was:

{{velocity}}

#set($ok = $xwiki.jsfx.use("js/scriptaculous/scriptaculous.js"))
#set($ok = $xwiki.jsx.use("XWiki.ModalBox"))
#set($ok = $xwiki.ssx.use("XWiki.ModalBox"))

{{html}}




', {width: 800, height:500, title: 'DataGenerator', method: 'post'}); return
false;">DataGenerator


{{/html}}
{{/velocity}}

The code presented above is not working. Any suggestions are welcome.
Regards,

Alina.


--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Modalbox-tp6242462p6243037.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to