Re: Open Discussion: remove Bootstrap from T5 core

2020-10-03 Thread Thiago H. de Paula Figueiredo
r opinion about getting rid of the Bootstrap > Library from T5 core. > I would like to move all BS related code (css/js) to a seperate module > like "tapestry-bootstrap3" and decouple the hardcoded BS from T5. > Furthermore I would like to see a second module "tapestry-boo

Re: Open Discussion: remove Bootstrap from T5 core

2019-02-21 Thread Ben Weidig
the needed CSS in placeholder selectors and aggregate them it in custom shared classes and load only what needed. But if the components don't use the Bootstrap classes directly we would need to change 2 classes if we like to change behavior (e.g. .form-control and .t5-form-control). And this doesn't deal

Re: Open Discussion: remove Bootstrap from T5 core

2019-02-20 Thread David Taylor
Anyone have experience working with the @extend directive in CSS preprocessors? I came across a post that advocates decoupling HTML markup from bootstrap classes by using @extend. I don't particularly agree with many of the points the author makes, but the technique is intriguing and might

Re: Re: Open Discussion: remove Bootstrap from T5 core

2019-02-19 Thread Chris Poulsen
te: > Another  up. > > Btw, could you share the link to the github repo here? Thanks. > > On Fri, Feb 15, 2019 at 7:03 PM Jens Breitenstein > wrote: > > > Thanks for you positive feedback. I suggest the following now: > > > > 1) I will use git hub to create

Re: Re: Open Discussion: remove Bootstrap from T5 core

2019-02-19 Thread abangkis
Another  up. Btw, could you share the link to the github repo here? Thanks. On Fri, Feb 15, 2019 at 7:03 PM Jens Breitenstein wrote: > Thanks for you positive feedback. I suggest the following now: > > 1) I will use git hub to create a new T5 Fork based on Thiagos > 5.5.0-beta-

Re: Re: Open Discussion: remove Bootstrap from T5 core

2019-02-18 Thread Bob Harner
ute the components to ComponentOverride? > > On Fri, Feb 15, 2019 at 10:03 AM Jens Breitenstein > wrote: > > > Thanks for you positive feedback. I suggest the following now: > > > > 1) I will use git hub to create a new T5 Fork based on Thiagos > > 5.5.0-beta-1 and remove

Re: Re: Open Discussion: remove Bootstrap from T5 core

2019-02-18 Thread Thiago H. de Paula Figueiredo
Jens Breitenstein wrote: > Thanks for you positive feedback. I suggest the following now: > > 1) I will use git hub to create a new T5 Fork based on Thiagos > 5.5.0-beta-1 and remove all bootstrap dependencies. As soon this > compiles we will have a T5.5 version looking like websi

Re: Open Discussion: remove Bootstrap from T5 core

2019-02-15 Thread Numa Schmeder
ens Breitenstein a écrit : > > Thanks for you positive feedback. I suggest the following now: > > 1) I will use git hub to create a new T5 Fork based on Thiagos 5.5.0-beta-1 > and remove all bootstrap dependencies. As soon this compiles we will have a > T5.5 version looking like

Re: Re: Open Discussion: remove Bootstrap from T5 core

2019-02-15 Thread Jens Breitenstein
Thanks for you positive feedback. I suggest the following now: 1) I will use git hub to create a new T5 Fork based on Thiagos 5.5.0-beta-1 and remove all bootstrap dependencies. As soon this compiles we will have a T5.5 version looking like websites in the good old early 80ies. 2) I

Re: Open Discussion: remove Bootstrap from T5 core

2019-02-14 Thread David Taylor
your opinion about getting rid of the Bootstrap Library from T5 core. I would like to move all BS related code (css/js) to a seperate module like "tapestry-bootstrap3" and decouple the hardcoded BS from T5. Furthermore I would like to see a second module "tapestry-bootstrap4" wh

Re: Open Discussion: remove Bootstrap from T5 core

2019-02-14 Thread JumpStart
think this could all be cleaned up nicely if the internal BS wouldn't be >> as integrated as it is right now. >> >> Eventually we will release it as open-source, but having an integration >> into Tapestry (as a new tapestry-*) would be even nicer :-) >> >> Best regar

Re: Open Discussion: remove Bootstrap from T5 core

2019-02-14 Thread Numa Schmeder
stry guys! > > I want to hear/read your opinion about getting rid of the Bootstrap Library > from T5 core. > I would like to move all BS related code (css/js) to a seperate module like > "tapestry-bootstrap3" and decouple the hardcoded BS from T5. > Furthermore I would

Re: Open Discussion: remove Bootstrap from T5 core

