Posted by
Erik Bruchez on
URL: https://discuss.orbeon.com/Is-is-possible-to-add-Logic-in-foem-through-java-how-easy-difficult-it-is-to-create-and-re-use-compor-tp3013167p3016549.html
Some answers below:
> My question is fairly Anylatical. I am in search of frame-work that allows me
> to add/remove, show/hide fields on the fly. I have seen in demo that form
> builder do exactly the same.
> But their are Certain questions:
>
> 1) Can I add java Logic to these fields?? If yes how ?? (please give some
> link of tutorial for same)
The logic is expressed with XPath expressions. You can call static
methods on Java objects from XPath expressions (although this is not
recommended):
xmlns:foo="java:my.package.MyClass"
calculate="foo:doStuff()"
> 2) How easy/difficult it would be to create custom component in Orbeon-form
> builder??
Did you check the XBL guide:
http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components-guide> 3) What is the difficulty level of calling a webservice from a form
> generated by form builder??
It's possible: Form Builder has a simple service editor:
http://wiki.orbeon.com/forms/doc/user-guide/form-builder-user-guide#TOC-Advanced:-services-and-actionsOr, you can create your own xforms:submission by hand in the form's source.
Probably anything that sends/receive XML can be made to work.
-Erik
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws