• ana_s
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
Hi Everyone,
How can I add actionSupport to a custom component?
Thanks in advance
ana
  • July 15, 2008
  • Like
  • 0
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
  
  • July 08, 2008
  • Like
  • 0
Hi Everyone,
How can I add actionSupport to a custom component?
Thanks in advance
ana
  • July 15, 2008
  • Like
  • 0