01-25-2010 07:30 AM
I am having two screens. I am showing first screen and after that showing second screen. When ever I am poping the screen , I need to change the field in the first screen.
I have written in the onexpose method of first screen like this.
protected void onExposed() {
delete(bm);
bm = backToLoanResultsFields;
add(bm);
// bm is one of my manager and other manager is backToLoanResultsFields
}
I have tried by using replace(bm,backToLoanResultsFields); But it is not working.
Plse suggest me
01-25-2010 08:52 AM
nnvnaveen wrote:I am having two screens. I am showing first screen and after that showing second screen. When ever I am poping the screen , I need to change the field in the first screen.
I have written in the onexpose method of first screen like this.
protected void onExposed() {
delete(bm);
bm = backToLoanResultsFields;
add(bm);
// bm is one of my manager and other manager is backToLoanResultsFields
}
I have tried by using replace(bm,backToLoanResultsFields); But it is not working.
Plse suggest me
You have to write code in onExposed() method of second screen. In onExposed method of second screen you have to nmodify field of first screen.
01-25-2010 09:32 AM
I see two possible variants:
1) onExposed isn't invoke.
2) field managment in onExposed doesn't metter because something.
Can you confirm by debug what variant is correct?
01-25-2010 10:14 AM
anilsisodiya is not correct, the onExposed you should be overriding is on the first screen.
As Eugen suggests, debugging this should find the problem very quickly.
01-27-2010 12:10 AM
Can anyone provide some sample code for this.