[jboss-user] [JBoss Seam] - Re: accessing hidden field values in a SFSB

asookazian do-not-reply at jboss.com
Mon Oct 22 17:00:21 EDT 2007


ok thx bro.  your 2nd suggestion worked:

	FacesContext fc = FacesContext.getCurrentInstance();
  | 		Map map = fc.getExternalContext().getRequestParameterMap();
  | 		String rowIndex = (String) map.get("a4jForm:rowIndex");
  | 		log.info("rowIndex = " + rowIndex);
  | 		String colName = (String) map.get("a4jForm:colName");
  | 		log.info("colName = " + colName);
  | 		String siteId = (String) map.get("a4jForm:siteId");
  | 		log.info("siteId = " + siteId);
  | 		String employeeNumber = (String) map.get("a4jForm:employeeNumber");
  | 		log.info("employeeNumber = " + employeeNumber);
  | 		

the correct values were outputted in the log.  this stuff is such a pain in the ass, wow....

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097630#4097630

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097630



More information about the jboss-user mailing list