2019-02-14 Thread Bob Harner
> > On Thu, Feb 14, 2019 at 10:14 AM Jens Breitenstein > wrote: > > > Hi Tapestry guys! > > > > I want to hear/read your opinion about getting rid of the Bootstrap > > Library from T5 core. > > I would like to move all BS related code (css/js) to a

Re: Open Discussion: remove Bootstrap from T5 core

2019-02-14 Thread Ben Weidig
it as open-source, but having an integration into Tapestry (as a new tapestry-*) would be even nicer :-) Best regards Ben On Thu, Feb 14, 2019 at 10:14 AM Jens Breitenstein wrote: > Hi Tapestry guys! > > I want to hear/read your opinion about getting rid of the Bootstrap > Library from

Open Discussion: remove Bootstrap from T5 core

2019-02-14 Thread Jens Breitenstein
Hi Tapestry guys! I want to hear/read your opinion about getting rid of the Bootstrap Library from T5 core. I would like to move all BS related code (css/js) to a seperate module like "tapestry-bootstrap3" and decouple the hardcoded BS from T5. Furthermore I would like to see a sec

T5 + Tynamo RESTEasy + UriInfo

2017-02-08 Thread Michael Gentry
This is an FYI in case it helps others. Converting a non-T5 REST-based application into a T5 + Tynamo RESTEasy version. The original application used: @Context private UriInfo uriinfo; to inject UriInfo to construct URLs to other REST services. but this didin't work with Tynamo's RESTEasy

Re: some old criticisms of T5

2016-09-22 Thread Cezary Biernacki
on I have found with T5 is > some of the default styling that gets added to handle form errors and these > can be overriden with your own css - can be mucky, but works. > > On Mon, Sep 19, 2016 at 5:23 PM, Bob Harner <bobhar...@gmail.com> wrote: > > > That's a very old artic

Re: some old criticisms of T5

2016-09-19 Thread Qbyte Consulting
No, HLS replies were spot on. The only irritation I have found with T5 is some of the default styling that gets added to handle form errors and these can be overriden with your own css - can be mucky, but works. On Mon, Sep 19, 2016 at 5:23 PM, Bob Harner <bobhar...@gmail.com> wrote: &g

Re: some old criticisms of T5

2016-09-19 Thread Bob Harner
That's a very old article (2009 -- I don't think many users care about IE6 redering quirks anymore), but Howard's comments there seem to do a pretty good job of explaining where the author is either mistaken or misunderstands the constraints and trade-offs involved. A lot of the other commenters

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: Tapestry 5 jobs, the value of learning to use T5 and transferable skills.

2015-10-01 Thread Thiago H de Paula Figueiredo
with Tapestry. and how many of you have tried to transition to T5 from a stack like wildfly, Hmm, from reading http://wildfly.org/about/, it seems to me that WildFly isn't a stack at all, but a servlet container just like Jetty and Tomcat. Why are there so very few T5 jobs out there (I

Re: Tapestry 5 jobs, the value of learning to use T5 and transferable skills.

2015-10-01 Thread Thiago H de Paula Figueiredo
On Thu, 01 Oct 2015 14:40:44 -0300, Thiago H de Paula Figueiredo wrote: Hmm, from reading http://wildfly.org/about/, it seems to me that WildFly isn't a stack at all, but a servlet container just like Jetty and Tomcat. Oops, it's not just a servlet container. It's a

Tapestry 5 jobs, the value of learning to use T5 and transferable skills.

2015-10-01 Thread Stephen Nutbrown
se without knowing anything about various xml files, or even the difference between a servlet, container and application server, what CDI is or any of that. Everything was (and is) running nicely on a jetty server. Whenever I became stuck, i'd go to the T5 documentation and read about how to us

Re: T5 and Ember

2015-03-24 Thread Andreas Andreou
also work for you. Just throw in some cors headers on the tapestry side and you'll be able to live code against production data On Tue, Mar 24, 2015 at 5:50 AM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: As an experiment, I'm trying to migrate an existing Angular app to Ember (with T5

Re: T5 and Ember

2015-03-24 Thread Ivano Luberti
than in angular? Il 24/03/2015 04:50, Kalle Korhonen ha scritto: As an experiment, I'm trying to migrate an existing Angular app to Ember (with T5 back-end and serving multiple other thin pages). There's a lot to like in Ember vs Angular but I'm wondering if there are anybody else using Ember

Re: T5 and Ember

2015-03-24 Thread Ivano Luberti
. Nonetheless motivation for the article to sponsor Angular seem reasonable. So question is: what is to like in ember more than in angular? Il 24/03/2015 04:50, Kalle Korhonen ha scritto: As an experiment, I'm trying to migrate an existing Angular app to Ember (with T5 back-end and serving multiple

Re: T5 and Ember

2015-03-24 Thread Kalle Korhonen
trying to migrate an existing Angular app to Ember (with T5 back-end and serving multiple other thin pages). There's a lot to like in Ember vs Angular but I'm wondering if there are anybody else using Ember with T5 and if so, what's your setup? I'm mainly interested in knowing if you've

T5 and Ember

2015-03-23 Thread Kalle Korhonen
As an experiment, I'm trying to migrate an existing Angular app to Ember (with T5 back-end and serving multiple other thin pages). There's a lot to like in Ember vs Angular but I'm wondering if there are anybody else using Ember with T5 and if so, what's your setup? I'm mainly interested

Re: Access a T5 app through both http (Tomcat) and https (Apache httpd + AJP + Tomcat)

2015-02-11 Thread Martin Nagl
Setting tapestry.secure-enabled to false and removing @Secure annotations solved my problem. Internal users can acces Tomcat directly via HTTP. External users can access Apache httpd via HTTPS, which handles SSL and forwards the request to Tomcat (via AJP). Works nicely now when Tapestry does not

Re: Access a T5 app through both http (Tomcat) and https (Apache httpd + AJP + Tomcat)

2015-02-11 Thread Martin Nagl
On Thu, Feb 5, 2015 at 5:01 PM, Martin Nagl mn...@mtbiker.sk wrote: Aha, sorry for the hardcoded part, I can see that the number 80 is only used to determine whether to include port in URL or not :) Will try to provide HOSTPORT instead. M. On Thu, Feb 5, 2015 at 4:53 PM, Martin Nagl

Re: Access a T5 app through both http (Tomcat) and https (Apache httpd + AJP + Tomcat)

2015-02-06 Thread Bob Harner
Martin, Have you tried setting the tapestry.secure-enabled symbol to false in your AppModule.java? That prevents Tapestry from redirecting to https (and you won't have to have @Secure annotations on your pages). On Feb 5, 2015 11:30 AM, Norman Franke nor...@myasd.com wrote: While not addressing

Re: Access a T5 app through both http (Tomcat) and https (Apache httpd + AJP + Tomcat)

2015-02-05 Thread Martin Nagl
Aha, sorry for the hardcoded part, I can see that the number 80 is only used to determine whether to include port in URL or not :) Will try to provide HOSTPORT instead. M. On Thu, Feb 5, 2015 at 4:53 PM, Martin Nagl mn...@mtbiker.sk wrote: I am using Tapestry 5.3.6. I have not overridden

Re: Access a T5 app through both http (Tomcat) and https (Apache httpd + AJP + Tomcat)

2015-02-05 Thread Martin Nagl
I am using Tapestry 5.3.6. I have not overridden BaseURLSource or anything simmilar. I have not provided HOSTPORT or HOSTPORT_SECURE. Looking at the code in BaseURLSourceImpl, maybe my problem is that http communication goes on port 8080, not 80 as expected (hardcoded in BaseURLSourceImpl). I

Re: Access a T5 app through both http (Tomcat) and https (Apache httpd + AJP + Tomcat)

2015-02-05 Thread Jonathan Barker
with @Secure. To get around that, you end up skipping the @Secure and sending passwords plaintext over your internal network - not a great practice. I am curious if anyone ever came up with a good way of doing what you are trying to do. A few questions that come to mind are: Which version of T5? Have

Re: Access a T5 app through both http (Tomcat) and https (Apache httpd + AJP + Tomcat)

2015-02-05 Thread Norman Franke
While not addressing your problem exactly, I have found issues with cookies doing things like this. You try to login via HTTPS. Your session is created as a secure cookie, and when you go back to regular HTTP after login, you have no session cookie. I created a new, non-secure cookie, but

Access a T5 app through both http (Tomcat) and https (Apache httpd + AJP + Tomcat)

2015-02-05 Thread Martin Nagl
Hi all, we have a Tapesty5 application deployed on Tomcat + Apache httpd. In production environment at our customer, the application should be deployed / accessed like this: - Tomcat is running on a server in internal network on port 8080. - There is an Apache HTTP server with reverse proxy

requireJS modules in T5 library

2014-11-27 Thread Jan Fryblik
Hello guys, I'm fighting a bit with RequireJS modules. So... I have Tapestry library 'cms' with 'LastArticle' component. So I have simple RequireJS module in resources/META-INF/modules/cms folder with following code define([jquery, t5/core/dom, jquery/jquery.threedots.min], function

Re: requireJS modules in T5 library

