• 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: Ajax Framework Bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ajax Framework Bug?


  • Subject: Re: Ajax Framework Bug?
  • From: Johnny Miller <email@hidden>
  • Date: Sat, 17 Nov 2012 07:42:02 -1000

Hi Amedeo,

Actually, I think they were work the same way.  But I tried for sanity's sake and it still is doing the same thing.

Johnny

On Nov 16, 2012, at 10:06 PM, Amedeo Mantica <email@hidden> wrote:

I'm on iPhone now btw

<wo:AjaxUpdateContainer observeFieldID

Is weird. You should use AjaxObserveField

Amedeo

Sent from my iPhone

On 17/nov/2012, at 03:13, Johnny Miller <email@hidden> wrote:

Hi,

I recently updated my Wonder Frameworks and I have a question about something I am seeing.

One of my components broke and I'm thinking that either I misunderstand something or something in Ajax Framework has now changed.

Given the following example:

<wo:form>
<wo:popUpButton list = "$arrayOfStrings" selection = "$selectedString" id = "StringSelector"></wo:popUpButton>
<wo:AjaxUpdateContainer observeFieldID = "StringSelector">
<wo:WOKeyValueConditional key = "selectedString" value = "String Two">
String Two Is Selected
</wo:WOKeyValueConditional>
</wo:AjaxUpdateContainer>
</wo:form>
<wo:repetition list = "$someOtherArrayOfStrings" item = "$aString"><br/>
<wo:str value = "$aString" />
</wo:repetition>


I would assume that when the value of the pop up button changes only the contents of the AjaxUpdateContainer would get touched.  However, if I put a logging statement on someOtherArrayOfStrings I can see that it gets called.  It's like it is processing the whole component all over again.

Is that the way it is supposed to work or has a bug been introduced?

Aloha,
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail
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: Ajax Framework Bug?
      • From: Farrukh Ijaz <email@hidden>
References: 
 >Ajax Framework Bug? (From: Johnny Miller <email@hidden>)
 >Re: Ajax Framework Bug? (From: Amedeo Mantica <email@hidden>)

  • Prev by Date: Re: Ajax Framework Bug?
  • Next by Date: Re: Ajax Framework Bug?
  • Previous by thread: Re: Ajax Framework Bug?
  • Next by thread: Re: Ajax Framework Bug?
  • Index(es):
    • Date
    • Thread