cancel
Showing results for 
Search instead for 
Did you mean: 

Inputfield doesn't working properly

Former Member
0 Kudos

Hi,

I am new in web Dynpro. I created one application it was display properly. But Input field does't take input from user means it's enable in properties but i can not able to give any input. i Check all the code of controller why it is not working i don't understand.

Regards,

Gurprit

Message was edited by:

GURPRIT BHATIA

Accepted Solutions (0)

Answers (5)

Answers (5)

Pramanan
Active Participant
0 Kudos

hi,

This problem is due to not binding the context attribute to the input field.

Click the contexmenu and right click the context click new then value Attribute .

Give a name to the attribute and click finish.you can give your desired datatype as string or int etc.

Now click to Layout then select the input field so that you can view the properties window at the bottom. In that properties widow click the value property so that it opens the context window. select the value Attribute you have created then choose finish .

Now you can give input to the input filed.

Message was edited by:

Armin Reichert

Former Member
0 Kudos

Hi

if you are binding your elements with a node of you context say " MyNode "

import like this

import yourpackage.IPrivateYourView;

import yourpackage.IPrivateYourView.IMyNodeElement;

and

in your WdDoint()

I<MyNode>Element node=wdContext.create<MyNodeElement>

node.set<MyElement1>()="";

node.set<MyElement2>()="";

wdContext.node<MyNode>.addElement(node);

Regards

Abhijith YS

Former Member
0 Kudos

Hi Gurprit,

You need to bind the input field to a context attribute. Once the field is binded to the context attribute it will be in enable state.

Regards,

Murtuza

Former Member
0 Kudos

is it disabled or what?

Former Member
0 Kudos

Hi Gurprit

What exactly <b>But Input field does't take input from user</b> this statement mean

Regards

Chaitanya.A