I do know how to do that in Struts2, but not in Spring MVC, sorry!

In Struts2, as easy as adding two methods to your action:

List getUsers() {
...
}

List getSettings() {
...
}

Anyway, good luck,
Josep

2010/7/7 Jade <jada...@gmail.com>

> Hi,
>
>  I am using appfuse with Spring and would like to display multiple tables
> using DisplayTag. The problem is there will be only one controller which is
> used by the page that contains this multiple tables. The issues is - when I
> route the page to a success view, I can set only one list where as the
> tables use different property classes.
>
> Eg:
> <display:table name="users" cellspacing="0" cellpadding="0" requestURI=""
> id="names" class="table" export="true">
>  .........................
>  .........................
>  .........................
>  .........................
> </display:table>
>
>
> <display:table name="settings" cellspacing="0" cellpadding="0"
> requestURI="" id="names" class="table" export="true">
>  .........................
>  .........................
>  .........................
>  .........................
> </display:table>
>
> in controller :
>
> return new ModelAndView(getSuccessView(), Constants.PROFILE, fetchData());
>
>  I am just confused on how to do this with the DisplayTag. Any suggestions
> would be welcome.
>
> Thanks,
> J
>
>

Reply via email to