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
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
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
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
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-
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
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
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
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
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
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
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
>
> 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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
. 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
: 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
!
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
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
...@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
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
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
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
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?
]
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
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
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
=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
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
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?
}
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
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
Hi ¡
How can I validate from a component if a script is inside head tag of a
container page?
Thanks in advance.
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
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
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
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
(
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
: 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
: 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
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
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:
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
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
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
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
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
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
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
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
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
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?
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
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
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
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
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
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
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
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
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
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:
/master/src/main/java/org/lazan/t5/cometd/services/internal/ComponentJSONRendererImpl.java
Note: It's a bit of a hack!
/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
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
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
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
Have you considered tapx-templating and a single webapp?
https://github.com/hlship/tapx
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);
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
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.
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
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
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
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
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
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
/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 - 100 of 12487 matches
Mail list logo