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 0A3C6F636 for ; Mon, 13 May 2013 14:59:19 +0000 (UTC) Received: (qmail 81873 invoked by uid 500); 13 May 2013 12:09:18 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 81838 invoked by uid 500); 13 May 2013 12:09:18 -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 81679 invoked by uid 99); 13 May 2013 12:09:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 12:09:16 +0000 X-ASF-Spam-Status: No, hits=2.6 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_GREY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of andraschko.thomas@gmail.com designates 209.85.220.179 as permitted sender) Received: from [209.85.220.179] (HELO mail-vc0-f179.google.com) (209.85.220.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 12:09:12 +0000 Received: by mail-vc0-f179.google.com with SMTP id hz10so5272329vcb.24 for ; Mon, 13 May 2013 05:08:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=o/E7hJSD8tPj6nDaqSxT7x65v2u3uPE5OR3n67R6JHM=; b=vOGAHo0Ne00dpbGgp/VSF5srVH5+u5CW6NiRAtJOYYg/jzMxHYfYzE8hOdyiGU8MOn vazn7ErvUukHzxEzVqy2MPsdyPrC67WIl7ZZRkPgM3YxsCjF1Xnpr72aWr20gZBml7Hz jn6WDjkTQeHE8/qij2PjmKlr5ag0ag0+oo4rpM7873YJrPiTN9f8jky+4VcUz/C8PbZz Sz/4cAUOs0t6nXMV7dkeha71BGVzHEQYXVIreIFlDUZ8whPdwgBXYNxwELO+w4DVqLww oRtiwxDigDf+ZEOMNXmhLGCvVFlHIQQWiV5EjHuyZ+4uVugHX6Y2Riv3qyftr2vLH+zP oEbQ== MIME-Version: 1.0 X-Received: by 10.220.82.3 with SMTP id z3mr18349122vck.18.1368446931355; Mon, 13 May 2013 05:08:51 -0700 (PDT) Received: by 10.52.159.4 with HTTP; Mon, 13 May 2013 05:08:51 -0700 (PDT) In-Reply-To: References: Date: Mon, 13 May 2013 14:08:51 +0200 Message-ID: Subject: Re: Unwrap CC ValueExpression? From: Thomas Andraschko To: MyFaces Discussion Content-Type: multipart/alternative; boundary=001a11c1ed323ccd8504dc9861ff X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1ed323ccd8504dc9861ff Content-Type: text/plain; charset=ISO-8859-1 Hi Kito, CC: ---------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------- View: ---------------------------------------------------------------------------------------------------------------- > Hello Thomas, > > I think this is doable. Can you send us your composite component code? > > ___ > > Kito D. Mann | @kito99 | Author, JSF in Action > Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting > http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | > @jsfcentral > +1 203-998-0403 > > * JSF2 in Action Course - 6/17 - London: > http://skillsmatter.com/course/home/jsf-and-ajax/ng-6708 > * Listen to the Enterprise Java Newscast: * > http://blogs.jsfcentral.com/JSFNewscast/ > * > * JSFCentral Interviews Podcast: > http://www.jsfcentral.com/resources/jsfcentralpodcasts/ > * Sign up for the JSFCentral Newsletter: > http://oi.vresp.com/?fid=ac048d0e17 > > > On Mon, May 13, 2013 at 7:17 AM, Thomas Andraschko < > andraschko.thomas@gmail.com> wrote: > > > Hi, > > > > is it possible unwrap a CC ValueExpresion? > > i found a bug with PrimeFaces p:media inside a composite component and i > > would like to fix it. > > > > If you pass the EL via a CC attr (e.g. #{myController.content}) and > attach > > it to p:media (e.g. #{cc.attrs.content}), > > p:media gets the ValueExpression and saves them in the session, to later > > stream the content in a resource request. > > Later the ResourceHandler evaluates it and tries to get the value of > > #{cc.attrs.content}, which can't work ofc. > > > > So is it possible to extract the "real" EL before store it in the > session? > > Is there a solution which also works in mojarra? > > > > > > Regards, > > Thomas > > > --001a11c1ed323ccd8504dc9861ff--