on 10-18-2006 4:57 PM
Hi All
I am having following code in SP15
<b>TaskBinder.getCurrentTask().getWebContextAdapter().getHttpServletResponse();</b>
it works fine, but same code doesnt work in 2004s,
error message says, WebContextAdapter is not defined for ITASk, so instead of WebContextAdapter I used <b>ProtocolAdapter,</b> in this case error message says HttpServletResponse is not defined for ProtocolAdapter.
Please help me out with this issue.
Regards
Praveen
Note:Every good answer will be awarded with good points
Hi Keerthi,
Find this link...He has given a link for the solution.I have not tried but u can try (anyhow u have to -:). If it works just tell me also.It seems interesting ...but as bertram suggested don't use it in production.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Keerthi,
this is a forbidden type cast hijacking internal Web Dynpro Runtime FPI. Read <a href="/people/bertram.ganz/blog/2005/02/02/never-ever-hijack-internal-web-dynpro-classes-and-interfaces Ever Hijack Internal Web Dynpro Classes and Interfaces</a>. Like you already mentioned the WDProtocolAdapter service is the successor of the WDWebContextAdapter. It is used to read URL parameters.
Regards, Bertram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.