click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stéphane NICOLAS <steff.nico...@gmail.com>
Subject Re: including multiple pages in a page
Date Fri, 04 Feb 2011 13:39:13 GMT
How can I submit something to the wiki so ?

stéphane


2011/2/4 Gilberto <gilbertoca@gmail.com>

>
>
> 2011/2/4 Stéphane NICOLAS <steff.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 in the new aggregated page
>> 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 their
>> 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 POJOs a
>> lot, I thought it could be interesting 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
>
>
>>
>> Stéphane
>>
>>
>>
>>
>> 2011/2/2 Bob Schellink <sabob1@gmail.com>
>>
>> Hi Stéphane,
>>>
>>> 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éphane 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éphane
>>> >
>>>
>>>
>>
>

Mime
View raw message