You need to sign in to do that
Don't have an account?
ana_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
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