Hi !
Yeah, this makes sense, figured what's happening and it makes sense but missed
that pre-execution handling code in the controller method, my Blossom sample
does not have this in, I was looking everywhere.
Here is my ContactFormComponent:
[code]
@RequestMapping(value = "/contact", method = RequestMethod.POST)
public String handleSubmit(@ModelAttribute ContactForm contactForm,
BindingResult result, Node content) throws RepositoryException {
new ContactFormValidator().validate(contactForm, result);
if (result.hasErrors()) {
return "components/contactForm.ftl";
}
return "website:" + content.getProperty("successPage").getString();
}
[/code]
Maybe there are links to different versions.
Anyway, thnx a lot!!!
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=41c73e9d-3543-4218-893e-b79d0933212f
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------