Jahia Dev Forum > Multiple Select...

0 (0 Good)
0 (0 Bad)

Multiple Select ChoiceList in Jahia 6.6

by  avantia »  2012/12/19 03:28

How can I define a content field that will allow me to select multiple values from the choice list items?

Something like:

 

[mynt:myContent] > jnt:content, jmix:droppableContent
  - options (string, choicelist) < '1', '2', '3', '4', '5'
 
But, I want the editor to be able to selecte multiple values from the list.
 
Anyone have experience with this or have ideas of how to achieve this?

  (avantia)

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

Re: Multiple Select ChoiceList in Jahia 6.6

by  pap@commaro.com »  2013/01/21 12:38

Hello,

it should be possible if you use:

[mynt:myContent] > jnt:content, jmix:droppableContent
  - options (string, choicelist) multiple < '1', '2', '3', '4', '5'
 
Regards,
Benjamin

 

Benjamin Papez (pap@commaro.com)

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

Re: Re: Multiple Select ChoiceList in Jahia 6.6

by  mohitbhunwalia »  2013/07/10 10:16

Hi,

How can I get selected option's value in my JSP at render time.

Please help me.

 

  (mohitbhunwalia)

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

Re: Re: Re: Multiple Select ChoiceList in Jahia 6.6

by  dgriffon »  2013/11/08 16:43

you have to iterate other values

if ${currentNode} is the node that contains the property :

<c:forEach var="val" items="${currentNode.properties.options}">

value : ${val.string}

</c:forEach>

best regards

David

David Griffon (dgriffon)

Number of messages  76
Registration date
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