<h:selectBooleanCheckbox :: params>

i have a requirment where i need to send corresponding value when a particular checkbox is selected in a row from a table..i am using plain html table to render muliple rows with jsf components against datatable..

below is the checkbox i am using..each checkbox will have somethings like templateid..when a particular row is selected, i need that template id in bean. only 1 checkbox can be selected so i have small javascript for making checkbox as radio button..f:param does not work if i have as below..

<h:selectBooleanCheckbox styleClass="selectBooleanCheckbox" value="#{pc_TemplateMgmtLandingView.templateBean.templateId}" valueChangeListener="#{pc_TemplateMgmtLandingView.handleSelectBooleanCheckboxValueChange}">

<f:param name="tid" value="#{data.templateId}"></f:param>

</h:selectBooleanCheckbox>

[986 byte] By [tech_tipa] at [2007-10-3 5:59:29]
# 1
f:param is not intented for this use. Use f:attribute instead. Also see http://balusc.xs4all.nl/srv/dev-jep-com.html
BalusCa at 2007-7-15 0:41:10 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
thanks balu..
tech_tipa at 2007-7-15 0:41:10 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...