Re: WebObjects and prototype.js
Re: WebObjects and prototype.js
- Subject: Re: WebObjects and prototype.js
- From: Jesse Tayler <email@hidden>
- Date: Wed, 13 Feb 2019 14:39:50 -0500
Dot you get a console error from javascript? Perhaps the fix is not so
complicated.
I know that I’ve run into namespace conflicts so severe, I had to abandon
almost all of those great cool components using AJAX/prototype and had to kind
of re-write that sort of behavior by hand which I was able to do
I was not able to really mix those older AJAX frameworks with modern web
frameworks at all.
My trouble was not a version so much as just a need to avoid prototype and
prefer jQuery based components.
I also found the AJAX frameworks very crafty, but so much so? I was not able to
read through how these components worked — they are DEEP and there’s a lot of
moving parts to them and I was just not familiar enough to get in there and
provide similar widgets using new technology.
I would get behind an initiative or help out on that if I were able!
There’s a lot of great ideas in there, and we nearly all need modern search
widgets with type-ahead and suggestions and all of those widgets really could
be the same one but we’d have to abandon the AjaxFramework and related….
> On Feb 13, 2019, at 2:01 PM, Aaron Rosenzweig <email@hidden> wrote:
>
> Hi, actual neither of us are using “local” I didn’t remember the default and
> assumed it was true. Appears the default is false, I was just explicitly
> setting it.
>
> So I don’t know why it works for you but not for us with Prototype 1.7.3
>
> AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/>
> e: email@hidden <mailto:email@hidden> t: (301) 956-2319
>
>
>
>> On Feb 13, 2019, at 2:00 PM, Aaron Rosenzweig <email@hidden
>> <mailto:email@hidden>> wrote:
>>
>> 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
>>> <mailto: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
_______________________________________________
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