• RuneWaage
  • NEWBIE
  • 5 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi All,

Firstly, thanks for taking the time to look at my post.

I have  vf page that was working very nicely until recently (maybe until spring '11 was launched?). Now, when the user fires an event that calls an actionFunction, the apex method is not being called. I put an actionStatus component into the page to show the status, and it does show the start and stop text, but the debug log shows output appropriate for pageload, not for the method referenced in the actionFunction tag.

Action Function Tag:

 

<apex:actionFunction status="counterStatus" name="renderField" action="{!renderField}" immediate='true' rerender="taskInfoDisplay, descInfo,fundraisingInfo, sysInfo, editButtons">
  <apex:param name="fieldToShow" value=""/>
  </apex:actionFunction>

 

 

Apex Method:

 

public void renderField(){
		System.debug('in renderField');
		fieldToEdit = ApexPages.currentPage().getParameters().get('fieldToShow');
		isEdit = true;
		System.debug('the field to edit is: ' + fieldToEdit);
	}

 

 

Sample Calling Code:

 

<apex:outputLabel ondblclick="renderField('Priority')"  value="Priority"/>

 

 

Does anyone have any ideas as to why this would no longer work?

 

Thanks!

 

  • March 13, 2011
  • Like
  • 0