From adffaces-user-return-1418-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Thu Nov 16 20:00:51 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 37784 invoked from network); 16 Nov 2006 20:00:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2006 20:00:36 -0000 Received: (qmail 81034 invoked by uid 500); 16 Nov 2006 20:00:46 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 81023 invoked by uid 500); 16 Nov 2006 20:00:46 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 81014 invoked by uid 99); 16 Nov 2006 20:00:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 12:00:46 -0800 X-ASF-Spam-Status: No, hits=3.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,MAILTO_TO_SPAM_ADDR X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.190.37.27] (HELO web53706.mail.yahoo.com) (206.190.37.27) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 16 Nov 2006 12:00:32 -0800 Received: (qmail 49605 invoked by uid 60001); 16 Nov 2006 20:00:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ghVu9WjyUlanGQcD3S50ybh0t6mqdMD8vTTVx1JJJ6wRickoqlKtYtYxbjvny1e9zUAStxrt/C1GR0cBWtFefWAlFFLt2uJ9c3bYVgp577ESBu+r8MzOAyzj5NRfze6GgjnA470f5orC/rzmDuO+a76TguE3R9BdG2spRYSnMPg= ; Message-ID: <20061116200004.49602.qmail@web53706.mail.yahoo.com> Received: from [70.216.28.55] by web53706.mail.yahoo.com via HTTP; Thu, 16 Nov 2006 12:00:00 PST Date: Thu, 16 Nov 2006 12:00:00 -0800 (PST) From: d sanders Subject: Re: inputText required and navigation To: adffaces-user@incubator.apache.org, simon.lessard.3@gmail.com In-Reply-To: <254acf980611161027m1d04bb2s67dc78a956db8261@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org trinidad: m1-SNAPSHOT JSF: myFaces 1.1.5-SNAPSHOT David --- Simon Lessard wrote: > Hmmm... It looks good. What version of Trinidad and > JSF impl are you using? > > On 11/16/06, d sanders > wrote: > > > > I've tried both, it still gives the validation > error. > > My page is constructed via a facelet template > where > > the navigation part is in the template, if that > makes > > a difference. (I would not think so.) > > > > Here is the basic layout: > > > > > > ... > > > > > id="navigation3" > > var="node" > > value="#{navigationModel.model}" > > level="2" > > hint="list"> > > > > > > text="#{node.label}" > > immediate="true" > > > action="#{node.getOutcome}"/> > > > > > > > > ... > > > > > label="#{bundle['userAdmin.username']}:" > > value="#{userActions.username}" required="true"/> > > > > > > > > text="#{bundle['addUser.addUser']}" > > action="#{userActions.addUser}"/> > > > > > > > > > > > > I've tried putting immediate="true" and "false" on > the > > required inputText. > > > > David > > > > > > --- Simon Lessard > wrote: > > > > > You should not be getting any error, even if you > > > navigate on the same page. > > > The only two possible cause are: > > > > > > 1) Your ActionSource is not immediate, fixed by > > > making navigationItem > > > immediate > > > 2) Some or all of your fields are immediate, > fixed > > > by removing the immediate > > > attribute from them. In theory, only immediate > > > fields should show errors, > > > thus showing you which one need to be altered. > > > > > > > > > Regards, > > > > > > ~ Simon > > > > > > On 11/16/06, d sanders > > > wrote: > > > > > > > > Oh, okay. That's most likely the problem. > The > > > > panelPage/navigationPane/nodeStamp combination > > > does > > > > not work right now and returns me to the > current > > > page. > > > > I am waiting for a fix for this. I was > clicking > > > on > > > > the other tabs and getting these validation > > > errors. > > > > Even though I was not going anywhere but back > to > > > the > > > > current page, I did not think that I should > have > > > been > > > > getting the errors. > > > > > > > > Thanks, > > > > > > > > David > > > > > > > > > > > > --- Simon Lessard > > > wrote: > > > > > > > > > Hello, > > > > > > > > > > The current page should not be reloaded if > the > > > > > commandNavigationItem is > > > > > immediate. Can you post a code snippet of > your > > > page > > > > > please? Did you make the > > > > > inputText immediate as well, if so that's > the > > > > > problem, it should not be? > > > > > > > > > > > > > > > Regards, > > > > > > > > > > ~ Simon > > > > > > > > > > On 11/15/06, d sanders > > > > > > wrote: > > > > > > > > > > > > That gets rid of the popup, but now I get > an > > > error > > > > > on > > > > > > the required field itself and via > tr:messages. > > > > > > > > > > > > David > > > > > > > > > > > > > > > > > > --- Adam Winer wrote: > > > > > > > > > > > > > Try setting immediate="true" on the > > > > > > > commandNavigationItem. > > > > > > > > > > > > > > -- Adam > > > > > > > > > > > > > > > > > > > > > On 11/15/06, d sanders > > > > > > > > > > wrote: > > > > > > > > Hello, > > > > > > > > > > > > > > > > I get validation popups on empty > > > tr:inputText > > > > > > > fields > > > > > > > > that have required="true" when using > > > > > > > > > panelPage/commandNavigationItem/nodeStamp > > > to > > > > > > > navigate > > > > > > > > to a different page. Is this to be > > > expected? > > > > > I > > > > > > > am > > > > > > > > not attempting to submit my form, just > > > > > navigate to > > > > > > > > another page. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ____________________________________________________________________________________ > > > > > > > > Sponsored Link > > > > > > > > > > > > > > > > Compare mortgage rates for today. > > > > > > > > Get up to 5 free quotes. > > > > > > > > Www2.nextag.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > === message truncated === ____________________________________________________________________________________ Sponsored Link Mortgage rates near 39yr lows. $310k for $999/mo. Calculate new payment! www.LowerMyBills.com/lre