Hi all, I've just had a read of Ajax Simplifications in Spring 3.0 and must say that as a casual spring developer, I am so far overwhelmingly impressed with what Spring 3.0 has to offer; thus I'm convinced that Spring 3.0 is the technology of choice for the project that I've just embarked on.
However, although I suspect accessability/degradeability is outside of scope of that article, it's an issue that I will certainly need to address and would like to develop a solution in the most cleanest/efficient manner possible.
Consider the simple example of a drop down select element, that will append a fieldset of other elements based on the selection.
This is where I can't decide what to do
Can I do a $.getJSON request to the same controller as above to invoke the same controller logic that would have been run with JS turned off?
Is the best place to put the html fieldset elements in the model to prevent duplication in the jsp/js?
I can see it getting quite messy with the optional fieldsets being as part of the model and anticipate having to generate html from/to json using the model.
Appreciate any thoughts.. Cheers