cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lowe <mel...@gmail.com>
Subject Re: Flowscript switch statement
Date Thu, 17 Feb 2005 17:08:41 GMT
Hi Reinhard

What leaps and bounds eh, switch statement support. I'll see if
swapping rhino out works with no shadiness.

OT.. Can you give me a straight answer on the issue of localized
required messages just plainly not working?

Mark


On Thu, 17 Feb 2005 18:01:58 +0100, Reinhard Poetz <reinhard@apache.org> wrote:
> Mark Lowe wrote:
> > I imagine that everyone's been too busy developing apps at the speed
> > of light, on the rapid application development framework known as
> > cocoon, to have noticed that switch statements don't work with
> > flowscript, at least when testing strings.
> >
> > var foo = "bar";
> >
> > switch(foo) {
> >   case "bar" : print("switch works"); break;
> >   default : print("this is a rancid crock of poo");break;
> > }
> >
> > Please tell me I'm missing something and cocoon is the best thing
> > since sliced bread.
> 
> In 2.2 it is working as expected. You could use the Rhino version of 2.2 and
> replace the version available in 2.1 as it should be binary compatible.
> 
> --
> Reinhard Pötz           Independant Consultant, Trainer & (IT)-Coach
> 
> {Software Engineering, Open Source, Web Applications, Apache Cocoon}
> 
>                                        web(log): http://www.poetz.cc
> --------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message