Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: value change listener dident call

  1. #1
    Junior Member
    Join Date
    Jun 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default value change listener dident call

    my jsp code is:
    <af:selectOneChoice id="soc2"
    valueChangeListener="#{welcomeBean.valueChangeSocC hildId}"
    autoSubmit="true" partialTriggers="soc1"
    binding="#{welcomeBean.childIdSoc}"
    visible="false" simple="true"
    immediate="true">
    <f:selectItems value="#{welcomeBean.selectItemsBasedOnParentId}"
    id="si4"/>
    </af:selectOneChoice>

    and my function code:
    public void valueChangeSocChildId(ValueChangeEvent valueChangeEvent) {
    valueChangeEvent.getComponent().processUpdates(Fac esContext.getCurrentInstance());
    this.qualificationBtn.setVisible(false);
    this.qualificationBtn2.setVisible(true);
    loanTypeID = valueChangeEvent.getNewValue().toString();
    }



    what is wrong?


  2. #2
    Member
    Join Date
    Feb 2013
    Posts
    73
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: value change listener dident call

    not sure about the code, but use [ code ] and [/ code ]

Similar Threads

  1. call by value and call by reference
    By Appu14 in forum The Cafe
    Replies: 1
    Last Post: September 2nd, 2012, 06:58 AM
  2. Call by Reference & Call by Value
    By Lokesh in forum Java Theory & Questions
    Replies: 1
    Last Post: February 21st, 2011, 12:19 PM
  3. Action Listener
    By kray66 in forum AWT / Java Swing
    Replies: 2
    Last Post: April 19th, 2010, 03:26 PM
  4. Key listener help
    By airsim15 in forum AWT / Java Swing
    Replies: 2
    Last Post: December 13th, 2009, 02:15 PM
  5. [SOLVED] Java exception "result already defined"
    By rptech in forum Object Oriented Programming
    Replies: 3
    Last Post: May 20th, 2009, 05:48 AM