You need to sign in to do that
Don't have an account?
DuTom
apex:Component support two-way binding?
Is two-way binding supported with a <apex:component >? The code below shows my unsuccessful attempt to two-way bind my custom component back to my controller on the page. Please advise,
-Tom
Code:
numScroll:
<apex:component > <apex:attribute name="value" description="binding value for the component." type="String" required="true"/> <apex:inputText value="{!value}" size="4"/> </apex:component> <apex:page controller="RequestWizard_Controller" action="{!init}"> ... <apex:pageBlockTable value="{!SearchResults}" var="sr" width="100%" rendered="{!NOT(ISNULL(SearchResults))}"> <apex:column ><c:numScroll value="{!sr.quantity}" ></apex:column> <apex:column headerValue="UOM" value="{!sr.catalogItem.Unit_of_Measure__c}"/> <apex:column headerValue="Code" value="{!sr.catalogItem.Name}"/> <apex:column headerValue="Name" value="{!sr.catalogItem.Catalog_Item_Name__c}"/> <apex:column headerValue="Supplier" value="{!sr.catalogItem.Catalog__r.Fulfillment_Supplier__c}"/> <apex:column headerValue="Catalog" value="{!sr.catalogItem.Catalog__r.Name}"/> <apex:column headerValue="Limit" value="{!sr.catalogItem.Quantity_Limit_Max__c}"/> </apex:pageBlockTable> ... </apex:page>
Bumping up this 2.5 year old thread.
That's an interesting question to which I'm trying to find an answer :)
https://sites.secure.force.com/success/ideaView?c=09a30000000D9xtAAC&id=08730000000YlHzAAK