How to make default selection for within ?
It\'s needed,that particular \"20\" item of dropdown
Initialize the recordsPerPage in your backing bean.
From your source code I assume that you have a bean FileSearchCriteriaOut and your recordsPerPage is a String, then you can do the following in the bean's constructor:
public FileSearchCriteriaOut() {
recordsPerPage = "20";
}
For the facelet refer to Jigar Joshi's answer.