• Mario Miki
  • NEWBIE
  • 0 Points
  • Member since 2015

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

I need to have 2 elements inside an apex:facet. The requirement is to render one and not the other and to toggle.
 
<apex:column headerValue="Value">
                                    	<apex:outputField value="{!p.Value__c}" />
                                    	<apex:facet name="footer">
                                    	<apex:outputText styleClass="slds-input" value="{!staticValueField}" id="staticField"/>
                                    	<apex:inputText styleClass="slds-input" value="{!newParameterMapping.Value__c}" id="referenceField" onclick="setParamMappingType()" /></apex:facet>
                                	</apex:column>

But I'm not able to get it to work. No matter what just the second one will be rendered. Is there a way to do this? any workarround?

Thanks, 
Mario