Re: WebObjects and prototype.js
Re: WebObjects and prototype.js
- Subject: Re: WebObjects and prototype.js
- From: Aaron Rosenzweig <email@hidden>
- Date: Wed, 13 Feb 2019 14:00:05 -0500
Hi Everyone especially Samuel!
This is what our code looks like:
<wo:AjaxAutoComplete value = "$typedValueByUser" list = "$suggestions" isLocal
= "$false" afterUpdateElement = "$afterUpdateElementAction" frequency = "0.2" />
<wo:AjaxSubmitButton functionName = "$submitUserSelectedValueCustomFunction"
updateContainerID = "$checkMarkContainerID" action =
"$userSelectedFreeFormAddressText" />
Note: the "afterUpdateElementAction" is javascript that clicks the submit
button.
One difference, besides linguistic preference, is that yours is local but ours
is not. We hand off to a service to scrub what is partially typed and then come
back with suggestions. Note the “isLocal = false”
I have not tried the AjaxExample project. Literally our apps stopped working,
people started screaming that the sky is falling, and to put out the fire I
replaced the version of Prototype.
AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/>
e: email@hidden <mailto:email@hidden> t: (301) 956-2319
> On Feb 13, 2019, at 1:51 PM, Samuel Pelletier <email@hidden> wrote:
>
> Hi Aaron,
>
> I have the latest wonder and my AjaxAutoCompletes are working as expected.
>
> Have you tried the AjaxExample project ?
>
> Maybe we have a different usage. I use it like this:
> <wo:AjaxAutoComplete list = "$enseignants" item = "$enseignant"
> displayString = "$enseignant.contact.nomComplet" value =
> "$textToFindEnseignant" selection = "$selectedEnseignant" style="display:
> inline-block; margin-bottom:0; width:120px;" afterUpdateElement =
> "function(){ajouteEnseignant();}"/>
> <wo:AjaxSubmitButton functionName = "ajouteEnseignant"
> updateContainerID = "blocPeriodeEditor" action = "$ajouterEnseignant"
> class="tiny button" style="margin-bottom:0;"/>
>
> Samuel
>
>
>
>
>> Le 12 févr. 2019 à 16:26, Aaron Rosenzweig <email@hidden
>> <mailto:email@hidden>> a écrit :
>>
>> Hi Everyone,
>>
>> We discovered after recently updating Wonder… that Prototype 1.7.3 is not
>> compatible with Scriptaculous 1.9 (what is in Wonder).
>>
>> At least, it is not compatible with the autocomplete functionality at a
>> minimum.
>>
>> For the moment we have made a local branch of Wonder and employed Prototype
>> 1.7.0 as that is the last blessed version for Scriptaculous. It’s possible
>> that 1.7.2 might be ok, have not tried, but 1.7.3 does not work.
>> AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/>
>> e: email@hidden <mailto:email@hidden> t: (301) 956-2319
>>
>>
>>> On Jan 21, 2019, at 5:18 AM, Michael Schmiedgen <email@hidden
>>> <mailto:email@hidden>> wrote:
>>>
>>>
>>>>> We are using 1.7.3 for years with no known problems.
>>>> Where is a pull request? :-)
>>>
>>> Here:
>>> https://github.com/wocommunity/wonder/pull/893
>>> <https://github.com/wocommunity/wonder/pull/893>
>>>
>>> :)
>>>
>>> Michael
>>>
>>>
>>> --
>>> ___________________________
>>>
>>> Michael Schmiedgen, BSc
>>> Senior Software Engineer
>>>
>>> Takwa GmbH
>>> Friedrich-List-Str. 36
>>> 99096 Erfurt GERMANY
>>>
>>> Tel +49 361 6534096
>>> Fax +49 361 6534097
>>> Mail email@hidden <mailto:email@hidden>
>>> Web http://www.takwa.de/ <http://www.takwa.de/>
>>> ___________________________
>>>
>>>
>>> Amtsgericht Jena HRB 112964
>>> Geschäftsführung: Ingo Buchholz
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden
>>> <mailto:email@hidden>)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>>
>>> This email sent to email@hidden <mailto:email@hidden>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden
>> <mailto:email@hidden>)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden <mailto: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