cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: XMLForm/Flow Integration
Date Sun, 23 Feb 2003 11:26:01 GMT
Christopher Oliver wrote:
> Ugo, I will shortly commit changes that will allow you to use any 
> JavaScript object (in addition to Java beans) as the model for an 
> XMLForm. Attached is an example of the feedbackWizard sample using a 
> pure JavaScript model. Of course, you can also embed Java objects inside 
> the JavaScript object. Would this solve your problem? That way you could 
> simply make your Java bean objects (derived from your O/R layer) 
> properties of a larger JavaScript object that serves as the presentation 
> layer model for XMLForm. Any additional information you need could also 
> be stored in it.

I think this would cover all my needs in a more elegant way. I still 
don't understand how you access the model's attributes from the view, 
but I'm sure I'll see the light when you have committed your patches.

	Ugo



Mime
View raw message