Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
Normal
-
Patch available
-
Blocks: Forms
Description
A common pitfall in developing cforms applications is the misuse of certain cforms tags.
A schema for the forms files (definition, binding, template) would greatly help in writing forms code faster and more accurate and minimizing syntax errors in the first place.
I have started writing such schemas for the binding and definition files and added notations out of the current (2.1.10) cforms documentation. those schemas are quite completet (well almost).
I also added starting points for this schemas:
- i18n transformer
- jx template generator
furthermore form template generator (and form instance) would be interesting. the major problem with the template is that we are heavily mixing different xml gramars here and state-of-the-art xml editors (like oxygen) have their problems with providing auto-complete features here.
the code-completion (assistance) feature for the form-definition and form-binding works quite well. it also has the added benefit, that the important bits of the cocoon forms docs are being displayed.
A schema for the forms files (definition, binding, template) would greatly help in writing forms code faster and more accurate and minimizing syntax errors in the first place.
I have started writing such schemas for the binding and definition files and added notations out of the current (2.1.10) cforms documentation. those schemas are quite completet (well almost).
I also added starting points for this schemas:
- i18n transformer
- jx template generator
furthermore form template generator (and form instance) would be interesting. the major problem with the template is that we are heavily mixing different xml gramars here and state-of-the-art xml editors (like oxygen) have their problems with providing auto-complete features here.
the code-completion (assistance) feature for the form-definition and form-binding works quite well. it also has the added benefit, that the important bits of the cocoon forms docs are being displayed.
Attachments
Attachments
Issue Links
- relates to
-
COCOON-2174 Add XSD Schema for Forms XML grammars and adapt documentation and samples
- Open