JSF取值

<h:commandLink actionListener="#{yhglBean.delYh}">

 

 

public void delYh(ActionEvent ev) {
UICommand cl =(UICommand) (actionEvent.getSource()); 
String val = (String) (((UIParameter)(cl.getChildren().get(1))) .getValue()); 
}

 

 

<property-name> scxzID</property-name>
  <property-class> java.lang.Integer </property-class>
  <value> #{param.scxzID} </value>

  

你可能感兴趣的:(java,JSF)