Re: Adding chat rooms

2014-11-25 Thread Lance Java
I haven't actually written a chat module per se. I've written two libraries
that support push/comet (namely tapestry-atmosphere [1] and tapestry-cometd
[2]), both of which have a chat demo.

Which one of these libraries are you using?

Note: tapestry-atmosphere has a live demo of a multi-room chat running at
http://t5atmosphere-lazan.rhcloud.com/chatdemo

[1] https://github.com/uklance/tapestry-atmosphere
[2] https://github.com/uklance/tapestry-cometd


On 25 November 2014 at 11:48, Name Surname 
wrote:

> I am using chat room module from Lance and I would like to make more chat
> rooms, not just one. Can it be done?
>


Re: [5.4-beta-22] How to abort form submission ?

2014-11-25 Thread Thiago H de Paula Figueiredo
On Mon, 24 Nov 2014 20:52:32 -0200, Muhammad Gelbana   
wrote:



Hello fellow tapestrians...


Hi!


Is there a way I can abort a form submission on the server side ? The
reason I'm asking is that I have a form with numerous submit buttons and
sometimes I only need to handle the "Selected" event for the submit  
button and abort the rest of the event handling methods for Validation  
and Success.


Have you tried returning some non-null value in your "selected" event?  
Otherwise, you can workaround by setting a flag and not doing anything in  
the other methods if the flag is set.


--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: [5.4] module js - takes some time to refresh

2014-11-25 Thread Howard Lewis Ship
Sometimes I'll use curl to get the module, to see if it has recompiled ...
and then, yes, it's usually the browser caching when I really want it not
to.

In addition, modules are streamed with Cache-Control header that gives them
a short time to live (I believe a minute by default).  Otherwise, each page
navigation results in a new set of requests for the same modules (all
responding with 304, since the requests will include the module's E-Tag in
the If-None-Match header).

On Sat, Nov 22, 2014 at 4:23 AM, Paul Stanton  wrote:

> Hi Thiago,
>
> My mistake, for some reason shift+refresh in chrome isn't doing a full
> reload. Deleting cache is working correctly.
>
> p.
>
>
> On 20/11/2014 11:30 PM, Thiago H de Paula Figueiredo wrote:
>
>> On Wed, 19 Nov 2014 23:13:13 -0200, Paul Stanton 
>> wrote:
>>
>>  Hi all,
>>>
>>
>> Hi!
>>
>>  Creating my own module.js within META-INF/modules/xyz.js
>>> If I change the content, it takes some time before the browser sees the
>>> change (20-50 seconds).
>>>
>>
>> Have you disabled the browser cache? Browser web developer tools usually
>> have an easy way to do that.
>>
>>
>>> Is this configurable?
>>>
>>> Thanks, p.
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com
@hlship


Re: Adding chat rooms

2014-11-25 Thread George Christman
If I remember correctly, you just need to add everybody to the same topic.

On Tue, Nov 25, 2014 at 6:48 AM, Name Surname 
wrote:

> I am using chat room module from Lance and I would like to make more chat
> rooms, not just one. Can it be done?
>




-- 
George Christman
CEO
www.CarDaddy.com
P.O. Box 735
Johnstown, New York


Adding chat rooms

2014-11-25 Thread Name Surname
I am using chat room module from Lance and I would like to make more chat 
rooms, not just one. Can it be done?
  

Re: tapestry and jquery

2014-11-25 Thread Ivano Luberti
Thanks for all the comments, here is a cumulative feedback:

I have tried the tapesrty5jquery dialog demo using 3.3.4 and 3.3.7
version in the Tapestry5 tutorial using Tapestry 5.3.7
but didn't work. Asked on their google group (thati moderated) and saw
there are no post since september 2013.
So I was worried about the kind of support I can get: it was not a
complaint, just trying to understand where they are.
Activity on GitHub  seems to keep up. But no feedback neither on twitter.

I have of course googled for help and specifically searched nabble but
(not a surprise) there is almost nothing on this list.

I have to start from scratch : better said I have already implented the
app with no client side feature. And now I want to add javascript/ajax.
Later I will pass it to a colleague for CSS customization.

The application is quite simple and I'm using it as a learning tool.

So maybe porting to 5.4 worths it .

And I wiill use suggestion by Francois to post my actual issue, even
though also the issue tracker doesn't seem to be updated since september
2014





Il 25/11/2014 01:15, Chris Mylonas ha scritto:
> Have you got a link to previous post (on nabble)?wanted 
> Maybe someone can shed some light on it now.
>
> I ask questions and get no answer sometimes - could be the way I ask, not
> tapestry itself or waste of time.
>
> I've used both 5.3 tapestry-jquery really well, and tapestry-5.4-beta22.
>
> Have you already got a HTML/css/jquery prototype ready or are you starting
> from scratch?
> On 25/11/2014 10:12 am, "Ivano Luberti"  wrote:
>
>> Hi guys, in the past days I have posted a question about an issue with
>> tapestry5 jquery.
>> I have got no answer both on this list and (more worrying) on
>> tapestry5jquery moderated google group (freezed at september 29 btw)
>>
>> So my question is: having to start today a small web application in
>> tapestry5 with some jquery, does it worth to engage with tapestry5jquery
>> or better integrating jquery scripts on my own ?
>>
>> Any tapestry5jquery user on this list?
>>
>> --
>> ==
>> dott. Ivano Mario Luberti
>> Archimede Informatica societa' cooperativa a r. l.
>> Sede Operativa
>> Via Gereschi 36 - 56126- Pisa
>> tel.: +39-050- 580959
>> tel/fax: +39-050-9711344
>> web: www.archicoop.it
>> ==
>>
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>

-- 
==
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: tapestry and jquery

2014-11-25 Thread françois facon
Hello Ivano,



The best way to get an anwser is to post your question at
https://github.com/got5/tapestry5-jquery/issues.



version < 4.0.0 of  tapestry5-jquery provides jQuery integration for
Tapestry 5 and allow you to work with or to replace the tapestry.js file
based on prototype.



 version >= 4.0.0 of this module provides a collections of jQuery
components that play well with Tapestry 5.4.



If were you, i would start with the latest version of Tapetry (5.4-beta-22)
which is very efficient and already embed jQuery (See Paul Stanton
comment). I would also suggest you to have a look at at
https://github.com/got5/tapestry5-jquery-demo



François

2014-11-25 0:11 GMT+01:00 Ivano Luberti :

> Hi guys, in the past days I have posted a question about an issue with
> tapestry5 jquery.
> I have got no answer both on this list and (more worrying) on
> tapestry5jquery moderated google group (freezed at september 29 btw)
>
> So my question is: having to start today a small web application in
> tapestry5 with some jquery, does it worth to engage with tapestry5jquery
> or better integrating jquery scripts on my own ?
>
> Any tapestry5jquery user on this list?
>
> --
> ==
> dott. Ivano Mario Luberti
> Archimede Informatica societa' cooperativa a r. l.
> Sede Operativa
> Via Gereschi 36 - 56126- Pisa
> tel.: +39-050- 580959
> tel/fax: +39-050-9711344
> web: www.archicoop.it
> ==
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>