No, I didn't mean this, I wanted to say that if you have something like:
<form> <if (condition)> <a widget component/> </if> </form> shouldn't work if you don't write another widget (of your choice) that is needed for say 'initialization'. so you should have this to make it work: <form> <a widget component of your choice (display:hidden)/> <if (condition)> <a widget component/> </if> </form> kiuma On 3/19/07, Yiannis Mavroukakis <[EMAIL PROTECTED]> wrote:
Something like this? <component id="testWidget" type="DropdownDatePicker"> <binding name="value" value="ognl:dateValue" /> </component> and <span jwcid="@Else"> <span jwcid="clientAutoCompleter"/> <span jwcid="testWidget"/> </span> I tested it and the datepicker works fine, as far as rendering and choosing a date are concerned. Y On Mon, 2007-03-19 at 18:12 +0100, Andrea Chiumenti wrote: > This example shouldn't work too, except you ad a 'static' (not conditional) > widget to the form.... I think. > > <html jwcid="@Shell" ajaxEnabled="true" browserLogLevel="DEBUG" > title="Edit Shipment"> > <body jwcid="@Body"> > <span jwcid="pageCss"/> > <span jwcid="tabsScript"/> > <div id="shipmentTabContainer"> > <div id="ccs"> > <form jwcid="[EMAIL PROTECTED]" > updateComponents="ognl:{'clientUpdate'}"> > <div jwcid="[EMAIL PROTECTED]" id > ="clientUpdate"> > <div > class="titleText">Client</div> > <span jwcid="@If" > condition="ognl:shipment.client!=null"> > <span jwcid="@If" > condition="ognl:!clientClicked"> > <a jwcid=" > [EMAIL PROTECTED]" > updateComponents="ognl:{'clientUpdate'}" > listener="listener:clientClick"> > <span > jwcid="client">Client</span> > </a> > </span> > <span jwcid="@Else"> > <span > class="auto_complete" jwcid="clientDropdownDatePicker"/> > </span> > </span> > > </div> > <input type="submit" jwcid="@Submit" > action="listener:doEditClientShipperCons" async="ognl:true" value="Save > Changes"/> > </form> > </div> > </div> > </body> > </html> > > > > On 3/19/07, Yiannis Mavroukakis <[EMAIL PROTECTED]> wrote: > > > > In what respect would the DropdownDatePicker not function ok?? > > > > On Mon, 2007-03-19 at 17:49 +0100, Andrea Chiumenti wrote: > > > Yiannis, > > > I think it's not an autocompleter problem, I think it's someway related > > to > > > widgets in general, you should have the same problem also with other > > widjets > > > when they are created with an ajax req., and the form started without > > one > > > defined. > > > For example you should have the same problem if you'd use the > > datepicker. > > > > > > kiuma > > > > > > On 3/19/07, Yiannis Mavroukakis <[EMAIL PROTECTED]> wrote: > > > > > > > > Latest snapshot doesn't emit any errors but it also doesnt return any > > > > data (according to firebug) unfortunately. The autocompleter outside > > the > > > > conditional flow works fine. > > > > > > > > On Sun, 2007-03-18 at 20:12 -0400, Jesse Kuhnert wrote: > > > > > Are you using the latest version - 4.1.2-SNAPSHOT ? > > > > > > > > > > There was an issue found previously by someone else with nesting > > > > > widgets within widgets. If you want a good starting point the > > > > > timetracker has two autocompleters on one page, the normal one > > people > > > > > are used to seeing and the second one nested within the dialog > > popup: > > > > > > > > > > http://opencomponentry.com:8080/timetracker/app > > > > > > > > > > Without anything else to go on I might need a sample maven2 > > jetty:run > > > > > type of project to test against to be able to see what is happening > > / > > > > > figure out how to report problems better in the future. . > > > > > > > > > > On 3/18/07, Yiannis Mavroukakis <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Yep another autocomp outside the flow (but still inside the @Form) > > > > works > > > > > > fine. > > > > > > -----Original Message----- > > > > > > From: Andrea Chiumenti [mailto:[EMAIL PROTECTED] > > > > > > Sent: 18 March 2007 08:29 > > > > > > To: Tapestry users > > > > > > Subject: Re: Autocompleter probs > > > > > > > > > > > > ahhhhh ok. > > > > > > Try (an experiment), to put another autocompleter outside and > > before > > > > the > > > > > > conditonal flow (I know that it's not what you are looking for but > > I > > > > > > have to > > > > > > know if it works). > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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. > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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. > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > ________________________________________________________________________ > > > 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. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > ________________________________________________________________________ > 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]