New answers tagged

3 votes
Accepted

Calling an extension method from a child component

The solution is to modify your component markup <apex:component> <apex:attribute name="cancelAction" type="ApexPages.Action" required="true"/> <apex:...
user avatar
  • 62.2k
0 votes

Strange String behavior in Apex

When you want to do the redirect, have a VF controller property that holds a URL that is generated from the base page reference, via getUrl, to which you programmatically append your query parameters, ...
user avatar
  • 27.3k
1 vote

Strange String behavior in Apex

Unfortunately, if you're using PageReference for your redirect, you're stuck with its behaviors and limitations. Notably, you can't include the same parameter more than once, and you cannot control ...
user avatar
  • 433k
0 votes
Accepted

reference a VisualForce component attribute to use in itself

You can't reference a component's attributes that way in Visualforce. You can only reference public Apex variables and methods, and Visualforce variables (e.g. from apex:pageBlockTable or apex:...
user avatar
  • 433k
0 votes

Text file download in Visualforce page

I resolved this problem ,I am using the javaScript download function with two ways Visualforce page: <apex:page controller="VFPageDownloaderController" action="{!downloadAutomatic}&...
user avatar

Top 50 recent answers are included