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      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/anjo%40krank.net
> 
> This email sent to a...@krank.net

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to