|
Hi Thanks,
I will use this way I think. Nicolas -----Message d'origine----- Hi Nicolas, If you want to use a checkbox to allow the
user to select multiple values from a list, may I suggest you use a value="<jahia_multivalue_multiple[value1:value2:value3]>value1"
(displays three choices for this
field and allows the user to pick one or more with value1 as the default
selection) instead of a value='<jahia_multivalue[left:right:default]>left'
(displays three choices for this
field and allows the user to only pick one) If however you want to use a checkbox for
aesthetic reasons, then this can be done by modifying the SmallText edit engine
which (currently defaults to a <select>): \jahia\core\src\webapp\jsp\jahia\engines\shared\smalltext_field.jsp
(in the source distribution) Or \tomcat\webapps\jahia\jsp\jahia\engines\shared\smalltext_field.jsp
(in the Jahia installation) Please feel free to send us your modified
version of the JSP so that we can commit it into Jahia. Regards Marc From:
Nicolas Lafaury [mailto:[EMAIL PROTECTED] Hello all Is anyone knows if we can have checkbox in a
containerList ? For an example, this code create a select box. <content:declareContainer> <content:declareField
name='<%="monStatutDossier"+containerId%>' title="Statut
Dossier"
type="SmallText"
value="<%=getMultivalues(listDossierName)%>" /> </content:declareContainer> I want to use a checkbox to select multiple
value. Is it possible? Thanks all Nicolas |
- RE : CheckBox Nicolas Lafaury
- RE : CheckBox Nicolas Lafaury
