Hi all, Its is possible to use ajax tags into a freemarker page? It's not working for me..
The same code works fine in a jsp result type... (with "<s:url" sintax..) <@s.head theme="ajax" debug="true" /> ... <@s.url id="ajaxMenu" value="getTreeMenu.action?decorate=false" /> <@s.div theme="ajax" href="${ajaxMenu}" > Initial Content </@s.div> Thanks in advance Luciano -----Mensagem original----- De: Musachy Barroso [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 9 de março de 2007 18:03 Para: Struts Users Mailing List Assunto: Re: Need more comprehensive AJAX Implementation Instructions There isn't any documentation about that, because no additional configuration is required. The ajax tags expect html (except the autcompleter who expects JSON). Actions used with the ajax tag are regular actions, unless they are going to be used with the autocompleter. regards musachy On 3/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Greetings -- > > Is there a document that explains the interaction and design expectations > when using AJAX/Dojo/S2? I have finally figured out how to make regions > of > a page load asyncronously, and If I look at the DOM, all the elements are > there. However the elements do not show up in the browser unless I move > my > DIV outside the FORM! Also, are there any instructions regarding how the > struts.xml ties into the mix? For instance, what should the <result ...> > look like in the config file? Right now my AjaxAction is simply > implementing the Action interface with an execute() and getZip() method. > getZip returns the Zip object that I hope to access via OGNL? I am > looking > for a pattern that describes how the parts relate. I'm looking for a > better > understanding of what the framework is expecting from me. and this link > didn't do it: http://struts.apache.org/2.x/docs/ajax.html > -- > Scott > [EMAIL PROTECTED] > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]