function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ana_sana_s 

actionsupport in components

Hi everyone,
I have a component ,and a inputText inside this component.I want to use actionSupport in this comp so that on onkeypress event a method is called from the controller bound to this comp
This is my code but it isn t working.My method is never called:

        <apex:attribute name="myvalue" description="This is the value for the component."
                type="String"  />
                 <apex:attribute name="onblur" type="String" description="blur"/>

            <div>
                  
 <apex:inputtext  id="myText"     value="{!myvalue}"   />
   <apex:actionSupport event="onkeypress" action="{!searchI}"  >
    <apex:param assignTo="{!val}" value="{!myvalue}"/>
  
   </apex:actionSupport>
  

Thanks