2014-11-27 Thread Geoff Callender
. So I have simple RequireJS module in resources/META-INF/modules/cms folder with following code define([jquery, t5/core/dom, jquery/jquery.threedots.min], function ($, dom) { init = function (rowsCount) { $('.preview').ThreeDots({ max_rows: rowsCount }); } }); and in LastArticle.java

Re: requireJS modules in T5 library

2014-11-27 Thread Thiago H de Paula Figueiredo
: scriptSupport.require(LastArticle).with(previewLinesCount); and define([jquery, t5/core/dom, jquery/jquery.threedots.min], function ($, dom) { return function (rowsCount) { $('.preview').ThreeDots({ max_rows: rowsCount }); } }); As Chris said, Tapestry 5.4 uses RequireJS, so you should write

Re: requireJS modules in T5 library

2014-11-27 Thread Jan Fryblik
! scriptSupport.require(LastArticle).invoke(init).with(previewLinesCount); I'm not sure why people want to use .invoke() for simple initializations like this. I'd do just: scriptSupport.require(LastArticle).with(previewLinesCount); and define([jquery, t5/core/dom, jquery/jquery.threedots.min

Re: [T5] How can I validate if a script is present ?

2014-09-26 Thread Thiago H de Paula Figueiredo
On Fri, 26 Sep 2014 01:09:14 -0300, Carlos Gómez Montiel ibe...@gmail.com wrote: Hi Thiago, thank you for your answer :) I'm using Tapestry 5.3.7 Hi! Testing it, I have created a file (googlemaps.js) with the content of the url: https://maps.googleapis.com/maps/api/js?v=3.exp; and

RE: [T5] How can I validate if a script is present ?

2014-09-26 Thread Carlos Gómez Montiel
...@gmail.com] Enviado el: viernes, 26 de septiembre de 2014 08:20 a.m. Para: Tapestry users Asunto: Re: [T5] How can I validate if a script is present ? On Fri, 26 Sep 2014 01:09:14 -0300, Carlos Gómez Montiel ibe...@gmail.com wrote: Hi Thiago, thank you for your answer :) I'm using Tapestry 5.3.7 Hi

Re: [T5] How can I validate if a script is present ?

2014-09-26 Thread Thiago H de Paula Figueiredo
On Fri, 26 Sep 2014 14:04:01 -0300, Carlos Gómez Montiel ibe...@gmail.com wrote: Hi Thiago Hi! t:actionlink t:id=refresh zone='zoneResults'refresh/t:actionlink t:zone id='zoneResults'/ t:block t:id=blockResults div t:type=jquery/gmap t:id=map t:parameters=options/div

RE: [T5] How can I validate if a script is present ?

2014-09-26 Thread Carlos Gómez Montiel
Thank you for your help and support Thiago, I prefer wait to T5.4 release ;) Regards -Mensaje original- De: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Enviado el: viernes, 26 de septiembre de 2014 01:23 p.m. Para: Tapestry users Asunto: Re: [T5] How can I validate

Re: [T5] How can I validate if a script is present ?

2014-09-26 Thread Thiago H de Paula Figueiredo
On Fri, 26 Sep 2014 16:12:18 -0300, Carlos Gómez Montiel ibe...@gmail.com wrote: Thank you for your help and support Thiago, I prefer wait to T5.4 release ;) You can already try the 5.4-beta-24, which is very close to final. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate

Re: [T5] How can I validate if a script is present ?

2014-09-25 Thread Thiago H de Paula Figueiredo
On Wed, 24 Sep 2014 21:59:44 -0300, Carlos Gómez Montiel ibe...@gmail.com wrote: Hi ¡ Hi! How can I validate from a component if a script is inside head tag of a container page? I'm sorry, but I have no idea which scenario are you trying to describe here. Which validation is this?

RE: [T5] How can I validate if a script is present ?

2014-09-25 Thread Carlos Gómez Montiel
] Enviado el: jueves, 25 de septiembre de 2014 07:29 a.m. Para: Tapestry users Asunto: Re: [T5] How can I validate if a script is present ? On Wed, 24 Sep 2014 21:59:44 -0300, Carlos Gómez Montiel ibe...@gmail.com wrote: Hi ¡ Hi! How can I validate from a component if a script is inside head tag

Re: [T5] How can I validate if a script is present ?

2014-09-25 Thread Thiago H de Paula Figueiredo
On Thu, 25 Sep 2014 10:45:44 -0300, Carlos Gómez Montiel ibe...@gmail.com wrote: Hi Thiago Ok, I will more specific: Hi! Thanks for being more specific. :) We want to help, but it's quite hard I'm developing a Tapestry component (GMapShow) that renders a google map. If I include the

