Stefan Dehnert wrote:

Upayavira wrote:

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


Thanks, I thought the same but from the Cocoon samples (Petstore) and Documenation, I had the feeling JavaScript is the recommended way.

No, no! Javascript is glue only. Business objects in Java.


Is there a example or anything else to start.

Check out linotype, there's some java in there used from flow, I believe.


Regards, Upayavira


Regards, stefan dehnert




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to