Hi, you probably have to persist the clientClicked value somewhere,
so that when the form rewinds it also rewinds the Autocompleter

Yiannis Mavroukakis wrote:
> Some time ago I emailed in with inane questions about the Autocompleter ☺ . I 
> wanted to have a direct link which when clicked re-rendered as an 
> Autocompleter. With the help of a fellow list member I managed to do this but 
> I am now facing a different issue. When I submit the page the autocompleter's 
> value is not retrieved if it has not been rendered as thefirst component in 
> the page...to further explain what I mean
> The component<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> 
> And the html
> <td>  <span jwcid="[EMAIL PROTECTED]" id="clientUpdate">              <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="@If" condition="ognl:clientClicked">                                   
>                                     <span class="auto_complete" 
> jwcid="clientAutoCompleter"/>               </span> </span></td>
> As this stands, the value from abstract getClientValue() is not returned
> If however I swap the condition around so that the autocompleter is rendered 
> initially and not the link getClientValue() returns a value...
> Any ideas why this might be happening? I'm using the latest version from SVN.
> Thank you,
> Yiannis 
>
> Note:__________________________________________________________________This 
> message is for the named person's use only. It may containconfidential, 
> proprietary or legally privileged information. Noconfidentiality or privilege 
> is waived or lost by any mistransmission.If you receive this message in 
> error, please immediately delete it andall copies of it from your system, 
> destroy any hard copies of it andnotify the sender. You must not, directly or 
> indirectly, use, disclose,distribute, print, or copy any part of this message 
> if you are not theintended recipient. Jaguar Freight Services and any of its 
> subsidiarieseach reserve the right to monitor all e-mail communications 
> through itsnetworks.Any views expressed in this message are those of the 
> individual sender,except where the message states otherwise and the sender is 
> authorizedto state them to be the views of any such 
> entity.________________________________________________________________________This
>  e-mail has been scanned for all known viruses.All the advantages of Linux 
> Managed Hosting--Without the Cost and Risk!Fully trained technicians. The 
> highest number of Red Hat certifications inthe hosting industry. Fanatical 
> Support. Click to learn 
> morehttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642_______________________________________________Tacos-devel
>  mailing [EMAIL PROTECTED]://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

Reply via email to