• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AjaxAutoComplete
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AjaxAutoComplete


  • Subject: Re: AjaxAutoComplete
  • From: Samuel Pelletier via Webobjects-dev <email@hidden>
  • Date: Sat, 11 Nov 2023 17:12:29 -0500

Hi,

I managed to achieve your goal in my apps using this pattern :
        - Create a submit js function using an AjaxSubmitButton
        - Use the created function in afterUpdateElement on AjaxAutoComplete.

<wo:AjaxSubmitButton updateContainerID = "_parent" functionName =
"addLigneAvecFormat" action = "$selectionnerProduit" />
<wo:AjaxAutoComplete ... afterUpdateElement = "addLigneAvecFormat" />

Regards,

Samuel


> Le 10 nov. 2023 à 05:55, Stavros Panidis via Webobjects-dev
> <email@hidden> a écrit :
>
> Tim,
>
> Sorry!. I could not put it to work. I am sure that I am making something
> wrong.
>
> My AjaxAutocomplete is
>
> <wo:AjaxAutoComplete id = "customers" afterUpdateElement = "observe" class =
> "form-control" list = "$currentValuesForCustomers" selection = "$global"
> value = "$value" item = "$currentValue" />
>
> And then I have a AjaxObserveField as follows
>
>
> <wo:AjaxObserveField observeFieldID = "customers" updateContainerID =
> "invoiceslist" action = "$customerSelected"></wo:AjaxObserveField>
>
>
> Can you see what I am doing wrong?
>
> Stavros
>
>
>
>> On 9 Nov 2023, at 10:00 PM, email@hidden wrote:
>>
>> Send Webobjects-dev mailing list submissions to
>>      email@hidden
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>      https://lists.apple.com/mailman/listinfo/webobjects-dev
>> or, via email, send a message with subject or body 'help' to
>>      email@hidden
>>
>> You can reach the person managing the list at
>>      email@hidden
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Webobjects-dev digest..."
>>
>>
>> Today's Topics:
>>
>>   1. AjaxAutoComplete (Stavros Panidis)
>>   2. Re: AjaxAutoComplete (D Tim Cummings)
>>   3. Re: AjaxAutoComplete (Jesse Tayler)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 9 Nov 2023 09:54:40 +0200
>> From: Stavros Panidis <email@hidden>
>> To: email@hidden
>> Subject: AjaxAutoComplete
>> Message-ID: <email@hidden>
>> Content-Type: text/plain;    charset=us-ascii
>>
>> Hi,
>>
>> Is there any trick available to make AjaxAutoComplete field observable (by
>> AjaxAobserveField) ?
>>
>> Many thanks in advance for your help
>>
>> Stavros
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Thu, 9 Nov 2023 20:00:33 +1000
>> From: D Tim Cummings <email@hidden>
>> To: email@hidden
>> Subject: Re: AjaxAutoComplete
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset=UTF-8; format=flowed
>>
>> Set parameter afterUpdateElement to "observe" and it will behave like it
>> is in an AjaxObserveField
>>
>> <wo:AjaxAutoComplete list = "$listCustomerName" size = "50" value =
>> "$theCustomerName" afterUpdateElement = "observe" />
>>
>> Tim
>>
>> On 9/11/23 17:54, Stavros Panidis via Webobjects-dev wrote:
>>> Hi,
>>>
>>> Is there any trick available to make AjaxAutoComplete field observable (by
>>> AjaxAobserveField) ?
>>>
>>> Many thanks in advance for your help
>>>
>>> Stavros
>>>  _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Thu, 9 Nov 2023 12:00:52 -0500
>> From: Jesse Tayler <email@hidden>
>> To: D Tim Cummings <email@hidden>
>> Cc: email@hidden
>> Subject: Re: AjaxAutoComplete
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset="utf-8"
>>
>> I have used Ajax quite easily on a couple of components and for some reason,
>> implementing even the simplest test was failing on updating a component of a
>> similar sort.
>>
>> Before I make a wholly new component ? are there flags or tests aside from
>> jQuery which seems fine? I don?t readily see why this just isn?t seemingly
>> observing and updating the way I expect?
>>
>> Thoughts?
>>
>>> On Nov 9, 2023, at 5:00 AM, D Tim Cummings via Webobjects-dev
>>> <email@hidden> wrote:
>>>
>>> Set parameter afterUpdateElement to "observe" and it will behave like it is
>>> in an AjaxObserveField
>>>
>>> <wo:AjaxAutoComplete list = "$listCustomerName" size = "50" value =
>>> "$theCustomerName" afterUpdateElement = "observe" />
>>>
>>> Tim
>>>
>>> On 9/11/23 17:54, Stavros Panidis via Webobjects-dev wrote:
>>>> Hi,
>>>>
>>>> Is there any trick available to make AjaxAutoComplete field observable (by
>>>> AjaxAobserveField) ?
>>>>
>>>> Many thanks in advance for your help
>>>>
>>>> Stavros
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> <https://lists.apple.com/archives/webobjects-dev/attachments/20231109/a4ce1245/attachment.htm>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> Webobjects-dev mailing list
>> email@hidden
>> https://lists.apple.com/mailman/listinfo/webobjects-dev
>>
>>
>> ------------------------------
>>
>> End of Webobjects-dev Digest, Vol 20, Issue 56
>> **********************************************
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: AjaxAutoComplete
      • From: Aaron Rosenzweig via Webobjects-dev <email@hidden>
References: 
 >AjaxAutoComplete (From: Stavros Panidis via Webobjects-dev <email@hidden>)

  • Prev by Date: Re: AjaxAutoComplete
  • Next by Date: Re: Replay request
  • Previous by thread: Re: AjaxAutoComplete
  • Next by thread: Re: AjaxAutoComplete
  • Index(es):
    • Date
    • Thread