Re: Ajax, WW and Velocity
Konstantin Pribluda <[email protected]> Mon, 11 Dec 2006 03:22:57 CST
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <23113338.1165829008171.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
> I am not using a div tag . I am using a select tag. > That works fine , I mean the first select is auto > populated whn the page loads. I select a value from > the first drop-down , which then populates the second > drop-down based on this value , using ajax ( > xmlhttprequest object sending request to server n the > rest...) . Now when I select a value in this second > drop-down , what I need is it populate the velocity > place holders in the same page. I am not sending the > response to a different velocity template. For some > reason, that doesnt work. I call the setter methods > for the functions, however the change in values is > not reflected in the template. How do I get it to > parse the template again when I change the value in > the drop-down?? You can achieve this only by loading page from server again. Your browser does not have velocity embedded into your java script ;) I utilize just special actions producing rudimentyra html to be included into div sections - velocity template is being merged n server. --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=52867&messageID=106596#106596 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]