For several ages now, I 've been employing XForms
in some undertakings. One of the main resons was that I can declarativly project my descriptor. Some might tell that XForms is not supported in browsers. Right, but there are several solutions that run serverside or tardily in a kinda intercrossed fashion ( detest the term Ajax since I dislike the footballclub with the same name ) My taste holds ever been Chiba
, although others be. Recently I begined working on uniting some of the more interesting models and measures into something that could support message ' pointed b2b communicating. It should not count if a message comes inward frome.g. a ebMS system
, or from a webinterface. All told instances the the message that is involved is xml. So what is easier to apply a engineering where you hold an xsd, interpret that to XForm and utilize that signifier to runtime produce xml messages that follow with the xsd ( and more ). Right?
Goodly, yes and no. Many of the descriptor generated from the xsd involve some descriptor of alteration. Luckily the binding of an input factor to a specific component ( or nodeset ) in the xml example is freely twin. You can position an input anyplace in a descriptor and still hold it mapped to the same component in the xml case. No 1: 1 function is took. Cool if you desire to hold elements in your descriptor grouped differently so they are in the xml case. If you are rattlingly into the points of XForms it is possible to make this by paw as it is xml, but faults are easily done. So the first thing to make is to look for bing editors. There are a duo which I investigated ( I detest reinventing the wheel ) cited in the order of when I cognized they were.
- IBM ( Occultation based )
- OpenOffice
- Orbeon ( browser based )
- Pasang ( browser based )
All hold their specific vantages or disadvantages. But none of them appealed tome. Why not? Goodly, IBM ( on alphaworks ) is not kept anymore, OpenOffice XForms redaction is not intuitive ( to me ), Orbeon is nearly colligated to their signifiers format and then can not be easily employed with Chiba ( and no I 'm not attending alter forth from that ), plus that it is indited in XForms and not easily extendable ). That it is indited in XForms is by itself a great compliment for those hombres, eat your ain doogfood... but to complex for Maine Pasang utilise SVG a good deal, rendering xforms elements to svg things. Likewise not realy extendable by ME To boot to this comes the disadvantage that neither of them is a full fleged xhtml editor which XForms purchases. So.....
I suddenly thought the docbook example
Attempting it neglected in more one fashion, but the origin of the JSF and Richfaces VPE templates/editors is likewise available and those combine xhtml with rendering custom-made elements. XForms is to a big broaden the same, so moving with these as a ground proved to be a great kickstart for what I desired. Without moving into the items of what is maked and what is not, I 'll demo three screenshots and the Chiba master
This was what it looked like initially

Opening an XForm in the patent JBoss HTML editor
Now with the XForms plugin
in some undertakings. One of the main resons was that I can declarativly project my descriptor. Some might tell that XForms is not supported in browsers. Right, but there are several solutions that run serverside or tardily in a kinda intercrossed fashion ( detest the term Ajax since I dislike the footballclub with the same name ) My taste holds ever been <a href='http://chiba.sourceforge.net/'>Chiba</a>
, although others be. Recently I begined working on uniting some of the more interesting models and measures into something that could support message ' pointed b2b communicating. It should not count if a message comes inward frome.g. a <a href='http://www.freebxml.org/msh.htm'>ebMS system</a>
, or from a webinterface. All told instances the the message that is involved is xml. So what is easier to apply a engineering where you hold an xsd, interpret that to XForm and utilize that signifier to runtime produce xml messages that follow with the xsd ( and more ). Right? </p>
<p> Goodly, yes and no. Many of the descriptor generated from the xsd involve some descriptor of alteration. Luckily the binding of an input factor to a specific component ( or nodeset ) in the xml example is freely twin. You can position an input anyplace in a descriptor and still hold it mapped to the same component in the xml case. No 1: 1 function is took. Cool if you desire to hold elements in your descriptor grouped differently so they are in the xml case. If you are rattlingly into the points of XForms it is possible to make this by paw as it is xml, but faults are easily done. So the first thing to make is to look for bing editors. There are a duo which I investigated ( I detest reinventing the wheel ) cited in the order of when I cognized they were. </p>
<ul><li> IBM ( Occultation based ) </li>
<li> OpenOffice </li>
<li> Orbeon ( browser based ) </li>
<li> Pasang ( browser based ) </li>
</ul>
<p> All hold their specific vantages or disadvantages. But none of them appealed tome. Why not? Goodly, IBM ( on alphaworks ) is not kept anymore, OpenOffice XForms redaction is not intuitive ( to me ), Orbeon is nearly colligated to their signifiers format and then can not be easily employed with Chiba ( and no I 'm not attending alter forth from that ), plus that it is indited in XForms and not easily extendable ). That it is indited in XForms is by itself a great compliment for those hombres, eat your ain doogfood... but to complex for Maine Pasang utilise SVG a good deal, rendering xforms elements to svg things. Likewise not realy extendable by ME To boot to this comes the disadvantage that neither of them is a full fleged xhtml editor which XForms purchases. So..... </p>
<p> I suddenly thought the <a href='http://in.relation.to/Bloggers/HowToCreateAVisualDocBookEditorIn10Minutes'>docbook example</a>
Attempting it neglected in more one fashion, but the origin of the JSF and Richfaces VPE templates/editors is likewise available and those combine xhtml with rendering custom-made elements. XForms is to a big broaden the same, so moving with these as a ground proved to be a great kickstart for what I desired. Without moving into the items of what is maked and what is not, I 'll demo three screenshots and the Chiba master </p>
<p> This was what it looked like initially </p>
<p style='text-align:center;'><div style='width: 510px'><img width='500' alt='Opening an XForm in the plain JBoss html editor' src='http://planetjbpm.files.wordpress.com/2009/02/plain-xhtml-select1.png?w=500h=281' title='plain-xhtml-select1' height='281'><p> Opening an XForm in the patent JBoss HTML editor </p>
</div>
<p> Now with the XForms plugin </p>
<p style='text-align:center;'><div style='width: 510px'><img width='500' alt='XForms 'aware' JBoss html editor' src='http://planetjbpm.files.wordpress.com/2009/02/xforms-enabled.png?w=500h=281' title='xforms-enabled' height='281'><p> XForms cognisant JBoss HTML editor </p>
</div>
<p> The trailer </p>
<div style='width: 510px'><img width='500' alt='The preview in the xforms aware editor' src='http://planetjbpm.files.wordpress.com/2009/02/xforms-enabled-select1-preview.png?w=500h=281' title='xforms-enabled-select1-preview' height='281'><p> The prevue in the xforms cognisant editor </p>
</div>
<p> And what it should look like in Chiba </p>
<div style='width: 510px'><img width='500' alt='The select1 screenshot from Chiba' src='http://planetjbpm.files.wordpress.com/2009/02/select1screenshot.png?w=500h=313' title='select1screenshot' height='313'><p> The select1 screenshot from Chiba </p>
</div>
<p> Yes, there are still some differences, the popup ' with the 4 checkboxes are dojo ' popups. Not sure how and if I 'm attending render those. The asked 'star ' and the assistance ( i ) are only some css things I require to make, but make n't state me I 'm not getting nearly... </p>
<p> Following thing is getting XForms into jBPM ( and this editor ofcourse ( both unblushing stoppers <img alt=':-)' src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif'> ) ) and chance a proper location for development ( Soap Andersen already suggested a JBoss Tools sandbox, sounds interesting ) </p>
<p><span style='text-decoration:line-through;'> Ohio for anyone <a href='http://rapidshare.com/files/201969941/xformseditor.tar.gz.html'>interested in trying</a>
<span> ( MD5: D2B3DBF36FBC0CAA29FA94C67192A2CE ) </span>
</span>
</p>
<p><span style='color:#000000;'><span><br><span style='text-decoration:line-through;'> Edit: I surpassed the download boundary ( 10 ) on rapidshare. I maked not anticipate that. A new version will be uploaded in a couple of hrs with a higher bound. Sourcecode will besides be available suddenly, working on it with JBoss </span>
</span>
</span>
<br><span style='color:#99cc00;'> Edit 2: New version on <a href='http://www.megaupload.com/?d=OZJEPOCK'>new download location</a>
</span>
</p>
<p>Related posts:<br><a href='http://allinsuranceinfo.org/life/variable-life.html'>Variable Life Insurance</a><br>
<a href='http://allinsuranceinfo.org/dental/'>Dental Insurance</a><br>
</p>

2009-04-16 11:53 am (UTC)
My project, named XSLTForms, is a client-side XForms implentation. Have a look at http://www.agencexml.com/xsltforms