| org.apache.struts2.showcase.action.EmployeeAction org.apache.struts2.showcase.jsf.JsfEmployeeAction
JsfEmployeeAction | public class JsfEmployeeAction extends EmployeeAction (Code) | | Overriding the EmployeeAction to main provide getters returning the data in
the form required by the JSF components
|
JsfEmployeeAction | public JsfEmployeeAction()(Code) | | Creating a default employee and main skill, since the JSF EL can't handle
creating new objects as necessary
|
getAvailableItems | public Collection getAvailableItems()(Code) | | Returning a List because the JSF dataGrid can't handle a Set for some
reason
|
getAvailableLevelsAsMap | public Map getAvailableLevelsAsMap()(Code) | | Converting the list into a map
|
getAvailablePositionsAsMap | public Map<String, String> getAvailablePositionsAsMap()(Code) | | Changing the String array into a Map
|
getAvailableSkills | public Map<String, String> getAvailableSkills()(Code) | | Converting the Skill object list into a map
|
getSelectedSkillsAsList | public List<String> getSelectedSkillsAsList()(Code) | | Gets the selected Skill objects as a list
|
|
|