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(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws