- Timestamp:
- May 21, 2010, 5:57:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/JobScheduleBean.java
r871 r874 74 74 ae.getComponent().getAttributes(); 75 75 76 String idString = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("UserObject.resId");77 String name = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("UserObject.resName");76 String idString = (String) FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("UserObject.resId"); 77 String name = (String) FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("UserObject.resName"); 78 78 79 79 if (idString == null && name != null && !name.equals("")){ … … 105 105 public void selectNode(ActionEvent ae){ 106 106 //BeanUtil.setInfoMessage(null, "Die Methode ist noch nicht implementiert"); 107 String id = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("userObject.resId");108 String name = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("userObject.resName");107 String id = (String) FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("userObject.resId"); 108 String name = (String) FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("userObject.resName"); 109 109 BeanUtil.setInfoMessage(null, ("id: "+id+" name: "+name) ); 110 110
Note:
See TracChangeset
for help on using the changeset viewer.