OK. I committed your changes. But shouldn't there be a reusable template for translating XMLForm controls to html, that could be "plugged" into your application somehow, rather than having to incorporate it into the application's stylesheet(s)?
Regards,
Chris
leo leonid wrote:
Hi Christopher,
on http://proto2.leonid.de are some simple modification for integrating the X-Form-EditAccount-Form to the rest.
/Leo
On Montag, März 24, 2003, at 08:23 Uhr, Christopher Oliver wrote:
No, XMLForm will still behave the same way. It's just a change to the implementation to make it more maintainable.
leo leonid wrote:
Hi Christopher,
just read your last post "Flow views, scratchpad taglib, and writing transformers" (hew..., your fast:) .
Does this mean you abandon your your current XMLForm-approach of the petstore sample?
/Leo
On Sonntag, März 23, 2003, at 12:00 Uhr, Christopher Oliver wrote:
I modified this sample to use XMLForm to implement the "Edit Account" page of this sample. To see this, first sign in and then click on "My Account".
XMLForm is very nice to use in flow scripts, because it automatically populates the model (you never have to call cocoon.request.get("...")) and it has nice hooks for validation.
However, I don't know how to integrate its view with the rest of the application. Could somebody take a look at this?
Regards,
Chris