cancel
Showing results for 
Search instead for 
Did you mean: 

Where do I place my implementation

Former Member
0 Kudos

Hi.

I am creating a web dynpro application.

I have 2 views. In the first i have a textedit and the value of this is mapped using context mapping using data modeler.

But now I want to perform some processing using the value inputted by the user in view 1. Should I do it in the Implementation of the component controller according to mvc architecture.

If so in which method.

Thanks

Message was edited by:

portal d

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI Portal,

You can write implementation in teh first view it self.

if you want to process the input enter in teh ttext edit you can process that data in the event handler in teh forst vire

With Regards

Naidu

Former Member
0 Kudos

Dear Balaram,

Event Handler - would you be referring to the onAction event?

But if I do things like this itll defeat MVC. I cant do processing and say eg updation of db etc in the view.

I was thinking component controller, but not sure, so how would I do it there?

Answers (1)

Answers (1)

Former Member
0 Kudos

HI Portal,

if you want to write ur code in Component controller ,

you can write the method in component controller which has ur implementation

you can call that method in event hander of view

Hope this helps

With Regards

Naidu

Former Member
0 Kudos

Ok so is the event handler of the view is the right place is it?

And not the component controller?

Anyways, my doubts are cleared.

And duly assigned points !

Message was edited by:

portal d