on 01-27-2014 6:24 AM
I am not able to invoke reportcontextattributemessage after definigthe attribute pointer
Hi Suman,
based on simple input field example here i have written code for your understanding
assume that Vendor is the node along with lifnr(string) attribute( collection cardinality 1.1, selection 0.1 ),
IMessageNew1Comp.NOVAL (NOVAL is the key, type error defined in message pool)
String strLifnr = wdContext.currentVendorElement().getLifnr();
IWDAttributePointer attA = wdContext.currentVendorElement().getAttributePointer( "lifnr" );
if((strLifnr == null) || (strLifnr.equalsIgnoreCase(null)) ){
attribInfo = wdContext.nodeVendor().getNodeInfo().getAttribute("lifnr");
msg.reportContextAttributeMessage(attA, IMessageNew1Comp.NOVAL, new Object[]{});
}
let me know if you need any clarification.
Thanks & Regards
Satya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
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.