Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: 2.3.15.1
    • Fix Version/s: 2.5.8
    • Component/s: Expression Language
    • Labels:
      None

      Description

      How I can preselect values in <s:optgroup>?
      Example:

      <s:select multiple="true" value="selectedSubjects" list="%{{}}" name="selectedSubjects">
      	<s:iterator value="subjectCategoryList">
      		<s:optgroup label="%{name}" list="subjectMap[identity]" listKey="identity" listValue="name"/>
      	</s:iterator>
      </s:select>
      

      Please, add this bug or get me answer

        Activity

        Hide
        lukaszlenart Lukasz Lenart added a comment -

        Just provide listKey in your action

        Show
        lukaszlenart Lukasz Lenart added a comment - Just provide listKey in your action

          People

          • Assignee:
            lukaszlenart Lukasz Lenart
            Reporter:
            nick08ru Gulyaev Nikolay
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development