Return-Path: Delivered-To: apmail-click-dev-archive@www.apache.org Received: (qmail 39189 invoked from network); 4 Feb 2011 14:23:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2011 14:23:38 -0000 Received: (qmail 31450 invoked by uid 500); 4 Feb 2011 14:23:38 -0000 Delivered-To: apmail-click-dev-archive@click.apache.org Received: (qmail 31244 invoked by uid 500); 4 Feb 2011 14:23:36 -0000 Mailing-List: contact dev-help@click.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@click.apache.org Delivered-To: mailing list dev@click.apache.org Received: (qmail 31219 invoked by uid 99); 4 Feb 2011 14:23:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Feb 2011 14:23:35 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gilbertoca@gmail.com designates 209.85.216.170 as permitted sender) Received: from [209.85.216.170] (HELO mail-qy0-f170.google.com) (209.85.216.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Feb 2011 14:23:29 +0000 Received: by qyk10 with SMTP id 10so7270312qyk.8 for ; Fri, 04 Feb 2011 06:23:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=sCVq55hWmgvChpfHMoTBaugGESyiAtsaa56InqlTtKc=; b=iy5utt3a75fztGCI6XIU/Z9t1i+w1OUIwQO6PMzTX5huBmM8XO4W/s1yXkPfDW5wRo WlcweyEYZ8k2vLN8KsvlcSRdcCFDIMEZesolwpRDgmgxrTioHJbQTRJ/asfD10oh4IuM FUJeYWpEWr2ZaxV3Mha4rVw1deA4jWy8mcGYw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=doBA32VbZJDqqoz7u3+XIhZxoxf15ZE2+XAT98jcAHZnsgWAg75pFCg5pL2q4yMYTT mvfhH4qw30OTKts4SF+Z2jXQWV9cUfD48rvyO5B7uENAzlfs6HZ3tD0prp0Jk29GzDVm 6f/ZARexQE3f0zOy9I1jTO9A6sXugSiAAxUng= MIME-Version: 1.0 Received: by 10.229.110.10 with SMTP id l10mr10221719qcp.56.1296829388022; Fri, 04 Feb 2011 06:23:08 -0800 (PST) Received: by 10.229.218.211 with HTTP; Fri, 4 Feb 2011 06:23:07 -0800 (PST) In-Reply-To: References: <4D49E8BF.8070601@gmail.com> Date: Fri, 4 Feb 2011 11:23:07 -0300 Message-ID: Subject: Re: including multiple pages in a page From: Gilberto To: dev@click.apache.org Content-Type: multipart/alternative; boundary=0016368321b201e505049b759fca --0016368321b201e505049b759fca Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2011/2/4 St=C3=A9phane NICOLAS > How can I submit something to the wiki so ? > > You can sign up yourself and create a new item in the "Other WIKI Pages", but before you contribute with any code I think Bob, Adrian or Malcolm coul= d explains us how is the Click WIKI licensing. Regards, Gilberto st=C3=A9phane > > > 2011/2/4 Gilberto > > >> >> 2011/2/4 St=C3=A9phane NICOLAS >> >> Hi all, >>> >>> indeed, it has been possible to get what I wanted. It's not so clean bu= t >>> works. >>> As my page all contain a form, I just did this in the new aggregated pa= ge >>> constructor >>> >>> public ViewAllPage { >>> p1.form.setName( "form1"); >>> p2.form.setName( "form2"); >>> p3.form.setName( "form3"); >>> >>> addControl( p1.form ); >>> addControl( p2.form ); >>> addControl( p3.form ); >>> } >>> >>> All my fields where public, so I just instanciated the pages, took thei= r >>> form and put them inside the new page. It works fine. >>> >>> Very good! >> >> >>> Oh, by the way, I built a class that inspects a POJO and exports it to >>> excel through POI. I know it is not related to click, but as we use POJ= Os a >>> lot, I thought it could be interesting for some devloppers here. Is som= eone >>> interested ? >>> >> >> A good place for it would be in the Click Wiki[1] >> >> Regards, >> >> Gilberto >> [1]https://cwiki.apache.org/confluence/display/CLICK/Index >> >> >>> >>> St=C3=A9phane >>> >>> >>> >>> >>> 2011/2/2 Bob Schellink >>> >>> Hi St=C3=A9phane, >>>> >>>> No you cannot include one page in another. You could use an iframe to >>>> include one page in another >>>> though. >>>> >>>> kind regards >>>> >>>> Bob >>>> >>>> On 2/02/2011 07:21, St=C3=A9phane NICOLAS wrote: >>>> > Hello all, >>>> > >>>> > I got for click pages that I would like to include in a single page, >>>> in the way one would use >>>> > panels. I saw it was possible, but I don't remember where is the doc >>>> about the process to achieve it. >>>> > Can anyone help ? >>>> > >>>> > Thanks in advance, >>>> > St=C3=A9phane >>>> > >>>> >>>> >>> >> > --0016368321b201e505049b759fca Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2011/2/4 St=C3=A9phane NICOLAS <steff.nicolas@gmail.com= >
How can I submit something to the wiki so ?


Yo= u can sign up yourself and create a new item in the "Other WIKI Pages&= quot;, but before you contribute with any code I think Bob, Adrian or Malco= lm could explains us how is the Click WIKI licensing.

=C2=A0Regards,

Gilberto




st=C3=A9phane


2011/2/4 Gilberto <gilbertoca@gmail.com>
<= div class=3D"h5">


2011/2/4 St=C3=A9phane NICOLAS <s= teff.nicolas@gmail.com>

Hi all,

indeed, it has been possible to get what I wanted. It's = not so clean but works.
As my page all contain a form, I just did this i= n the new aggregated page constructor

public ViewAllPage {
=C2=A0= =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 p1.form.setName( "form1");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 p2.form.setName( "form2");<= br>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 p3.form.setName( "form3"= );
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0 addControl( p1.form );
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2= =A0 addControl( p2.form );
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 addCont= rol( p3.form );
}

All my fields where public, so I just instancia= ted the pages, took their form and put them inside the new page. It works f= ine.

Very good!
=C2=A0
Oh, by the way, I built a cla= ss that inspects a POJO and exports it to excel through POI. I know it is n= ot related to click, but as we use POJOs a lot, I thought it could be inter= esting for some devloppers here. Is someone interested ?

A good place for it would be in the Click Wiki[= 1]

Regards,

Gilberto
[1]https://cwiki.apache.org/confluence/display/CLICK/Index
=C2=A0

St=C3=A9phane




2011/2/2 Bo= b Schellink <sabob1@gmail.com>

Hi St=C3=A9phane,

No you cannot include one page in another. You could use an iframe to inclu= de one page in another
though.

kind regards

Bob

On 2/02/2011 07:21, St=C3=A9phane NICOLAS wrote:
> Hello all,
>
> I got for click pages that I would like to include in a single page, i= n the way one would use
> panels. I saw it was possible, but I don't remember where is the d= oc about the process to achieve it.
> Can anyone help ?
>
> Thanks in advance,
> =C2=A0St=C3=A9phane
>





--0016368321b201e505049b759fca--