http redirection to https port 443

2016-06-02 Thread Qbyte Consulting
Hi, I've been trying to configure Jetty 9.2 to redirect http requests to https port 443. No luck so far. The app has confured web.xml to secure it. I seem to recall that Tapestry (using 3.6) might have some kind of module configuration for identifying ports to use? As it stands http requests

obtaining markup in a page class to send in email

2016-06-23 Thread Qbyte Consulting
Hi, What would be the way to implement an email button on a page that sends some of the markup to someone? Is there a slick way to do this, or is it more messy like grabbing the markup in JS and passing through the ajax request? Anything that would make easier to perform an XML transformation

Re: obtaining markup in a page class to send in email

2016-06-23 Thread Qbyte Consulting
smooth xslt integration would be nice. :) On Thu, Jun 23, 2016 at 3:08 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 23 Jun 2016 10:25:52 -0300, Qbyte Consulting < > qbyteconsult...@gmail.com> wrote: > > Hi, >> > > Hi! > > What wou

Page must be specified before initializing for partial page render.

2016-06-16 Thread Qbyte Consulting
Hi, My T5.3.6 application works fine with production mode=false. However when production-mode = true then some linkclicks with JS return: An unexpected application exception has occurred. Page must be specified before initializing for partial page render. This is on the browser console:

Re: Page must be specified before initializing for partial page render.

2016-06-17 Thread Qbyte Consulting
updating to tapestry5-jquery to 3.4.2 version seems to resolve this issue :) On Fri, Jun 17, 2016 at 11:57 AM, Qbyte Consulting < qbyteconsult...@gmail.com> wrote: > Thanks Cezary, > > What I found is that making COMBINE_SCRIPTS=false resolves the issue. > >

Re: Page must be specified before initializing for partial page render.

2016-06-17 Thread Qbyte Consulting
> robust >by not assuming that these events are always sent via AJAX (e.g. user > can >have JavaScript disabled, or middle-click on the link, etc.). > > > As I said before, I can only guess what is wrong. If my recommendation > would not help, try providing more details

exception during bind

2016-03-19 Thread Qbyte Consulting
Exception in thread "main" java.lang.RuntimeException: Error invoking service binder method compliancereports.services.ComplianceReportsModule.bind(ServiceBinder) (at ComplianceReportsModule.java:65): Unresolved compilation problem: at

render nested component

2016-03-19 Thread Qbyte Consulting
I am creating a Menu component (for a ul tag) that needs to programmatically generate the child links. I already have a MenuItem component, but this is parameter bound to a template, whereas now I need to programmatically drive the parameters. I either need to be able to create the existing

input form error causes div to clear left

2016-04-07 Thread Qbyte Consulting
I have a form made up of 4 divs, the top 2 lay side by side using float:left, the next 2 are clear left so they stack underneath. When a field in the top right div contains an error the whole div clears left distorting the whole form into 4 stacked divs. How do I stop tapestries errors from

Re: exception during bind

2016-03-19 Thread Qbyte Consulting
.tapestry5.ioc.internal.ModuleImpl.createProxy(ModuleImpl.java:459) at org.apache.tapestry5.ioc.internal.ModuleImpl.access$900(ModuleImpl.java:39) at org.apache.tapestry5.ioc.internal.ModuleImpl$4.invoke(ModuleImpl.java:311) ... 17 more On Thu, Mar 17, 2016 at 10:25 AM, Qbyte Consulting < qbyteconsult...@gma

Re: render nested component

2016-03-20 Thread Qbyte Consulting
; On Fri, Mar 18, 2016 at 6:17 AM, Qbyte Consulting < > qbyteconsult...@gmail.com > > wrote: > > > I am creating a Menu component (for a ul tag) that needs to > > programmatically generate the child links. > > > > I already have a MenuItem component, but this is p

Re: render nested component

2016-03-20 Thread Qbyte Consulting
e.com/file/repo1.maven.org/maven2/org.apache.tapestry/tapestry-json/5.3.1/org/apache/tapestry5/json/JSONObject.java#JSONObject.put%28java.lang.String%2Cjava.lang.Object%29>("markCollapsedURL", markCollapsed.toString <http://grepcode.com/file/repository.grepcode.com/java/root/jdk/open

Tapestry 5.3.7 with Tanuki service wrapper

2016-03-29 Thread Qbyte Consulting
Hi, Has anyone had success running ioc via the Tanuki Service Wrapper product? I'm having problems with Tapestry instantiating a DAO service that is injected with EntityManager references. Suspect a class loader problem, I'm getting inconsistent results. All works fine from the command line

Tapestry vs Spring MVC + REST + Angular

2016-07-29 Thread Qbyte Consulting
After years of Tapestry focus I finally got around to checking out how others are building web apps these days. Spring MVC + REST and Angular seem to be flavours of the day and can create some quite slick solutions. These approaches are still full of boilerplate code, but things are looking a lot

Tapestry launch a JEE 7 webservice?

2016-08-01 Thread Qbyte Consulting
I am attempting to combine a JPA layer built on Tapestry 5.3.6 with a RESTful webservice built for JEE 7. The web service is configured in code: public class ApplicationConfig extends Application However Tapestry JPA is configured with the servlet filter in web.xml:

Tapestry 5.3.6 not recognising named queries

2016-08-01 Thread Qbyte Consulting
Hi, I have a Maven dependency tree like this: Entity Classes DAO Layer DAO Consumer (Tynamo resteasy layer) java.lang.IllegalArgumentException: NamedQuery of name: EUser.findByUsername not found. In my consumer project everything runs, I can see the entity classes registering in JPA and my DAO

Re: Tapestry vs Spring MVC + REST + Angular

2016-08-02 Thread Qbyte Consulting
d T5.4’s asset handling (and AWS)! > > But most of all, it has been a joy to build, and it has let me focus on > the domain most of the time, which I can’t say is true of any other > framework I’ve used (not even GWT). > > Tapestry, and especially Tapestry 5.4, I take my hat

SPA with initial geolocation request

2016-08-11 Thread Qbyte Consulting
Hi, I'm developing an SPA style app in which the geolocation needs to be captured by JS on initial page render then fed back to the page so it triggers AJAX loading of the dynamic zones in the page that depend on the location. How would I go about that? regards, John

using media attributes with @Import stylesheet

2016-08-11 Thread Qbyte Consulting
I'm moving my prototype pages to T5.4. I've put this on my Layout class: @Import(stylesheet = {"context:/layout/style.css", "context:/layout/jquery.mobile-1.4.5.min.css"}, library = {"context:/js/init.js","jquery.mobile-1.4.5.min.js"}) How do I handle the media attributes (see

exception on page render

2016-08-11 Thread Qbyte Consulting
I'm writing a T5.4 app from scratch rather than a migration. I keep getting this stack dump, I've taken out the got5 dependency, but still get much the same error. Any pointers to what this could be? I'm basing my code off the hotel booking example. John HTTP ERROR 500 Problem accessing

Re: exception on page render

2016-08-12 Thread Qbyte Consulting
I've been copying code from here https://tapestry-app.apache.org/hotels/ but with my own database and other project dependencies. On Fri, Aug 12, 2016 at 12:39 PM, Barry Books <trs...@gmail.com> wrote: > Which hotel booking app? > > On Thursday, August 11, 2016, Qbyte Consultin

Re: exception on page render

2016-08-12 Thread Qbyte Consulting
ng somewhere. > > -- > Chris > > On Fri, Aug 12, 2016 at 2:02 PM, Qbyte Consulting < > qbyteconsult...@gmail.com > > wrote: > > > I've been copying code from here https://tapestry-app.apache.org/hotels/ > > but with my own database and other project depende

tapestry5.4 + hibernate + postgres + postgis

2016-08-12 Thread Qbyte Consulting
Hi, I'm changing my project to use postgres and hibernate, should be straight forwards, right? Tapestry starts to load up but then the below happens. Any ideas? At least with JPA and eclipselink I could get the server to start! Hibernate seems to be causing upset. :( John [main] ERROR

T.5.4 ajax forms

2016-08-13 Thread Qbyte Consulting
I can't get an form in a zone to work with ajax to get an email address, events get fired, but the form data is not passed back to the page class property and the page goes black due to redirect! It seems like the form isn't working thru ajax. @Property @Persist(PersistenceConstants.FLASH)

Re: exception on page render

2016-08-12 Thread Qbyte Consulting
, Qbyte Consulting <qbyteconsult...@gmail.com > wrote: > No I removed it. As I said, even after removing got5, I got a similar > stack dump but minus mention of got 5. Sorry to confuse. > > On Fri, Aug 12, 2016 at 1:19 PM, Chris Poulsen <mailingl...@nesluop.dk> > wrote

Re: exception on page render

2016-08-12 Thread Qbyte Consulting
the error... > > I would suggest starting from a working basis, like the t5 quickstart ( > http://tapestry.apache.org/getting-started.html ) and add one thing at the > time ensuring that everything is working before moving on to next step. > > -- > Chris > > On Fri, Aug 1

problem accessing assets after migration to 5.4

2016-06-30 Thread Qbyte Consulting
Hi, I've changed my project deps to T5.4. After fixing some depricated page link methods my app compiles. However when I run I get exceptions from a menu loading service: is = assetSource.getClasspathAsset("menu.properties").getResource() .openStream(); } catch (RuntimeException e) { final

Tapestry with Selenium and Cucumber

2016-06-30 Thread Qbyte Consulting
Hi, Are there any Tapestry sample projects around with Selenium and/or Cucumber tests? thanks, John

after migrating to T5.4 home page won't load

2016-06-30 Thread Qbyte Consulting
I got jetty:run to launch the app, but when requesting the home page: HTTP ERROR 500 Problem accessing /audit/. Reason: Server Error Caused by: java.lang.AbstractMethodError at

Re: after migrating to T5.4 home page won't load

2016-06-30 Thread Qbyte Consulting
compile org.apache.commons commons-email 1.3.2 compile On Thu, Jun 30, 2016 at 7:22 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 30 Jun 2016 13:47:31 -0300, Qbyte Consulting < > qbyteconsult...@gmail.com>

Re: T.5.4 ajax forms

2016-08-15 Thread Qbyte Consulting
looking for an easy way to add swipe capability back? AngularJS looks like it would integrate well without fudging up the jquery, but it's swipe seems hard to implement and really I'd like to stay with jquery. On Sat, Aug 13, 2016 at 10:32 PM, Qbyte Consulting < qbyteconsult...@gmail.com> wrote

null pointers after user hits enter in AJAX form

2016-08-18 Thread Qbyte Consulting
An unrecoverable error occurs after the user hits Enter key in a form rendered by an enclosed component. Is there a way to ignore the enter key and not submit the form? It's an AJAX search value input, not a regular form for submission, so Enter key hits should be ignored.

file upload doesn't set file value

2016-08-31 Thread Qbyte Consulting
Hi, I'm always finding that file is null for file upload? If I submit the form without async=true then file value is set and it works. public void onValidateFromUploadForm() {

Re: Swipe and touch

2016-09-02 Thread Qbyte Consulting
I tried to add jquery mobile to my T5.4 project for swipe but it cracks up. Same for angularjs. Is there additional config required to add js libraries? Since I have jquery set up already I figured I could just add the mobile. Sent from my iPhone > On 2 Sep 2016, at 19:40, Thiago H de Paula

Re: Swipe and touch

2016-09-05 Thread Qbyte Consulting
oError() { alert('There was a problem determining your location. Some features may not be available.'); } return { geoLocate: geoLocate }; }); }).call(this); I still can't figure out how to access functions defined in modules directly using onclick= though, any

