Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A9569B4E for ; Fri, 30 Mar 2012 20:42:44 +0000 (UTC) Received: (qmail 41588 invoked by uid 500); 30 Mar 2012 20:42:43 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 41548 invoked by uid 500); 30 Mar 2012 20:42:43 -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 41540 invoked by uid 99); 30 Mar 2012 20:42:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 20:42:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of maxtorzito@gmail.com designates 209.85.214.181 as permitted sender) Received: from [209.85.214.181] (HELO mail-ob0-f181.google.com) (209.85.214.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 20:42:35 +0000 Received: by obqv19 with SMTP id v19so1742586obq.12 for ; Fri, 30 Mar 2012 13:42:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=69bhJp0jXw/QyRsSCWWVOshEeql9PasSHKFeoC+MuX8=; b=sIWNQqiC5J/7gyCbdTNnEBiV1dwd/gNtBMo0hu6gbMbUGG88XysuJpm7jy9g88FnlD idSaYiI7uhJK0Zd80MXTcRweIjc2irAcR8IJ+VXuifZVt087J748CU9fX7i3Y+7Fc858 Aj+HR9EnjUMWe9pmtv8pp4scIA0komuASVVtUzQBtePAj6io8e2IFPQ8gobUeIsJsm/e txmFR9Yf9OixXJGnSsO8z85mGR3OppVfTmDoqDwRyNVo6VfPXF0d50Oczrkk9h1C8Y0p wDCyvfte9fhSwPnKb0MJFTEJsz66CtXvOfLgI5weeWxGps4x+almCyCjJuPOg/EwtkIU MDsw== MIME-Version: 1.0 Received: by 10.182.119.101 with SMTP id kt5mr4765193obb.70.1333140134343; Fri, 30 Mar 2012 13:42:14 -0700 (PDT) Received: by 10.182.48.230 with HTTP; Fri, 30 Mar 2012 13:42:14 -0700 (PDT) Date: Fri, 30 Mar 2012 14:42:14 -0600 Message-ID: Subject: CODI Redirect when page load From: =?ISO-8859-1?Q?Jos=E9_Luis_Cetina?= To: MyFaces Discussion Content-Type: multipart/alternative; boundary=f46d0444ee1f24b41e04bc7be026 --f46d0444ee1f24b41e04bc7be026 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable CODI 1.0.4 Hi i want to redirect from one page from other page when the first page load. Example: I have to pages pageA and pageB If i do this in @Named (pageA) @PreRenderView public void init(){ vnh.navigateTo(Pageb.class); } i get this message: - Unable to find matching navigation case from view ID '/pageb.xhtml' for outcome 'Pageb'' But if i use the same method vnh.navigateTo(Pageb.class) in a action of a button it works, how can i redirect from pageA to pageB before pageA get rendered? I try whit: @InitView @PreRenderView @PostRenderView whit InitView and PostRenderView i dont get any message but the redirect never occurs. --=20 ------------------------------------------------------------------- *SCJA. Jos=E9 Luis Cetina* ------------------------------------------------------------------- --f46d0444ee1f24b41e04bc7be026--