Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-14316

Richfaces picklist: add button not fire, double-click works

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.5.17
    • Fix Version/s: None
    • Component/s: component-menu
    • Labels:
      None

      Description

      Hello all, I'm new in JSF. PLease help me to solve this problem...

      View:
      <rich:pickList id="fondspicklist"

      value="#

      {selectFonds.selectedFondsNr}

      "

      sourceCaption="Verfuegbare FondsNr"

      targetCaption="Selektierte FondsNr"

      listWidth="165px"

      listHeight="220px"

      valueChangeListener="#

      {selectFonds.onSelectListItem}

      "

      orderable="true">

      <a4j:ajax event="change" reRender="fondspicklist"/>

      <a4j:ajax event="additems" execute="@this"/>

      <a4j:ajax event="removeitems" execute="@this"/>

      <f:selectItems value="#

      {selectFonds.allFondsNr}

      " />

      </rich:pickList>

      Bean:

      private List<String> allFondsNr;

      private List<String> selectedFondsNr;

      @ManagedProperty("#

      {dbHandling}

      ")

      private DBHandling handling;

      public DBHandling getHandling()

      { return handling; }

      public void setHandling(DBHandling handling)

      { this.handling = handling; }

      public String getFonds()

      { return fonds; }

      public void setFonds(String fonds)

      { this.fonds = fonds; }

      public void loadAllFonds()

      { System.out.println("loadAllFonds"); DateFormat df = new SimpleDateFormat("dd.MM.yyyy"); String datum = df.format(selectedDate); allFondsNr = handling.select_nicht_reservierte_Fonds(datum); }

      public List<String> getAllFondsNr()

      { return allFondsNr; }

      public void setAllFondsNr(List<String> allFondsNr)

      { this.allFondsNr = allFondsNr; }

      public List<String> getSelectedFondsNr()

      { return selectedFondsNr; }

      public void setSelectedFondsNr(List<String> selectedFondsNr)

      { System.out.println(selectedFondsNr); this.selectedFondsNr = selectedFondsNr; }

      Thank you in advance!!!

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fmees Frank Mees
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: