Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.3
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      1 select item
      2 move item
      3 click commandButton reRender
      ...
      n. click commandButton reRender

      select deduces various values

      //
      <h:dataTable id="infoPanelID" value="#

      {orderingList.info}

      " var="info" rendered="true">
      <h:column>
      <h:outputText value="#

      {info}

      " />
      </h:column>
      </h:dataTable>
      <a4j:commandButton value="reRender" reRender="infoPanelID"></a4j:commandButton>

      <rich:orderingList selection="#

      {orderingList.selection}

      " />

      /// code
      private ArrayList<String> info;

      public void setSelection(Collection<Data> selection) {
      System.out.println("Selection.out: " + selection);
      Iterator<Data> inter = selection.iterator();
      Data data = new Data();
      info.clear();
      while (inter.hasNext())

      { data = inter.next(); info.add(data.getInt0() + " " + data.getStr0() + " " + data.getStr1() + " " + data.getStr2() + " " + data.getStr3()); }

      this.selection = selection;
      }

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Nick Belaevski
            Reporter:
            Aleksej Yanul
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: