Author: jaikar | Posted on: 6/5/2008 11:06:13 PM | Views : 1469

Hi there..

 how to create classes extending page object so that its automatically instantiated with everypage load. for example,

i write a class to convert the first letter of the string to upper case. and say the class name is str_functions and a method ucfirst. i dont want to instantiate the object everytime, but i just want to use ucfirst stright away without instantiating.

 i want to it work like this

str = ucfirst(str);

and not like this

str_function strF = new str_functions();
str = strF.ucfirst(str);

is this possible ?.. if yes .. how

Please advice...

 

Thanks !

~J
...

Go to the complete details ...