• 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: Passing values between elements
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing values between elements


  • Subject: Re: Passing values between elements
  • From: Wolfram Stebel <email@hidden>
  • Date: Wed, 29 Mar 2006 14:45:12 +0200
  • Thread-topic: Passing values between elements

Am 29.03.2006 14:16 Uhr schrieb "Siegfried Makedanz" unter
<email@hidden>:

Besides all the good tips you already have:
You might have a "onchange" handler on the first WOPopUpButton doing a
"javascript:form.submit()", then updating the second listbox in the RR-loop
depending on the selected value of the first WOPopUpButton.

This is low-tech, not high-tech like AJAX etc. :-) and absolutely easy...


Wolfram
> Paul, thanks for the quick response, but my level of WO knowledge does
> not fit yours. My dynamic elements are both on the same page. What do
> you mean by page level component?
>
> Thanks,
> Siegfried
>
> Paul Lynch wrote:
>>
>> On 29 Mar 2006, at 12:46, Siegfried Makedanz wrote:
>>
>>> I have two dynamic elements (WOPopUpButton) named Locations and
>>> Buildings. Now I would like to set the list binding in the Buildings
>>> array based on the selection in Locations. Probably an easy one, but
>>> as a sporadic WO user I have no clue yet.
>>
>> Set an instance variable in the page level component from one list,
>> use it to create the list for the other, possibly with a a method that
>> fetches the values.  You may want to mess with some javascript or css
>> depending on how you want your page to behave (if so, it's not really
>> a WebObjects question).
>>
>> The reason we do it this way is to maintain separation between
>> controller and view layers in MVC.
>>
>> Paul
>>


 _______________________________________________
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: 
 >Re: Passing values between elements (From: Siegfried Makedanz <email@hidden>)

  • Prev by Date: Re: Pop Up windows in WebObjects - can i do it
  • Next by Date: Re: Passing values between elements
  • Previous by thread: Re: Passing values between elements
  • Next by thread: Re: Passing values between elements
  • Index(es):
    • Date
    • Thread