Please post in the users mailing list.

On Wed, 22 Aug 2012 12:20:44 -0300, yaswanthbs <[email protected]> wrote:

Hi,
I am writing the below code
<form t:type="form" >
        <select t:id="addressChange" id="addressChange"
style="width:195px;"></select>
        <t:if t:test="showCategoryFilter">
                 # hello
        </t:if>
        
      </form>

and in java

@Property
        List<String> orderList;
        
        @Property
        private boolean showCategoryFilter;
        
        @Component(id = "addressChange", parameters = {
"model=orderList","blankOption=NEVER", "value=NULL" })
        private Select _addressChange;
        
        @SetupRender
        void setuprender() {
                orderList = new ArrayList<String>();
                orderList.add("one");
                orderList.add("two");
                orderList.add("three");
        }
        
        public void onValueChangedFromAddressChange() {
                System.out.println("came here");
                showCategoryFilter = false;
        }

when I am changing the value in dropdown box,
onValueChangedFromAddressChange is not invoking. Please help me regarding
this example.



--
View this message in context: http://tapestry.1045711.n5.nabble.com/onValueChangedFromAddressChange-not-working-tp5715718.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to