[Bond-users] Latest SVN Bond 4; My xml won't load anymore.

Colin Close itchka at sky.com
Sat Sep 19 17:54:52 EDT 2009


Hi All,

My apps init window won't load any more is there a bug or has something 
changed.

Any help appreciated.
Best,

Colin Close

Here's the error message:_ 
Error: uigtk/parse.c: 246: uixml_parsewidget_attribute(): Attempting to set 
the default focus on an invalid widget type: GtkWindow/window name: svp_init
#### This is a bug in bond, please report it, or correct the DTD
uigtk/parse.c:247 Abort - Error with application. Check your XML.

Here is the xml I'm trying to load.

<window  name="svp_init" title="init" visible="true" defaultfocus="true">
	<dbobject name="svp_init">
		<sql>
			UPDATE ctlflgs SET (insflag, stdflag, vduflag, manflag, grpflag, chgflag)
						= ('t', 'f', 'f', 't', 'f', 'f');
			SELECT svp_now('<config>first_meet</config>',
			'<config>meet_prds</config>',
			'')
		</sql>
		<trigger event="notify"  notify_type="local" value="init_done" 
abortonfailure="false">
			 <api call="close">
				 <widget>svp_init</widget>
			 </api>
		 </trigger>

	</dbobject>
		<vbox>
			<cell>
				<entry name="cdate">
					<sql updatecontainer="true">
						SELECT current_date;

					</sql>
				</entry>
			</cell>
			<cell>
				<entry>
					<sql>
						LISTEN init_date;
						NOTIFY init_date;

					</sql>
				</entry>
			</cell> 
		</vbox>
</window>

Typical value for the config variables are:--

first_meet = 2007-01-04
meet_prds = 26



More information about the Bond-users mailing list