• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:optionsCollection - failed to obtain specified collection

 
Praveena Paruchuru
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

I am using <htmlptionsCollection property='regions' label='state' value='code'/>

In ActionForm, I have variable

private Region[] regions; and setter and getter methods for this.

In the action class I am setting the form.setRegions(regions);

Initially when theform is loading, it is displaying regions.

But when I submit the page, it is going to the action class and setting the regions, but when the page is loading it is giving error that 'failed to obtain specified colleciton".

Could anybody tell me how to solve this?

Thanks
Praveena
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic