on 09-27-2008 1:54 PM
Hi,
I have added an 'İnput Field' into the existing view
have also binded this input field with an
context attribute nevertheless the input field
on the browser is disabled. I can not enter any value
into this Input field..
What is wrong there ?
Please help.
Regards
erdem
Erdem,
Check the 'Enabled' property of InputField. It should be 'true' to enter any values.
Vishwas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check ebable prperty true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ayyapparaj,
you are saying as this is a model node , you need to execute this.
Can you give me an example how to execute ?
Reagards
sas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As this is a model node , you need to execute this..
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi erdem,
Check the cardinality of Form, it should be 1..n. If this is fine then there should be something problem in your cardinality of node. Try changing the cardinality of your context node in component controller to 1..n or any other.. try and check.
Regards
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
yes it is.
I have privously reimported the model. As I have noticed
in the Custum Controllers Context a model node
was not existing I have dragged it from the right pane
of the window and dropped it on the left side of the pane
where you can see the added model nodes.
My inputfield is refering one field of the lately
dragged and dropped model node attribute.
The reqiurement is to add an import parameter
from the changed BAPİ at the backend.
İs thıs way correctly for adding additional model node ?
Regards
erdem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Erdem,
Since you have dragged the Model Object Node, it should be fine.
Check to 'Read-Only' property of your context attribute that is bound to this InputField. If it is 'true', set it to 'false'. This should work for you.
Further, after reimporting a model, it is always a good idea to restart your AS Java.
Hope this helps.
Vishwas.
Hi,
To enable input fields you have to initialize model node in wdDoinit() of custom controller like as i imported BAPI of FlightgetList,initialize it as follow
public void wdDoInit()
{
//@@begin wdDoInit()
//$$begin Service Controller(-1438839805)
Bapi_Flight_Getlist_Input input = new Bapi_Flight_Getlist_Input();
wdContext.nodeBapi_Flight_Getlist_Input().bind(input);
input.setDestination_From(new Bapisfldst());
input.setDestination_To(new Bapisfldst());
//$$end
//@@end
}
hope it will help u.
Thanks
Abhilasha.
HI,
make sure your input field is bind with import parameter of the bapi.
if it is proper then check in component controller DoInit(),
the following statements are there or not ?
example,
ZSD_Fm_Get_Country_Input Input = new ZSD__Fm_Get_Country_Input();
wdContext.nodeZSD_Fm_Get_Country_Input().bind(Input);
Input.set<Your Structure name>(new <Structure name>);
Regards,
ramesh
HI Erdem.
After understanding your query, i would suggest you to restart your J2EE engine. It is recommended, to restart the J2EE engine, every time a model is reimported.
If the problem persists even after reimporing the model, ensure that the context attribute to which the "value" property is bound lives inside some node element.
If the input field is inside a transparent container, check out in the hierarchy if all the transparent containers are enabled.
Hope this helps.
Cheers !!!
Umang
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.