on 02-01-2007 6:12 AM
Hi,
I am new to web Dynpro
Can anyone explain the significane and use of ---><b>boolean firstTime</b>
Hi,
WdDoModifyView method has this parameter and the value of this parameter is TRUE when you run the app for the firstTime.If there are any action triggered in the view ...I mean next time onwards the parameter will be FALSE.
The method will be callled for every serverround trip on your view.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Consider you have a button on your form.
You want to do some action when you click on the button.
So when you click the button , the action associated with the button will be executed.At the time the wdDoModifyView method will be called again by WebDynpro framework.So at the time internally the framework will pass firstTime=FALSE to that method .
Regards,Anilkumar
Hi puneet,
consider the following code
if(firsttime)
{
....
......
}
the code which you have written in if block will be executed only once i.e first time.when ever the WdDoModifyView method is called again the code will will not be executed in the if block.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.