I'm not 100% sure, but try changing div id ="quoteDiv" to <div jwcid="[EMAIL PROTECTED]"> ...
That way, builder.updateComponent wil update a tapestry component.. Peace, Josh On 9/8/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
Hello there! Does EventListener + ResponseBuilder supports all components? For instance, is it possible to update contents presented by a @Insert? I was trying a simple quote app and can't get it working: @EventListener(elements = "fetchQuotes", events="onmouseover") public void getQuotes(IRequestCycle cycle){ ResponseBuilder builder = cycle.getResponseBuilder(); setQuote(getQuotesFromDB()); builder.updateComponent("quoteDiv"); } <div id="fetchQuotes"><span jwcid="@Insert" value="ognl:now"/>Mouse over here to get more quotes...</div><br><br> <div id="quoteDiv"><span jwcid="[EMAIL PROTECTED]" value="ognl:quote"></span></div> What's the right way? Regards --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]