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!

Firing PPR for inputListOfValues programatically

3174772May 9 2016 — edited May 11 2016

Hello Experts,

I am using jdev version 12.2.1..

I am firing a PPR for inputListOfValues programmatically,rendering using partial targets.. please look into my code once:

.jsf

------

<af:inputListOfValues label="#{bnd.ORGANIZATION}"

                                                              popupTitle="#{bnd.POPUP_DIAGLOG}" autoSubmit="true"

                                                              value="#{sessionScope.paramorg}"

                                                              model="#{bindings.organization_code.listOfValuesModel}"

                                                              id="inputListOfValues1" showRequired="true"

                                                              immediate="true"

                                                              launchPopupListener="#{LovHandlerBean.genLovPopupLaunch}"

                                                              validator="#{LovHandlerBean.lovValidator}"

                                                              binding="#{LovHandlerBean.paramorg}"

                                                             valueChangeListener="#{LovHandlerBean.inputFieldValue}"

                                                              clientComponent="true">

                                            <f:validator binding="#{bindings.organization_code.validator}"/>

                                        </af:inputListOfValues>

LovHandlerBean.java

--------------

private RichInputListOfValues  paramorg;

    public void setParamorg(RichInputListOfValues paramorg) {
    this.paramorg = paramorg;
}

public RichInputListOfValues getParamorg() {
    return paramorg;
}

public void inputFieldValue(ValueChangeEvent valueChangeEvent) {

        // Add event code here...

        Util.logLn("---------------------------inputFieldValue---------------------------------------");

        RequestContext adfContext = RequestContext.getCurrentInstance();

             adfContext.addPartialTarget(getParamorg());

            Util.logLn("target val= " + getParamorg());

             return;

But my inputFieldValue is not getting called when i placed debug point..

Can anyone tell me where i am doing wrong..

Regards

Chinmayee

This post has been answered by 3174772 on May 11 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 8 2016
Added on May 9 2016
39 comments
687 views