Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
147 views

Using Param in ActionFunction - Unexpected Token ':'

Using a simple action function and param to pass a value to a controller, but receiving the following in the browser. Uncaught SyntaxError: Unexpected token ':' Exception caught on ':' in ...
S.B.'s user avatar
  • 2,141
1 vote
2 answers
1k views

delete row when click on hyperlink of delete

row not delete when click on delete hyperlink what i'm doing wrong. apex class public class DeleteEditController{ public List<Stud__c> contacts{get;set;} public String conId{get;set;} public ...
cloudZigZag's user avatar
  • 1,376
0 votes
1 answer
109 views

<apex:param/> tag seems to always assign the last value on visualforce page, regardless of which event was clicked

I have a VF page with 3 tabs. I can't figure out why the value assigned to the activeTab String always gets set to the last value in the <ul>. I thought the events were separate for each <...
rmarq423's user avatar
  • 977
3 votes
1 answer
499 views

How to pass js confirm response to an action function

I've looked all over for this and haven't found anything, apologies if I missed it somewhere. I am trying to set a variable in the controller to equal the response from the confirm and then proceed ...
mplax's user avatar
  • 373
1 vote
1 answer
1k views

Apex:param not sending parameter in actionFunction

I have an actionfunction called from JavaScript attach_file('remote_input'); I have the actionFunction tag: <apex:form id="content" > <apex:actionfunction name="...
Lourdes Montero's user avatar
10 votes
4 answers
3k views

Can apex:param pass null for Integers?

I'm trying to reset an Integer value to null, but it is converted to 0. <apex:actionFunction action="{!doSomething}" name="doSomething" rerender="nothing"> <apex:param name="indexValue" ...
itsmebasti's user avatar
  • 6,555
6 votes
2 answers
2k views

ActionFunction rerender messing with Pagereference

I have a javascript method on my vf page which is called by a save button. This method performs some calculations, collects some data, and sends them to the save method in my controller as parameters ...
codeinprogress's user avatar
5 votes
2 answers
3k views

apex:actionFunction with apex:param Param not setting

I'm trying to set a controller property, using apex:param in an actionFunction but the properties aren't being set. This is my actionFunction: <apex:actionFunction action="{!setStartEndDates}" ...
Jess's user avatar
  • 472
22 votes
2 answers
58k views

Passing method parameters with apex:actionFunction

I have this Visualforce code snippet in a page: <apex:outputLink value="javascript:if (window.confirm('Are you sure?')) DeleteQuoteLineItem('{!LineItem.QuoteLineItem.Id}');"> Del </apex:...
jpmonette's user avatar
  • 4,450