Get selecteditem data changing datebox

asked 2013-04-19 15:53:27 +0800

airton gravatar image airton
78 1
<listbox id="listboxFoo" model="@{win$composer.foo}" selectedItem="@{win$composer.selectedFoo}" nonselectableTags="">

        <listheader label="Description" />
        <listheader label="When" />
        <listheader label="Teste" />
    <listitem self="@{each='evCal'}" value="@{evCal}">
        <listcell label="@{evCal.descr}"/>
            <datebox value="@{evCal.when}" forward="onChange=onWhen()"/>
            <button label="Test" forward="onClick=onWhen()"/>

On this listbox if I click on the button I get the data of the selected item and use it on the method onWhen in the Controller class. But if I change the date I can't get them. In this case I need to select the item before...

How to get all the data of selected item only changing the date?

I wouldn't like to use inplace cause the visual of the component is more intuitive.

Thanks a lot.

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2013-04-19 15:53:27 +0800

Seen: 21 times

Last updated: Apr 19 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More