cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: flow javascript class variable
Date Wed, 17 Dec 2003 16:06:30 GMT
Stefan Dehnert wrote:

> Hi,
> I try to programme some Objecs in javascript using the MVC pattern, 
> but have no idea how to implement and use class  variables
> in Flow javascript ( i tried it in several ways but got only local 
> variables)
> thanks for help 

The recommended way is to create Java classes for your business models, 
and access them from flow. I've been doing this lately, and adding unit 
tests to test my Java classes before I use them from flow, and finding 
it an absolutely delightful way to work.

Regards, Upayavira



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


Mime
View raw message