How to fire a button click event from a include page (visual page)

490 Views Asked by At

In my main Visualforce page I have included one header page. In the header page there several hyperlinks. Now, where I navigate from one hyperlink to other hyperlink I want to access main page's Custom button click event.

Can you provide a code snippet in apex?

1

There are 1 best solutions below

0
On

I'm not sure I understand the question, but you might want to look at and if you need to pass a parameter: in VisualForce:

<apex:commandLink action="{!buttonClickEventAction"> <apex:param name="q" value="{!contact.name}"/> </apex:commandLink>