Thanks Andy I found out what it was..an old version of Commons lang laying about..FireBug showed me the Exception that was raised by the code, which was being swallowed completely.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 19 May 2006 14:24 To: [email protected] Subject: RE: [Tacos-devel] Component combination Looks like the ajax response is not valid xml. Can you use FireBug in FF to see the response contents? Perhaps a <br> instead of <br/> or something similar... From Yiannis Mavroukakis <[EMAIL PROTECTED]>: > Hello again :-) > > I was half-succesfull in implementing your suggestion :) There's > something in the behaviour that I don't get I'm hoping someone can > shed some light on this. > > here's a snippet of the HTML > <div jwcid="[EMAIL PROTECTED]" id="clientUpdated"> > > [snip] > > <tr jwcid="shipments"> > <td><span jwcid="ctMaster">Master#</span></td> > > <td><span jwcid="ctNum">CT#</span></td> > <td> > <span jwcid="@If" > condition="ognl:!clientClicked"> > <a jwcid="@tacos:AjaxDirectLink" > updateComponents="ognl:{'clientUpdated'}" > listener="listener:clientClick"> > Click here > </a> > </span> > <span jwcid="@If" > condition="ognl:clientClicked"> > <a jwcid="@tacos:AjaxDirectLink" > updateComponents="ognl:{'clientUpdated'}" > listener="listener:clientClick"> > Click again > </a> > </span> > </td> > </tr> > > [snip] > > </div> > > jwcid="shipments" is a PartialFor component.. > > > Now here's where I get confused..If I have two direct AjaxDirectLink > components in there and I click on the first on rendered that > satisfies !clientClicked what I get is a page with [object Object] as > the only thing rendered. No HTML markup of any sort,just this. > However, if I remove any of the two AjaxDirectLink components and > replace it with simple text: > > <span jwcid="@If" > condition="ognl:clientClicked"> > Click again > </span> > > It works fine...am I missing something here? > > > Thank you, > > > Yiannis > > > > > > 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=1216 > 42 _______________________________________________ > 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 > > ______________________________________________________________________ > __ 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___________________________________ > ____________ > 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 ________________________________________________________________________ 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
