FormModel « MVC « Spring Q&A





1. Commit FormModel on losing focus on FormPage    forum.springsource.org

Is it possible to get the state of FormModel either changed or not as a whole form not by a property? I want to prompt user to save their changes if ...

2. FormModel.isDirty() doesn't seem to work ...    forum.springsource.org

Ollie, I have NestingFormModel and when I edit one of textfield on of the forms I do expect that my formModel.isDirty() would return true but it never returns true infact, no ...

3. Questions about FormModel.isDirty()    forum.springsource.org

Questions about FormModel.isDirty() I've got some questions about FormModel.isDirty(). I apologize in advance if I'm stupid or if I missed something obvious in the javadocs, the user manual or the code. ...

4. How to set FormModel's id    forum.springsource.org

static FormModel createFormModel(Object formObject,String formModelId) { ValidatingFormModel formModel = FormModelHelper.createFormModel(formObject, true); formModel.setId(formModelId); return formModel; }

5. Strange behavior on FormModel PropertyChangeListener    forum.springsource.org

Sep 2nd, 2005, 03:03 PM #1 lstreepy View Profile View Forum Posts Private Message Senior Member Join Date Aug 2005 Location Austin, TX Posts 425 Strange behavior on FormModel PropertyChangeListener I'm ...

6. FormModel.isDirty() changed?    forum.springsource.org

FormModel.isDirty() changed? Hello I have the feeling that over the last 2 weeks, something has changed in the FormModel so that the isDirty() method seems to always return "false"; May be ...

7. Why no FormModelHelper.create*FormModel(Class beanClass)?    forum.springsource.org

Why isn't there a FormModelHelper.create*FormModel(Class beanClass)? Currently they all take a bean instance as parameter, but I'd like to init my form model before I actually have a bean instance. Later ...

8. FormModel.setFormObject(null)    forum.springsource.org

FormModel.setFormObject(null) throws an Exception. In my use case it can happen that a null item is selected and I 'd like to show a read-only empty form. I should be able ...

9. Reverting invalid formmodel    forum.springsource.org

Hi! I am just wondering that is it possible to revert a formmodel that has validation errors. FormModel.revert() does nothing when the formmodel is not valid. It seems also that isDirty() ...





10. problem with FormModel    forum.springsource.org

problem with FormModel Hi, I'm trying to change the pojo in a ApplicationDialog's FormModel. But it seems nothing changes at all! Creating a "carFormDialog" instance consumes lots of time, so we ...

11. formModel.getPropertyAccessStrategy()    forum.springsource.org