You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Dawn <pe...@gmail.com> on 2006/06/09 02:41:32 UTC

Sending a http message to page

hi all,
i am trying to implement a ajax like functionality within my web app.
now what i want to do is, i want to send a *ping* to the page, saying
please update now (which i will send only if some info changes) and
then the page should refresh. now for this, i need to establish a
async http connection with the web page and keep it open for ever.
i have already read through tacos, dwr, xtile etc. there has to
another way of doing something like this without using the above
mentioned apps.
has anybody done this within tapestry. can someone pls help me out in
implementing this.
thanks.

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


Re: Sending a http message to page

Posted by Peter Dawn <pe...@gmail.com>.
i agree. and i have been trying to do that all this time. i have
zero-ed in on xtile for now and i am going to try and send and receive
small messages back from the server and see if it works or not.

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


FYI: Tapestry Dissertation

Posted by Kristian Marinkovic <kr...@porsche.co.at>.
Hi Folks,

I found a Dissertation on Tapestry: Enterprise Application Development
Using Jakarta Tapestry

http://sundraw.ws/assets/TapestryDissertation.pdf

greetings
kris


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


Re: Sending a http message to page

Posted by Jesse Kuhnert <jk...@gmail.com>.
What about it sounds like it's not open source? It's a term describing a
method of sending continuous data via hidden iframe sections in a document.
No one owns it, but Alex Russell from dojotoolkit created the phrase:

http://alex.dojotoolkit.org/?p=545

On 6/8/06, Peter Dawn <pe...@gmail.com> wrote:
>
> is comet not open source. it seems like its pretty new and not open
> source either. are there are tuts for it or any examples for that
> matter.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Re: Sending a http message to page

Posted by Peter Dawn <pe...@gmail.com>.
is comet not open source. it seems like its pretty new and not open
source either. are there are tuts for it or any examples for that
matter.

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


Re: Sending a http message to page

Posted by Peter Dawn <pe...@gmail.com>.
yes, i thought of that too. there is no point in sending a message to
the page saying, please refresh. if i can send the data in the first
place. it will just display it. if it has changed it will display new
info, otherwise just the old info.
i will try and get this working and will then put it on the net for
others. in the meantime, if anyone has any suggestion, do share.

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


Re: Sending a http message to page

Posted by Jesse Kuhnert <jk...@gmail.com>.
You are asking for comet, which sounds reasonable but isn't something many
are likely to have implemented yet.

It's a pretty specialized field right now so asking "how" to do it is a bit
much. What you want to do is not send a msg to the page that it needs to
refresh, but just send the data that needs refreshing.

I have plans for adding this into one of the tapestry 4.1 releases but don't
have time for it yet.

On 6/8/06, James Carman <ja...@carmanconsulting.com> wrote:
>
> Well, you could hand-code a JavaScript solution, but using a framework
> like
> the ones you mentioned would save you a tremendous amount of time.
>
> -----Original Message-----
> From: Peter Dawn [mailto:petedawn@gmail.com]
> Sent: Thursday, June 08, 2006 8:48 PM
> To: Tapestry users
> Subject: Re: Sending a http message to page
>
> i dont mind using the tool, if it actually does the job. now there are
> multiple of ways of doing the same thing, why not try diff approaches
> rather than using the usual approach. if it doesnt work, so be it. but
> if it does work, better for all of us.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

RE: Sending a http message to page

Posted by James Carman <ja...@carmanconsulting.com>.
Well, you could hand-code a JavaScript solution, but using a framework like
the ones you mentioned would save you a tremendous amount of time.

-----Original Message-----
From: Peter Dawn [mailto:petedawn@gmail.com] 
Sent: Thursday, June 08, 2006 8:48 PM
To: Tapestry users
Subject: Re: Sending a http message to page

i dont mind using the tool, if it actually does the job. now there are
multiple of ways of doing the same thing, why not try diff approaches
rather than using the usual approach. if it doesnt work, so be it. but
if it does work, better for all of us.

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



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


Re: Sending a http message to page

Posted by Peter Dawn <pe...@gmail.com>.
i dont mind using the tool, if it actually does the job. now there are
multiple of ways of doing the same thing, why not try diff approaches
rather than using the usual approach. if it doesnt work, so be it. but
if it does work, better for all of us.

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


RE: Sending a http message to page

Posted by James Carman <ja...@carmanconsulting.com>.
Why are you averse to using the right tool for the job?

-----Original Message-----
From: Peter Dawn [mailto:petedawn@gmail.com] 
Sent: Thursday, June 08, 2006 8:42 PM
To: tapestry-user@jakarta.apache.org
Subject: Sending a http message to page

hi all,
i am trying to implement a ajax like functionality within my web app.
now what i want to do is, i want to send a *ping* to the page, saying
please update now (which i will send only if some info changes) and
then the page should refresh. now for this, i need to establish a
async http connection with the web page and keep it open for ever.
i have already read through tacos, dwr, xtile etc. there has to
another way of doing something like this without using the above
mentioned apps.
has anybody done this within tapestry. can someone pls help me out in
implementing this.
thanks.

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



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