You need to sign in to do that
Don't have an account?
Why aren't my command links updating parameters correctly?
I have a datatable with a column of command links - each link sets a parameter that I want to use to drive a data source for a different datatable on the page (basically select the category should drive what items display).
For some reason ALL of the parameters show up as whatever the first selection is!
Mind - if you insert the category parameter in the URL everything works fine - I'd just rather do this without refreshing the page every time.
... <apex:form> <apex:datatable value="{!Categories}" var="cat" > <apex:column headerValue="Categories"> <apex:commandLink action="{!selectCategory}" value="{!cat}" rerender="goodstuff"> <apex:param name="ctgry" value="{!cat}"/> </apex:commandLink> </apex:column> </apex:datatable> </apex:form> <apex:outputPanel id="goodstuff"> ...other data table showing items here...
Thank you community!