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]

Reply via email to