on 11-20-2007 7:47 PM
Hi,
I would like to add a Transaction Browse button which open Transactions File dialogue where I could select an xMII Transaction. Once the value is slected, it should set the value in my html input field.
I am very sure it is possible, but was struggling to get it working. Any help is appreciated.
Thanks,
Sara
Sara,
There are a few Predefined templates already there for you:
Predefined/TransactionFolderListQuery and Predefined/TransactionFolderBrowser can be used in an iBrowser applet (will give you a tree mode folder selection of the BLS directory structure).
A SelectionEvent can then trigger a function that gets the selected path from the tree and passes it to another iBrowser applet using Predefined/TransactionListQuery and Predefined/TransactionBrowser (will give you a list of transactions in the specified folder). The script will be: document.ListBrowser.getQueryObject().setFolder(strFolder);
document.ListBrowser.updateBrowser(true);
where strFolder is the selected path from the tree browser applet.
Regards,
Jeremy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jeremy,
Also I would like to set intial value for the folder and transaction in the tree (for TransactionFolderListQuery and TransactionListQuery). How I do that?
This is to allow the user to take him to the entered transaction in the field. If the user has already entered some transaction in the field and click on the browse botton, the file dialogue shown to the user should show the entered folder and transaction as the default folder and transaction.
Thanks,
Sara
Sara,
If you want a good starting point and some self-service answers to the basics behind your questions I would highly recommend looking at the following two pages:
1. MetricEditor.htm (includes the input text box and a '...' browse button)
2. MetricQueryTemplateSelector (supporting popup page that includes the iBrowser applets).
Both of these pages can be found on the server: C:\ServletExec AS\se-xMII\webapps\default\Lighthammer\ActivePortal
Regards,
Jeremy
User | Count |
---|---|
8 | |
7 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.