• 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 Design Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ajax Design Question


  • Subject: Re: Ajax Design Question
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 18 Nov 2010 15:26:16 -0800

That is an old HTML problem.  Unchecked boxes submit nothing.  If the form has only check boxes, nothing is submitted.  Add a WOHiddenField to the form.


On Nov 18, 2010, at 3:23 PM, Johnny Miller wrote:

> Well, I'm getting closer :p
>
> I had evalScripts set to false and that was killing the second update.
>
> However, for some odd reason my cover method only gets called if I check the box to on.  When checked to off it does an ajax update but the cover method doesn't get called?
>
> Thanks,
>
> Johnny
>
>
> On Nov 18, 2010, at 12:03 PM, Travis Britt wrote:
>
>> Do you have the whole thing in a WOForm?
>>
>> WOForm
>>   AjaxObserveField
>>     WORepetition
>>
>> tb
>>
>> On Nov 18, 2010, at 4:57 PM, Johnny Miller wrote:
>>
>>> I'm getting a little confused on the wording in the JavaDocs.
>>>
>>> Here is my component layout
>>>
>>> <wo:AjaxUpdateContainer id="SomeId">...<wo:AjaxObserveField updateContainerID="SomeId"><wo:loop>
>>>
>>> I think that's right but I'm getting the error where only the first update gets triggered.  Do you know what I'm missing?
>>>
>>> Thanks,
>>>
>>> Johnny
>>>
>>> On Nov 18, 2010, at 10:38 AM, Travis Britt wrote:
>>>
>>>> Yep. It will observe whatever it's wrapping.
>>>>
>>>> http://webobjects.mdimension.com/hudson/job/Wonder54/javadoc/er/ajax/AjaxObserveField.html
>>>>
>>>>
>>>> On Nov 18, 2010, at 3:01 PM, Johnny Miller wrote:
>>>>
>>>>> Would I just use the updatecontainerid and not the observefieldid?
>>>>>
>>>>> thanks a lot,
>>>>>
>>>>> Johnny
>>>>>
>>>>> On Nov 18, 2010, at 9:45 AM, Travis Britt wrote:
>>>>>
>>>>>> You could wrap the WORepetition in an AjaxObserveField and it will watch all the checkboxes.
>>>>>>
>>>>>> tb
>>>>>>
>>>>>> On Nov 18, 2010, at 2:35 PM, Johnny Miller wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I have a display group that I'm paginating through using ajax update links.  Each of the objects has a checkbox whose state I want to record between paginations.
>>>>>>>
>>>>>>> Should I use an ajax observe field per checkbox or wrap each checkbox in an ajax submit form or is there a better way?  I guess I could use the ajax update container to push changes to the server but I don't want the user's experience to be intermittently interrupted between refreshes.
>>>>>>>
>>>>>>> Thanks in advance,
>>>>>>>
>>>>>>> Johnny
>>>>>>>
>>>>>>>
>>>>>>> Johnny Miller
>>>>>>> Kahalawai Media Corp
>>>>>>> http://www.kahalawai.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>
>>>>>
>>>>> Johnny Miller
>>>>> Kahalawai Media Corp
>>>>> http://www.kahalawai.com
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>> Johnny Miller
>>> Kahalawai Media Corp
>>> http://www.kahalawai.com
>>>
>>>
>>>
>>
>
> Johnny Miller
> Kahalawai Media Corp
> http://www.kahalawai.com
>
>
>
> _______________________________________________
> 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

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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 Design Question
      • From: Johnny Miller <email@hidden>
    • Re: Ajax Design Question
      • From: Johnny Miller <email@hidden>
References: 
 >Ajax Design Question (From: Johnny Miller <email@hidden>)
 >Re: Ajax Design Question (From: Travis Britt <email@hidden>)
 >Re: Ajax Design Question (From: Johnny Miller <email@hidden>)
 >Re: Ajax Design Question (From: Travis Britt <email@hidden>)
 >Re: Ajax Design Question (From: Johnny Miller <email@hidden>)
 >Re: Ajax Design Question (From: Travis Britt <email@hidden>)
 >Re: Ajax Design Question (From: Johnny Miller <email@hidden>)

  • Prev by Date: Re: Ajax Design Question
  • Next by Date: Re: Ajax framework's future
  • Previous by thread: Re: Ajax Design Question
  • Next by thread: Re: Ajax Design Question
  • Index(es):
    • Date
    • Thread