[opencms-dev] OAMP Webform password field

Thomas Decher thomas.decher at tomdigital.de
Thu Mar 11 16:53:45 CET 2010

Hash: SHA1

Hi Peter,

I think you have to create your own field type. The simplest way would be to
examine the webregistration module and extract the needed informations to extend
the webform module.

The webregistration module, the survey module and the comments module are good
examples for finding out what have to be done to extend the webform module.

You'll need a class for the field, extending the field adapter of opencms or
implementing the field interface.
You'll also have to extend the formFactory to register your field.
The form class and the formHandler class must be adapted, too. They're calling
the initialisation process and factory.

Finally you need a new jsp to load your own form / formHandler.


Peter Kormos schrieb:
> Hi everyone!
> I am trying to use the OAMP webform module (ver 1.3.1)  to create a
> custom registration form under OpenCMS 7.5.2.
> Almost everything is perfect but there is no password type in the input
> field type list. Am I missing something, or the password field was
> really left out of the module?
> How could I solve this problem?
> The OAMP Web User Registration module is not a viable alternative as I
> want to create custom User object and not use the OpenCMS user.
> Thank you in advance,
> Peter
> ------------------------------------------------------------------------
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev

- --
- -
TOM Digital GmbH
Thomas Decher
Hammerbrookstrasse 93
20097 Hamburg, Germany

Fax: +49.40.254048-40

E-Mail: td at tomdigital.de

TOM Digital GmbH

Geschäftsführer / Managing Director: Thomas Heisterhagen
Eingetragen beim / registered at: Amtsgericht Hamburg HRB 110797

Diese e-mail einschliesslich ihrer Anlagen ist vertraulich und nur fuer
den Adressaten bestimmt. Wenn Sie nicht der vorgesehene Empfaenger sind,
bitten wir Sie, dieses e-mail mit Anlagen unverzueglich vollstaendig zu
loeschen und uns umgehend zu benachrichtigen.

This e-mail and its attachments are strictly confidential and are
intended solely for the attention of the person to which it is
addressed. If you are not the intended recipient of this e-mail, please
delete it including its attachments immediately and inform us
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the opencms-dev mailing list