AnsweredAssumed Answered

selectone.ftl no available options in alfresco 5

Question asked by 4535992 on Aug 9, 2017
Latest reply on Sep 4, 2017 by douglascrp

In relation to a old question https://community.alfresco.com/thread/211781-selectoneftl-no-available-options i have a surf extensions with the configs tag, now i want to build my form:

 

<config evaluator="string-compare" condition="signed">
                    <forms>
                        <form>
                            <field-visibility>
                              ............................................
                                <show id="my_form_sign_firma.tipo"/>
                                ...................................     
                            </field-visibility>
                            <appearance>

.....................

 <field id="my_form_sign_firma.tipo" label-id="property.form.sign.my_form_sign_firma.tipo">
                                      <control template="/org/alfresco/components/form/controls/selectone.ftl"/>
                                    <control-param name="options">PADES,CADES,DETACHED</control-param>
 </field>

....................

                            </appearance>
                        </form>
                    </forms>
                </config> 

 

this return the message "no options are aviable" when i "popup" the form.

I dont't want to build a model with a type and set a constraint for make it work, like suggested on the old topic, there is a more easy solution like customize the selectone.ftl for avoid this issue? if is a issue and not a bad configuration by me.

Outcomes