How to get call out result in to dcr form?
Options
I have a call out that shows to the user a dropdown list , so that he can choose a country. After that , he should click the button to terminate the process .... and this is my problem . How does the value goes from the java class , into the correspondent dcr text field ? What java code should I add to the swing button so that the selected value goes into the dcr ? Thanks a lt
0
Comments
-
Have you looked at the example callouts in IWHOME/local/config/java-callout-api/com/interwoven/dc100/api/IWDataCaptureShouting(Everywhere)Callout.java? Those two files are the best starting point. If you have looked at them, but you still have questions, can you be more specific?
Hope this helps.
-- James0 -
Hi,
I'm also having problems in the same way as darkwalker.
A snippet of my code:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class ViewURLCallout implements IWDataCaptureCallout
{
public void setParams(IWDataCaptureCalloutParams params) {
//no parameters
}
public void start(IWDataCaptureRootNode root, IWDataCaptureObject object, JFrame frame)
{
final JComboBox dropdown = new JComboBox();
dropdown.addItem("UK");
dropdown.addItem("USA");
dropdown.addItem("Portugal");
frame.getContentPane().add(dropdown);
frame.pack();
frame.show();
return;
}
}
So... how can I know what was the selected option in the pulldown ? everytime I add a listener to the pulldown, the java window doesn't even appear when I press the call out button.
I already did the example that you talk about, but that example does handle user input...
Thanks in davance,
--
Duarte Cordeiro
Neoris Pootugal0 -
I have tried that , but the result is the same even with my own JFrame . Any other idea .... i am desperate0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 124 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax
TeamSite Developer Resources
If you are interested in gaining full access to the content, you can register for a My Support account here.
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.