Skip to Content
avatar image
Former Member

modelObject()

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 17, 2006 at 12:54 PM

    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

    Add comment
    10|10000 characters needed characters exceeded