cancel
Showing results for 
Search instead for 
Did you mean: 

get_p method is not called

Former Member
0 Kudos

Please,

Iu2019ve enhanced the PRD01QR and generated the u201CZ attributeu201D get_p method of the search context node in the search view.

I need to set an event in the get_p method, but Iu2019m not able to do it because the get_p method is not called.

Anybody knows what can I do to this method be called?

Thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member189678
Active Contributor
0 Kudos

You can also try redefining GET_DQUERY_DEFINITION of the IMPL class.

Rg,

Harshit

former_member193352
Active Contributor
0 Kudos

Hi Orivial,

If its an attribute of a search page, you don't need to create an event in get_p method. As stated by Harshit, you can handle this event in implementation class's method - GET_DEQUERY_DEFINITIONS.

However, if you still want to do it through get_p method, make sure that your event handler is public.

Please let me know if you have more questions.

Thanks

Vishal

Former Member
0 Kudos

Hi Vishal,

Am also facing the same problem.

Am trying to convert an attribute as a search help on a search page.

i tried creating an event in get_p method which is not at all triggering.

Now i know that i need to handle the event in get_dquery_definitions method.

Can u pls let me know how this can be implemented.

Thanks,

Ashwini