source: branches/blt4_trunk/examples/zoo/multichoice/multichoice.tcl @ 6414

Last change on this file since 6414 was 6414, checked in by ldelgass, 8 years ago

merge from trunk

File size: 897 bytes
Line 
1# ----------------------------------------------------------------------
2#  EXAMPLE: Rappture <multichoice> elements
3# ======================================================================
4#  AUTHOR:  Michael McLennan, Purdue University
5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
6#
7#  See the file "license.terms" for information on usage and
8#  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
9# ======================================================================
10package require Rappture
11
12# open the XML file containing the run parameters
13set driver [Rappture::library [lindex $argv 0]]
14
15$driver put output.multichoice(outs).about.label "Echo of multichoice"
16set multichoice [$driver get input.multichoice(countries).current]
17$driver put output.multichoice(outs).current $multichoice
18
19# save the updated XML describing the run...
20Rappture::result $driver
21exit 0
Note: See TracBrowser for help on using the repository browser.