Geia sou Andy ;-) I haven't checked the particulars of dojo to be honest, and AJAX internals are a black art for me for the time being.
Yiannis. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 18 May 2006 15:26 To: [email protected] Subject: RE: [Tacos-devel] Component combination Yea, i would try Frederic's idea and turn this into a new component... if it works ok (i also like the timer idea) then i don't see why it couldn't be included in Tacos... something like InlineAutocompleter. But anyway, are you sure that dojo doesn't include something similar? Cause if it does, it might be better to port it from there. From Yiannis Mavroukakis <[EMAIL PROTECTED]>: > Hi Federic :) > > Thank you for the reply, I initially thought about the Inline box but > discarded the idea. I will give your idea a go :-) > > On a related note, do you and everyone else see any usefuleness in > including this as a pre-fab tacos component? > I was thinking that once the link is clicked and the Autocompleter > appears, as soon as you move out of focus it reverts to the (possibly) > updated text link, or alternatively/complementary a short timer is > issued which on expiry reverts back to the (possibly) updated text > link. > > Thank you again, > > Yiannis. > > _____ > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Frederic > Barnabe > Sent: 18 May 2006 13:50 > To: [email protected] > Subject: Re: [Tacos-devel] Component combination > > > Hi Yannis, > > I don't think you could make this with an InlineEditBox (even if it's > the same behavior), so I would try to use a ajax direct link that > changes a boolean property of the page. In the template, you add > conditions that either shows the link or the auto completer depending > on the boolean value. Make sure the updateComponent of the direct > link surrounds the conditionals. Something like : > > <span jwcid="@Any" id="updated"> > <span jwcid="@If" condition="ognl:!clicked"> > <a jwcid="@tacos:AjaxDirectLink" > updateComponent="ognl:{'updated'}" listener="listener:click">Click > here!</a> > </span> > <span jwcid="@If" condition="ognl:clicked"> > <span jwcid="@tacos:Autocompleter"/> > </span> > </span> > > > There is a lot of parameters missing, but you get the idea. In the > java class, you would have a boolean property named clicked and a > method > click() that would just set the property from false to true. Voila. > > Frederic > > > > > > On 5/18/06, Yiannis Mavroukakis <[EMAIL PROTECTED]> wrote: > > > Hello :) > > I was wondering whether a component could be created that combines an > AutoCompleter with a text link. The > visible effect would be a clickable link that would turn into an > AutoCompleter field..Is this something > that would be classified as a new component or can existing > components > be combined to achieve this? > > Thank you :) > > > Note:__________________________________________________________________ > This message is for the named person's use only. It may contain > confidential, proprietary or legally privileged information. No > confidentiality or privilege is waived or lost by any > mistransmission. > If you receive this message in error, please immediately delete it > and > all copies of it from your system, destroy any hard copies of it and > notify the sender. You must not, directly or indirectly, use, > disclose, > distribute, print, or copy any part of this message if you are not > the > intended recipient. Jaguar Freight Services and any of its > subsidiaries > each reserve the right to monitor all e-mail communications through > its > networks. > Any views expressed in this message are those of the individual > sender, > except where the message states otherwise and the sender is > authorized > to state them to be the views of any such entity. > > ________________________________________________________________________ > This e-mail has been scanned for all known viruses. > > > ------------------------------------------------------- > 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?cmdlnk&kid0709&bid&3057&dat1642 > _______________________________________________ > Tacos-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > ______________________________________________________________________ > __ This e-mail has been scanned for all known viruses. > > > Note:_________________________________________________________________ > _ This message is for the named person's use only. It may contain > confidential, proprietary or legally privileged information. No > confidentiality or privilege is waived or lost by any mistransmission. > If you receive this message in error, please immediately delete it and > all copies of it from your system, destroy any hard copies of it and > notify the sender. You must not, directly or indirectly, use, > disclose, distribute, print, or copy any part of this message if you > are not the intended recipient. Jaguar Freight Services and any of its > subsidiaries each reserve the right to monitor all e-mail > communications through its networks. > Any views expressed in this message are those of the individual > sender, except where the message states otherwise and the sender is > authorized to state them to be the views of any such entity. > ______________________________________________________________________ > __ This e-mail has been scanned for all known viruses. -- ------------------------------------------------------- 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 ________________________________________________________________________ This e-mail has been scanned for all known viruses. Note:__________________________________________________________________ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. ________________________________________________________________________ This e-mail has been scanned for all known viruses. ------------------------------------------------------- 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&kid0709&bid&3057&dat1642 _______________________________________________ Tacos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tacos-devel
