-Igor
On 7/11/06, Martijn Dashorst <
[EMAIL PROTECTED]> wrote:
In our case, not for specific libraries. We do use behavior.js,
prototype.js, scriptaculous.js, and dojo for effects and attaching
_javascript_ behavior to specific components.
In the case of Maurice, the problem is that we have key handlers that
capture cursor key presses, and move the focus from one field to the
next, in order to create an excel like feel. When a field recieves
focus, we want to retrieve some data for display in a tooltip like
popup, but only after half a second or so. Otherwise the server will
be flooded with requests coming in.
Note that the number of fields is in the order of 30 * 6 * 4 = 720 or
so fields on one page. Add _javascript_ to each input field, and you
have an explosion of markup to download. 800kb is not unusual. Even on
high bandwidth connections 800kb takes a hit to download.
Switching the visibility of elements in the client is also something
that can be done using Wicket Ajax, but is (much) more efficient when
done on the client. The same goes for copying values from one form
component to another, or setting context aware default values: for
instance when you say that someone is in born in the Netherlands, you
can be almost certain that he also has the dutch nationality.
Selecting the value in the dropdown box can be done on the server, but
takes another serverside hit, whereas the same functionality can be
achieved using client side _javascript_, where you don't have to go to
the server.
Martijn
On 7/11/06, Frank Bille Jensen < [EMAIL PROTECTED]> wrote:
> On Tue, 2006-07-11 at 15:14 +0200, Martijn Dashorst wrote:
> > Not everything is a Wicket component. I
> > have such a usecase, but I am reluctant to publish it, as it is
> > security related. No reason to spill the beans about that.
>
> I'm not asking you to do anything like that :) My imagination is just
> sometimes quite slow so I'm asking for some help there.
>
> But I agree there are usecases where it would be nice to have easier
> access to an ajax request function.
>
> I haven't been in a situation where I needed to place logic on the
> client side. I like having it on the server side.
>
> Is it typically when you use third party _javascript_ libraries?
>
> Frank
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-develop mailing list
> Wicket-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
>
--
Download Wicket 1.2 now! Write Ajax applications without touching _javascript_!
-- http://wicketframework.org
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop