Thanks Steve... I am trying that...
There is no way to set default value though... Error persisting field Home:gallerywidget:itemsPerPage: Persistent fields may not be updated until after the page has finished loading. This may be due to a persistent field with a default value. The default value should be removed. I need a default value in order to load my collection... otherwise this variable is interpreted as null or 0...depending on which type I use... Integer, String or int How would you set a default ?