• Post Reply Bookmark Topic Watch Topic
  • New Topic

Should I use Titles or Write a custom tag or two  RSS feed

Gavin Tranter
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I bet you get asked this all the time, having read the fAQ and had a quick squint at the Tiles acrtical, I am still unsure as to the best way forward

I have a Spring MVC web appliation, and it has a common layout for it pages, as you might expect.

However parts of these common areas are dependent upon the page you are in, for example when viewing a component details (in the component area), there will be menu options available in the content areas header and footer which arent there when you are viewing a list of components.

Also the component area might be spilt into several sub areas dependent on the type component, however each of these sub areas will be much the same, just a different title and content but the structure and style will be the same.

Also, the menu items are likely to be edit options, so it will have to take the object ID.

So, can I use titles to achive this, i.e pass a string in that is to be written to a given marker inside the tile.
Or should I write a custom tag/library?

Thanks guys.
[ June 12, 2007: Message edited by: Gavin Tranter ]
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!