Chris, Yes, I am aware that I can call Java methods from the flow. The result however is a bigger spagetti than if I only used Java.
If someone can produce a version of the XMLForm demo wizard which uses the flow and produces the same result with significantly less code and better readability, I would consider that a serious step ahead. Cheers, Ivelin ----- Original Message ----- From: "Christopher Oliver" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 04, 2002 11:26 PM Subject: RE: [Proposal] Implementing XMLForm with Flow Ivelin, Not sure if you realize this already, but you can use all those Java API's from the flow layer if you need them. Rhino provides bidirectional interoperability with Java: you can create java objects and call their methods from JavaScript, and you can extend Java classes and implement Java interfaces in JavaScript. Regards, Chris -----Original Message----- From: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 8:43 PM To: [EMAIL PROTECTED] Subject: Re: [Proposal] Implementing XMLForm with Flow I hope you are the last hero trying to confront this monster. The discussion how to combine the two has been going on forever, but we have not come to an agreement. I would gladly offer my tactical guidance for your effort. The biggest issue that I had so far with the flow is how to implement in an elegant way, navigation logic which depends on domain knowledge. For example how to do a wizard where the next page (Car Models) depends on a selection on the previous (Brand Name) as well as a lookup to an external resource (BMW's Web Service providing a list of current car models or a db query). If I was to do this with Actions, I could use well known and standardized Java APIs - JWSP or JDBC. Maybe my issue is that I used the Struts model for too long and I can't get out of the box. Cheers, Ivelin ----- Original Message ----- From: "Ugo Cei" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 04, 2002 2:35 AM Subject: [Proposal] Implementing XMLForm with Flow > Premise #1: XMLForm has great support for XForms and validation, but it > uses butt-ugly actions for implementing the Control part of MVC. > > Premise #2: Control Flow rocks as an MVC (or MVC+) controller. > > Conclusion: let's reimplement XMLForm using Flow as the controller and > get rid of those actions. > > Plan of action: familiarize myself with both frameworks (I just started > using flow) and their internals, then start designing and coding. I have > a couple weeks' vacation starting Jan 1st and it would be nice to have > some nice OS project to work on ;-). > > Ivelin, Ovidiu (and everybody else), what do you think? > > Ugo > > -- > Ugo Cei - http://www.beblogging.com/blog/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]