I cannot find the reason of this situation. Please help experts.
I have several actionfunction and all of them are using for saving value to Controller variables.
I this situation, one of them doesn't work even if I tried so many modification..
Code is here
<apex:form>
<apex:commandLink action="{!passParam2}" value="Submit"
target="_blank"
styleClass="btn btn-primary"
style="padding: 4px; text-decoration: none;"
reRender="resultPanel"
status="myStatus">
<apex:param name="firstparam" assignTo="{!bookingid}" value="{!$CurrentPage.parameters.bookingid}"/>
</apex:commandLink>
</apex:form>
Controller code
public PageReference passParam2(){
bookingid = ApexPages.currentPage().getParameters().get('bookingid');
PageReference pg = Page.page1;
pg.setRedirect(true);
return pg;
}
Edited 1 time!
If you have any clue for resolving the issue, please help.
Thanks in advance.