<span jwcid="@If" condition="ognl:!clientClicked">
Perhaps the autocompleter is never rewound because of this If. This would explain the null values that getClientValues returns. Yiannis Mavroukakis wrote: > Hmm ok i seem to have forgotten my own code..I did have the > AutoCompleter set to true. I set it to false and now I do not get the > any returned results, although when debugging I can see that listSource > is set. getClientValue() still returns null. > > On Mon, 2006-12-04 at 20:42 +0200, andyhot wrote: > >> http://tacos.sourceforge.net/components/Autocompleter.html >> >> Check out the direct parameter comments... >> >> The rule of thump is to set it to true, until something 'weird' breaks... >> then set it back to false :) >> >> >> >> Yiannis Mavroukakis wrote: >> >>> That's what I have done and it works a treat..however I've hit a new >>> problem with the autocompleters. I've got them in a FloatingPane with >>> a form wrapped around them. When I submit to a listener the input from >>> the autompleter fields is null. This worked when it was done as a >>> "simple" page. >>> >>> the HTML >>> ============ >>> <form jwcid="[EMAIL PROTECTED]:AjaxForm" >>> statusElement="literal:updateStatus" >>> listener="listener:doEditClientShipperCons" >>> updateComponents="ognl:{'clientArea'}" > >>> <div style="display:none;"> >>> <div jwcid="[EMAIL PROTECTED]:Id"> >>> <div style="position:relative;left:3%;"> >>> <div jwcid="[EMAIL PROTECTED]:Id"> >>> <div class="titleText">Client</div> >>> <span jwcid="@If" >>> condition="ognl:shipment.client!=null"> >>> <span jwcid="@If" >>> condition="ognl:!clientClicked"> >>> <a >>> jwcid="@tacos:AjaxDirectLink" >>> updateComponents="ognl:{'clientUpdate'}" >>> listener="listener:clientClick"> >>> <span >>> jwcid="client">Client</span> >>> </a> >>> </span> >>> <span jwcid="@Else"> >>> >>> <span >>> class="auto_complete" jwcid="clientAutoCompleter"/> >>> </span> >>> >>> </span> >>> <span jwcid="@Else"> >>> <span class="auto_complete" >>> jwcid="nullClientAutoCompleter"/> >>> </span> >>> >>> </div> >>> <a jwcid="[EMAIL PROTECTED]:AjaxLinkSubmit">Update</a> >>> </div> >>> </div> >>> </div> >>> </form> >>> ================ >>> >>> >>> The .page >>> =================== >>> >>> <component id="clientAutoCompleter" type="tacos:Autocompleter" > >>> <binding name="value" value="ognl:clientValue" /> >>> <binding name="listSource" value="ognl:searchList" /> >>> <binding name="direct" value="ognl:true" /> >>> <binding name="listener" value="listener:searchClients" /> >>> </component> >>> <component id="nullClientAutoCompleter" >>> copy-of="clientAutoCompleter"/> >>> ================== >>> >>> The .java >>> =================- >>> public void doEditClientShipperCons(IRequestCycle cycle) { >>> ShipmentDao shipmentDao = getShipmentDao(); >>> Shipment shp = getShipment(); >>> shipmentDao.attach(shp); >>> if (getClientValue()!=null) { >>> shp.setClient(getClientDao().findByName(getClientValue())); >>> clientClicked=false; >>> } >>> shipmentDao.update(shp); >>> } >>> =========== >>> >>> >>> Any idea where I am getting this wrong? >>> >>> Thank you! >>> >>> >>> >>> On Mon, 2006-12-04 at 11:50 +0200, andyhot wrote: >>> >>> >>>> Yiannis Mavroukakis wrote: >>>> >>>> >>>>> Kalhmera/Good morning :-) >>>>> >>>>> Thought it might be the case..same thing goes for the Tapestry one..Is >>>>> this something that merits making it z-index aware or is this simply a >>>>> case of overriding the defaults CSS rules? >>>>> >>>>> >>>>> >>>> Can you find out the z-index of the floatingPane... ? >>>> >>>> Perhaps the default value we set for it + the default value we set >>>> for the calendar are incorrect... but i remember someone asking about >>>> this 8 months ago >>>> and i had tested this use case - then again, tacos has changed MANY >>>> times its datepicker >>>> implementation... >>>> >>>> So, anyway, i believe that the simplest way to fix this is by changing >>>> the z-index >>>> in the calendar's css which you should already have in your context >>>> >>>> >>>> >>>> >>>> >>>>> Yiannis. >>>>> >>>>> >>>>> On Sat, 2006-12-02 at 02:38 +0200, andyhot wrote: >>>>> >>>>> >>>>> >>>>>> Yiannis Mavroukakis wrote: >>>>>> >>>>>> >>>>>> >>>>>>> Hello :-) >>>>>>> >>>>>>> Does anyone know how to make a DatePicker (tacos or otherwise) appear >>>>>>> within a FloatingPane and not behind it ?:) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> It's a z-index issue... >>>>>> >>>>>> tacos-demo/src/context/css/jscalendar/skins/aqua/theme.css >>>>>> contains >>>>>> >>>>>> /* The main calendar widget. DIV containing a table. */ >>>>>> >>>>>> div.calendar { position: relative; z-index:1000;} >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Thank you, >>>>>>> >>>>>>> Yiannis >>>>>>> >>>>>>> >>>>>>> >>> 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. >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share your >>> opinions on IT & business topics through brief surveys - and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Tacos-devel mailing list >>> Tacos-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/tacos-devel >>> >>> >>> >> > > 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. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Tacos-devel mailing list > Tacos-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Tacos-devel mailing list Tacos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tacos-devel