hi Walter,

I inserted my comments into the reply:


> Hi Wouter,
> I have been thinking a lot about the jsp layouts.
>
> Nowadays I just generate the jsp the first time and the webdesigner
> changes its layout freely. The big problem with this approach is, of
> course, the changes made after the first generation.
>

yup .. exactly

> I'm very sure I will never generate the very final jsp page, so I'm
> focusing in ways to re-apply the changes made by the webdesigner to the
> individual jsp pages.
>

I'm all ears

> One idea (the best I've got until now) is:
>
> First generation - a very basic jsp page is created (xml compatible) and
> the changes are made using a xsl to get the final layout.
>
> Re-generations - the very basic jsp pages are generated again and the
> previous created individual xsl files are applied to each page, recreating
> the final ones.
>
> That's it, what do you think ?
>

excellent idea!

so basically what you're saying is to have an optional XSLT file to goes
with each jsp page (for example by taking the same name as the JSP but
just adding a suffix: my-page.jsp will have an XSLT called
my-page.jsp.xsl)

since I have only XML in the jsp pages (no scriptlets) I can perfectly
transform it elegantly into something else

I like this idea because I enhances reusability .. and it would be simple
to integrate this feature into the build process

and I don't think it's a big issue for the developer to write this better
(it definitely beats tagged values, that's for sure)

I also very much like this idea to make the facades lighter (most
style/layout can be dropped .. stuff such as the tabs for example, which
are a pain in combination with tables and x-y positioning)

so I'm for: +1


anybody else got an idea ?

thanks again for your feedback Walter!

-- Wouter



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to