How do you view those tags' role? I see them as performing business logic in the view layer where it should be done in an Action class. Tags in the html taglib generally render html components but these don't.

David



From: Ted Husted <[EMAIL PROTECTED]>
Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
To: Struts Developers List <[EMAIL PROTECTED]>
Subject: Re: <logic:forward> and <logic:redirect>
Date: Tue, 25 Mar 2003 04:34:28 -0500

I've always wanted to move them to the HTML taglib, since they are tied to the Struts controller (where the other taglibs are not). This would put, I believe, all the Struts-dependant tags in one place.

I don't think we need to pull them, but I would be in favor of deprecating them as logic tags and placing them in the html taglib (next time around).

David Graham wrote:
IMHO, the <logic:forward> and <logic:redirect> tags implement a business logic function in the view layer rather than in an Action. The rest of the tags in the logic taglib provide view layer functionality. I think we should deprecate <logic:forward> and <logic:redirect> to enforce a cleaner MVC implementation.

Thoughts?

David





_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--
Ted Husted,
Struts in Action <http://husted.com/struts/book.html>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to