This content has been marked as final.
Show 3 replies
-
1. Re: method.setBody with $$ parameters
chiba Jul 9, 2003 2:57 AM (in response to bialek)I think you should use insertAfter() in this particular
case. But if you want, you can also use setBody().
However, $proceed does not work in the new body
since setBody() overwrites the original body. To
avoid this, you must first rename the original method
and create a new one without $proceed. -
2. Re: method.setBody with $$ parameters
bialek Jul 10, 2003 4:22 AM (in response to bialek)Thanks for the hint :)
The problem is just how to access the parameters passed to the method after I have renamed it?
Can I use $$ parameter for the renamed method ?
++Robert -
3. Re: method.setBody with $$ parameters
bialek Jul 10, 2003 6:55 AM (in response to bialek)YES, the $$ parameter works great!
There were only problems with $proceed.
It is possible to create new methods in the following way:
{ return "+methodName+"($$); }
++Robert