You need to sign in to do that
Don't have an account?
Help how do i set a vairbale if someone clicks a row on a data table?
Hi i have a data table that shows the avaiable list with other descriptions like length, byte etc..
now in column label name i have added a command link if the field is a picklist value
now how can i set a variable in my controller to the name of this field that the user clicked on?
so far i done this:
<apex:actionSupport event="onclick"> <apex:actionFunction> <apex:param name="objectName" assignTo="{!pickListField}" value="{!object.name}" /> </apex:actionFunction> <apex:commandLink action="{!ShowPickListPage}" value="{!object.label}"
id="pickListLink" rendered="{!IF(object.type = 'picklist', 'true', 'false')}"/> </apex:actionsupport>