RE: [T5] How can I validate if a script is present ?

2014-09-25 Thread Lance Java
Have you seen the exanpe gmap component? http://exanpe-t5-lib.appspot.com/components/googlemap/example2 On 25 Sep 2014 14:45, Carlos Gómez Montiel ibe...@gmail.com wrote: Hi Thiago Ok, I will more specific: I'm developing a Tapestry component (GMapShow) that renders a google map. If I

RE: [T5] How can I validate if a script is present ?

2014-09-25 Thread Carlos Gómez Montiel
=https://maps.googleapis.com/maps/api/js?v=3.exp; ;) Thank you in advance. -Mensaje original- De: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Enviado el: jueves, 25 de septiembre de 2014 09:44 a.m. Para: Tapestry users Asunto: Re: [T5] How can I validate if a script is present

RE: [T5] How can I validate if a script is present ?

2014-09-25 Thread Carlos Gómez Montiel
Hi Lance, thank you for your answer. Yes, I have tried with exanpe library (versión 1.2.1) but it throws the javascript console error: Uncaught TypeError: Cannot set property 'ajaxValidator' of undefined exanpe-t5-lib.js:737 No Tapestry.Initializer function for : gMapBuilder

How can I add a component inside another component without template in T5?

2014-09-24 Thread Carlos Gómez Montiel
I have a component without template, how can I add another component (render) inside it? public class Component1 { void beginRender(MarkupWriter writer) { // How can I render for example a tapestry's textfield component inside this component without have a template? }

Re: How can I add a component inside another component without template in T5?

2014-09-24 Thread Thiago H de Paula Figueiredo
On Wed, 24 Sep 2014 19:35:44 -0300, Carlos Gómez Montiel ibe...@gmail.com wrote: I have a component without template, how can I add another component (render) inside it? You cannot. Component instances need to be declared inside a template. Tapestry templates are strictly static in

RE: How can I add a component inside another component without template in T5?

2014-09-24 Thread Carlos Gómez Montiel
component without template in T5? On Wed, 24 Sep 2014 19:35:44 -0300, Carlos Gómez Montiel ibe...@gmail.com wrote: I have a component without template, how can I add another component (render) inside it? You cannot. Component instances need to be declared inside a template. Tapestry templates

[T5] How can I validate if a script is present ?

2014-09-24 Thread Carlos Gómez Montiel
Hi ¡ How can I validate from a component if a script is inside head tag of a container page? Thanks in advance.

[T5.4] Does exanpe-t5-lib work with Tapestry 5.4 ?

2014-06-10 Thread D Tim Cummings
I am using exanpe-t5-lib to include some google maps on a page in Tapestry 5.3 and want to upgrade my app to 5.4. exanpe-t5-lib version 1.3.0-SNAPSHOT from the master branch caused problems starting my app so I have checked out branch br_5.4 from github exanpe/exanpe-t5-lib (version 2.0.0

Re: Peformance loading huge data with T5 grid.

2013-12-23 Thread Howard Lewis Ship
Subject: Peformance loading huge data with T5 grid. Hi experts, I am facing performance problem when loading over 25,000 records although have set paging = true, the time to complete loading is over 30s. So do someone have any suggestion or idea to improve that ? Any suggestion

Peformance loading huge data with T5 grid.

2013-12-22 Thread Chung Khanh Duy
Hi experts, I am facing performance problem when loading over 25,000 records although have set paging = true, the time to complete loading is over 30s. So do someone have any suggestion or idea to improve that ? Any suggestion or idea will be appreciated . Thanks, Duy

Re: Peformance loading huge data with T5 grid.

2013-12-22 Thread François Facon
Hi Duy, Did you have a look at http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/griddatasources ? To support access to large data, you will have to provide a class that implement GridDataSource (

Re: Peformance loading huge data with T5 grid.

2013-12-22 Thread Chung Khanh Duy
Thanks for your suggestion. I will take a look on it. Duy. On Sun, Dec 22, 2013 at 5:39 PM, François Facon francois.fa...@atos.netwrote: Hi Duy, Did you have a look at http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/griddatasources ? To support access to large data, you

Re: Peformance loading huge data with T5 grid.

2013-12-22 Thread A.T. van Kalleveen
: Peformance loading huge data with T5 grid. Hi experts, I am facing performance problem when loading over 25,000 records although have set paging = true, the time to complete loading is over 30s. So do someone have any suggestion or idea to improve that ? Any suggestion or idea will be appreciated

Re: Peformance loading huge data with T5 grid.

2013-12-22 Thread Chung Khanh Duy
: Chung Khanh Duy Sent: Sunday, December 22, 2013 10:07 AM To: Tapestry users Subject: Peformance loading huge data with T5 grid. Hi experts, I am facing performance problem when loading over 25,000 records although have set paging = true, the time to complete loading is over 30s. So do someone

T5 Tynamo RestEasy, discovering all rest resources and paths

2013-10-31 Thread Daniel Jue
Hi, I have a bunch of rest services, across a couple modules. One of the rest services is a meta type of service, where the methods (via parameter-less @Get requests) return things like canonical values/enums used as query values elsewhere in the system. Anyway, some member(s) of our team like

Re: T5 Tynamo RestEasy, discovering all rest resources and paths

2013-10-31 Thread Alejandro Scandroli
Hi Daniel Take a look at RESTEasy's JSAPIWriter [1] and how it was integrated with tapestry-resteasy [2] I think you will find everything you need in there. If you need even more discoverability than that I'd recommend to use something like Swagger [3] 1:

Re: [5.4.22] Application 'randomly' starts choking out 404s for t5/core/dom and underscore

2013-09-27 Thread Peter Hvass
Will try to find out more! Peter - Original Message - From: Howard Lewis Ship hls...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Thursday, September 26, 2013 7:59:27 PM Subject: Re: [5.4.22] Application 'randomly' starts choking out 404s for t5/core/dom

Re: [5.4.22] Application 'randomly' starts choking out 404s for t5/core/dom and underscore

2013-09-27 Thread Peter Hvass
Subject: Re: [5.4.22] Application 'randomly' starts choking out 404s for t5/core/dom and underscore Thanks for the reply Howard; we'll run with GZIP disabled for a while and see if it reoccurs. So reloading page while modules are still loading up might reproduce perhaps? Will give it a go

T5 IOC Integration Questions

2013-09-27 Thread Norman Franke
I'm trying to better integrate Atmosphere and Tapestry 5. It would make life easier if there was a way for T5's IOC layer to inject into an existing object, instead of having it need to create objects itself. I can't find one, if it exists. I have made a few modifications to Atmosphere

Re: T5 IOC Integration Questions

2013-09-27 Thread Thiago H de Paula Figueiredo
On Fri, 27 Sep 2013 13:11:33 -0300, Norman Franke nor...@myasd.com wrote: I'm trying to better integrate Atmosphere and Tapestry 5. It would make life easier if there was a way for T5's IOC layer to inject into an existing object, instead of having it need to create objects itself. I can't

Re: T5 IOC Integration Questions

2013-09-27 Thread Norman Franke
On Sep 27, 2013, at 1:31 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Fri, 27 Sep 2013 13:11:33 -0300, Norman Franke nor...@myasd.com wrote: I'm trying to better integrate Atmosphere and Tapestry 5. It would make life easier if there was a way for T5's IOC layer to inject

Re: T5 IOC Integration Questions

2013-09-27 Thread Martin Kersten
and Tapestry 5. It would make life easier if there was a way for T5's IOC layer to inject into an existing object, instead of having it need to create objects itself. I can't find one, if it exists. Unless there's some setter we could call through injection, I don't think any other IoC does

[5.4.22] Application 'randomly' starts choking out 404s for t5/core/dom and underscore

2013-09-26 Thread Peter Hvass
Hello, Having a hard time reliably reproducing this one, wondering if anyone else has run into similar; We start getting the following in our browser consoles; GET http://sadaharu:8087/village/asset.gz/module/t5/core/dom.js 404 (/asset.gz/module/t5/core/dom.js) require-2.1.8.js:1880 GET

Re: [5.4.22] Application 'randomly' starts choking out 404s for t5/core/dom and underscore

2013-09-26 Thread Howard Lewis Ship
p.hv...@albourne.com wrote: Hello, Having a hard time reliably reproducing this one, wondering if anyone else has run into similar; We start getting the following in our browser consoles; GET http://sadaharu:8087/village/asset.gz/module/t5/core/dom.js 404 (/asset.gz/module/t5/core/dom.js

Re: [5.4.22] Application 'randomly' starts choking out 404s for t5/core/dom and underscore

2013-09-26 Thread Howard Lewis Ship
the following in our browser consoles; GET http://sadaharu:8087/village/asset.gz/module/t5/core/dom.js 404 (/asset.gz/module/t5/core/dom.js) require-2.1.8.js:1880 GET http://sadaharu:8087/village/asset.gz/module/underscore.js 404 (/asset.gz/module/underscore.js) require-2.1.8.js:1880 Uncaught

T5: bind onlick handler after LinkSubmit

2013-08-21 Thread Dmitriy Vsekhvalnov
Hi all, i'm looking for a way to bind event handler (js) to a element which also is LinkSubmit, but i'd like my event handler to be executed after LinkSubmit handler. E.g. consider example, form inside modal dialog - make ajax call to server first, then close modal. Ideas?

Re: T5: bind onlick handler after LinkSubmit

2013-08-21 Thread Thiago H de Paula Figueiredo
On Wed, 21 Aug 2013 09:45:33 -0300, Dmitriy Vsekhvalnov dvsekhval...@gmail.com wrote: Hi all, Hi! i'm looking for a way to bind event handler (js) to a element which also is LinkSubmit, but i'd like my event handler to be executed after LinkSubmit handler. What you actually want is to

Re: T5: bind onlick handler after LinkSubmit

2013-08-21 Thread Lenny Primak
FlowLogix library has a mixin for this: http://code.google.com/p/flowlogix/wiki/TLUpdateEvent On Aug 21, 2013, at 9:15 AM, Thiago H de Paula Figueiredo wrote: On Wed, 21 Aug 2013 09:45:33 -0300, Dmitriy Vsekhvalnov dvsekhval...@gmail.com wrote: Hi all, Hi! i'm looking for a way to

Re: T5: bind onlick handler after LinkSubmit

2013-08-21 Thread Dmitriy Vsekhvalnov
Hey thanks for ideas, i ended with for mixin to do: $(formId).observe(Tapestry.FORM_PROCESS_SUBMIT_EVENT, function(event) { //hide modal }); by some reason form onsubmit=... / is never called. On Wed, Aug 21, 2013 at 6:46 PM, Lenny Primak lpri...@hope.nyc.ny.uswrote: FlowLogix

Re: [OT] T5-IoC in Fantom

2013-08-07 Thread Steve Eynon
that are not perfect in T5 IoC! I addressed a few (of what I felt were) shortcomings, tidied up the API a little, and tried to keep the API to 'core' functionality. A couple of subtle differences include: - configuration overrides may themselves be overridden - ctor params may be passed

Re: [OT] T5-IoC in Fantom

2013-08-07 Thread Howard Lewis Ship
of the things that are not perfect in T5 IoC! I addressed a few (of what I felt were) shortcomings, tidied up the API a little, and tried to keep the API to 'core' functionality. A couple of subtle differences include: - configuration overrides may themselves be overridden - ctor params may

Re: [OT] T5-IoC in Fantom

2013-08-07 Thread Thiago H de Paula Figueiredo
On Wed, 07 Aug 2013 14:24:25 -0300, Howard Lewis Ship hls...@gmail.com wrote: I have some ideas for a next-generation IoC that I hope to put together someday (outside of Tapestry). I want to create something with a different level of granularity, were you are injecting functions, not

[OT] T5-IoC in Fantom

2013-08-06 Thread Steve Eynon
Hello, If imitation is the sincerest form of flattery then T5-IoC has been paid a huge compliment... ...there's an IoC in the language Fantom that bears a striking resemblance to T5-IoC! afIoc - http://repo.status302.com/doc/afIoc/#overview I've been an avid fan of Tapestry since v3

Re: [OT] T5-IoC in Fantom

2013-08-06 Thread Howard Lewis Ship
Well, I hope you had a chance to address some of the things that are not perfect in T5 IoC! On Tue, Aug 6, 2013 at 4:23 PM, Steve Eynon steve.ey...@alienfactory.co.ukwrote: Hello, If imitation is the sincerest form of flattery then T5-IoC has been paid a huge compliment... ...there's

Re: [OT] T5-IoC in Fantom

2013-08-06 Thread Howard Lewis Ship
No distributed configuration? On Tue, Aug 6, 2013 at 5:04 PM, Howard Lewis Ship hls...@gmail.com wrote: Well, I hope you had a chance to address some of the things that are not perfect in T5 IoC! On Tue, Aug 6, 2013 at 4:23 PM, Steve Eynon steve.ey...@alienfactory.co.uk wrote: Hello

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-07 Thread Rural Hunter
dose tapx-templating work in a tapestry webapp now? 于 2013/6/6 15:31, Lance Java 写道: Have you considered tapx-templating and a single webapp? https://github.com/hlship/tapx - To unsubscribe, e-mail:

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-07 Thread Lance Java
/master/src/main/java/org/lazan/t5/cometd/services/internal/ComponentJSONRendererImpl.java Note: It's a bit of a hack!

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-07 Thread Rural Hunter
/uklance/tapestry-cometd/blob/master/src/main/java/org/lazan/t5/cometd/services/internal/ComponentJSONRendererImpl.java Note: It's a bit of a hack! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-07 Thread Lance Java
I started to extract the logic to a separate project here https://github.com/uklance/tapestry-offline but never got around to testing it. The main functionality is in this class https://github.com/uklance/tapestry-offline/blob/master/src/main/java/org/lazan/t5/offline/services/internal

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-07 Thread Thiago H de Paula Figueiredo
On Fri, 07 Jun 2013 06:45:32 -0300, Rural Hunter ruralhun...@gmail.com wrote: cool, thanks! I am trying to implement a similar requirement as the OP which is to send html formatted mails in a background service of my webapp while there is no actual request/response involved. I'm trying to

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-07 Thread Rural Hunter
Yes. I'm already using freemarker. Just want to use less dependencies and get all things unified since we already have one(Tapestry) right? 于 2013/6/7 21:04, Thiago H de Paula Figueiredo 写道: On Fri, 07 Jun 2013 06:45:32 -0300, Rural Hunter ruralhun...@gmail.com wrote: cool, thanks! I am

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-06 Thread Lance Java
Have you considered tapx-templating and a single webapp? https://github.com/hlship/tapx

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-06 Thread Muhammad Gelbana
I strongly believe that Dmitry's suggestion is the simplest and most efficient so far, thanks a lot for that :) This would send an ajax request acceptable by tapestry: ajax = new XMLHttpRequest(); ajax.open(POST, http://localhost:8080/index:myevent/0/0/0;, true);

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-05 Thread Muhammad Gelbana
Honestly, I can't figure out anything from these 2 resources ! It all looks so complicated to me. @Dmitry What is the entry point of your code ? When an ajaxrequest is sent to my application, doesn't it reach your CompanyBlocks page ? Then when does all the other services begin working ?! @Lanve

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-05 Thread Lance Java
I think I need to understand how it's going to work before I go any further. Here's one approach 1. The browser makes a request to the other webapp 2. The other webapp makes request(s) to the tapestry app 3. The other webapp merges it's own html with the tapestry html to create a page 4.

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-05 Thread Dmitry Gusev
The entry point is: String rawAddress = renderer.render(new RenderEvent( internal/companyblocks, companyAddress, company)); You tell here that onCompanyAddress method (or method with @Event(companyAddress)) should be invoked on the internal/companyblocks page class and if that

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-05 Thread Muhammad Gelbana
Actually Lance's second approach is what I need to do. And yes it should be very simple, I will only have to display regular html without controls at all (Hopefully it will stay this way and I actually think it will) Regards On Wed, Jun 5, 2013 at 8:00 PM, Dmitry Gusev dmitry.gu...@gmail.com

Re: [t5] Is it possible to return a component's generated HTML ?

2013-06-05 Thread Dmitry Gusev
If you only need to get HTML on the client and not on the server-side, then you may just use Tapestry's built-in logic for handling AJAX requests. On the server side create eventLink: Link link = resources.createEventLink(eventType, contextValues); return link.toAbsoluteURI(); Pass this link to

[t5] Is it possible to return a component's generated HTML ?

2013-05-30 Thread Muhammad Gelbana
Hopefully I'll explain this clearly. I'm willing to integrate my tapestry web application with another web application. That other web application will request ajax urls from my application. In my application should reply in HTML. So it would be much easier to be able to use the regular tapestry

Re: [t5] Is it possible to return a component's generated HTML ?

2013-05-30 Thread Dmitry Gusev
You can put your component to a block and render this block. Have a look at this thread: http://mail-archives.apache.org/mod_mbox/tapestry-users/201304.mbox/%3cca+v6ct9um-li7vxvafem+abwrxf-b9ar3t+x40eer971zbl...@mail.gmail.com%3e On Thu, May 30, 2013 at 8:26 PM, Muhammad Gelbana

Re: [t5] Is it possible to return a component's generated HTML ?

2013-05-30 Thread Lance Java
I'm not 100% sure what your implementation will be but I've done some work in this area. Take a look at PDFLink.getFoAsString() where I convert a RenderCommand to a String of markup (XML in the example) http://tapestry-stitch.uklance.cloudbees.net/pdflinkdemo Also, take a look at this wiki

Re: dwr java chat demo in t5

2013-05-24 Thread D.R.
/org/lazan/t5/cometd/services/CometdModule.java#L54 ) The supported servers and browsers are listed here: https://github.com/Atmosphere/atmosphere/wiki/Supported-WebServers-and-Browsers Some more docs here https://github.com/Atmosphere/atmosphere https://github.com/Atmosphere/atmosphere/wiki

  1   2   3   4   5   6   7   8   9   10   >