Why do you have to put the html in the resource file for header and footer? You can use include directive instead.
----- Original Message ----- From: "JC" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 07, 2002 3:31 AM Subject: <html:messages> Design issue: mixing data and presentation!!!! > Hi, > A great thing with Struts is the error validation > capabilities. However, the use of <html:errors/>, or > lately <html:messages>, poses a problem that I found > not to be a very good design (though it is slightly > better in the messages tag). > > What I don't like is, in order to get any presentation > formatting on the header and footer, you need to enter > html in the resources and therefore mixing up data and > presentation. > > An example where this apply is that we have an i18n > utility where the administrator for each country can > translate all messages from a default language into > their local language and for the messages headers and > footers they have to see the html as well. > > Has anyone thought of this before? > > /Johannes > > > > _____________________________________________________ > Hitta snörapporter... > från 500 olika skidorter i Europa > på http://se.snow.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>