[opencms-dev] OpenCms 8.0.3 and FormGenerator 2.0 : issue with displayfield and macros

Sandrine Prousteau s.prousteau at eurelis.com
Thu Apr 19 16:28:51 CEST 2012


Hi

 

I'm using OpenCms 8.0.3 and Alkacon FormGenerator 2.0.

 

I'd like to have a field "Display", i.e. with the value displayed and
submitted as a hidden field, but not editable. But my value must be a
User parameter (like ${currentuser.lastname}).

When I write ${currentuser.lastname} as a default value on a Text input
field, the value is displayed correctly in a text input field. But when
I put it on a Display field, only a hiddent input is displayed, with no
value, and there is no value displayed.

Is it normal?

I've tried to put a basic text instead of a macro in a Display field, no
value is displayed too!

I use the default stringtemplate of the module...

 

Thanks for your help.

Sandrine.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120419/77fbd333/attachment.htm>


More information about the opencms-dev mailing list