Try:

change="timeRange.STARTTIME=event.target.selectedItem.data"


--- In [email protected], "djbrown_rotonews"
<[EMAIL PROTECTED]> wrote:
>
> In the snippet I've included below, {hours.hour} is just a
reference
> to some static XML that contains 24 strings (one for each hour),
> with the value I want associated with each (ie, 23:00 etc...)
>
> timeRange is a model that contains the current endTime (another
> ComboBox, in the same nature as startTime) and startTime combo box
> selections that get passed as arguments to a jsp call. How would I
> modify my cbStartTime definition to enable the
> timeRange.STARTTIME=cbSTartTime.selectedItem.data (it's a compile-
> time syntax error if left as is when using a Repeater)
>
> when using a Repeater?
>
> --- In [email protected], "Tim Hoff" <TimHoff@> wrote:
> >
> > Each control (Repeater, comboBox) needs to utilyze binding.  If
> you
> > use an arrayCollection as the dataProvider for all your
controls,
> > you can easily manipulate and bind the data that resides in the
> > model (preferably modelLocator).
> >
> > TH
> >
> > --- In [email protected], "djbrown_rotonews"
> > <djbrown_rotonews@> wrote:
> > >
> > > I've got the following GUI component that updates a value
inside
> > an
> > > mx:Model I've defined:
> > >
> > > <mx:ComboBox x="625" y="0" id="cbStartTime"  rowCount="10"
> > > dataProvider="{hours.hour}"
> > > change="timeRange.STARTTIME=cbStartTime.selectedItem.data"/>
> > >
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to