on 06-05-2007 4:21 AM
Hi all,
I have done the tutorial on " <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#16">Accessing an Email Web Service</a> " but encountered 1 error, it seem that the whole form is disable and i can't key any value in it. I ensure the element property of the Container, TextEdit & InputField have the Enable property set to True and the ReadOnly is set to False and test it again but the result is still the same, cannot input any value. Any ideas what causes the error?
I have another colleague also trying the same tutorial but the strange thing is that she can't create the model of the web service. She try to create but there is no model created. Any help on this?
Thank in advance.
Hi Rayden,
Perform the contextMapping and databinding once again
regards
ambicasony
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check if you have initialised the Email web service node with the
model class instance in the wdDoInit of the component controller as below.
public void wdDoInit() {
//@@begin wdDoInit()
// create a new instance of the Web Service ModelClass
Request_SendEmailPortType_sendEmail req =
new Request_SendEmailPortType_sendEmail();
// bind new instance of the Web Service ModelClass to the
// independent Model Node ′WebServiceEmail′
wdContext.nodeWebServiceEmail().bind(req);
//@@end
}
HI Rayden,
If u bind InputFiled to a variable from a node of Cardinality 0.N, then it will appear as disabled, because there is no element in the node. If this is the case, make the cardinality of Node as 1..N or 1..1
Regards
Fahad Hamsa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rayden,
Have you done Context Binding?
If not , you have to bind a value attribute to the inputfield in the form.
For doing this, right click input field -
> Goto properties -
>
set the <b>Value</b> property to a value attribute of context.
Regards
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.