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

preselect values in <s:optgroup>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 2.3.15.1
    • 2.5.8
    • Expression Language
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: