AW: WebSocket enpoint as a tapestry service

2017-07-25 Thread Dr. Jochimsen, Janko
Dear Lance, I am a bit lost with the Atmosphere Demo. I am following the instructions here https://github.com/uklance/tapestry-atmosphere but there are several issues. As a starting point I use the Maven Archetype 5.4.3 for eclipse. Within eclipse I use jetty 6.1.16. Then I adjust the pom

AW: JPA with pure hibernate

2017-01-18 Thread Jochimsen, Janko
s no declarations, not sure if it's still necessary, but some earlier versions of Hibernate complained without it: http://java.sun.com/xml/ns/persistence/orm"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/persisten

JPA with pure hibernate

2017-01-18 Thread Jochimsen, Janko
Hi, I am trying to switch my application from a standard tapestry-hibernate version to a tapestry-jpa version. I would like to have a pure hibernate solution and skip any eclipselink dependency. After spending some time with http://tapestry.apache.org/integrating-with-jpa.html

Bootstrape Tab with JS Content

2016-09-17 Thread Jochimsen, Janko
Hello Everybody, something new or maybe trivial. This time I have some troubles with the Tab JavaScript Component of Bootstrap. Or maybe the way Tapestry handles it. The Situation is as follows: I have a Component that shows a jqplot via JavaScript as follows public void afterRender() {

problems with https in eclipse / marven / jetty environment

2016-08-18 Thread Jochimsen, Janko
Hello Everybody, this time I have another problem that is not directly tapestry related but seem to come from the eclipse / marven / jetty environment of the standard start skeleton. I try to switch my application to Https / SSL. In order to do so I followed the advice on https://tapestry.apache

AW: Comming from resources.triggerEvent / need to go to another page

2016-07-24 Thread Jochimsen, Janko
ct[]{l}, resultCallback); return resultCallback.getResult(); } And on your page @OnEvent(value="ShowDetailsViaBubble") private Object onShowDetailsViaBubble(long l) { return DetailUserNice.class; } You don't need to inject the page and use Pagerenderlinksource since yo

Comming from resources.triggerEvent / need to go to another page

2016-07-23 Thread Jochimsen, Janko
Hello, I am sorry that I need your advice again: In more than one case I have to use EventBubbling or a call from a JavaScript script to a Component. That looks all very nice but it seems to generate a wired problem. The separation to the Component leads to a situation that the user interaction

AW: Problem sending data from a JS Element back to Tapestry

2016-07-21 Thread Jochimsen, Janko
nding data from a JS Element back to Tapestry Hi, Utils and ajax are injected using requirejs, the top of the module file looks like this... (function(){ define(["jquery", "t5/core/ajax", "t5/core/utils", "components/editor/inline-toolbar" ], funct

AW: Problem sending data from a JS Element back to Tapestry

2016-07-21 Thread Jochimsen, Janko
ms: JSON.stringify(params) } ); }; Where ajax/utils are those from t5/core/ajax / t5/core/utils The handler on the server side looks like this: handlerName( @RequestParameter( "params" ) JSONObject json ) HTH. -- Chris On Thu, Jul 21, 2016 at 5:35 PM, Jochimsen, Janko

Problem sending data from a JS Element back to Tapestry

2016-07-21 Thread Jochimsen, Janko
Hello Everybody, I do have a problem with the communication between tapestry and java Script or to be more precise a JQuery Script. As a background Information I am using JQPlot Graphs that work quiet good and I can start them from tapestry without problems. Now I would like to increase the inter