package edu.wright.hendrix11.familyTree.bean;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
*
* @author Joe Hendrix
*/
@ManagedBean
@RequestScoped
public class GenderBean
{
    private List<Gender> genders;
    private GenderData genderData;
    
    /**
     *
     */
    @PostConstruct
    public void initialize()
    {
        genders = new ArrayList<Gender>();
        genderData = new GenderData();
        genders = genderData.selectAll();
    }
    
    public List<Gender> getGenders()
    {
        return genders;
    }
}

@@ -214,27 +214,38 @@
 private 
-List%3CGender
+HashMap%3CString, String
 %3E gender
@@ -386,28 +386,30 @@
 s = 
-new ArrayList%3CGender
+HashMap%3CString, String
 %3E();
@@ -455,24 +455,40 @@
 %0A       
+ List%3CGender%3E
  gender
-s
+List
  = gende
@@ -514,37 +514,166 @@
     
-%7D%0A    %0A    public List%3CGender
+    %0A        for(Gender gender : genderList)%0A            genders.put(gender.getFullWord(), gender.getFullWord());%0A    %7D%0A    %0A    public HashMap%3CString, String
 %3E ge

Update GenderBean.java