PDA

View Full Version : My complain. Why so few useful Spring MVC examples lacking?


Carlos Adolfo Ortiz Q
Jun 9th, 2008, 10:26 PM
My complain. Why so few useful Spring MVC examples lacking?

Well, it is true or false. Why there is no a place where one can find useful Spring MVC or Web flow examples exercising as many of the features they are using.

I tried to understand the onFormChange mechanism but found no example, neither the Javadoc gave me a clue.

Any thoughts.
Hope the Spring MVC team could answer this to me.
Thanks

ibnaziz
Jun 9th, 2008, 10:56 PM
Bro,

Look under 'Scenario 2' for an example of onFormChange, etc

http://forum.springframework.org/showthread.php?t=45156&highlight=onFormChange

Just to sum it up for you quickly (from the top of my head), before the onSubmit is even accessed... isFormChangeRequest is checked to see if your form needs to be changed (ie add children etc). If isFormChangeRequest returns true then the onFormChange method is executed to process whatever you want it to...

hope that was not too confusing...

regards

Carlos Adolfo Ortiz Q
Jun 10th, 2008, 02:18 PM
A thank for your comment. I will later study it.

But I still complain for the lack of examples explaining the features described in the Spring packages.

Or would I need to resort to the test cases, maybe, but we need examples for the real world....or I am stuck to the Web 1.0 model; do I need web 2.0 model?

Should this thread continue....