cancel
Showing results for 
Search instead for 
Did you mean: 

input field is disabled

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Erdem,

Check the 'Enabled' property of InputField. It should be 'true' to enter any values.

Vishwas.

Former Member
0 Kudos

hello,

İ have checked it out it has the value true.

I have still the same occurance.

Regards

Erdem

0 Kudos

Is 'readOnly' property set to 'false' too?

Answers (5)

Answers (5)

Former Member
0 Kudos

check ebable prperty true

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

in view DoInit() call the rfc as follows,

wdThis.wd<your component name>Controller().execute<RFC Name>();

Regards,

ramesh

Former Member
0 Kudos

Hi,

As this is a model node , you need to execute this..

Regards

Ayyapparaj

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi

Instead of model node take value node and bind it to the input field and make the cardinaulity property as 1.....n

Regards

Kirankumar M

Former Member
0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

'Read-Only' is set it to 'false'.

İt doesn't still work

0 Kudos

Please post the structure and binding of your context nodes to understand the issue better.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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