Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 68159 invoked from network); 30 Aug 2006 19:04:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2006 19:04:09 -0000 Received: (qmail 12687 invoked by uid 500); 30 Aug 2006 19:04:04 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 12650 invoked by uid 500); 30 Aug 2006 19:04:04 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 12639 invoked by uid 99); 30 Aug 2006 19:04:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 12:04:04 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.196.97.93] (HELO web56904.mail.re3.yahoo.com) (66.196.97.93) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 30 Aug 2006 12:04:03 -0700 Received: (qmail 54683 invoked by uid 60001); 30 Aug 2006 19:03:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Fi93zX3VRHKIN7Dg7hi85B0i3Y674oDI9aXJsRgRjuFrqf1QF/HN2P5ERKTwGUZy1y1hfFqqTZxEeguyU20hJiH9mXBvOMyn7uiaQ+oyM2If68LZME1yd2q4ahuP1KDz76ubqZ50JGXmvgfBA09Im89lPKLqoEP0+PuPVcmgc+4= ; Message-ID: <20060830190341.54681.qmail@web56904.mail.re3.yahoo.com> Received: from [220.225.36.247] by web56904.mail.re3.yahoo.com via HTTP; Wed, 30 Aug 2006 12:03:41 PDT Date: Wed, 30 Aug 2006 12:03:41 -0700 (PDT) From: "ved.gunjan" Subject: h:selectManyListbox + valuechangelistener not working To: jsf , users@myfaces.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1228825558-1156964621=:53512" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-1228825558-1156964621=:53512 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Experts, Im having problem with implementing the valuechangelistener attribute of h:selectManyListbox. The problem is the control is not getting into the valueChangeSelectManyListbox(ValueChangeEvent evt) method. I've put a debug on it, but some how it does not get inside the method. Please tell me what im doing wrong. Find below the code: ============================================== jsp: ------ =============================================== Backing Bean method: ---------------------------------------- public void valueChangeSelectManyListbox(ValueChangeEvent evt) { Object obj = evt.getNewValue(); System.out.println("[valueChangeSelectManyListbox]" + evt.getComponent().getId()); } Waiting for answers!!! Thanks --------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out. --0-1228825558-1156964621=:53512 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hi Experts,
Im having problem with implementing the valuechangelistener attribute of h:selectManyListbox.
The problem is the control is not getting into the
valueChangeSelectManyListbox(ValueChangeEvent evt)  method.
 
I've put a debug on it, but some how it does not get inside the method.
Please tell me what im doing wrong.
 
Find below the code:
==============================================
jsp:
------
 <h:selectManyListbox size="5" value="#{requirementAnalyzerBean.valueOfMDropDown}" rendered="#{questions.answerType.answerTypeName eq 'MDrop Down'}" id="selectManyListboxid" valueChangeListener="#{requirementAnalyzerBean.valueChangeSelectManyListbox}">
                              <f:selectItems value="#{questions.option}" />                                          
                             </h:selectManyListbox>
 
===============================================
Backing Bean method:
----------------------------------------
public void valueChangeSelectManyListbox(ValueChangeEvent evt) {
  Object obj = evt.getNewValue();
  System.out.println("[valueChangeSelectManyListbox]" + evt.getComponent().getId());
 }
 
Waiting for answers!!!
 
Thanks


Stay in the know. Pulse on the new Yahoo.com. Check it out. --0-1228825558-1156964621=:53512--