on 12-07-2007 4:51 AM
Hi,
I am trying to develop offline interactive form scenario from sap teched 07 documents. As per documents i am coping whole thing but even i got error like:
" com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(Upload.pdfobject): must not modify the datatype of a mapped attribute "
I check whole coding it is same as in document.
public void wdDoInit()
{
//@@begin wdDoInit()
wdContext.getNodeInfo().getAttribute("pdfobject").getModifiableSimpleType();
//@@end
}
public void onActionDisplay(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionDisplay(ServerEvent)
//$$begin ActionButton(323032210)
wdThis.wdGetDynpro5Controller().wdGetContext().currentContextElement().setPdfobject(wdContext.currentContextElement().getPdfobject());
wdThis.wdFirePlugOutPlug();
//$$end
//@@end
}
This is my code if anybudy have idea pls correct it.
Regards,
gurprit bhatia
Hi,
Try to move the following code from the view to the controller init
public void wdDoInit()
{
//@@begin wdDoInit()
wdContext.getNodeInfo().getAttribute("pdfobject").getModifiableSimpleType();
//@@end
}
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.