|
Hi again,
I am afraid that I was too early posting my
question. I just looked at the docs and gave the source a *very* quick
look, and did not see right away how to do struts-like things. Which is (in
answer to you Jeff) the ability to compose a page of different parts (like a
menu, sponsor bar, nav body, content body, etc.) WITHOUT doing it with jsp
includes and the likes. In other words: to be able to change the layout of
pages (e.g. adding an extra footer) with a minimum of work (idealy just
changing a config file) BUT, now that I played around a bit with Maverick, I
found that using multiple staged transforms does the trick very good
indeed! As far as I can see now, you can do (allmost?) all the stuff that
Tiles does for you (including changing whole layouts by just editing the
configuration, as you can give parameters to transform stages), you just
have to do it differently. And sure, Tiles (and Struts) gives you loads of tags
to use, but XSLT (and jstl) makes up for that just fine.
I want to make the remark that I am
not complaining about Struts/ Tiles, as I have used it on a bunch of projects
with great results. I just think Maverick fits my taste of programming
better (small - but clever - is beautifull); count me in as regular Maven
user!
Finally...
- I�ll confess that
I�m not very familiar with Tiles � what are the cool things that you can do with
Tiles that you can�t do by <jsp:include>ing other maverick (or struts, for
that matter) commands?
Ah.. life can be so much simpler than it looks at
first sight. Damn! It's so simple I never really thought
about nesting actions/ commands. Nice for doing portal stuff.
Well, I am feeling stupid enough for tonight,
cheers,
.:Eelco
|
- [Mav-user] how to migrate from Struts/ Tiles to Ma... Eelco Hillenius
- RE: [Mav-user] how to migrate from Struts/ Ti... Schnitzer, Jeff
- RE: [Mav-user] how to migrate from Struts... Eelco Hillenius
- RE: [Mav-user] how to migrate from St... Aapo Laakkonen
- RE: [Mav-user] how to migrate from Struts... Eelco Hillenius
- RE: [Mav-user] how to migrate from Struts/ Ti... Shackelford, John-Mason
