[S2] Template testing

2007-06-25 Thread Mark P Ashworth
Good Day, Is there a way to test how a tag like
will be processed by a custom theme. I would like to get all of the theme processing done during development instead of integration time with the actual pages. Regards, Mark P Ashworth http://www.connext.co.za -- View th

Validation DTD error 2.08

2007-06-25 Thread Zoran Avtarovski
I upgraded from 2.06 to 2.08 the other day expecting that such a minor version update would be seamless, but ... I get the following error on my validated forms: Freemarker Template Error Method public java.util.List org.apache.struts2.components.Form.getValidators(java.lang.String) threw an exce

Re: Implementing wizard like interface in struts

2007-06-25 Thread semaj
yes, Ian. I'm looking for solution on Struts 1.3.8 Ian Roughley wrote: > > My mistake, are you using s1 or s2? I was providing an s2 solution, but > on further inspection you may have been asking about s1. > > /Ian > > semaj wrote: > >>I didn't get the picture what you are trying to say...

Re: Implementing wizard like interface in struts

2007-06-25 Thread semaj
Hey Michael, Thank you for your reply. I would like to ask you one more question. Will it remove the form from the session if the user navigates to some other pages by clicking one of the menu items? Let's say the user is in sign up wizard, fills out first and second steps, but he changes his min

Struts2 xslt can't work under oc4j

2007-06-25 Thread chenshibing
Struts2 xslt can’t work under oc4j, and get the following exception: javax.xml.transform.TransformerException: XML-22101: (Fatal Error) DOMSource node as this type not supported. at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:883) at oracle.xml.jaxp.JX

Custom filter - Is this possible

2007-06-25 Thread tom tom
Hi, Can some one let us know, how to define a Custom filter which would do what the org.apache.struts2.dispatcher.FilterDispatcher does but in addition it checks a Cetain attribute (e.g. Window State) and shows nothing if a certain criteria is met. Is this something possible.? or How can I have p

Re: [S2] login action w/FORM authentication?

2007-06-25 Thread Jon Wilmoth
Well I've been able to prove it's possible with S1. I added a struts 1 action to log when it was called and forward to a s1 based login.jsp and changed the web.xml to /login.action. Is it possible that the architectural change to filters instead of servlets requires some sort of special conf

S2 - How do I ...

2007-06-25 Thread Ray Clough
How do I get the Struts properties from within my application. What I am looking for is to read the property "struts.custom.i18n.resources", which is defined in the 'struts.properties' file, so that I can get the ResourceBundle names. I guess that there is a Struts Properties object which can be

Re: Minimized Window State NOT working

2007-06-25 Thread tom tom
> "When a portlet is in MINIMIZED window state, the > portlet should only render > minimal output or no output at all." Ealier we were using struts-bridge for portlet development, there it was showing no output for the MINIMIZED window state, also I have seen lot of other portlet development str

Re: Preparable, Type conversion and parameter

2007-06-25 Thread Dave Newton
--- Mansour <[EMAIL PROTECTED]> wrote: > Like what. Please tell me a place where I can get > this resolved. :) You think I didn't look? I'm not really sure. This is pretty basic HTTP / HttpServletRequest stuff. (That was a clue... as was the exception.) If each key is mapped to a String array, t

Re: [S2] OptionTransferSelect in 2.0.8

2007-06-25 Thread Adam Ruggles
Something broke between 2.0.6 and 2.0.8 when posting collections. You will need to create a conversions properties file for your action. I've logged a bug but I haven't had any feed back on it yet. Felipe Rodrigues wrote: HI, I'm having a similar problem. My action only get's the really sele

BigInteger and BigDecimal Properties Issue

2007-06-25 Thread Mark Menard
I have an action with a property of type BigDecimal, that is initialized, so it has a value: Public class myAction { BigDecimal myBigDecimal = new BigDecimal ("1.1"); ... } I have a form with the following: The issue is if I blank out the value, myBigDecimal still retains the 1.1 value

Tiles exeption after upgrading from Struts 2.0.6 to 2.0.8

2007-06-25 Thread Roberto Nunnari
Hello everybody. I'm trying to upgrade my webapp from Struts 2.0.6 to 2.0.8 I'm using the Tiles-plugin and with the new version when I request a page it throws exeptions. The stacktrace is too long to be posted here but the exeptions start like this: 26-giu-2007 00:36:00 org.apache.tiles.jsp.co

Re: Preparable, Type conversion and parameter

