Re: calling a java method with javascript

2012-04-22 Thread Lenny Primak
ComponentResources.createEventLink and pass it into your JavaScript via JavaScriptSupport.addScript() On Apr 22, 2012, at 11:13 AM, sommeralex wrote: > Hi! > > I want to use the geolocation (html/javascript) api to get the current > position / after that, i want to call a java method, define

Re: calling a java method with javascript

2012-04-22 Thread François Facon
Hi Have a look at this jQuery Mobile Sample that use geolocalisation. https://github.com/got5/techforum/blob/master/src/main/java/net/awl/od/techforum/pages/Map.java François Le 22 avril 2012 18:13, sommeralex a écrit : > Hi! > > I want to use the geolocation (html/javascript) api to get the cu

calling a java method with javascript

2012-04-22 Thread sommeralex
Hi! I want to use the geolocation (html/javascript) api to get the current position / after that, i want to call a java method, defined within a tapestry page. I cant find any information about calling a java method from javascript. http://tapestry.apache.org/current/apidocs/org/apache/tapestry5

Re: Better Looking Input Form

2012-04-22 Thread trsvax
I wrote a module that changes Tapestry HTML to Bootstrap HTML. Here is the code for BeanEditForm https://github.com/trsvax/tapestry-bootstrap/blob/master/src/main/java/com/trsvax/bootstrap/services/bootstrapprovider/FormProvider.java Basically you run a Visitor on the DOM after the component is r

Re: Better Looking Input Form

2012-04-22 Thread netdawg
This is somewhat less intrusive as well: Just happened on it at: http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Submit.html To separately style, used embedded attributes: -- View this message in context: http://tapestry.1045711.n5.nabble.com/Bette