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) 2) How easy/difficult it would be to create custom component in Orbeon-form builder?? 3) What is the difficulty level of calling a webservice from a form generated by form builder?? Detail Description on what I want to achieve: I have a product in hand. I want to allow users to add/remove some fields, while others will be kept mandatory . I need to add java logic(business-logic) in compulsary fields but other fields can be kept as such. This removes the pain work of adding removing fields from code, It would be great if I am able to do the same in integration with liferay Thank You |
Administrator
|
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-actions Or, 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 > > > Detail Description on what I want to achieve: > > I have a product in hand. I want to allow users to add/remove some fields, > while others will be kept mandatory . I need to add java > logic(business-logic) in compulsary fields but other fields can be kept as > such. > This removes the pain work of adding removing fields from code, It would be > great if I am able to do the same in integration with liferay > > Thank You > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Is-is-possible-to-add-Logic-in-foem-through-java-how-easy-difficult-it-is-to-create-and-re-use-compor-tp3013167p3013167.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > 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 > > -- 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 |
Free forum by Nabble | Edit this page |