You won't find any simpler solutions to this in other frameworks either. If you want to create a page that refreshes itself with the serve time periodically, you can't avoid at least some knowledge about how AJAX works in general. You may avoid javascript by using Google Web Toolkit, but that has its own learning curve.
The solution to your problem here is very simple and requires a minimal amount of digging from your side. Just create a script that uses Ajax.Updater from prototype, and generate a link on the server side that you can use to trigger an event on your java class. See Autocompleter mixin from tapestry for a very good example. Once you've learned this rather simple technique, you won't need much else. Tapestry's strength here is that it enables you to make a nice wrapping out of your specialized component, so later on you can find your script, your html and your java files packaged together in a nice module doing a very simple thing and nothing else. See my blog for some more simple examples. http://tinybits.blogspot.com/ On Sat, Oct 16, 2010 at 9:55 AM, iberck <ibe...@gmail.com> wrote: > > I'm little confused with Tapestry > > In another past post I asked how can I refresh my page with the server > time: > > http://tapestry.1045711.n5.nabble.com/T5-Refresh-1-second-Ajax-method-td3210194.html#a3210194 > > I only need refresh my page with the server time and I need to learn > mixins, > ajax, zones, prototype, components, tapestry ajax methods (tapestry.js), ? > > http://blog.bolkey.com/2010/05/creating-a-news-feed-in-tapestry-5/ > why all this code for that simple issue? > > I don't understand why there is this level of complexity... I see if you > want to learn tapestry also you need to learn necessarily Prototype and > download some source code to understand some things, I only see official > documentation with basic concepts by alphabet but what happend with > specific > scenarios? the documentation is the source code? > For example, where is the documentation for Tapestry.js use? > > I only want help to have a better framework or understand this point... > > Thank you for read me > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/T5-Complexity-for-simple-things-where-is-the-documentation-tp3214893p3214893.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >