Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4367

preselect values in <s:optgroup>

    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

        Attachments

          Activity

            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: