on 06-21-2013 10:47 AM
2. What should be the column names in Source and Table nodes?
Since the table is dynamically populated, I tried debugging the code and in the TableFilter.Java class and whatever values are coming in attributeName(like DISPTEXTW1_W_Value, DISPTEXTW2_W_Value) for the iterations I assigned the same names to Source and Table nodes so that the below code does not through null pointer exception as it was throwing before.
if (attributeSource.containsKey(attributeName))
attributeInfo = (String) attributeSource.get(attributeName);
I don’t know whether this approach is correct, if not how to decide the names of Source and Table nodes?
3. How to decide the name of Filter Table node elements?
Is it related to the data type of the columns which are in the table?
Since the table is dynamically populated not much is known about the properties of the table.
I have tried almost all links available in SCN, but no luck.
Any help will be appreciated and rewarded. Former Member
Thanks and Regards,
Gaurav.
Message was edited by: GAURAV SRIVASTAVA
hi Gaurav,
Without knowing your context structure and table element configuration, it will be difficult to identify the issue.
You say - "the table is dynamically populated not much is known about the properties of the table". Does this mean that the context node and attributes are built dynamically?
If you are building the context dynamically, in your filter action, you can get the nodes dynamically using - wdContext.getChildNode(<node_name>, 0) and pass them as parameters for TableFilter.filter() method.
If possible, post more details.
Regards
Ranjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.