You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Stefano Mazzocchi <st...@apache.org> on 2000/06/01 14:24:20 UTC

Re: Pipeline conditional model

rubys@us.ibm.com wrote:
> 
> > This is not visually componentizable. That's the problem.
> 
> Agreed.
> 
> > It is clear you are failing to see my points.
> 
> Having used the Visual Composition Editor that is a part of VAJava, I guess
> I have a bias against such things.  But there does appear to be a market
> for such things.

I'm not taking more of JavaStudio, here, not VisualAge.
 
> Looking at it from a drawing lines between boxes perspective, a more
> straightforward approach is to put the conditions on the lines.  The XML
> equivalent would be:
> 
>    <serializer type="wap" when="response gt 1.5KB" />
>    <serializer type="xml" when="response le 1.5KB" />

Good suggestion.
 
> For more complex cases, you can factor out the computation of the boolean
> expression into a separate XML structure, and only allow reference of the
> result here.  Similar to <available> in Ant.

Can you make an example?

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------