Hello,

I'm trying to use the lightbox.js to provide a nice UI for creating new
custom pages/objects.
Note : it's not the Lightbox application or macro, but the javascript from
lightbox.js ...

Idea is to provide a page with following use-case :
- user clicks on "create" button
- a pop-up (new Lightbox(a,b,c)) is opened
- content of this Lightbox is a new page in inline edit mode, on newly
created object fields
- user should be able to save or cancel (something like user registration)

What I don't know is what to provide to Lightbox parameters in order to
achieve that.

For the first url, I've given something like
'/xwiki/bin/edit/Space/MyNewPage?editor=inline&template=MyTemplate&sheet=MySheet&xpage=plain'.
But in this case, the modal pop-up contains the fields in inline mode, but
without the buttons to save/cancel/preview/...

Another question is what to provide as saveurl and redirecturl (2 last
parameters of Lightbox) ?

Thanks for help,
Jeremie

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Using-Lightbox-to-create-new-page-objet-tp7354954p7354954.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