cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject XMLForm / instance data from XML / Popup sample
Date Wed, 08 Jan 2003 15:33:04 GMT
Hi all,

I've spend some time now understanding XMLForm and I have looked at
the popup sample from Michael
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15100 

I couldn't find a post from Josema Alonso regarding XForms & Xindice
that appeared related. Ivelin, which one do you have in mind? Could
you send me a link or a copy?

Indeed, the Popup sample has a similar edge to my whish to make a form
on the fly from XML.

Michael's WriteDOMTransformer does a fairly similar job as the
SimpleFormInstanceExtractionTransformer. Only that the latter already
uses OutputModules and has a slightly different default configuration.
(To be honest, it is based on the WriteDOMTransformer from 2.0.x,
which changed significantly in 2.1. A similarity is hence not
surprising).

Together with the XmlFormPopupAction it is possible to create a form
on the fly. Great!

If no validation is required, and only the XForms -> HTML conversion
is needed, a complete XMLForms instance is needed, still. Would it be
possible / OK to remove the dependencies of the XMLFormTransformer
from Form? As far as I could see, all it does is lookup the Form and
use the getVale() method.

OK, there's violations and modelReferenceForView so that would be
difficult. Perhaps two transformers, a minimal one without this and
another one including violations and the modelReferenceForView?

Thoughts?

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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


Mime
View raw message