on 04-13-2006 12:51 PM
Hi,
A little conceptual question: what is the difference between modelAttribute.modelObject().get/setXXX and modelAttribute.get/setXXX? I know when I use the latter one things don't work as expected (e.g. data isn't passed to BAPI). Why does modelAttribute.get/setXXX exist if I'm always supposed to use modelObject() (or am I not?)?
thanks,
Jeroen
Hi Jeroen,
When U Use modelAttribute.modelObject().get/setXXX..then it's behaviour can understand as "it Creates a base model object."...due to the protected modelObject() method.....on model attribute.
But when U use modelAttribute.get/setXX then here u directly get/setXX the value on model attribute without creates base model object......
So in both the case behaviour is different....
Cheer's
regard's
Dheerendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.