On 2/7/02 9:53 PM, "Daniel Rall" <[EMAIL PROTECTED]> wrote:
> James Taylor <[EMAIL PROTECTED]> writes: > >> Consider: >> >> <pipeline> >> <name>TurbineClassicPipeline</name> >> <valves> >> <valve className="org.jamestaylor.myapp.pipeline.DetermineTargetValve"/> >> <valve className="org.jamestaylor.myapp.pipeline.RunModulesValve"/> >> <select >> className="org.jamestaylor.myapp.pipeline.TargetExtensionSelector"> >> <when test="vm"> >> <valve >> className="org.jamestaylor.myapp.pipeline.DirectVelocityRendererValve"/> >> </when> >> <when test="jsp"> >> <valve className="org.jamestaylor.myapp.pipeline.JSPRendererValve"/> >> </when> >> <when test="swt"> >> <valve className="org.jamestaylor.myapp.pipeline.JGenRendererValve"/> >> </when> >> </select> >> </valves> >> </pipeline> > > I need to read this more thoroughly, but after a first pass, I am > strongly -1 on this change. No programming in XML. Period. I was chatting with James about this and I don't feel this would be the standard pipeline that we ship but what's above is completely optional and provides one form of a selector mechanism. What's there is just another valve. Again, I'm not that keen on this being the default but we will need a selector mechanism and this is just one option. All the logic is contained in a valve and doesn't hurt anything else. > Dan > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- jvz. Jason van Zyl http://tambora.zenplex.org http://jakarta.apache.org/turbine http://jakarta.apache.org/velocity http://jakarta.apache.org/alexandria http://jakarta.apache.org/commons -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
