You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@click.apache.org by mkgolfer <mk...@yahoo.com> on 2011/07/10 20:46:45 UTC
Ever integrate Click with Vaadin?
Hi,
Has anyone tried this? On the Vaadin site, they show you how to integrate
Vaadin with Struts. I ask because I love how simple Click is to get up and
running...no XML/configuration hell..but parts of a project I am on requires
some sophisticated Grid interaction (i.e. knowing which row/column was
click) and a few other issues.
Thanks
Mark K
--
View this message in context: http://click.1134972.n2.nabble.com/Ever-integrate-Click-with-Vaadin-tp6568297p6568297.html
Sent from the click-user mailing list archive at Nabble.com.
Re: Ever integrate Click with Vaadin?
Posted by Easydoor958 <ch...@valdoise.fr>.
Vaadin is a nice RIA Framework i tried but the philisophy is radically different
from Click. The application is based on Windows.
The big advantage is that you can create Ajax functions without JavaScript, only
in Java !
Elsewhere Without using Vaadin, you can use Datagrids or jqgrid plugin if you
want to have sophisticated data grids.
Re: Problem to Show Slowest Pages
Posted by Andre Gustavo Lomonaco <lo...@ipplus.com.br>.
Hi Joe Hindsley,
Thanks a lot for your comments and for your reply.
I like the idea to use AJAX to retrive data after the page loads, cause
for me is too dificult to reduce the page analysis time
Do you have an AJAX example for Apache Click that I can use for this
situation ?
Thanks again
My Best Regards,
Andre Gustavo Lomonaco
----- Original Message -----
From: "Joe Hindsley" <jh...@gmail.com>
To: <us...@click.apache.org>
Sent: Saturday, November 10, 2012 9:07 PM
Subject: Re: Problem to Show Slowest Pages
> Hi Andre,
>
> You'll need to do a bit of digging to determine where the bottleneck is
> and then optimise that part.
>
> For example, you said that your page spends a lot of time doing analysis -
> is there any way to pre-generate or cache that data so you don't have to
> compute it every time the page is hit? Maybe you can take advantage of
> AJAX to retrieve data after the page loads or limit the amount of data
> you're sending.
>
> You might also try using a different browser to hit the page - or even use
> telnet or wget to retrieve it - just to see if you're getting all of the
> data or if there is a timeout someplace.
>
> It's hard to say which way to look first without knowing the application,
> but those are some starting points. Ultimately, it's a matter of finding
> the slow point and fixing it.
>
> Cheers,
>
> Joe Hindsley
>
> On 11/10/2012 04:17 PM, Andre Gustavo Lomonaco wrote:
>> Hi Everyone,
>>
>> I'm having a problem with pages that spend a lot of time doing some
>> analysis.
>> The IE shows the page loading but never show me the page, although I can
>> see in the log that the page was finished
>>
>> For example, when I try to receive the pag maclvan.htm I can't but the
>> log show me that Apache Click finished his job:
>>
>> [Click] [info ] renderTemplate:
>> /protocolos/macvlan.htm,border-template.htm - 7 ms
>> [Click] [info ] handleRequest: /protocolos/macvlan.htm - 498406 ms
>>
>> When I try the same page, but with less data, I can receive the page in
>> my IE without problem
>>
>> [Click] [info ] renderTemplate:
>> /protocolos/macvlan.htm,border-template.htm - 5 ms
>> [Click] [info ] handleRequest: /protocolos/macvlan.htm - 45003 ms
>>
>> Is there any timeout that my application needs to respect ?
>> Any tip or help ?
>> I'm using Apache Click 2.1.0 with Tomcat 7.0.23
>>
>> My Best Regards
>>
>> Andre Gustavo
>>
>>
>>
>
Re: Problem to Show Slowest Pages
Posted by Joe Hindsley <jh...@gmail.com>.
Hi Andre,
You'll need to do a bit of digging to determine where the bottleneck is
and then optimise that part.
For example, you said that your page spends a lot of time doing analysis
- is there any way to pre-generate or cache that data so you don't have
to compute it every time the page is hit? Maybe you can take advantage
of AJAX to retrieve data after the page loads or limit the amount of
data you're sending.
You might also try using a different browser to hit the page - or even
use telnet or wget to retrieve it - just to see if you're getting all of
the data or if there is a timeout someplace.
It's hard to say which way to look first without knowing the
application, but those are some starting points. Ultimately, it's a
matter of finding the slow point and fixing it.
Cheers,
Joe Hindsley
On 11/10/2012 04:17 PM, Andre Gustavo Lomonaco wrote:
> Hi Everyone,
>
> I'm having a problem with pages that spend a lot of time doing some
> analysis.
> The IE shows the page loading but never show me the page, although I can
> see in the log that the page was finished
>
> For example, when I try to receive the pag maclvan.htm I can't but the
> log show me that Apache Click finished his job:
>
> [Click] [info ] renderTemplate:
> /protocolos/macvlan.htm,border-template.htm - 7 ms
> [Click] [info ] handleRequest: /protocolos/macvlan.htm - 498406 ms
>
> When I try the same page, but with less data, I can receive the page in
> my IE without problem
>
> [Click] [info ] renderTemplate:
> /protocolos/macvlan.htm,border-template.htm - 5 ms
> [Click] [info ] handleRequest: /protocolos/macvlan.htm - 45003 ms
>
> Is there any timeout that my application needs to respect ?
> Any tip or help ?
> I'm using Apache Click 2.1.0 with Tomcat 7.0.23
>
> My Best Regards
>
> Andre Gustavo
>
>
>
Problem to Show Slowest Pages
Posted by Andre Gustavo Lomonaco <lo...@ipplus.com.br>.
Hi Everyone,
I'm having a problem with pages that spend a lot of time doing some
analysis.
The IE shows the page loading but never show me the page, although I can see
in the log that the page was finished
For example, when I try to receive the pag maclvan.htm I can't but the log
show me that Apache Click finished his job:
[Click] [info ] renderTemplate:
/protocolos/macvlan.htm,border-template.htm - 7 ms
[Click] [info ] handleRequest: /protocolos/macvlan.htm - 498406 ms
When I try the same page, but with less data, I can receive the page in my
IE without problem
[Click] [info ] renderTemplate:
/protocolos/macvlan.htm,border-template.htm - 5 ms
[Click] [info ] handleRequest: /protocolos/macvlan.htm - 45003 ms
Is there any timeout that my application needs to respect ?
Any tip or help ?
I'm using Apache Click 2.1.0 with Tomcat 7.0.23
My Best Regards
Andre Gustavo
Re: Ever integrate Click with Vaadin?
Posted by Andrew Fink <ap...@gmail.com>.
For Vaadin inside Click use iFrame or div:
http://vaadin.com/book/-/page/application.embedding.html
You can redirect browser from click page to vaadin app as easly as to any
other page.
You can put some data to HttpSession and access it from Vaadin app:
WebApplicationContext cx = (WebApplicationContext) app.getContext();
HttpSession session = cx.getHttpSession();
if (session != null) {
get all you need from session...
}
}
--
View this message in context: http://click.1134972.n2.nabble.com/Ever-integrate-Click-with-Vaadin-tp6568297p6574309.html
Sent from the click-user mailing list archive at Nabble.com.
Re: Ever integrate Click with Vaadin?
Posted by mkgolfer <mk...@yahoo.com>.
Integration...i.e. a Vaadin Widget embedded within a click page...or
forward/redirect from a click page toa Vaadin page?
Thanks
Mark K.
--
View this message in context: http://click.1134972.n2.nabble.com/Ever-integrate-Click-with-Vaadin-tp6568297p6571169.html
Sent from the click-user mailing list archive at Nabble.com.
Re: Ever integrate Click with Vaadin?
Posted by Andrew Fink <ap...@gmail.com>.
What kind of integration do you want?
I use both Click and Vaadin and have some code, but what you mean?
--
View this message in context: http://click.1134972.n2.nabble.com/Ever-integrate-Click-with-Vaadin-tp6568297p6568346.html
Sent from the click-user mailing list archive at Nabble.com.