tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anyz <anyz...@gmail.com>
Subject Preparing Data for Tiles when used with Spring
Date Thu, 29 Oct 2009 11:21:25 GMT
When using with Spring 2.5, What is best way to prepare data for Tiles.

1- Prepare data in Spring controller or set the delegator property with
methodNameResolver for controller and put data fetch logic in it.

2- After some validation etc controler can throw ModeView to render tiles.
Tiles preparer class can then fetch required data for it from DB.

What can be pros and cons of two apparoaches or any other better alternate.

thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message