Using parameters in dataTables
Is there anyway to make the dataTable's value attribute bind to a method that needs a parameter similar to the way the action attribute in a commandLink tag can set a parameter. In other words, is there some way to do something like the following?
<h:dataTable id="items" value="#{someBean.items}" var="item">
<f:param name="someParam" value="someValue"/>
<h:column>
...
</h:dataTable>
And the corresponding method in the someBean object would look like...
public Collection getItems()
{
HttpServletRequest req = (HttpServletRequest)(FacesContext.getCurrentInstance().getExternalContext().getRequest());
String param = request.getParameter("someParam");
...
}

