• 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: D2W Query Pages w/ Ajax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W Query Pages w/ Ajax


  • Subject: Re: D2W Query Pages w/ Ajax
  • From: Anjo Krank <email@hidden>
  • Date: Sun, 28 Nov 2010 18:06:00 +0100

Sigh. Never mind, they only cache the key, not the value.

Cheers, Anjo



Am 28.11.2010 um 17:52 schrieb Anjo Krank:

> FYI, these rules should be delayed assignments:
>
>    100 : (task = 'edit' and smartAttribute.prototype.name = 'javaEnum' and propertyKey = 'city') => restrictedChoiceKey = object.cityChoices [com.webobjects.directtoweb.Assignment],
>    100 : (task = 'edit' and smartAttribute.prototype.name = 'javaEnum' and propertyKey = 'state') => restrictedChoiceKey = object.stateChoices [com.webobjects.directtoweb.Assignment],
>    100 : (task = 'edit' and smartAttribute.prototype.name = 'javaEnum' and propertyKey = 'nation') => restrictedChoiceKey = object.nationChoices [com.webobjects.directtoweb.Assignment]
>
> otherwise, they most likely will only work correctly for the first time they are called.
>
> Cheers, Anjo
>
>
> Am 28.11.2010 um 14:30 schrieb Ramsey Lee Gurley:
>
>>
>> On Nov 28, 2010, at 8:07 AM, David Avendasora wrote:
>>
>>> Hi all,
>>>
>>> On my the D2W query page for one of my entities, I have several popups for searching on toOne relationships. There's a few whose possible values are dependent upon the values selected for other relationship popups.
>>>
>>> Is there a D2W-way to have the dependent popups update when the depended-upon popups change?
>>>
>>> If not, is it best to just create a custom query page in this instance?
>>>
>>> Dave
>>
>> I have a Ajax dependent popups example here:
>>
>> https://r2d2w.svn.sourceforge.net/svnroot/r2d2w/trunk/ERR2d2w/Support/AjaxLook.zip
>>
>> Using those components, you can add dependent popups without touching page templates at all.  The example uses an edit page instead of a query page, but the principal is the same.
>>
>> Ramsey
>>
>> _______________________________________________
>> 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

 _______________________________________________
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

References: 
 >D2W Query Pages w/ Ajax (From: David Avendasora <email@hidden>)
 >Re: D2W Query Pages w/ Ajax (From: Ramsey Lee Gurley <email@hidden>)
 >Re: D2W Query Pages w/ Ajax (From: Anjo Krank <email@hidden>)

  • Prev by Date: Re: D2W Query Pages w/ Ajax
  • Next by Date: Re: [Wonder-disc] new wolips and wonder --
  • Previous by thread: Re: D2W Query Pages w/ Ajax
  • Next by thread: Memory control
  • Index(es):
    • Date
    • Thread