"Mohan Kishore" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> --- Martin Cooper <[EMAIL PROTECTED]> wrote:
> > 1) All of the tags in the logic taglib relate to flow control. There are
two
> > sets - conditionals and 'goto's
> Not true
> - conditionals relate to layout and display (i.e. View)

Conditionals relate to whatever the developer wants them to relate to. They
are in no way limited to layout and display. I can just as easily use a
conditional tag to control (sic) a SQL update as I can to determine whether
or not to show someone's credit card number.

> - gotos send control out of the current file (i.e. Control)

In my view (!), you are splitting hairs here. You are saying that if a tag
exerts control over the flow that takes that flow out of the page, that is
Control. But if a tag exerts control over the flow such that the flow
remains within the page, that is View.

>
> > 2) If we removed these tags, we wouldn't be enforcing anything.
> But, we will be making a statement about the MVC pattern. e.g. People can
still
> put in java code in scriptlets in JSP pages, we are not stopping them. We
just
> have a stand and promote better practices...

I agree with promoting best practices, of course. And I claim that using
logical names in preference to hard coded URLs is a best practice, and that
<logic:forward> and <logic:redirect> promote this practice.

--
Martin Cooper


>
> imho
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more
> http://tax.yahoo.com




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

Reply via email to