ComboBox Actions

For questions and postings not covered by the other forums
M45HY
Posts: 63
Joined: Wed Jul 11, 2012 7:32 am
Location: Mansfield, Nottinghamshire, UK

ComboBox Actions

Postby M45HY » Fri Aug 24, 2012 5:47 am

Hi guys,

I'm a new developer when it comes to Jade. I've recently started to use Jade at my new workplace and I've come across a problem (which some of you may consider as being a simple and basic problem). I've created a web form that has a combo box containing a maximum of 6 dates. When a new/different date is selected, I want an action to take place where records that are related to that date are pulled from the database and shown to the user. I've done some of the coding for loading and saving the data but I just need help in setting off that action when the date is changed. On a combo box, there are methods, such as 'click', 'change' etc. and I have tried using them but I'm afraid that I may be doing something wrong as no action/method is triggered. Can anyone help?

Cheers.
Omash
"If you can't explain it simply, you don't understand it well enough." - Albert Einstein

murray
Posts: 144
Joined: Fri Aug 14, 2009 6:58 pm
Location: New Plymouth, New Zealand

Re: ComboBox Actions

Postby murray » Fri Aug 24, 2012 8:37 am

To enable those events in a Jade Web application you need to select them in the Application definition.
  • Browse -> Applications
  • select the application and choose "Change" from the context menu (Application -> Change)
  • Select the "Web Options" tab
  • Click the "Web Events" button
  • Select the events that you want enabled
For further details, see the Jade manual "WebApps.pdf" - the above details are in chapter 1.
Murray (N.Z.)


Return to “General Discussion”

Who is online

Users browsing this forum: Google [Bot] and 35 guests