2007-06-25 Thread Mansour
Dave Newton wrote: --- Mansour <[EMAIL PROTECTED]> wrote: I am trying to extract an int in the prepare method. I am not able to cast it. This is an example of what I am trying to do: Map parameters = ActionContext.getContext().getParameters(); Integer task_id = (Integer) paramet

Re: Implementing wizard like interface in struts

2007-06-25 Thread Michael Jouravlev
Try this: http://downloads.sourceforge.net/struts/dialogs-samples-2.0.war I am sorry the online demos are not working at this moment. When you start this demo app, select "New User Signup Wizard" link on that start page, then check out the wizard. Notice, that the URL does not change after you sub

Re: Preparable, Type conversion and parameter

2007-06-25 Thread Dave Newton
--- Mansour <[EMAIL PROTECTED]> wrote: > I am trying to extract an int in the prepare method. > I am not able to cast it. This is an example of what > I am trying to do: > > Map parameters = > ActionContext.getContext().getParameters(); > Integer task_id = (Integer) > parameters.get("task.id");

Preparable, Type conversion and parameter

2007-06-25 Thread Mansour
I am trying to extract an int in the prepare method. I am not able to cast it. This is an example of what I am trying to do: Map parameters = ActionContext.getContext().getParameters(); Integer task_id = (Integer) parameters.get("task.id"); I wanna try to avoid using Type conversion. This

Struts Layout

2007-06-25 Thread Prashant Desai
Is struts layout package present in struts 2 ? what was the latest version that it was supported in ? do they have layout examples for struts 2 ? if not, are they using jsf for layout in struts2 ? _ Make every IM count. Download Wind

Re: [S2] OptionTransferSelect in 2.0.8

2007-06-25 Thread Felipe Rodrigues
HI, I'm having a similar problem. My action only get's the really selected(Highlighted) values of doubleSelect. If I don't click in at least one, I get an null object in the list inside my action. did anything changed? Tahnks, Felipe Julien Leonard wrote: > > Hi all, > In 2.0.6, I used optio

Re: Implementing wizard like interface in struts

2007-06-25 Thread Ian Roughley
My mistake, are you using s1 or s2? I was providing an s2 solution, but on further inspection you may have been asking about s1. /Ian semaj wrote: I didn't get the picture what you are trying to say... Ian Roughley wrote: An interceptor, especially useful if the wizard is the only code i

Re: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Instance must not be null (Spring+Struts+Hibernate)

2007-06-25 Thread Laurie Harper
This is a Spring issue, not Struts. It looks like you have something missing or mis-configured in your String applicationContext.xml configuration file. Review that and, if you can't find the problem, ask on the Spring forums -- and make sure to include the relevant parts of your config file so

Re: Implementing wizard like interface in struts

2007-06-25 Thread semaj
I didn't get the picture what you are trying to say... Ian Roughley wrote: > > An interceptor, especially useful if the wizard is the only code in a > specific directory. > > /Ian > > semaj wrote: > >>It's been a week; have not found any solutions... any idea guys!! >> >>semaj wrote: >> >>

Re: Implementing wizard like interface in struts

2007-06-25 Thread Ian Roughley
An interceptor, especially useful if the wizard is the only code in a specific directory. /Ian semaj wrote: It's been a week; have not found any solutions... any idea guys!! semaj wrote: Hi there, May be someone has already solved this problem. I need to implement a wizard like page flo

Re: Implementing wizard like interface in struts

2007-06-25 Thread semaj
It's been a week; have not found any solutions... any idea guys!! semaj wrote: > > Hi there, > > May be someone has already solved this problem. I need to implement a > wizard like page flow in my strut web application. > > This is what I've done: > 1. Created one big action form and put it in

struts.configuration.classpath.defaultPagePrefix not working?

2007-06-25 Thread Michael Fink
Hi! I've tried to add struts.configuration.classpath.defaultPagePrefix in my struts.properties. But it didn't change anything. I tried this because I want to move my jsp-Pages into a special folder which is protected by Tomcat to prevent any direct access to my jsp-Files. I tried: struts.configur

RE: Struts 2 and using frames

