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 47C7898B8 for ; Thu, 10 May 2012 06:06:02 +0000 (UTC) Received: (qmail 44231 invoked by uid 500); 10 May 2012 06:06:01 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 43969 invoked by uid 500); 10 May 2012 06:06:00 -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 43936 invoked by uid 99); 10 May 2012 06:05:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 06:05:58 +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 vedmack@gmail.com designates 209.85.213.53 as permitted sender) Received: from [209.85.213.53] (HELO mail-yw0-f53.google.com) (209.85.213.53) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 06:05:51 +0000 Received: by yhjj72 with SMTP id j72so1252164yhj.12 for ; Wed, 09 May 2012 23:05:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Zf2sOx6Y1zQM/RLPO4UJ2L0zwPJTzSxgUqmI2cJTIhk=; b=CNMxR/QziGcKl492G/d9EJcovrhXxtkkV9sXeDIk+LgvCDFzyWnzEPGK+aiKRXhl93 S7YTrE8NunVCfOmPczq1QxEATB+cnuS8ID4jYAHD00vge8P2dPohuPd52PF2DA4kvc8C 1nz0cJj0ywAf56dnGEPX/+Idt6FgSE7tZr5m2eJvQq9JwfifwdwAWzlAk5DwBE/ki1I5 4K6WGgbYXkT7kGPmegkA/uX7r1dsDGRVx2fGsqTyTx2bQJPhNuR8jsR2MjGQlMaAk5Pd 58HjOZoQ4qUMyJMjBs/jzUfG2v/AIDa3A7nLtFKckwLu78Paa7wH1Sjen4C8Z9aBIsu5 AC9g== MIME-Version: 1.0 Received: by 10.236.190.70 with SMTP id d46mr3562857yhn.90.1336629930281; Wed, 09 May 2012 23:05:30 -0700 (PDT) Received: by 10.147.147.20 with HTTP; Wed, 9 May 2012 23:05:29 -0700 (PDT) In-Reply-To: References: Date: Thu, 10 May 2012 09:05:29 +0300 Message-ID: Subject: Re: To: MyFaces Discussion Content-Type: multipart/alternative; boundary=20cf305b125a30c93804bfa8680a --20cf305b125a30c93804bfa8680a Content-Type: text/plain; charset=ISO-8859-1 Forgot to add that after I click on the show button and the script was supposed to be loaded , it gets loaded if I click F5 / Ctrl + F5 / or hit Enter in the URL of the browser... Thanks again. On Wed, May 9, 2012 at 6:11 PM, Daniel Reznick wrote: > Hi > > I'm trying to load some heavy js file only after a user have clicked on > button > > so basically when user loads the main page there is a hidden page inside > > > > > > > > wrapper > > > > > > > > > that hidden page got will click on the commandButton > > > page2.xhtml looks like this > > xmlns:h="http://java.sun.com/jsf/html" xmlns:f=" > http://java.sun.com/jsf/core" > xmlns:c="http://java.sun.com/jsp/jstl/core"> > > > #{myBean.show} > rendered="#{myBean.show}"/> > Woooow > > > > and my callme looks like this > > public void callme(){ > show = !show; > System.out.println("caaaaaaaaaaaal me\t"+show); > } > > This works perfectly in my mojarra sandbox , but for some reason it is not > being loaded in my Myfaces 2.0.11 application I even tried the latest 2.1.8 > snapshot > > Is there any web.xml configuration that I'm missing > > Thanks ahead, > > > Daniel. > --20cf305b125a30c93804bfa8680a--