There's no way to force someone to use a tool the correct way.
However, I think EL is a good example of how to force someone to use
the tool incorrectly.
Instead of a simple
#{backingBean.viewMethod(viewDependentVariable[s])}", you now have to
perform horrible convolutions and tricks to accomplish the same thing.
Velocity is a good example of this. It doesn't encourage putting
logic in the view, but it doesn't make it impossible to have
presentation logic either.
-Mike
On 7/19/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> I can see why you think this would be valuable. To me, though, this
> approach is mixing functional logic (telling the back end something
> about what data to retrieve, via the parameters to the methods) and
> presentation logic (defining how the rendering should occur). I've
> seen enough people screw this up with scriptlets ... it's a path I
> would prefer not to go down again :-).