Re: [S2] App generate lot (2GB) of garbage!

2007-06-23 Thread Ing. Andrea Vettori
There are three pages of issues on freemarker... I'll take a look at them and see if it's already present. Thank you Il giorno 22/giu/07, alle ore 19:17, Antonio Petrelli ha scritto: Andrea, please create a JIRA issue for this, and join the discussion at the Struts Developers list too, if

Re: [S2] App generate lot (2GB) of garbage!

2007-06-23 Thread Ing. Andrea Vettori
Il giorno 22/giu/07, alle ore 19:20, Musachy Barroso ha scritto: Yes, freemarker is used by Struts 2 tags to generate html. We could have a property for the cache setting, but, does it solve your problem? (you said it was partially resolved) Most of the garbage is still there but at

Re: [S2] App generate lot (2GB) of garbage!

2007-06-23 Thread Musachy Barroso
Struts 2 uses freemarker to generate the html for the tags, for example for the form tag this template is used: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/simple/form.ftl?view=markup I was playing with jrockit also and trying to replicate the problem, but

Re: [S2] App generate lot (2GB) of garbage!

2007-06-23 Thread Ing. Andrea Vettori
Il giorno 23/giu/07, alle ore 09:19, Musachy Barroso ha scritto: Struts 2 uses freemarker to generate the html for the tags, for example for the form tag this template is used: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/ resources/template/simple/form.ftl?view=markup

Re: [S2] App generate lot (2GB) of garbage!

2007-06-23 Thread Guillaume Carré
2007/6/23, Ing. Andrea Vettori [EMAIL PROTECTED]: So struts asks freemarker to generate the html for the struts tag. Freemarker looks at the template and outputs the html based on it. Freemarker is caching the template in memory to not have to read them from the disk every time. freemarker

Re: [S2] App generate lot (2GB) of garbage!

2007-06-23 Thread Ing. Andrea Vettori
yes the templates are into WEB-INFO/templates Il giorno 23/giu/07, alle ore 11:28, Guillaume Carré ha scritto: 2007/6/23, Ing. Andrea Vettori [EMAIL PROTECTED]: So struts asks freemarker to generate the html for the struts tag. Freemarker looks at the template and outputs the html based on

S2: updownselect

2007-06-23 Thread Scott Nesbitt
I am using the updownselect tag and things are almost working perfectly. Once I switched to a s:form it sends the sorted list to the server, but the select gets refreshed on the screen and scrolled to the bottom despite the fact that it is not in a refreshing div. Has anybody else run into

Re: Hibernate and S2

2007-06-23 Thread Mansour
Jeromy Evans wrote: Mansour wrote: An alternative approach is that you don't allow persistent entities to be modified within your actions whatsoever and all updates are applied behind a service layer that performs reattachment and updates. How do I do this (reattachment and updates)?

Re: Nested Struts

2007-06-23 Thread Asaf Paris Mandoki
I've already got the action tag working but what I really need is to call an action from inside an action class. What I'm trying to do is a web application that aggregates a set sub-applications. My plan is that the main application will process the HttpServletRequest which can contain requests

extending a template

2007-06-23 Thread Mansour
Hello every one: I couldn't find an answer to this simple question on struts doc site. I need to modify the template for the submit button and remove the tr tag surrounding it in ajax theme. I extracted submit.ftl from struts jar (I am using 2.0.6). Did the modification I need, and now can not

autocompleter help

2007-06-23 Thread Pedro Herrera
Hi, In the struts-showcase is showed an example of autocomplete. http://www.planetstruts.org/struts2-showcase/viewSource.action?page=/ajax/autocompleter/index.jsp When the user changes the first combo(color or fruits) , the second combo is changed (apple, banana,ect) too. I need an example

Submitting a form with ajax submit inside the form

2007-06-23 Thread Mansour
From the documentation http://struts.apache.org/2.0.8/docs/ajax-tags.html#AjaxTags-submitTag If the submit button is used inside a form (href is not required on this case), the form will be submitted asynchronously: This is note true. It can never submit from inside a form. This will never