BTW, an alternative could be to use the modal box [1], to display your form in a modal pop-up (with autofilled field displayed or hidden), then create the page with the name you want upon submit. The server-side saving could be done with either velocity or groovy script.
I think there is an extension doing that, but I can't find it ... If someone remembers :) BR, Jeremie [1] http://extensions.xwiki.org/xwiki/bin/view/Extension/Modal+Box+Application 2014-07-17 1:08 GMT+02:00 Jeremie BOUSQUET <[email protected]>: > Hello, > > You could check the "Self renaming forms" extension [1], that would allow > renaming your page using the uid from the autofilled field. > > [1] > http://extensions.xwiki.org/xwiki/bin/view/Extension/Self-Renaming+Forms > > BR, > Jeremie > > > 2014-07-16 23:59 GMT+02:00 Jason Clemons <[email protected]>: > > Hello all, >> >> I've created an "App Within Minutes" and written some custom JavaScript >> to autofill the value of the popup dialog box (called "Entry Name") with a >> randomly generated UID.. >> >> Essentially what happens is I click the "Add New Entry" button and when >> the dialog pops up, it is autofilled with the UID from my client-side code. >> >> I'd like to skip the popup box entirely and just create the page directly >> off of the UID so the user is just taken to the form automatically, but the >> only thing I can think of is just hiding the dialog and pushing the button >> via JavaScript. >> >> Any other suggestions are certainly welcome, thx >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> > > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
