struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JC <johann...@yahoo.com>
Subject Re: <html:messages> Design issue: mixing data and presentation!!!!
Date Fri, 08 Feb 2002 23:11:19 GMT

Well, see the example application regarding the use of
<html:errors/> but sse the include directive from the
resource? That wouldn't be too nice either, would it?
See Ted's reply to my question regarding the
<logic:messagesPresent> tag.

/Johannes

 --- Julius <julius@medifast.ca> wrote:
> 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" <johannesc@yahoo.com>
> To: <struts-user@jakarta.apache.org>
> 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:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
>  

_____________________________________________________
Hitta snörapporter... 
från 500 olika skidorter i Europa
på http://se.snow.yahoo.com

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message