Troy Bull ha scritto:
I have another tiles question. I have an application with a header, footer leftmenu and body. My question is should i have 1 form layed out in my layout.jsp that surrounds all these tiles, or should i have a different form on each tile.

For example if you edit a form in the body section and then click on a menu button I want to be able to say to people there are changes that may need to be saved. The button they clicked would be in a different tile than the form they edited.

So what is the best policy, one form per tile or one form per whole application? Some combination of both?


As a general rule, you should design each tile to be independent from the rest of the page. So, in your particular case, you probably should make sure that each form is comprised into a single tile. However, nothing prohibits you from using a general form and tiles containing only few fields to fill. That's a question of reuse: if these tiles made of fields represent big sections, then maybe you should use Tiles. If it is a question of a field or two, probably you should use simply <c:if> and similar tags...

HTH
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to