gkontos
Jun 8th, 2008, 03:51 PM
Is it possible to use Spring's form controllers (ie, SimpleFormController) with icefaces? I suppose the same question would apply to any another jsf implementation.
I'm kind of attached to the simplicity of onSubmit and returning a ModelAndView instance after the form is submitted. Plus, I'd rather not have to put all the navigation rules for my forms into faces-config.
I have been trying to use a bean reference to a class that extends SimpleFormController in my icefaces page. But when my form is submitted, icefaces complains that the bean doesn't exist. Oddly enough icefaces is happy validating the form and loading the form with the spring configuration... It just doesn't like the submission.
Has anyone else wrestled with this? I'd love a pointer...
Thanks!
I'm kind of attached to the simplicity of onSubmit and returning a ModelAndView instance after the form is submitted. Plus, I'd rather not have to put all the navigation rules for my forms into faces-config.
I have been trying to use a bean reference to a class that extends SimpleFormController in my icefaces page. But when my form is submitted, icefaces complains that the bean doesn't exist. Oddly enough icefaces is happy validating the form and loading the form with the spring configuration... It just doesn't like the submission.
Has anyone else wrestled with this? I'd love a pointer...
Thanks!