If it helps, Expert Spring MVC and Web Flow has a short by informative appendix on integrating DWR and Spring MVC.
Type: Posts; User: sethladd; Keyword(s):
If it helps, Expert Spring MVC and Web Flow has a short by informative appendix on integrating DWR and Spring MVC.
Yes. You must set the requestURI attribute of the <display:table> tag.
<dt:table name="memberList" id="member" sort="external" defaultsort="1"
requestURI="/app/paginatedallmembers">
FWIW, I...
It should be noted that Spring 2.0 includes handy JSP taglibs for XHTML form elements. So, Spring will finally have tags like <html:input> and <html:select>. They are currently in the latest Spring...
The SWF code will be available soon at Colin Yates' homepage. I think he's waiting for SWF 1.0. As for the rest of the book, there really isn't a working application, except for the Jump Into...
To avoid writing all that XML, you can simply register the Custom Data Editor inside your controller's initBinder() method. However, I'd only do that if one controller will use the Editor. ...
Thanks for the thumbs up on the book, Rakesh. I want to apologize for all the typos. As a first time author, I was amazed at the number of steps involved in producing the book. Needless to say,...
Uhh... right! It's an intentional omission to keep the reader on their toes. That's it. :)
Wow, that's a really bad typo. Thanks for finding it. In fact, that really changes the whole meaning of that topic! It is indeed 'Spring does *not* provide any interfaces or classes for the...
Aloha Spring developers!
I've started a small contest where the winner will receive a free copy of Expert Spring MVC and Web Flow. All you have to do is come up with the most creative and...
Great start!
The code snippet you show (loading the user with the DAO, then calling changePassword()) is perfectly acceptable, imho.
The point I was trying to make is that changePassword() encapsulates the...
Just finishing up the Spring Web Flow content. Should be out very soon. I hope you like it!
I'm not sure there is a difference between application logic and domain logic. To me, the point of the application is to effectively model the problem domain.
There is, however, I nice...
I don't necessarily agree with this. It's this kind of "fear that some day things might change" that leads people to not put any logic in the domain model.
First off, business logic belongs in...
As far as the default URL -> View name translation, it should work something like this:
http://example.org/app/foo.spring -> 'foo' for the view name
The strategy is pluggable, but I believe...
I agree with gkatz, you should use Spring's support for Quartz. It's an excellent timing service.
I find the service layer extremely helpful when writing apps that aren't simply web applications. However, if your app is *just* a web application, you are right to question the need for a service...
Just a word of caution... if you are redirecting with redirect:, it will issue a HTTP redirect. This method will create a new request, and anything you place into it will be lost. If you want to...
What is the value of successView? It sounds like it is the JSP. Instead, change it to the Controller. You can do this just like any other InternalResourceView, because from the Servlet API's...
One possible way is to use method injection, a fancy type of DI that spring supports. You can write a custom factory bean that *is* aware of the Servlet API, which can create temporary files. Then,...
Well, if done right, you won't even know that AspectJ is involved. AspectJ can use load-time weaving, so no compile step is required. It'll be pretty much a case of just including the aspectj.jar...
To answer your question about caching, nothing is stopping you from caching that data inside the interceptor. Though, it may make more sense to allow Hibernate (or whatever layer your DAO is using)...
You should post a feature request for this exact thing on the JIRA, and then attach your proposed solution. The Spring developers are very good at listening to the community's needs when it comes to...
You need to take a step back and read up on how JSTL tags work in JSP 2.0 environments.
With JSP 2.0, the servlet container will auto-detect tags by looking inside the JARs in the /WEB-INF/lib for...
I agree with this way. You get the best of both worlds: mapping/binding directly to domain objects, and being able to add workflow/transient properties.