apache tiles ordering problem

Posted by ivar on Stack Overflow See other posts from Stack Overflow or by ivar
Published on 2010-03-29T08:00:32Z Indexed on 2010/03/29 8:03 UTC
Read the original article Hit count: 275

Filed under:
|
|

I have a problem with the order of rendering tiles. The menu gets rendered first and then the body of our webpage gets rendered. Each tile has it`s own controller that handles everything that tile needs to do. There are two forms. One in the menu and one in the body. Each one changes something in the menu and in the body. The problem is that if a form in the body changes something the menu gets rendered first and then the body controller handles form things and puts data to session, but menu is already done and the session was empty.

I cant turn body and menu around becaouse there are other forms that work the other way around. How to deal with this problem? I do want every tile to have its own controller that deals with everything that tile does.

© Stack Overflow or respective owner

Related posts about tiles

Related posts about java