As pointed out before u can see examples of this in Jumpstar. http://jumpstart.doublenegative.com.au:8080/jumpstart/
the AjaxFormLoop Component my be also useful: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/AjaxFormLoop.html Also using the ZoneUpdater mixin any existing component can raise event to be processed by ajax. http://tinybits.blogspot.com/2009/05/update-zone-on-any-client-side-event.html > Example > input type text > select ->countries ->ajax trigger after oncahnge new selected citys for > taht countries. > select ->city-s Jumpstart: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/ajaxselect1 > input type datepicer My favorite is: http://www.chenillekit.org/demo/tapcomp/datetimefielddemo > input type autocomplete Jumpstart: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/autocompletemixin On Wed, Oct 28, 2009 at 3:11 PM, Argo Vilberg <wilps...@gmail.com> wrote: > How to create dynamic forms. > > Where is N different textbox, autocomplete, select or datepicker. > > In every textbox,autocomplete,select or datapicker can bound ajax behaviour. > > Example > input type text > select ->countries ->ajax trigger after oncahnge new selected citys for > taht countries. > select ->city-s Jumpstart: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/ajaxselect1 > input type datepicer My favorite is: http://www.chenillekit.org/demo/tapcomp/datetimefielddemo > input type autocomplete Jumpstart: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/autocompletemixin > > > > Argo > > > 2009/10/28 Juan E. Maya <maya.j...@gmail.com> > >> Argo maybe u could describe consider a complex example. I didn't see >> anything complex that could be handle using the zone component. >> Jumpstsry provide Ajax demos with forms and the behavior of the zone >> component should be enough for most of the cases. So please let us >> know an example that would require something else. (autocomplete uses >> json) >> >> A component based framework works differntly to what u may have used. >> And It's very difficult to like something if u r not open minded. Yes, >> there's a learning curve but I don't think there r more than 5 >> annotation u have to learn and ur classes don't need to know about any >> other class. >> >> Also tapestry does a lot of JS for u. That is one of the advantages. U >> can write a web app that uses Ajax without writing a single line of >> js. If u want to change the js completly u should have a very good >> reason. It's not a common thing to do. This's ur first project and u >> have to deal with internal of tapestry to change the js(at least >> understand it), that could be frustrating. >> >> >> On Wednesday, October 28, 2009, Inge Solvoll <inge.tapes...@gmail.com> >> wrote: >> > I would love to see a positive and helpful response to this request. His >> > approach might annoy a few people here, but I encourage you to take this >> > kind of thing seriously. I believe there are a lot of people feeling the >> way >> > Argo feels about the framework, and he does hit a few good points on the >> > way, about good examples and documentation. >> > >> > And to you Argo, please be more specific. Post code samples of (isolated) >> > things you would like to achieve. Don't be vague, don't ask a lot of >> > different questions in a single post, and be respectful. Then, I'm 100% >> sure >> > you'll get the help you need from the smart and friendly people on this >> > list. >> > >> > As the others say, you can learn a lot from checking out the wiki, source >> > code and so on. Read the autocompleter mixin source code and the >> > documentation. That's all I needed to get started writing AJAX easy and >> > clean. See my code samples at: >> > >> > http://tinybits.blogspot.com >> > >> > >> > On Wed, Oct 28, 2009 at 1:13 AM, Argo Vilberg <wilps...@gmail.com> >> wrote: >> > >> >> 2009/10/27 Magnus Rundberget <run...@me.com> >> >> >> >> > >> >> > On 27. okt.. 2009, at 19.58, Argo Vilberg wrote: >> >> > >> >> > hi, >> >> >> >> >> >> Is there any project sources on internet where i can learn advance >> ajax >> >> >> and >> >> >> Tapestry coding? >> >> >> >> >> > So you are way beyond >> >> > http://tapestry.apache.org/tapestry5.1/guide/ajax.html ? >> >> > You have looked at the bundled components and mixins (and their >> source) ? >> >> > Maybe you have even had a peak at www.chenillekit.org / >> >> > http://chenillekit.codehaus.org ? >> >> > And you have tried http://wiki.apache.org/tapestry/Tapestry5HowTosfor >> >> > inspiration ? >> >> > >> >> > Let me rephrase. What do you mean by advanced and which sources have >> you >> >> > tried already ? >> >> > >> >> >> >> I want create full dynamic HTML, with full ajax and javascript control >> over >> >> dynamic HTML. >> >> I write early 2 month ago asp 1.0 + jQuery + ajax. And that was pretty >> >> easy. >> >> And also i write php with codeignator + jQuery, also no problem. Watch >> >> estonian fresh food google MAP project (www.elavtoit.com) >> >> And now with tapestry, i use day after day try - exit method(this is >> >> exactly >> >> translation from estonian:) and i do not fully understand why this >> >> framework >> >> is so complicated. There are annotations and other trick, that combine >> full >> >> new tehnology over html,css,javascript,ajax. What is that for? All >> >> component >> >> deals with hard staff for you. But if i do not understand how component >> >> works, and secondly if i try do something diffferent that component >> allows >> >> then there is black hole( no way to do it ). >> >> Or spend days after days try-and try wich ways in tapestry works. This >> try >> >> to make coding easier is at last make coding much harder than in regular >> >> asp >> >> 1.0 or PHP. >> >> Earler i write estonain e-School project, now approximatley 85% estonian >> >> school are using it and 50% of population of estonia using it. There are >> my >> >> own written framework, similar to hibarenate(caching, clustering, >> >> db-pooling) and also old j2ee standard xml-xslt transformation >> framework. >> >> Fully optimized and works fine. In current project tapestry is not my >> >> choise >> >> but i must end this project. >> >> >> >> >> >> >> >> > Once you get the hang of how tapestry supports ajax, i'm sure you can >> go >> >> as >> >> > advanced as you like. >> >> > >> >> > >> >> > Also is i interested jQuery and Tapestry advance examples. >> >> >> >> >> > Once you get over the conflict of $, it should in theory be straight >> >> > forward... check out the wiki on howto enable jquery. Let me know if >> you >> >> > find any good examples of cool jquery plugin integrations for tapestry >> ! >> >> >> >> >> >> Jes i get over $ confict. >> >> But i spend over 1 week to get tapestry ajax working with select >> onchange. >> >> Changing 5.0.14 to 5.1.0.5 >> >> And if i want generate dynamic HTML. This is only possible with tapestry >> >> LOOP, if loop is over LIST of String:) >> >> If there are any kind on other datatype, then error occored. >> >> But how to put in dynamic HTML select javacript and AJAX. I dont know >> .... >> >> So i must figure out how get over Tapestry and use only ANY tapestry >> >> component. >> >> >> >> >> >> >> >> > >> >> > And is there possible switch off tapestry javascript and write fully >> my >> >> >> own >> >> >> javascript? >> >> >> >> >> >> Search this forum for disable javascript (somebody asked the same >> not >> >> to >> >> > long ago).... Is there any particular reason you wish to fight the >> >> framework >> >> > ? >> >> >> >> >> >> Why must framework so complicated. So many classes and annotation that >> hard >> >> to see hole picture. >> >> If there are some greate project done in tapestry5 with complicated >> AJAX, >> >> then plese >> >> --------------------------------------------------------------------- >> 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