Re: dwr java chat demo in t5

2013-05-22 Thread D.R.
Hi, Lance, wow, thank you for pointing me to your project! Integration is more than easy, your example works outofthebox in my browsers. I had to install jetty7 support, seems that jetty6 does not support websockets. What are the disadvantages of websockets compared to ajax? I think not all brows

RE: JQuery tab widget - page in tab - setupRender not being called

2013-05-22 Thread Ken in Nashua
Thanks Thiago... yes I am rendering Home.tml But it is rigged up with a two level nesting of tabs housing at least 6+ pages each. What do I do ? When the selectValueEncoder gets called from the tml for my query form... I actually do my setupRender code there... but it feel kinda crooked doin

Re: dwr java chat demo in t5

2013-05-22 Thread Jon Williams
Never mind Lance, Seems I have an error in my configuration. I think I'll be able to figure it out myself. thanks anyhow Jon On Wed, May 22, 2013 at 6:10 PM, Jon Williams wrote: > Hi Lance, > > This email thread caught my eye so I went and got your example app. > It seems to be running, in a

Re: dwr java chat demo in t5

2013-05-22 Thread Jon Williams
Hi Lance, This email thread caught my eye so I went and got your example app. It seems to be running, in a fashion. However, I'm seeing NPE's at runtime... 1 caveat, maybe pertinent. I had to add a dependency to the pom to get a good build... org.eclipse.jetty jet

Re: dwr java chat demo in t5

2013-05-22 Thread Lance Java
Hi, as a previous dwr committer myself, I was keen to provide dwr reverse ajax / tapestry integration. After speaking to the dwr team, I found that the push mechanism in dwr was not considered bulletproof and was directed towards cometd For this reason, I have created tapestry-cometd, a push libr

dwr java chat demo in t5

2013-05-22 Thread D.R.
Hi @all, i was suprised that t5 does not support reverse ajax ;-( googleing around, the only thing mentioned often enough is dwr and i ended here: http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Implement-chat-function-td5606481.html Actually, i want to do the same thing as th

Re: Extend a mixin class as a component?

2013-05-22 Thread George Ludwig
>>Have you tried implementing that as another mixin, say NiceAutcomplete, subclassing from Autocomplete? I considered that approach, however it seemed that I would need to modify the autocomplete javascript in order to insert an element to contain the greyed out text, which would then pose even mo

Re: Merits of Tapestry-IOC

2013-05-22 Thread Lenny Primak
Perhaps time would be better spent decoupling dynamic configuration from IOC, at least as a first step. On May 22, 2013, at 3:33 PM, Thiago H de Paula Figueiredo wrote: > On Wed, 22 May 2013 16:30:04 -0300, Lenny Primak > wrote: > >> I don't see myself getting paid for this :) As much as I w

Re: Merits of Tapestry-IOC

2013-05-22 Thread Thiago H de Paula Figueiredo
On Wed, 22 May 2013 16:30:04 -0300, Lenny Primak wrote: I don't see myself getting paid for this :) As much as I would love to, I cannot afford this :) Same for me (except I don't see the need for replacing Tapestry-IoC, but sometimes we write code just because "why not?")). :) On the o

Re: Merits of Tapestry-IOC

2013-05-22 Thread Lenny Primak
On May 22, 2013, at 3:27 PM, Thiago H de Paula Figueiredo wrote: > On Wed, 22 May 2013 15:00:41 -0300, Lenny Primak > wrote: > >>> You're really interested in removing Tapestry-IoC of Tapestry. I see your >>> good intentions there even if I disagree. I suggest you something which I'd >>> lov

Re: Extend a mixin class as a component?

2013-05-22 Thread Thiago H de Paula Figueiredo
On Wed, 22 May 2013 15:57:29 -0300, George Ludwig wrote: @Thiago: The goal was not to apply a component as a mixin. I'm sorry for misunderstanding you. I'm working on a fancy AutocompleteTextfield class that acts like Google's search text field, i.e. as you type, you get a greyed out c

Re: Merits of Tapestry-IOC

2013-05-22 Thread Thiago H de Paula Figueiredo
On Wed, 22 May 2013 15:00:41 -0300, Lenny Primak wrote: You're really interested in removing Tapestry-IoC of Tapestry. I see your good intentions there even if I disagree. I suggest you something which I'd love to see in this discussion: Tapestry is open-source, so what about you writing

Re: Tapestry Jquery Bind

2013-05-22 Thread Boris Horvat
Hi Manu, Is this pushed somewhere so I can just use maven or should I download the code and build it? Cheers On Wed, May 22, 2013 at 9:47 AM, Emmanuel DEMEY wrote: > but I think the value of your sent will not be sent. I have just pushed a > small patch : https://github.com/got5/tapestry5-jqu

Re: Tapestry Jquery Bind

2013-05-22 Thread Jens Breitenstein
Hi All! I struggeld with something similar for some days maybe it helps you to see how I solved my problem and maybe you can reuse something...Basically I tried to find a work around for the autocomplete mixin limitations, which just accepts string as return type, thus rendering complex value

Re: Extend a mixin class as a component?

2013-05-22 Thread George Ludwig
@Thiago: The goal was not to apply a component as a mixin. I'm working on a fancy AutocompleteTextfield class that acts like Google's search text field, i.e. as you type, you get a greyed out completion of the top result in the autocomplete list. If you open gmail and type in to the search field,

Re: Merits of Tapestry-IOC

2013-05-22 Thread Lenny Primak
On May 22, 2013, at 1:53 PM, Thiago H de Paula Figueiredo wrote: > On Wed, 22 May 2013 14:18:06 -0300, Lenny Primak > wrote: > >> You guys keep talking about distributed configuration. >> How is this related to IOC anyway? > > Very easy answer: this is about configuration of services/beans, a

Re: Stopping/Removing a job from PeriodicExecutor

2013-05-22 Thread Michael Gentry
Hi Chris, PeriodicExecutor returns a PeriodicJob which you can cancel if you hang onto the return value. See: http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/services/cron/PeriodicJob.html mrg On Wed, May 22, 2013 at 1:21 PM, Chris Cureau wrote: > Hi there! > > I curren

Re: Merits of Tapestry-IOC

2013-05-22 Thread Thiago H de Paula Figueiredo
On Wed, 22 May 2013 14:18:06 -0300, Lenny Primak wrote: You guys keep talking about distributed configuration. How is this related to IOC anyway? Very easy answer: this is about configuration of services/beans, and services/beans are the core of IoC. The only way it is related is becau

Re: Stopping/Removing a job from PeriodicExecutor

2013-05-22 Thread Lenny Primak
Or you can use JEE scheduling API. On May 22, 2013, at 1:21 PM, Chris Cureau wrote: > Hi there! > > I currently have a project that is using a PeriodicExecutor to kick off > processes on a regular basis. I need to expand on that so that I can stop > a running job, reschedule the times, and remo

Stopping/Removing a job from PeriodicExecutor

2013-05-22 Thread Chris Cureau
Hi there! I currently have a project that is using a PeriodicExecutor to kick off processes on a regular basis. I need to expand on that so that I can stop a running job, reschedule the times, and remove the job completely from the PeriodicExecutor. Don't see any sort of code out there to do thi

Re: Merits of Tapestry-IOC

