• tonitonitone
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 5
    Replies
I'm trying to copy VF controller classes from Sandbox into Production in Eclipse, but I keep getting "Save error: An error has occurred on your page". What does it mean???

Everything else deploys fine - triggers, apex classes, VF pages.

My eclipse version is Version: 3.3.2
I'm using API v13.0

Any help is greatly appreciated!!!!
I have a VF page embedded in a standard page layout. The VF page has a pageBlockTable which calls the Contact id, which displays the Contact Name and a link to the Contact detail page. This is all fine and dandy, except the links to the Contact detail page opens within the VF frame, and not reloaded in the browser window.

Here's the line of code I'm referring to:

Code:
<apex:column headerValue="Contact Detail" value="{!item.Contact__c}" />

 
I tried hijacking all the links on the page by coding this at the top of the VF page --
Code:
<BASE TARGET="_top" />

 
but then that messes up the rerender functionality of the other links on the page.

Any ideas??
I wrote some validation inside a custom controller that goes beyond the required field validation. The error message appears fine at the top of the page using new ApexPages.Message(ApexPages.severity.ERROR,'...'). But how do I give an input field an error highlighting from the custom controller?
Hi there,

I would like to add a query string to the action attribute of a command button. The idea is that I pass in parameters to the controller's method for that action. The Visual Force reference manual say: " To add query string parameters to a commandButton, specify them in the associated action method". My question is: how is the sintax for that ?.

Something like this does not work :
<apex:commandButton action="{!save}?q={!myObject.id}" value="Save" id="theButton"/>
Thank you very much in advance.
Fernando