on 06-12-2007 7:27 PM
this is what I am getting when i tried to upload a file..the binary attribute is mapped to comp controller attribute...
I dont understand the exact meaning of this message...
Please reply
Hi vd,
Have a look at the simpletype that you've created.I guess whenever you are populating this keys are not set and hence the error.
Please try setting a key value explicitly and then try.
Regards
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vd,
Parent node to the attribute is not holding any elements
when you are trying to access it.
Regards
Amit
Message was edited by:
Amit Kesari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit
this is what I am doing.
In my view controller, I have a fileData of binary type, is mapped to comp controller attribute.
So when am calling compController.Populate() method from view doInit()...
Populate method
public void Populate( )
{
//@@begin Populate()
IWDAttributeInfo attInfo1 = wdContext.nodeSubmitElements().getNodeInfo().getAttribute (wdContext.currentSubmitElementsElement().INVOICE_DOC);
ISimpleTypeModifiable type = attInfo1.getModifiableSimpleType();
IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) type;
//end
}
I tried wdContext.createSubmitElementsElement().INVOICE_DOC also but still getting the same problem..
-vd
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.