You need to sign in to do that
Don't have an account?
MMA_FORCE
{!$CurrentPage.parameters.apex} <== Can I get VF Page Name???
Hi I am trying to create a return to previous Page link... and I do not have id's on my link in which they stay on the same Visual Force page name but it calls another page within it...
So I am trying to do this:
<apex:component > <apex:outputPanel rendered="{!$CurrentPage.parameters.apex}"> <a class="detailLink" href="/apex/MagicListView">Return To Previous Page</a> </apex:outputPanel> </apex:component>
try using......$CurrentPage.Name......
$CurrentPage
Description - A global merge field type to use when referencing the current Visualforce page.
Use this expression in a Visualforce page to access the current page parameters and
values, the current page name ($CurrentPage.Name), or the URL of the current
page ($CurrentPage.URL).
http://www.salesforce.com/us/developer/docs/pages/Content/pages_variables_global.htm
All Answers
try using......$CurrentPage.Name......
$CurrentPage
Description - A global merge field type to use when referencing the current Visualforce page.
Use this expression in a Visualforce page to access the current page parameters and
values, the current page name ($CurrentPage.Name), or the URL of the current
page ($CurrentPage.URL).
http://www.salesforce.com/us/developer/docs/pages/Content/pages_variables_global.htm
So I tried doing this and it did not bring up the link...
<apex:outputPanel rendered="{!$CurrentPage.Name='MagicListView'}"> <a class="detailLink" href="/apex/home">Return To Previous Page</a> </apex:outputPanel>I even tried: <apex:outputPanel rendered="{!$CurrentPage.Name=='MagicListView'}"> <a class="detailLink" href="/apex/Home">Return To Previous Page</a> </apex:outputPanel>