[xwiki-users] how to create a form with xWiki?

Ludovic Dubost ludovic at xwiki.org
Fri Apr 15 18:00:39 UTC 2005


I see the problem with the registration ID if you don't want to use the 
username.
In this case you can store the registration ID in a field and get the 
next one using a select max()..

I can help you write the application if we make a sample application out 
of it.. What do you think ?
Can you give me access to your server ?

Ludovic

Mathieu Peltier a écrit :

>On Friday 15 April 2005 17:32, Ludovic Dubost wrote:
>
>  
>
>>>- in Main.TestRegistration, I have hard coded the name of the Registration
>>>instance ("Reg1"). My first idea was to store the registrations under
>>>Registration 1, Registration2, ..., Registrationn. How to automaticcally
>>>calculate the name to use from the data already store in the database? Is
>>>there a better solution?
>>>      
>>>
>>This is the part where the fact that you can't call directly the "save"
>>action causes a problem.
>>This will be fixed soon. Currently to do this you need to ask first for
>>the first name or last name then open the "inline" form with the user name
>>    
>>
>
>yes but the username cannot be used to identity the registration (I could use 
>the email but this is not a valid wiki page name)
>
>  
>
>>Given that you want to do one form registration, validation and
>>notification, maybe you should use the advanced API which will give you
>>more flexibility.
>>    
>>
>
>Is there an Hello World sample available somethere which demonstrates how to 
>use the "advanced api"...?
>
>thanks for your time.
>
>  
>
>------------------------------------------------------------------------
>
>
>--
>You receive this message as a subscriber of the xwiki-users at objectweb.org mailing list.
>To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
>For general help: mailto:sympa at objectweb.org?subject=help
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>


-- 
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic





More information about the users mailing list