Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 11812 invoked from network); 28 Feb 2007 13:21:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2007 13:21:45 -0000 Received: (qmail 84859 invoked by uid 500); 28 Feb 2007 13:21:48 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 84822 invoked by uid 500); 28 Feb 2007 13:21:48 -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 84811 invoked by uid 99); 28 Feb 2007 13:21:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 05:21:48 -0800 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 tricasoft@gmail.com designates 64.233.162.238 as permitted sender) Received: from [64.233.162.238] (HELO nz-out-0506.google.com) (64.233.162.238) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 05:21:37 -0800 Received: by nz-out-0506.google.com with SMTP id n29so53235nzf for ; Wed, 28 Feb 2007 05:21:16 -0800 (PST) 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=pM1xtXf442T55nIKwIuwiPe+x5qxf1O2DqkEnKvWfVP77WfJnVI8EIC+zuXHvMKPYcq+9BD8lzSPS8nkauDKcwZiGFbZc0+lhHKHnKKkxD7gY9ye7NiUDcGEHNGr31d36WuDTRonmNEPxQ4XcCtSzKFw1QmFchibpIgrxBAKiSI= 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=oILLn9lW10ovqqdd48TQO1iSGzQuNOjtyp/r+p4ugC4cjWmtiXXzZ5ox4DVHkLAQVPTIH2fKCVIeYj2JQ+yNytx0O1ipM2+GnFV/2YXzFTXMN3N9/a0xBO1Rw8xBy5Wl3l3PgJZ2Ef28AqfIgvdEdSlpog8Z1Ac1NHd+k1j5Nc0= Received: by 10.115.93.16 with SMTP id v16mr724507wal.1172668872367; Wed, 28 Feb 2007 05:21:12 -0800 (PST) Received: by 10.115.46.20 with HTTP; Wed, 28 Feb 2007 05:21:12 -0800 (PST) Message-ID: <3a7411240702280521g450a9322y4e39de5940e2bf54@mail.gmail.com> Date: Wed, 28 Feb 2007 15:21:12 +0200 From: "Laurentiu Trica" To: "MyFaces Discussion" , werner.punz@gmail.com Subject: Re: Problems using MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_41636_15759489.1172668872245" References: <3a7411240702270306o47aa5185leb43ab93d1e075ab@mail.gmail.com> <9a64d7d10702270457ue515a6ic9c72530cde7f361@mail.gmail.com> <3a7411240702270501x457cf927sc003440ff458dbb1@mail.gmail.com> <3a7411240702270649p93a4eedp98005e6b27dd47e@mail.gmail.com> <45E49165.8050006@rhe.co.nz> <3a7411240702280006o91fafe6tb02893efa581009f@mail.gmail.com> <3a7411240702280032m79e5edccq9f97b9284110473f@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_41636_15759489.1172668872245 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Werner Yes, you could use facelets for parameters. What I actually need is to use an alias bean on the same page. Is there a mistake I am doing? On 2/28/07, Werner Punz wrote: > > Laurentiu Trica schrieb: > > Hi Werner, > > > > I use Spring 2 and facelets too. > > How can I do the same functionality using facelets? > > > > yes facelets allow componentization on the view layer, since you already > are on facelets there is absolutely no reason for aliasbean. > > check out the ui:component part of the facelet manuals > what you can do is basically that you can add new tags for pageparts > which can have input parameters, pretty much exactly what you can get > with aliasbean but way less verbose, because you define it once > and then you just work with the tag. > > -- Best regards, Laurentiu www.codebeat.ro ------=_Part_41636_15759489.1172668872245 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Werner

Yes, you could use facelets for parameters.
What I actually need is to use an alias bean on the same page.
Is there a mistake I am doing?

On 2/28/07, Werner Punz <werner.punz@gmail.com> wrote:
Laurentiu Trica schrieb:
> Hi Werner,
>
> I use Spring 2 and facelets too.
> How can I do the same functionality using facelets?
>

yes facelets allow componentization on the view layer, since you already
are on facelets there is absolutely no reason for aliasbean.

check out the ui:component part of the facelet manuals
what you can do is basically that you can add new tags for pageparts
which can have input parameters, pretty much exactly what you can get
with aliasbean but way less verbose, because you define it once
and then you just work with the tag.




--
Best regards,
Laurentiu
www.codebeat.ro ------=_Part_41636_15759489.1172668872245--