Overview
Features
Download
Documentation
Community
Add-Ons & Services

Option binding is spotty or just doesn't work?

Please post support and help requests here.

Option binding is spotty or just doesn't work?

Postby photex » 13 Jul 2012, 02:26

Hi folks,

I need to understand what the hard and fast rules are to reliably using the .binding method of an option. I haven't changed any part of the app that deals with options or the app config (I'm using Poco::Util::ServerApplication), and then out of nowhere (afaics) none of my command line options were being propagated to the config. It's baffling and frustrating to say the least. Any ideas what could have happened?

Cheers,
Chip
photex
 
Posts: 2
Joined: 30 Apr 2012, 00:59

Re: Option binding is spotty or just doesn't work?

Postby photex » 13 Jul 2012, 03:01

*sigh* ok, no sooner asked than worked out. :)

What happened was that I *did* change something in the options processing but just forgot (it's been a couple of weeks since I've been working on this application). I renamed an option callback to "handleOption" which stuffed the parent implementation, hence nothing was being handled automatically at that point.
photex
 
Posts: 2
Joined: 30 Apr 2012, 00:59


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests