cancel
Showing results for 
Search instead for 
Did you mean: 

IPortalComponentRequest from HttpServletRequest?

Former Member
0 Kudos

Hi,

i have some servlet component and i need to know how can I acces component properties. Only way i know that i can use

aRequest.getComponentContext().getProfile().getProperty("xxx");

but i dont know if this is similary possible for servlet component? if so how can i get that property if i have only httprequest? i was looking in javadocs but i was not succesfull

thanks

JJ

Accepted Solutions (0)

Answers (1)

Answers (1)

Oliver_S
Advisor
Advisor
0 Kudos

I hope you dont get a portal component property from httprequest. Otherwise we would have done badly.

Br,

Oliver

Former Member
0 Kudos

ok, I wanted to get portal component property from HttpServletRequest.

I think that there maybe some static methods which can offer some simulation of the way of request to component in case that component is "normal" and return IPortalComponentrequest.

hope that its slightly understandable

JJ

detlev_beutner
Active Contributor
0 Kudos

Hi JJ,

I had your topic on the list for several days now, but every time reading just asking myself - what's the detailed question?

> hope that its slightly understandable

Not for me

If it's still open, please get far more specific, with the situation you work on as well as maybe some code fragments.

Best regards

Detlev

Former Member
0 Kudos

Hi Detlev,

as I was in a hurry, i didnt realised that i can use AbstractPortalComponent a its doContent method.

I just only wanted to have full control over response(so i was using HttpServlet before) and be able to read component property, it was everything.

sorry for that silly question

JJ

detlev_beutner
Active Contributor
0 Kudos

Hi JJ,

ah, OK, got it. Good you got it, too

> This topic has been marked as a question.

Next step: Mark as "Resolved it on my own." - and everybody will be happy

Best regards

Detlev