Jahia Dev Forum > extends a component...

0 (0 Good)
0 (0 Bad)

extends a component to add a property without the checkbox

by  alexandre »  2012/08/30 08:31

Hi everyone,

I would like to extend an existing Jahia component with this kind of code in one of my modules definition.cnd :

[mymix:mixValueFormElement] mixin
extends = jnt:formListElement
- value (string)

I know it would work, but in edit mode, i would have to click on a checkbox to display the field.

Is there a way to avoid the checkbox and force the field to be displayed ?

 

Thanks in advance

  (alexandre)

Number of messages  9
Registration date
0 (0 Good)
0 (0 Bad)

Re : extends a component to add a property without the checkbox

by  faissah »  2012/08/31 14:16

Hi alexandre,

If you want to remove the checkbox you would have to edit the definition of jnt:formListElement and directly add the parameter. Another solution would be to fork this module.

Regards,

Fabrice

Fabrice  (faissah)

Number of messages  262
Registration date
0 (0 Good)
0 (0 Bad)

Re : extends a component to add a property without the checkbox

by  alexandre »  2012/09/06 12:56

I don't want to modify the definition of the native jahia module, so i'll fork it. Thanks for your help =)

  (alexandre)

Number of messages  9
Registration date
0 (0 Good)
0 (0 Bad)

How to bring FormFactory designed fields into JSP

by  venkat »  2015/06/03 07:04

Hi Team,

kindly provide the solution for my query ,

for example by using FORMFACTORY Designed some fields that fields i need to show in my jsp....

venkat
Number of messages  2
Not registered
Contact
Share
Feedback

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page