Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

af|inputText serverListener method is not invoked

Dhanavel Karthikeyan-OracleDec 2 2024 — edited Dec 3 2024

Hi,

When i try the below code, clientListener is getting called whereas serverListener method is not triggered. Can any one of you help me to resolve this problem?

<af:inputText id="srchVal" value="#{pageFlowScope.memberSelectorBean.searchToken}"

placeholder="#{epmUIBundle.ESR_LABEL_SEARCH}"

styleClass="epmMemSelSearchInputBox epmMSClearRemove"

simple="true" clientComponent="true"

label="#{epmUIBundle.ESR_LABEL_SEARCH}">

<af:clientListener type="valueChange" method="function(event){console.log('version3');event.preventDefault();event.stopPropagation();AdfCustomEvent.queue(event.getSource(), 'handleSearchToken', {}, true);}" />

<af:serverListener type="handleSearchToken" method="#{pageFlowScope.memberSelectorBean.addSearchToken}" />

</af:inputText>

Regards,

Dhanavel

Comments
Post Details
Added on Dec 2 2024
3 comments
132 views