cancel
Showing results for 
Search instead for 
Did you mean: 

Java Dynpro View - Input Fields Uneditable

Former Member
0 Kudos

Hi

Java Webdynpro -

I have created a custom value node with value fields ( all string ) ..

Created a form in the view. All the fields are appearing uneditable when code is deployed and view is launched.

Accepted Solutions (1)

Accepted Solutions (1)

former_member214651
Active Contributor
0 Kudos

Hi,

Since u have binded the Inputfields to the Value node u need to instantiate the object of the node to make the Inputfield editable.

<nodename> objectname = wdContext().create<nodename>Element();

wdContext().node<nodename>.bind(objectname);

Then ur inputfields will be editable. Try using value attributes instead of value node for designing a form where no code is required to make the fields editable.

Regards,

Poojith MV

Former Member
0 Kudos

Thanks Poojitha - Instantiating the node your way worked.

Thanks S.. for the valuable inputs.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Set the cardinality of node to 0..1 in the component controller context

Thanks,

Sreeni.