Re: [Wicket-user] On-screen keyboard
Konstantin wrote: Started using ImageMap. And stopped using it, as it work uncorrect with AjaxFallbackLink Now using ordinary table with many images :-| -- View this message in context: http://www.nabble.com/On-screen-keyboard-tf2188969.html#a6094924 Sent from the Wicket - User forum at Nabble.com. - 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] On-screen keyboard
have you thought about using images and instead of using a table, positioning them with pure CSS? this might be more elegant way.. regards -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Konstantin Gesendet: Freitag, 1. September 2006 10:46 An: wicket-user@lists.sourceforge.net Betreff: Re: [Wicket-user] On-screen keyboard Konstantin wrote: Started using ImageMap. And stopped using it, as it work uncorrect with AjaxFallbackLink Now using ordinary table with many images :-| -- View this message in context: http://www.nabble.com/On-screen-keyboard-tf2188969.html#a6094924 Sent from the Wicket - User forum at Nabble.com. -- --- 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=lnkkid=120709bid=263057; dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] On-screen keyboard
Trying to create an On-Screen keyboard with Wicket. With my little knowlidge of the framework internals the idea is to create a div ../../resources/imgs/buttons.gif map name=buttons area shape=rect coords=600,122,714,176 href=# ... area shape=rect coords=XXX,YYY,XXX,YYY href=# /map /div What is the easiest way to get a reaction on clicks in particular area's in java-page class ? Maybe we can pass the javascript code in the href=... and then somehow trace this call in java class. But how this could be done ? -- View this message in context: http://www.nabble.com/On-screen-keyboard-tf2188969.html#a6056092 Sent from the Wicket - User forum at Nabble.com. - 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] On-screen keyboard
I am working on something like this too but looks like a kind of a _javascript_ affair. But my own strategy is :I have a Div wrapping an image of the keypads (am doing mine for mobile phone keys).I have a DIV wrapping an image and then use the onClick attribute to call a _javascript_ event which will automatically show the key letter on a Label or even textfield. But if yu want AJAX involved where the server does instant validation or something, then wicket will need to come in. Wicket behaviors is just a wrapper for so many _javascript_ stuffs. Meaning that you cant extend wicket behavior without been comfortable in _javascript_.I would love some day to have something like GWT integration with wicket where you can even use java to develop a wide range of behaviors that will render on the client side as _javascript_. //this will render as _javascript_ into the browser@RenderType.Client(name=hello) //hello will be an invocation function name within the browserpublic class HelloClient {public HelloClient(){ JSCall.alert(Hello Client); //this will use something like GWT compiler to translate to browser at deploy time.}}and then in a Wicket PageLabel label = label.add(new XXXEvent(onclick, new HelloClient())); ORlabel.add(new AttributeModifier(onclick,true,hello);or something maybe Wicket 3.0 :)On 8/30/06, Konstantin [EMAIL PROTECTED] wrote: Trying to create an On-Screen keyboard with Wicket.With my little knowlidge of the framework internals the idea is to create adiv../../resources/imgs/buttons.gifmap name=buttons area shape=rect coords=600,122,714,176 href="">...area shape=rect coords=XXX,YYY,XXX,YYY href="">/map/div What is the easiest way to get a reaction on clicks in particular area's injava-page class ?Maybe we can pass the _javascript_ code in the href="" and then somehowtrace this call in java class. But how this could be done ? --View this message in context: http://www.nabble.com/On-screen-keyboard-tf2188969.html#a6056092Sent from the Wicket - User forum at Nabble.com.-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 Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-- It takes insanity to drive in sanity - MeAladejebi Ayodeji A., DabarObjects Solutions Email: [EMAIL PROTECTED]Mobile: +234 803 589 1780Web: www.dabarobjects.comCommunity: www.cowblock.net - 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] On-screen keyboard
Thanks, Martijn. Started using ImageMap. in html: #60img src=imgs/buttons.gif width=714 height=177 border=0 wicket:id=buttonsMap in java page: keyboardImageMap.addRectangleLink(0,0,54,54, new AjaxFallbackLink(qLink){ public void onClick(AjaxRequestTarget target) { appendName(q); --- }}); qLink is not defined in html file (we use ImageMap, and don't need to explicitly define link's ?) When I set breakpoint in -- I see target=null, so target.addComponent is imposible. Is it a bug or a feature ? And more I've added AjaxFallbackLink but when I fire the button appendName(q) changes the value of the appropriate Label and the page is reloaded completely (this I guess is not AJAX behaviour). Any comments ... suggestions, please ? Wicket 1.2.1 Martijn Dashorst-4 wrote: Take a look at the ImageMap class. I haven't worked with it, but you can add links, and pass ajaxfallback links into the image map. Would be cool if this works :-) Martijn -- View this message in context: http://www.nabble.com/On-screen-keyboard-tf2188969.html#a6059584 Sent from the Wicket - User forum at Nabble.com. - 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user