2007-06-25 Thread Session Mwamufiya
This was great help Wes, thanks a million. Session A. Mwamufiya Carnegie Mellon University MBA | Tepper School of Business MSE (software eng.) | School of Computer Science T: (412) 508-5455 | [EMAIL PROTECTED] -Original Message- From: Wesley Wannemacher [mailto:[EMAIL PROTECTED] Sent: Mo

RE: Struts 2 and using frames

2007-06-25 Thread Wesley Wannemacher
I'm going to guess that your web-app is not called '/pages' and that URL is relative to your context root. Here is how this page should probably look - <%@ taglib prefix="s" uri="/struts-tags" %> Zen Server Main View " name="Options" noresize> " name="Display" no

Re: Subclass LookupDispatchAction

2007-06-25 Thread Niall Pemberton
On 6/25/07, Xavier Vanderstukken <[EMAIL PROTECTED]> wrote: Good morning, I need to subclass the LookupDispatchAction to write a "BaseLookupDispatchAction" to centralize the UserRole check of my application (etc.). I try the following piece of code : public abstract class BaseLookupAction exte

Re: [S2] login action w/FORM authentication?

2007-06-25 Thread Ian Roughley
yes - it is definitely possible. The thing to remember is that if you are using struts2 tags (which I'm pretty sure you are), you need to redirect through an action first so the value stack is available to the tag. /Ian Jon Wilmoth wrote: To add a little more context...The login action load

Struts 2 and using frames

2007-06-25 Thread Session A Mwamufiya
Hello, Has anyone experienced using HTML frames with a struts 2 app? I'm trying to do just that, but my result page after a successful login doesn't find the pages for the frames. Here's the result page code: <%@ taglib prefix="s" uri="/struts-tags" %> Zen Server Main View

Subclass LookupDispatchAction

2007-06-25 Thread Xavier Vanderstukken
Good morning, I need to subclass the LookupDispatchAction to write a "BaseLookupDispatchAction" to centralize the UserRole check of my application (etc.). I try the following piece of code : public abstract class BaseLookupAction extends LookupDispatchAction { public ActionForward exec

Re: [S2] login action w/FORM authentication?

2007-06-25 Thread Jon Wilmoth
To add a little more context...The login action loads the login.jsp just fine when called directly, but doesn't work when invoked by the servlet container. Instead I see the following in the Tomcat log: Jun-25-2007 10:31:30:865 AM, PDT [DEBUG] (org.apache.catalina.authenticator.FormAuthenticat

Re: when did Struts become a top-level Apache project?

2007-06-25 Thread Dave Newton
--- Bill Johnson <[EMAIL PROTECTED]> wrote: > When (month/year) did 0.92 of WebWork get released > by Rickard Oberg? > > When (month/2003) did the WebWork 2.0 roadmap that > proposed to break out xwork into it's own project > get created? I know it was in 2003, but need to get a > specific month.

Re: when did Struts become a top-level Apache project?

2007-06-25 Thread Bill Johnson
Thanks a bunch. I realized after I posted it that I hadn't checked Google first. What I found on Google is confirmed by what you posted. Perfect. I am having trouble finding 2 more dates that I need. Perhaps someone out there knows the answer. When (month/year) did 0.92 of WebWork get released by

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

2007-06-25 Thread Martin Gainty
(Tomcat specific) LambdaProbe http://www.lambdaprobe.org/d/index.htm A number of Memory Profiler Utilities available here http://www.java-source.net/open-source/profilers HTH M- This email message and any files transmitted with it contain confidential information intended only for the person(s)

Re: when did Struts become a top-level Apache project?

2007-06-25 Thread Haroon Rafique
On Today at 9:46am, BJ=>Bill Johnson <[EMAIL PROTECTED]> wrote: BJ> I was wondering if anyone knows when Struts became a top-level Apache BJ> project instead of being simply a Jakarta project subproject. I'm BJ> looking for the month and year this happened. Management wants to BJ> know. Long st

Re: AutoCompleter doesn't keeps value.

2007-06-25 Thread Musachy Barroso
Oh, ok, I thought that was the generated html :) musachy On 6/25/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: Yes. But I'm using dataURL, because I could not deal if autoLayout of ajax componentes, so I'm using the dojo code direct, as you can see in this code: dataURL <=> href and ini

Re: when did Struts become a top-level Apache project?

2007-06-25 Thread Wendy Smoak
On 6/25/07, Bill Johnson <[EMAIL PROTECTED]> wrote: I was wondering if anyone knows when Struts became a top-level Apache project instead of being simply a Jakarta project subproject. I'm looking for the month and year this happened. Management wants to know. Long story. Looks like the proposal

Re: AutoCompleter doesn't keeps value.

2007-06-25 Thread Felipe Rodrigues
Yes. But I'm using dataURL, because I could not deal if autoLayout of ajax componentes, so I'm using the dojo code direct, as you can see in this code: dataURL <=> href and initialValue <=> nameValue Regards, Felipe Musachy Barroso wrote: > > Are you using the href attribute to load the

when did Struts become a top-level Apache project?

2007-06-25 Thread Bill Johnson
I was wondering if anyone knows when Struts became a top-level Apache project instead of being simply a Jakarta project subproject. I'm looking for the month and year this happened. Management wants to know. Long story. -Bill ___

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

2007-06-25 Thread Ing. Andrea Vettori
I'll now try to profile the production server for a longer time and keep you informed. Unfortunately the garbage is still produced. But I can't profile the production server because the profiler crashes! Can anyone suggest a product to get the complete allocation object list ? Maybe

Re: AutoCompleter doesn't keeps value.

2007-06-25 Thread Felipe Rodrigues
Found it... Looking at Dojo attributes I found initialValue attribute. My bad guys, Thanks anyway. Felipe Felipe Rodrigues wrote: > > Doesn't work even if I set value with "value" or "key" attribute. > So weird. > > Any other suggestion? > > > []'s > > Felipe > > > Felipe Rodrigues wr

Re: AutoCompleter doesn't keeps value.

2007-06-25 Thread Musachy Barroso
Are you using the href attribute to load the values using AJAX? musachy On 6/25/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: Doesn't work even if I set value with "value" or "key" attribute. So weird. Any other suggestion? []'s Felipe Felipe Rodrigues wrote: > > No, > > Using keyName

Re: AutoCompleter doesn't keeps value.

2007-06-25 Thread Felipe Rodrigues
Doesn't work even if I set value with "value" or "key" attribute. So weird. Any other suggestion? []'s Felipe Felipe Rodrigues wrote: > > No, > > Using keyName. I'll confirm, but I think I've already tried use value. > > > > > Musachy Barroso wrote: >> >> Are you setting the value wit

Re: AutoCompleter doesn't keeps value.

2007-06-25 Thread Felipe Rodrigues
No, Using keyName. I'll confirm, but I think I've already tried use value. Musachy Barroso wrote: > > Are you setting the value with the "value" attribute? > > musachy > > On 6/25/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: >> >> >> Hi Guys, >> >> This time I'm trying to make a autocom

Re: AutoCompleter doesn't keeps value.

2007-06-25 Thread Musachy Barroso
Are you setting the value with the "value" attribute? musachy On 6/25/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: Hi Guys, This time I'm trying to make a autocompleter component keep its value when its property comes populated from action. If I type some value and choose that, this va

Re: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Instance must not be null (Spring+Struts+Hibernate)

2007-06-25 Thread GEDA
Anybody ? -- View this message in context: http://www.nabble.com/Invocation-of-init-method-failed--nested-exception-is-java.lang.IllegalArgumentException%3A-Instance-must-not-be-null-%28Spring%2BStruts%2BHibernate%29-tf3975798.html#a11290271 Sent from the Struts - User mailing list archive at Na

AutoCompleter doesn't keeps value.

2007-06-25 Thread Felipe Rodrigues
Hi Guys, This time I'm trying to make a autocompleter component keep its value when its property comes populated from action. If I type some value and choose that, this value is getting into the action, but if I have this value from the action, when loading the jsp page, then autocompleter doe

Re: Parameter interception

2007-06-25 Thread stanlick
Alright! Now we are getting somewhere. Do you know what the code would look like to get the id off the action? Scott On 6/25/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- [EMAIL PROTECTED] wrote: > > If you've implemented ModelDriven and it's returning the payrollUpdate, then this would

Re: display table

2007-06-25 Thread Zarar Siddiqi
This is more a displaytag question than a Struts one really but make sure you have the IText jar in your classpath and that you've setup your displaytag filter correctly (which should be the case since your other exports are working) Zarar abhi_kaul wrote: > > Hi! > I am using display table

Re: Parameter interception

2007-06-25 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > > If you've implemented ModelDriven and it's returning the payrollUpdate, then this would be expected behavior: ModelDriven puts the model on the stack so its properties are available w/o prefixing. d. ___

Re: [S2] Cannot make XML Validation work for aliased action mapping

2007-06-25 Thread Birkan_Duman
I found out the problem. I missed the note at the documentation about validation interceptor . For those who may have the problem at past or in future, Note that this has nothing to do with the com.opensymphony.xwork2.Validateable interface and simply adds error messages to the action. The workf

Re: Parameter interception

2007-06-25 Thread stanlick
I have a PayrollAction class that extends BaseAction which has an id field. PayrollAction also contains a bean that contains an id field. The id fields are the Hibernate PKs. My BaseAction extends ActionSupport implements SessionAware, ModelDriven, Preparable. I have carefully observed the foll

Re: [S2] Cannot make XML Validation work for aliased action mapping

2007-06-25 Thread Birkan_Duman
Hi Dave, Thank you very much for your help, You're right, obviously my fault. I renamed the validation file to Stockin-Stockin_retrieveInvoice-validation.xml and it works now. Unfortunately, I have a new issue, I have another validation.xml that started to work now with the same correction

Re: email within action

2007-06-25 Thread Oguz Kologlu
Depends on what you want to do really. As Guru points out you can use Web Services though that can grow unwieldy. For something light and pretty straightforward you may just want to use JSON (javascript object notation) or Xml HttpRequests. Have a look at the showcase project in S2 on how t

RE: email within action

2007-06-25 Thread Raghupathy, Gurumoorthy
Nope that is not possible with JMS ... you may wish to use web services have a look at axis2 from apache RMI / WEBSERVICES are synchronous while JMS is not Regards Guru -Original Message- From: Chris Pat [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 14:30 To: Struts

Re: email within action

2007-06-25 Thread Chris Pat
Hi Thank you. This was quite enlightening and gets me in the correct direction. Being a newbie, I am unabashed to ask another associated question. Can one use JMS as a replacement for RMI? I am looking for a very lightweight api to just allow a client to call an objects method on the server

Re: [OT] Serious memory leak

2007-06-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Balazs, Balazs Michnay wrote: > Somewhere I read that the GC can only collect objects that were > instantiated with the "new" keyword. That's an odd way of putting it. The garbage collector only works with the heap. Since in Java nearly everything i

Re: email within action

2007-06-25 Thread Oguz Kologlu
On 25/06/2007, at 10:33 PM, Chris Pat wrote: Hello How can I send the email asynchronously? My timeframe is the lifecycle of the action and my browser session. Well you will probably not be doing the emailing async but rather firing off an async request to send an email ( eg send "hello wor

[S2] OptionTransferSelect in 2.0.8

2007-06-25 Thread Julien Leonard
Hi all, In 2.0.6, I used optiontransfertselect with Long params like this : allowUpDownOnRight="false"> in my action I have this : private List selectedCountries = new LinkedList(); public List getSelectedCountries() { return selectedCountries; } public void setSelectedCou

Re: [S2] Cannot make XML Validation work for aliased action mapping

2007-06-25 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > Hi, > > I'm using > > struts-core-2.0.8 j4 distribution, > struts2-spring-plugin-j4-2.0.6, > and corresponding j4 distribution jars, > > > I have an action with several methods. I use each > method as an action mapping and I want > to use differ

[S2] Cannot make XML Validation work for aliased action mapping

2007-06-25 Thread Birkan_Duman
Hi, I'm using struts-core-2.0.8 j4 distribution, struts2-spring-plugin-j4-2.0.6, and corresponding j4 distribution jars, I have an action with several methods. I use each method as an action mapping and I want to use different validation.xml files for each action mapping. In

Re: email within action

2007-06-25 Thread Chris Pat
Hello How can I send the email asynchronously? My timeframe is the lifecycle of the action and my browser session.Can I really get a mail session and send from within an action? Doesnt that assume I am threading the process? When would this breakdown? At 100/hr or 1000/hr? Thank you. Og

Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Instance must not be null (Spring+Struts+Hibernate)

2007-06-25 Thread GEDA
Hi guys. I cannot understand this problem and its driving me crazy. Can you please take a look at the errors stack ? Thank you very much : SEVERE: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.

Re: email within action

2007-06-25 Thread Oguz Kologlu
yes, The main issue will response times if you a send emails synchronously ( if you can you send async). Async will definitely scale better since the client isn't blocking a thread for nothing. Simultaneous clients should be no problem as long as you follow the same threading rules as every

RE: email within action

2007-06-25 Thread Raghupathy, Gurumoorthy
Sending email involves a lot of processing If I was you then I would rather use JMS to send emails (so that you can send email asynchronously)... Your action send a message to a JMS server to send email with details and then that's it... The MDB bean will scan the queue and then send the

email within action

2007-06-25 Thread Chris Pat
Hello Is it possible to send an email within an action? How/What are the issues? Is this scalable? How does it play with the framework and multiple simultaneous clients? Any insight would be appreciated.

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

2007-06-25 Thread Ing. Andrea Vettori
Ok I changed the jboss configuration. I think it would be helpful to put an advice on the performance page of struts. If using jboss you should limit the debug string production with on log4j.xml org.apache is already present in the default

How come paramsPrepareParamsStack isn't the default stack?

2007-06-25 Thread David Harland
It seems to me that for the majority or senarios you would want paramsPrepareParamsStack to be the default stack. One thing we have noticed with this as our default and devMode turned on is that we get errors with pages with checkboxs because the checkbox interceptor is being called after the param

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

2007-06-25 Thread Ing. Andrea Vettori
Il giorno 25/giu/07, alle ore 11:21, Al Sutton ha scritto: First thing I'd suggest; Turn off debug mode! It seems a chunk of the Gced objects are coming from preparing strings for log statements which are only activated when debug mode is on (for example; Com.opensymphony.xwork2.util.In

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

2007-06-25 Thread Al Sutton
First thing I'd suggest; Turn off debug mode! It seems a chunk of the Gced objects are coming from preparing strings for log statements which are only activated when debug mode is on (for example; Com.opensymphony.xwork2.util.InstantiatingNullHandler.nullPropertyValue(Map, Object, Object) accou

Re: [S2] How to integrate JSF with struts 2?

2007-06-25 Thread Don Brown
How the JSF integration works is we decompose the JSF Lifecycle object into its phases and store each in a Struts 2 Interceptor. Therefore, the request enters the Struts 2 FilterDispatcher like normal, then if the action mapping includes the JSF interceptors (like it does in your example by inclu

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

2007-06-25 Thread Ing. Andrea Vettori
Il giorno 25/giu/07, alle ore 09:50, Al Sutton ha scritto: Your trace is at too higher level. Can you put a fully expanded copy of your trace that goes down to the leaf methods. Done. It's on traceall.html. I expanded only the two most garbage producing top call. Thank you -- Ing. Andr

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

2007-06-25 Thread Al Sutton
Your trace is at too higher level. Can you put a fully expanded copy of your trace that goes down to the leaf methods. At the moment your trace just shows that somewhere in the call stack under some collection of conditions which are unknown to us the method and all it's calls are generating lots

Re: Making Fields editable depending on role

2007-06-25 Thread Pierre Goupil
Thanks a lot ! -- "Mon horizon était désormais les pétales courbés, Ma nouvelle demeure resplendissait de flèches d'herbes folles Et d'oreillers de pollens odorants." (Naïmah, le philosophe Fémereif)

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

2007-06-25 Thread Ing. Andrea Vettori
It's because the complete link ends with trace1.html The email program truncated the link into two lines... Thank you! Il giorno 25/giu/07, alle ore 09:42, Al Sutton ha scritto: Just went to look at the full trace and got a; Forbidden You don't have permission to access /trace/ on this serve

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

2007-06-25 Thread Al Sutton
Just went to look at the full trace and got a; Forbidden You don't have permission to access /trace/ on this server. -Original Message- From: Ing. Andrea Vettori [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 08:34 To: Struts Users Mailing List Subject: Re: [S2] App generate lot (2GB) o

ActionDispatcher + Wildcards Problem

2007-06-25 Thread jope
Hi, the following situation: I'm using DispatchActions and in my struts-config.xml wildcards for the method-parameter. I also have removed the .do from the URL (changed in the web.xml), so that I can call an action method like this: /Foo/bar and it calls the bar-method from the FooDisp

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

2007-06-25 Thread Ing. Andrea Vettori
Hi, I've run a profile with yourkit (nice!) on my development platform. Here is the most important evidence. I've opened three product listings and a couple of product sheet in my site. Total garbage collected : 234 MB. Of these 234 MB, 64 are produced by org.jboss.remoting.transport.sock

Re: Making Fields editable depending on role

2007-06-25 Thread Angelo zerr
Hi, by default FormView doesn't manage a href. But you can configure it with displayer-config http://formview.sourceforge.net/developer-guide.html#How customize FormView DisplayerConfig (you can manage it like div) in your href you set id ...

Re: [OT] Serious memory leak

2007-06-25 Thread Balazs Michnay
I was wondering about one more thing... Somewhere I read that the GC can only collect objects that were instantiated with the "new" keyword. Does it mean the the following two String creations differ when it comes to garbage collection? 1) String myString = "This is my string"; 2) String myStrin