Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • dynamic page update

    6 answers - 930 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    hi all,
    sorry for another question on tpaestry-ajax type functionality.
    is there a way for tapestry to do a page refresh, but on demand. i
    have implemented a frame based solution, which passes info from one
    frame to another. so the hidden frame can send info to the visible
    frame displaying updated info.
    but the issue is that, how can i tell the hidden frame to
    update/refresh itself which would ultimately pass on updated info to
    the visible frame.
    the idea is to send info from my listener servlet to this page when
    info changes and then the hidden frame can refresh and hence send info
    to the visible frame.
    jesse and rest have told me about comet and dojo. wouldnt this
    solution work though. any thoughts.
    To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
  • No.1 | | 1037 bytes | |

    That ~is~ comet and dojo ;) (mostly)

    6/13/06, Peter Dawn <petedawn (AT) gmail (DOT) comwrote:

    hi all,
    sorry for another question on tpaestry-ajax type functionality.

    is there a way for tapestry to do a page refresh, but on demand. i
    have implemented a frame based solution, which passes info from one
    frame to another. so the hidden frame can send info to the visible
    frame displaying updated info.
    but the issue is that, how can i tell the hidden frame to
    update/refresh itself which would ultimately pass on updated info to
    the visible frame.

    the idea is to send info from my listener servlet to this page when
    info changes and then the hidden frame can refresh and hence send info
    to the visible frame.

    jesse and rest have told me about comet and dojo. wouldnt this
    solution work though. any thoughts.

    To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
    --
  • No.2 | | 1627 bytes | |

    I forgot to mention that the whole point of comet is to reduce the
    need for polling update listenersSo you are intended to try and keep the
    I pipe open the whole time. This means creating a meta language on the
    stream to differentiate messages and such on your own, but there is probably
    java code sitting around somewhere doing it already. (someone sent something
    like it to me once but I was too busy to care It's probably google-able )

    6/13/06, Jesse Kuhnert <jkuhnert (AT) gmail (DOT) comwrote:

    That ~is~ comet and dojo ;) (mostly)
    --
    6/13/06, Peter Dawn <petedawn (AT) gmail (DOT) comwrote:

    hi all,
    sorry for another question on tpaestry-ajax type functionality.

    is there a way for tapestry to do a page refresh, but on demand. i
    have implemented a frame based solution, which passes info from one
    frame to another. so the hidden frame can send info to the visible
    frame displaying updated info.
    but the issue is that, how can i tell the hidden frame to
    update/refresh itself which would ultimately pass on updated info to
    the visible frame.

    the idea is to send info from my listener servlet to this page when
    info changes and then the hidden frame can refresh and hence send info
    to the visible frame.

    jesse and rest have told me about comet and dojo. wouldnt this
    solution work though. any thoughts.

    To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
    >
    >
    >
    >
  • No.3 | | 411 bytes | |

    ok. so i am implementing a comet and dojo *custom* solution, but still
    how should i pass info from my servlet to the js on that hidden frame.
    should i use some of the libraries dojo is providing and use them, or
    there is another way.

    To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
  • No.4 | | 770 bytes | |

    They have I mechanisms to handle the iframe loading portion for you
    transparently, but I have no idea if anything in there is specifically meant
    to handle persistent io connections or not.

    Either way it's certainly a hell of a lot easier than starting from scratch
    ;)

    6/13/06, Peter Dawn <petedawn (AT) gmail (DOT) comwrote:

    ok. so i am implementing a comet and dojo *custom* solution, but still
    how should i pass info from my servlet to the js on that hidden frame.
    should i use some of the libraries dojo is providing and use them, or
    there is another way.

    To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
    --
  • No.5 | | 185 bytes | |

    They being dojo.
    To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
  • No.6 | | 451 bytes | |

    WellYesSince the term came from them and they were being mentioned I
    assumed they had taken on a mysteriously assumed third party form and didn't
    need to be known as "dojo" anymore. :)

    6/13/06, Peter Dawn <petedawn (AT) gmail (DOT) comwrote:

    They being dojo.

    To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
    For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
    --

Re: dynamic page update


max 4000 letters.
Your nickname that display:
In order to stop the spam: 4 + 3 =
QUESTION ON "Java"

EMSDN.COM