You could also check this extension as a helper, I think it was made for a similar (if not
the same) use case:
Thanks
-Vincent
On 17 Jul 2014 at 02:04:55, Jason Clemons
(jason.clemons@live.com(mailto:jason.clemons@live.com)) wrote:
Thanks for the tips, I'll take a look at that
tomorrow.
> On Jul 16, 2014, at 4:25 PM, "Jeremie BOUSQUET" wrote:
>
> 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 :
>
>> 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 :
>>
>> 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