Re: WOPupUpButton Question

Jeff Dunnett <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
David,

Well you are both right in a bit.

On 6-Jul-06, at 5:35 PM, David LeBer wrote:

>
> On 6-Jul-06, at 5:14 PM, Joshua Marker wrote:
>
>> I think he wanted an update without submission, or automatic  
>> submission. (I could be mistaken.)
>>
>> You could use javascript to submit the form onSelect.
>
> Ah crivens!
>
> You are probably correct Joshua. Jeff if that is the case, please  
> disregard everything I said. :-)

Maybe some background explaining the purpose of this application will  
help make things clearer.  The purpose of the application is to allow  
people to register for things like Conference or University Class  
reunions.  Each conference/reunion can have any number of time slots  
for session.  There is a component that allows the registrant to book  
what session they wish to attend at each time slot.  The problem I am  
having is that I want the application to display the session  
information they select for a time slot.

What I want it to do is when a item in the WOPopUpButton is selected  
is that the Object they selected is added to a separate list of some  
kind  (such as an NSArray) and then the information in the object is  
updated on the screen.  I don't necessarily want to submit the form.

For example say one of the events the user can registered is for a  
Blue Jay's Baseball game.  They select the baseball game from the  
menu.  The baseball game is added to an NSArray called  
eventsRegisteredFor (or something along those lines).   The the  
information for that game such as the date of the game, the cost for  
attendance and the team their play would appear on the screen.

I am very sorry if I wasn't clear with my first email.  Thanks David  
and Joshua for your assistance.

Regards,
Jeff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.