You need to sign in to do that
Don't have an account?
we-mp
Using URLFOR to direct to a new VF page
Hello,
I have a Standard Controller Extension class with a property called paramId (it has getter and setter methods) that holds the ID to a newly created Result object.
I would like to use URLFOR and display a VF page that shows details for the Param object. For e.g
{!URLFOR($Page.PLResultDisplay,null,[id={!paramId }])}
Is this possible? If yes, then how does the above URLFOR change? Because the above gives me an error.
Thank you.
Hello;
What do you really want to do?
The function "{!URLFOR(resource, path)}" is to access a resource in StaticResources.
Are you going to include a VF page in your current page or trying to call another page at a commandLink action?
"<apex:include>" tag can be used to include another VF page in your curent page.
Could you please explain your problem further.
You can't nest expressions:
{!URLFOR($Page.PLResultDisplay,null,[id={!paramId }])}
Try this:
{!URLFOR($Page.PLResultDisplay,null,[id=paramId])}