Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 5225 invoked from network); 20 Jun 2007 07:19:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2007 07:19:55 -0000 Received: (qmail 88152 invoked by uid 500); 20 Jun 2007 07:19:52 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 88108 invoked by uid 500); 20 Jun 2007 07:19:52 -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 88094 invoked by uid 99); 20 Jun 2007 07:19:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 00:19:52 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of javahamdi@gmail.com designates 209.85.146.179 as permitted sender) Received: from [209.85.146.179] (HELO wa-out-1112.google.com) (209.85.146.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 00:19:48 -0700 Received: by wa-out-1112.google.com with SMTP id l24so7547waf for ; Wed, 20 Jun 2007 00:19:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=K5zoflPtVPC1tQKo/i7egqsHbH9N4U22l3evDrcrhayOkiYch61gfk1ww8hUZb5IvlsyJXCp322lRUWWnCRImyhXTB91ybKjDlRjQaLNtRoso7L9cX29ml//GIVGnrDM3Aa1rIdkS86wGeIRFtcWsRdlx36KBeO7u6tyh+mF9bs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ZpiACFinZEaffVZMZGDZZ1v2Ye3mBCRrNrGy+6ALLXfOcf1zGj8ACfVO+5vq1ICWLELKuUZ7U8BH1Rww1di73Ziiq2Hb6dRQ+xyc+UMNeNANyp2aM3S7ok8FgLPy6iBaP4u6VTQbfgtunnLJD8V7T63sklupOvV+TKW0+s6ZLyc= Received: by 10.115.33.1 with SMTP id l1mr16668waj.1182323967578; Wed, 20 Jun 2007 00:19:27 -0700 (PDT) Received: by 10.141.210.15 with HTTP; Wed, 20 Jun 2007 00:19:27 -0700 (PDT) Message-ID: Date: Wed, 20 Jun 2007 09:19:27 +0200 From: "Zied Hamdi" To: "MyFaces Discussion" Subject: Re: [tobago] the action of a popup button is not executed In-Reply-To: <9a64d7d10706191246v4618d4b9ye5b20f6651251a90@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23890_24651959.1182323967557" References: <9a64d7d10706191246v4618d4b9ye5b20f6651251a90@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_23890_24651959.1182323967557 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Good morning Volker, You were right (but I'm not surprised ;-) : removing defaultCommand=true fixed the problem. I'm really a dummy in javascript, do you think it would be a good idea to have a sort of key listener: or maybe ** *onKeys="\n|y|Y" action="#{ctrl.doYesAction}"/>
 
or maybe
 
<tc:button action="#{ctrl.doYesAction}">
  <tc:keyListener key="\n">
  <tc:keyListener key="y" ignoreCase="true>
</tc:button>
 
and visually react on the keys : \n, y or Y by clicking the button then doing the action.
 
I don't know if there is a key binding mechanism so I'm maybe imagining how the world would be nicer if we could invent the weel (if it's the case I prefer to tell you it's not funny ;-).

Thanks for the hint on DebugPhaseListener : I can't no more do without it
 
UIPage prints the tree in the APPLY_REQUEST_VALUES phase, unfortunetly we don't see applied values on each component, maybe because it must be done before values are applied and eventual errors occur?. Anyway it's good to know it's there, thanks for this hint too.
 
2007/6/19, Volker Weber <v.weber@inexso.de>:
Hi again,

just add the DebugPhaseListener and set log level to trace :-)

and set loglevel of UIPage to trace to get the UIComponent tree logged.


Regards,
   Volker



>
> Note: for persons who are interested in getting this simple but useful class
> I join it it is always better than calling System.out.println()...
>



--
Zied Hamdi
zatreex.sourceforge.net ------=_Part_23890_24651959.1182323967557--