Cool, will take a look. I've been staring at the Refresh component trying to figure out if it's what I need, thanks for confirming I wasn't off my rocker ;-).
-warner On 11/1/06, andyhot <[EMAIL PROTECTED]> wrote: > There's a nice way to do this... > Use an AjaxDirectLink but set a custom ILinkRenderer on it > that only outputs the value of the href attribute... > > I recently added such a renderer in Tap4.1, was thinking it might be > useful in tacos as well... > > https://svn.apache.org/repos/asf/tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/link/RawURLLinkRenderer.java > > Also, the refresh component might be useful to you... > http://tacos.sourceforge.net/components/Refresh.html > > Warner Onstine wrote: > > Alright, I've been combing through the framework trying to figure out > > how to do a javascript ajax call that will create a call to a listener > > method, I think that I've found something, just trying to figure out > > exactly how to use it. > > > > tacos.defaultLinkAction appears to be what I will need to use, I'm > > just not sure of the best way to generate the arguments that go into > > it. > > > > BTW - this would be something nice to add to the docs somewhere for > > those of us who need to use the underlying framework to make calls > > rather than relying on the components to do everything (they are nice, > > but don't do all the ajax work most of us will need, at least IMO). > > > > -warner > > > > On 11/1/06, Warner Onstine <[EMAIL PROTECTED]> wrote: > > > >> Excellent! Thanks so much! > >> > >> -warner > >> > >> On 11/1/06, andyhot <[EMAIL PROTECTED]> wrote: > >> > >>> Actually, that's described in the 'Beggining pojos" book :) > >>> http://tacos.sourceforge.net/articles.html > >>> > >>> But if you take another look at > >>> http://tacos.sourceforge.net/components/Autocompleter.html > >>> you'll find the afterUpdateElement parameter... It can call a js function > >>> of yours when user selects a value. > >>> > >>> Then check out the js docs from > >>> http://wiki.script.aculo.us/scriptaculous/show/Ajax.Autocompleter > >>> > >>> BTW, our afterUpdateElement parameter is deprecated... > >>> The way to go is > >>> options="{afterUpdateElement:document.myFunction}" > >>> > >>> Warner Onstine wrote: > >>> > >>>> Now that I have my autocompleter working properly here's what I would > >>>> like to do with it (hoping that someone has done something similar). > >>>> > >>>> Once a user has selected a value from the drop-down: > >>>> 1) I would like to detect this and check to see if it's a value that's > >>>> already in the db > >>>> 2) If it is then I want to disable the rest of the venue fields and > >>>> populate them with values that are already in the db (well maybe > >>>> reverse those). > >>>> > >>>> Suggestions? > >>>> > >>>> -warner > >>>> > >>>> ------------------------------------------------------------------------- > >>>> Using Tomcat but need to do more? Need to support web services, security? > >>>> Get stuff done quickly with pre-integrated technology to make your job > >>>> easier > >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache > >>>> Geronimo > >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>> _______________________________________________ > >>>> Tacos-devel mailing list > >>>> [email protected] > >>>> https://lists.sourceforge.net/lists/listinfo/tacos-devel > >>>> > >>>> > >>>> > >>> -- > >>> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr > >>> Tapestry / Tacos developer > >>> Open Source / J2EE Consulting > >>> > >>> > >>> ------------------------------------------------------------------------- > >>> Using Tomcat but need to do more? Need to support web services, security? > >>> Get stuff done quickly with pre-integrated technology to make your job > >>> easier > >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>> _______________________________________________ > >>> Tacos-devel mailing list > >>> [email protected] > >>> https://lists.sourceforge.net/lists/listinfo/tacos-devel > >>> > >>> > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Tacos-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > > > -- > Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr > Tapestry / Tacos developer > Open Source / J2EE Consulting > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Tacos-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tacos-devel > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Tacos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tacos-devel