best way to rebind events after a zone rerenders

2016-09-06 Thread Qbyte Consulting
Hi, My zone contents are losing their client side event bindings after being re-rendered. Would there be a way to rerun my init modules script (imported by the page) after a zone is again rendered? John

how to pass geolocation coords as hidden values in login form

2016-08-29 Thread Qbyte Consulting
Hi, Does anyone have an idea how to pass latitude and longitude as hidden values in a login for with T5.4, or any other tricks to get this data into a component? John

Re: how to pass geolocation coords as hidden values in login form

2016-08-30 Thread Qbyte Consulting
wrote: > Use a form, request parameters or url context - The usual way of sending > data to the server. > > -- > Chris > > On Tue, Aug 30, 2016 at 11:56 AM, Qbyte Consulting < > qbyteconsult...@gmail.com> wrote: > > > I get JS to populate the hidden form fields

Re: how to pass geolocation coords as hidden values in login form

2016-08-31 Thread Qbyte Consulting
l parameters ( > http://tapestry.apache.org/current/coffeescript/utils.html) > > -- > Chris > > > On Wed, Aug 31, 2016 at 1:19 AM, Qbyte Consulting <qbyteconsult...@gmail.com >> wrote: > >> I could not get the form method to work, so ended up passing

Re: how to pass geolocation coords as hidden values in login form

2016-08-31 Thread Qbyte Consulting
://tapestry.apache.org/current/coffeescript/utils.html) > > -- > Chris > > > On Wed, Aug 31, 2016 at 1:19 AM, Qbyte Consulting <qbyteconsult...@gmail.com >> wrote: > >> I could not get the form method to work, so ended up passing an eventlink >> url to my j

Re: how to pass geolocation coords as hidden values in login form

2016-08-30 Thread Qbyte Consulting
your hidden fields. > Then you can add this component inside any form where you need. > > Nathan > > > > On 30/08/16 01:10, Qbyte Consulting wrote: > >> Hi, >> >> Does anyone have an idea how to pass latitude and longitude as

Re: how to pass geolocation coords as hidden values in login form

2016-08-30 Thread Qbyte Consulting
these parameters in your > component as the values for your hidden fields. > Then you can add this component inside any form where you need. > > Nathan > > > > On 30/08/16 01:10, Qbyte Consulting wrote: > >> Hi, >> >> Does anyone have an idea how to pass

Re: WhiteSpace Compress

2016-09-12 Thread Qbyte Consulting
Even if Tapestry emits the white space, the browser will ignore it. You must use to include additional spaces, yes? On Mon, Sep 12, 2016 at 1:28 PM, Lherm Nicolas wrote: > Hello, > > I read in paragraph http://tapestry.apache.org/component-templates.html $ > Whitespace in

some old criticisms of T5

2016-09-19 Thread Qbyte Consulting
https://friendlybit.com/html/tapestry-5-and-how-not-to-treat-html/ I'm wondering how users would respond to the above. I haven't found these issues a big problem myself, but some of these behaviours are problematic, for example someone mentioned the white-space issue recently. John

Re: some old criticisms of T5

2016-09-19 Thread Qbyte Consulting
; other commenters do likewise. I don't know if there is much more to > add, is there? > > On Mon, Sep 19, 2016 at 11:13 AM, Qbyte Consulting > <qbyteconsult...@gmail.com> wrote: > > https://friendlybit.com/html/tapestry-5-and-how-not-to-treat-html/ > > > > I'm

Re: tapestry-hibernate + tapestry-cdi

2016-09-23 Thread Qbyte Consulting
What about exclude tapestries default hibernate dependency with Maven exclude? Sent from my iPhone > On 23 Sep 2016, at 09:05, Adam X wrote: > > Hi, > > I have what seems like a major collision problem and don't know how to > solve this. My current architecture is as

Re: tapestry-hibernate + tapestry-cdi

2016-09-23 Thread Qbyte Consulting
Ive been using tapestry jpa on an application that accesses 3 databases, 1 Postgres and 2 mssql. It's just fine. Surprised tapestry hibernate doesn't support this. Sent from my iPhone > On 23 Sep 2016, at 09:36, Adam X wrote: > > Yes, JPA should an option. I don't think

java.lang.AbstractMethodError loading Index page with T5.4?

2016-08-26 Thread Qbyte Consulting
well this is new, any ideas? Info: [ERROR] ioc.Registry java.lang.AbstractMethodError Info: [ERROR] ioc.Registry Operations trace: Info: [ERROR] ioc.Registry [ 1] Handling page render request for page Index Severe: java.lang.AbstractMethodError at

Re: java.lang.AbstractMethodError loading Index page with T5.4?

2016-08-26 Thread Qbyte Consulting
path. > >> On Fri, 26 Aug 2016 09:33:31 -0300, Qbyte Consulting >> <qbyteconsult...@gmail.com> wrote: >> >> well this is new, any ideas? >> >> >> Info: [ERROR] ioc.Registry java.lang.AbstractMethodError >> Info: [ERROR] ioc.Registry

Re: Password strength ...

2016-10-01 Thread Qbyte Consulting
Tapestry doesn't include this feature. Just add the script to the page or component concerned along with any other requisite markup. Have a look at mixins, could help do the job. John Sent from my iPhone > On 1 Oct 2016, at 10:16, Juan M Garrido de Paz > wrote:

running JS to attach client events to a zones content after it's rendered

2016-10-01 Thread Qbyte Consulting
Hi, I have a zone with some conditional content so it doesn't appear when the page is initially loaded but is added later when the zone is rerendered with a flag set true. There is a button in the zone that I need to attach jquery events handling functions too from a module. How do I fire the

WebSocket enpoint as a tapestry service

2016-10-26 Thread Qbyte Consulting
I want to develop a tapestry chat component that uses a WebSocket to handle real time text messages. I need to integrate so that users can see who is logged in to the Tapestry app. How would I make a class in a Tapestry app a WS endoint that can also access my apps Tapestry services as well as

Re: WebSocket enpoint as a tapestry service

2016-10-27 Thread Qbyte Consulting
atmosphere/tree/ >>> master/tapestry-atmosphere-demo >>> >>> Cometd >>> Demo: http://t5cometd-lazan.rhcloud.com/chat >>> Source: >>> https://github.com/uklance/tapestry-cometd/tree/master/ >>> tapestry-cometd-demo >>> >&g

Tapestry w Scala

2016-12-16 Thread Qbyte Consulting
Hi, Has anyone implemented a T5.4 site with Scala, or are there any kickstart type Scala projects out there for T5.4 please? I'd like to see how it's done. John

Re: Tapestry w Scala

2016-12-16 Thread Qbyte Consulting
016, at 18:11, Thiago H. de Paula Figueiredo <thiag...@gmail.com> > wrote: > > On Fri, Dec 16, 2016 at 6:53 AM, Qbyte Consulting <qbyteconsult...@gmail.com >> wrote: > >> Hi, >> > Hi! > > >> Has anyone implemented a T5.4 site with Sca

Sign in with Facebook component

2017-01-02 Thread Qbyte Consulting
I'd like to add a sign in/register with Facebook type component to my apps login page. Has anyone created such a component and/or able to shed light? John Sent from my iPhone - To unsubscribe, e-mail:

problems with Tapestry 5.4.3+JPA and jetty plugin

2017-11-18 Thread Qbyte Consulting
Hi, I can run my app better with glassfish but get problems with the postgres driver. With Jetty I get this below, any ideas please? John [INFO] --- jetty-maven-plugin:9.2.0.M0:run (default-cli) @ AuditServices --- [INFO] Logging initialized @2422ms [INFO] Configuring Jetty for project: Audit

problems with JPA and tapestry 5.4.0

2017-11-11 Thread Qbyte Consulting
I just started using Tapestry 5.4.0 on a project that uses tapestry-jpa. The project worked fine with 5.3.6 tapestry but the JPA fails under 5.4.0. Any ideas? John Info: [ERROR] ioc.Registry Error invoking service contribution method

Re: problems with JPA and tapestry 5.4.0

2017-11-12 Thread Qbyte Consulting
.4.0 and each library appears only once. > > Cezary > > > On Sun, Nov 12, 2017 at 5:37 AM, Qbyte Consulting <qbyteconsult...@gmail.com >> wrote: > >> I just started using Tapestry 5.4.0 on a project that uses tapestry-jpa. >> The project worked fine with

QuickStart

2018-11-25 Thread Qbyte Consulting
Hi, I’m trying to setup a bare bones tapestry project in maven 3. Can anyone point me an example how to do that please? John Sent from my iPhone - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

Re: QuickStart

2018-11-26 Thread Qbyte Consulting
. > > On Mon, Nov 26, 2018 at 6:53 AM Qbyte Consulting > wrote: > >> Hi, >> >> I’m trying to setup a bare bones tapestry project in maven 3. >> >> Can anyone point me an

Jetty not reloading

2018-11-27 Thread Qbyte Consulting
I’m finding resources are not dynamically reloading. Jetty config below, what do I need to do? org.eclipse.jetty jetty-maven-plugin 9.2.0.M0

Re: Jetty not reloading

2018-11-28 Thread Qbyte Consulting
list of additional tapestry modules >> (usually just one) for runtime configuration. >> >> On Wed, Nov 28, 2018 at 6:12 AM Qbyte Consulting >> wrote: >> >>> I’m finding resources are not dynamically reloading. Jetty config below, >>> what do I nee

Re: QuickStart

2018-11-26 Thread Qbyte Consulting
gt;>> P.S. Don’t feed the trolls. >>>> >>>> >>>>> On Nov 26, 2018, at 9:17 AM, Emmanuel Sowah >> wrote: >>>>> >>>>> But is web application framework not an overkill for this small >>>> application >&

Re: Jetbrains considers to deprecate Tapestry plugin in IntelliJ 2019.3

2019-06-19 Thread Qbyte Consulting
React repeats the same sins as JSP by mixing code and presentation. A problem tapestry addressed. Its kind of strange seeing this JSP age issue afflict those “better frameworks”. I’d also wager a SPA could be developed more quickly in tapestry than with any JS framework plus an API. Then there

Apache site rendering on mobile browser

2019-07-04 Thread Qbyte Consulting
Both my mobile chrome and safari render the apache tapestry pages down the left margin while menu bar separators spread across the top? https://tapestry.apache.org/modules.html Not creating a good impression. Is that apache sites fault or maintained by tapestry group? John Sent from my

Re: Jetbrains considers to deprecate Tapestry plugin in IntelliJ 2019.3

2019-07-10 Thread Qbyte Consulting
Good grief, not this again. Tapestry is a great choice where the developer has java skills (it works quite well with Scala too) and doesn’t want to spend hundreds of hours gaining proficiency in a java script framework (that change every few years) and where there isn’t budget or requirements

Re: How to provide a tapestry method to be access from another application?

2019-09-04 Thread Qbyte Consulting
Another approach is to export the logic of the login process to a separate service and have both client applications call it. John Sent from my iPhone > On 5 Sep 2019, at 02:27, Rbsn Lbk wrote: > > Hi, > > I have developed a Tapestry application. Inside of that application I have > a method