title: struts 2 multiple select boxes
body: <p>In my web page I use two select boxes, second one will fill according to the value selected on first select box using ajax (dojo plugin).</p>
  
  <pre><code>&lt;s:select label="Select Item"
            name="selectitem"
            headerKey="0"
            headerValue="-- Please Select --" 
            list="itemList"
            required="true"
            onchange="javascript:show_details();"/&gt;
  
  
  &lt;s:url id="d_url" action="depotFill" /&gt; 
  
  &lt;sx:div id="details"
          href="%{d_url}"
          listenTopics="show_detail"
          formId="depotFix"
          showLoadingText="Loading..."&gt;&lt;/sx:div&gt;      
  </code></pre>
  
  <p>The second select box will be filled using the "depotFill" action and loaded from some other page to the "details" div tag.</p>
  
  <pre><code>&lt;%@ taglib prefix="s" uri="/struts-tags"%&gt;
  
  &lt;s:select headerValue="-- Please Select --"
            name="dest"
            list="unitList"
            headerKey="0"/&gt;
  </code></pre>
  
  <p>This works fine, but now I need to have 5 pairs like this on my web page. Is this means that I'm going to have to create 5 more pages contains secondary select boxes? or is there any way to simplify this?</p>
  
  <p>Thanks in advance.</p>