Propbably you didn't initialize /create the Customer Object with a context. If you initialize / create an object with context, you do not need to pass the context in any subsequent calls.
* Updated *
Ok, I see you use the initialize methods a lot (line 117, 140, 144, 179). You should pass your context as first argument to them. That will avoid the need to pass context during the get/ set calls.
That you did not need the context in 2.5.5.1 is an inconsistency in 2.5.5.1, since it will result in unpredictable behavior as you won't no from which context / rights you are viewing the objects.
Hi Michel,
In ordinarily, I used standard method to create/edit. One page contained a datagrid with a button to open a new/edit form This method do use automatically context,don't it?
Thanks a lot :)
Of course,I can do for you.They are below
CreateCustomerTextFile_2.5.5.1 as work.java
CreateCustomerTextFile_2.5.6 need to pass context .java
You're very kind. :)