<managed-bean>
<managed-bean-name>HR_Person_Bean</managed-bean-name>
<managed-bean-class>TableBeans.HR_Person_Bean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>param1</property-name>
<value>#{param.param1}</value>
</managed-property>
</managed-bean>
<rich:dataTable id="registry" rows="10" value ="#{HR_Person_Bean.everyPerson}" var="personel" >
<rich:column rowspan="1" width="170" sortBy="#{personel.PERS_Name}" >
<f:facet name="header" >
<h:outputText value="Ad"/>
</f:facet>
<a4j:commandLink value="#{personel.PERS_Name}" action="#{HR_Person_Bean.readTableFromParametre}" >
<f:param name="param1" value="#{personel.PERS_Id}" />
</a4j:commandLink>
</rich:column>
protected String param1;
public String getParam1() {
return param1;
}
public void setParam1(String param1) {
this.param1 = param1;
}
The Man Who Loved Algorithm&Ubuntu.
www.burakamasyali.com
|