2013-05-22 Thread Lenny Primak
You guys keep talking about distributed configuration. How is this related to IOC anyway? The only way it is related is because its baked into tapestry IOC. These ought to be 2 separate modules. If, indeed there is a dire need to distributed configuration (I don't believe there is such an integral

RE: JQuery tab widget - page in tab - setupRender not being called

2013-05-22 Thread Ken in Nashua
setupRender gets invoked (ever since I added public modifier)... but not until I clock GO for a submit event and even after that I lose context of the whole JQuery tab... and my page RosterQuery comes into Home.tml and blows away the whole context of the JQueryTab only showing the RosterQuery p

Re: JQuery tab widget - page in tab - setupRender not being called

2013-05-22 Thread Thiago H de Paula Figueiredo
On Wed, 22 May 2013 13:11:19 -0300, Ken in Nashua wrote: Folks, rosterQueryPage.setupRender() is never being called. This is expected, as RosterQueryPage isn't the one being rendered (or so I guess, the question itself is quite spare on details and I'm assuming you're renderting the

RE: JQuery tab widget - page in tab - setupRender not being called

2013-05-22 Thread Ken in Nashua
I noticed that my setupRender didnt have public @SetupRender public void setupRender() { But after adding public ... it made no difference. Still cannot get setupRender to invoke. Thanks for any tips. Ken

Re: Tapestry template encoding and GAE

2013-05-22 Thread Lance Java
Yes, patching the bug would require a copy of TemplateParserImpl (71 lines) and SaxTemplateParser (1197 lines) The great thing about tapestry / tapestry IOC is that you can workaround a bug like until a fix is provided in a later release. Much better than rebuilding a custom version of tapestry f

Re: Merits of Tapestry-IOC

2013-05-22 Thread Thiago H de Paula Figueiredo
On Wed, 22 May 2013 09:07:19 -0300, Robert Zeigler wrote: Unfortunately, no other IOC system (that I've seen) offers something quite like T5-IOC's "distributed configuration". The closest is perhaps MultiBinding/MapBinding in Guice (http://code.google.com/p/google-guice/wiki/Multibinding

Re: Extend a mixin class as a component?

2013-05-22 Thread Thiago H de Paula Figueiredo
On Tue, 21 May 2013 23:52:49 -0300, George Ludwig wrote: Why don't you create a component which uses the mixin instead of one that extends the mixin? Well, I've already got that component. I'd like to simplify it and have better control over it, and am exploring my options. My thought woul

Re: Merits of Tapestry-IOC

2013-05-22 Thread Robert Zeigler
Unfortunately, no other IOC system (that I've seen) offers something quite like T5-IOC's "distributed configuration". The closest is perhaps MultiBinding/MapBinding in Guice (http://code.google.com/p/google-guice/wiki/Multibindings). But any similar Guice/Spring solutions I've seen to date jus

Re: Tapestry template encoding and GAE

2013-05-22 Thread Alex Kotchnev
Alejandro, unfortunately, adding the XML declaration doesn't help. . This obviously wouldn't be an issue if a) I was running my own JVM, which in most situations where one hosts an application is the case (unfortunately, not the case in PAAS like GAE) or b) Tapestry didn't use the default pl

Re: how to do pagelinks to pages in sub packages? IGNORE!

2013-05-22 Thread John
just to do with enclosing div, the link was good :) - Original Message - From: John To: users@tapestry.apache.org Sent: Wednesday, May 22, 2013 10:23 AM Subject: Re: how to do pagelinks to pages in sub packages? now this is weird... this doesn't render the download link

Re: Tapestry template encoding and GAE

2013-05-22 Thread Alejandro Scandroli
Josh Canfield 've asked a very good question in TAP5-1778. does Tapestry respect the XML declaration for changing charset? Have you tried adding an xml header to your templates?, like: Alejandro. On Wed, May 22, 2013 at 9:49 AM, Lance Java wrote: > I think you've hit the nail on the head and

Re: how to do pagelinks to pages in sub packages?

2013-05-22 Thread Dmitry Gusev
This should work. It works for me: My Account Generated HTML for my case is: My Account On Wed, May 22, 2013 at 1:18 PM, John wrote: > This doesn't render a link, any ideas please? > > downloads > -- Dmitry Gusev AnjLab Team http://anjlab.com

Re: how to do pagelinks to pages in sub packages?

2013-05-22 Thread John
now this is weird... this doesn't render the download link ${pageName} downloads but this does? downloads ${pageName} - Original Message - From: John To: users@tapestry.apache

how to do pagelinks to pages in sub packages?

2013-05-22 Thread John
This doesn't render a link, any ideas please? downloads

Re: Tapestry template encoding and GAE

2013-05-22 Thread Lance Java
I think you've hit the nail on the head and that this relates to TAP5-1778. As a work around, can you put your special chars in a language specific properties file? By default, prop files are treated as UTF-8. You can also override the PropertiesFileParser if you need. Another option is to overri

Re: Tapestry Jquery Bind

2013-05-22 Thread Emmanuel DEMEY
but I think the value of your sent will not be sent. I have just pushed a small patch : https://github.com/got5/tapestry5-jquery/issues/295 Can you test it ? Manu 2013/5/22 Barry Books > You have to pass in the context > > t:mixins="jquery/bind" t:event="change" t:eventType="change" t:zone=

Re: Extend a mixin class as a component?

2013-05-22 Thread Lance Java
You can extend the mixin and then create a component which includes the extended mixin.