Re: html:messages Design issue: mixing data and presentation!!!!

2002-02-08 Thread JC
Ah, yes. Nice and smooth! I must really go through the newer tags properly. Did the same solution with my own tag, but it would be nicer to use this. Thanks! /Johannes --- Ted Husted [EMAIL PROTECTED] wrote: That was true with the html:errors tag, but not with the newer html:messages tag.

Re: html:messages Design issue: mixing data and presentation!!!!

2002-02-08 Thread JC
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

html:messages Design issue: mixing data and presentation!!!!

2002-02-07 Thread JC
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

Re: html:messages Design issue: mixing data and presentation!!!!

2002-02-07 Thread Ted Husted
That was true with the html:errors tag, but not with the newer html:messages tag. With the messages, tag the errors.header and .footer are optional, so can do things like this: logic:messagesPresent TABLE width=100% TRTD class=message UL html:messages id=error LIbean:write

Re: html:messages Design issue: mixing data and presentation!!!!

2002-02-07 Thread Julius
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