I want to get myself a clear understanding of how we use super method
I have one class call AdvSearchEx
i have one method in AdvsearchEx as public void onClickSearch(Button button, ArgumentList args)
Now i havw extended the class as following
--------------------------------------------------------------------------
public class AdvSearchEx extends com.documentum.webcomponent.library.advsearch.AdvSearchEx {
public void onClickSearch(Button button, ArgumentList args)
{
super.onClickSearch(button,args);
System.out.println("Reached Custom class!!");
}
--------------------------------------------------------------------------
Now onClickSearch it self calls some another method define in some another class
Now my question is that
when u execute the code and it reaches to super.onClickSearch will it complete processing (excuting ) every thing f that parent method (that is if parant method calls some xyz method in different class)
and then only the System.out.println(Reached custom class will be type) ?
I have one class call AdvSearchEx
i have one method in AdvsearchEx as public void onClickSearch(Button button, ArgumentList args)
Now i havw extended the class as following
--------------------------------------------------------------------------
public class AdvSearchEx extends com.documentum.webcomponent.library.advsearch.AdvSearchEx {
public void onClickSearch(Button button, ArgumentList args)
{
super.onClickSearch(button,args);
System.out.println("Reached Custom class!!");
}
--------------------------------------------------------------------------
Now onClickSearch it self calls some another method define in some another class
Now my question is that
when u execute the code and it reaches to super.onClickSearch will it complete processing (excuting ) every thing f that parent method (that is if parant method calls some xyz method in different class)
and then only the System.out.println(Reached custom class will be type) ?