
OpenNTF Code Bin
About This Code
Brief Description:
Dynamic Forms Demo
Contributor:
Colin Macdonald
Last Modified:
09 Oct 2006
OpenNTF Disclaimer
All of the program code and information presented in the OpenNTF.org Code Bin are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Code Bin, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.
Code / Description
This is inspired by Rocky's blog on the SAP work he did earlier this year .
If you ever need to drive the fields captured and/or displayed in a dialog or form dynamically, either from data captured by users, or from a system source.
Have fun
Usage / Example
Code Attachments
Comments
Posted by Colin Macdonald on 10/13/2006 07:16:39 AMWhat it does
1. Open the DB
2. Click one of the test Action buttons. The dialog is just for show, but look at it
3. Now select one of the field definitions in the view and change it.
e.g. Move a field to another group
4. Now click on the same test Action button again and you will see a
new dialog that reflects the change you made.
Posted by Adeleida du Toit on 10/13/2006 10:34:48 AMVery cool
The example code is written very clearly - it will be really easy to reuse this. This would be great for buildling quick questionnaires, by the way. A useful tutorial also, if you would like to get into the whole DXL arena. Thanks!
Posted by Leonardo Prizont on 10/17/2006 04:10:50 AMError
I get "Missing namespace for root element" - no matter what I try
Posted by Colin Macdonald on 10/17/2006 08:39:27 AMMissing Namespace
What version are you using Leonardo? I've only tested this under 7.0, so there may well be differences between versions as the dtd will differ.
Have a look at Michaels entry about DocType.
http://www.punkdbynotes.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/d6plinks/MSOK-67MLC8
Posted by Leonardo Prizont on 10/17/2006 09:21:30 AMMy ver = 6.5
Now I see that the version posted for the code is 7.x. That link is helpful - I'll to get it to work and post results.