on 03-31-2009 11:29 AM
Hi,
Can we bind model object directly to view controller ?
Thanks,
Kiran
Hi
Yes we can , But as standard ,dont do this try to keep your model Node and Value node(For UI ) separate
Best Regards
Satish Kumar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ..
You can do the binding model into view controler.this is not good pratice for doing this type of binding.it makes problem for doing manuplation the value node attribute like like you want do the sorting type of work in your requirement.remenmber every time you call the model node value.
you know that java web dynpro follows MVC pattern.so its makes lot of problem manupulation your node value attribute.
its better you copy from model node to custom node and manupating the atrbute instead of hitting RFC.
This is good partice.
thanks
jati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi Kiran,
we can do that, but not recommended by SAP, becuase MVC architecture is not like that, we are not supposed to combined the business logic with presentation logic, we need to use component ctrl as mediator b/w them,
Cheers,
Apparao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes. you can directly bind the model node with the UI view controller.But you can't do any customisation with this model attribute.
If you want any customisation to the model node value then you need to copy the model node value to value node then you can do any customisation on the value node.Just like sorting of the table value.
Thanks
Kanai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.