Hi fellas, Im trying to make use of the component [update a zone on any
client side event] available at the following blog:  

http://tinybits.blogspot.com/

The code for zoneupdater.java and zoneupdater.js can be found there.  

the tml and java code for usage can be found below:

--------------------------------------------
<form t:type = "form" t:id = "form">

    <input type = "text" t:type = "textField" value = "valuee" t:mixins =
"zoneUpdater" zone = "searchResultZone" event = "performSearch" clientEvent
= "onkeyup" t:id = "tf"/>

</form>

<t:block t:id = "tfblock">
        ${valuee}
    </t:block>
<t:zone t:id = "searchResultZone">
   <t:delegate to = "tfblock"/>  
</t:zone>

--------------------------------------------

@Property
private String valuee;

@Inject
@Property
private Block tfblock;

public Block onPerformSearch(String value) {
         return tfblock;
}

------------------------------------------

when entering text in the textfield nothing happens - the zone doesnt get
updated.  Anyone have any suggestions - I am returning the block in the
listener but nothing is updated.

Appreciate any help.

Thanks

..kace

-- 
View this message in context: 
http://www.nabble.com/Zone-update-on-any-client-side-event-tp23635425p23635425.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to