Re: Ajax Design Question
Re: Ajax Design Question
- Subject: Re: Ajax Design Question
- From: Johnny Miller <email@hidden>
- Date: Thu, 18 Nov 2010 13:38:56 -1000
I tried adding a wohiddenfield with a static string value but it doesn't seem to work. Do I need to update it somehow?
On Nov 18, 2010, at 1:26 PM, Chuck Hill wrote:
> 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
>
>
>
>
>
>
>
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