The pagereference tag has no wiki summary.
2
votes
1answer
118 views
Visualforce Page and standardController attribute in Apex Page
I am developing a Visualforce page which will be rendered when a Salesforce User arrives by clicking a specific Account.
The Apex page looks something like this:
<apex:page>
...
3
votes
1answer
267 views
Test Class not sending page reference
I have looked at many examples and even some questions asked in stack but I still cannot get my test class to send the Page reference over. When I look at my log, it shows that it enters my controller ...
4
votes
1answer
186 views
pagereference return null vs void
I feel like I've noticed differences in the past between a pageReference returning null vs a void method. However, I can't recall now, does the pageReference returning null refresh the view state? Are ...
1
vote
2answers
198 views
New Tab for PageReference
I want to open my Vf page on new tab please guide me what i need to do to get the process done my code :
public PageReference totalbookedClick(){
date myDate = date.today();
integer ...
1
vote
1answer
132 views
ActionFunction working in Chrome but not in IE and Moz
So, the page has an action which must be invoked when "enter" is pressed.
VISUALFORCE:
//script:
function pressReturn(e, currOffer) {
var keyPressed = e.keyCode;
if (keyPressed == 13) {
...
1
vote
1answer
161 views
apex:Include and pagereference Issue
Strucked with a different kind of Issue.
I'm having three pages page1,page2,page3. I have Included all this pages in a single page by using apex:include like this
<div id="apiaccount" ...
2
votes
3answers
697 views
Passing apex:inputField user entry as parameter into Command Link
I am getting the nickname from an inputField and updating a list of strings and displaying the list of strings on a table. The outputField displays the newly entered value, but the controller variable ...
2
votes
1answer
480 views
PageReference from embedded Visualforce page becomes inlined
I have a Visualforce page that gets embedded into the opportunity page layout. Part of the embedded page is a command button with an action defined in the controller to redirect the user to another ...
1
vote
2answers
682 views
Displaying ApexPages.Messages on redirected VisualForce Page
I hope this is a simple problem and I'm just missing something.
My Controller is something like this
public pagereference processtempcon(){
//some code here
delete record;
pagereference ...
0
votes
1answer
68 views
Making a PageReference absolute
I have a controller that return PageReferences. This are all relative.
But in some cases, I need to return back full URLs.
Something like: http://www.google.com
This works but, I want to be 100% ...
2
votes
4answers
103 views
Ensuring a all controllers invoke a method
I want to apply this fix to an IE 10 problem. The thing is you could argue this fix should be applied to all controllers. I was thinking of having a base controller
putting it in that and then all ...
1
vote
1answer
70 views
Heapsize problem on VF page
I am VF page which display records for a custom object. When there are a large number of custom records - I get: HEAPSIZE 6014176 error on page.
Any tips?
3
votes
4answers
301 views
Provide standard clone button functionality to a button on vf page
I have an object whose standard new, edit and view button are overridden with a vf page.I want a Clone button on this vf page which should work exactly like standard clone button. If suppose i open an ...
1
vote
1answer
291 views
ActionStatus on a visualforce page for a PageReference method
I have been using actionStatus on visualforce pages since a long time but never came across a scenario where the method for which I use it is a PageReference method. AJAX, as far as I understand, is ...
2
votes
3answers
468 views
Returning PageReferences from Init - Not working in sandbox
So either I'm going nuts, or I'm overlooking something obvious, or I'm just encountering some very weird behaviour.
The Setup
I have a page which calls an Init action in the controller from the page ...