Form not found for locale en

2007-03-06 Thread MC Moisei
Hello, How do I get rid of the following anying message beside setting the logger to ERROR ? org.apache.commons.validator.ValidatorResources.getForm(ValidatorResources.java:448) - Form 'detailsForm' not found for locale 'en' Thanks, MC

Struts 2 - session scope ActionForm

2007-03-06 Thread Alex Wibowo
Hi all... I am still in the process of learning Struts 2. As I understand it, there is no way in Struts 2 to do something like session scope ActionForm in Struts 1. The only solution I can find is to use "ConversationScopeInterceptor" written here: https://issues.apache.org/struts/browse/WW-1514

Re: Struts-Faces + Tiles + Myfaces-Extensions

2007-03-06 Thread Aram Mkhitaryan
Hi, Look in thread *NullPointerException in TilesException using Tiles with Struts 2 *maybe you can find something useful there. I think you have the same problem with changes in tiles 2 Best, Aram Aram Mkhitaryan 52, 25 Lvovyan, Yerevan 375000, Armenia Mobile

Re: [s1] Filters / State Exceptions

2007-03-06 Thread Aram Mkhitaryan
Hi, That's a general problem! You are right, request.getParameter() causes request.getInputStream() call. You should decide if you want to get parameter from request or get input stream. Input stream from the request is usually used if you want to manually handle the "spacial" formatted reque

Re: [S2] Namespaces and SlashesInActionNames issue?

2007-03-06 Thread Aram Mkhitaryan
Hi, you do something wrong, I use namespace attribute with / and can also use action names with slashes There is another constant which enables "select full namespace" which means everything before the last slash will be considered as namespace. Maybe you have specified that constant? Best, A

Re: [S2] ArrayList always NULL when posting data in a form

2007-03-06 Thread Aram Mkhitaryan
what actually does submit your form??? I don't understand what "it does". could you please send more details about this problem, I'm really interested! Thank you in advance, Aram Aram Mkhitaryan 52, 25 Lvovyan, Yerevan 375000, Armenia Mobile: +374 91 518456 E-

Re: NullPointerException in TilesException using Tiles with Struts 2

2007-03-06 Thread Aram Mkhitaryan
Hi, Yesterday I got the same problem, and here is the solution: Use new version of tiles: 2.0 for tiles.xml: http://struts.apache.org/dtds/tiles-config_2_0.dtd";> for jsps: <%@ taglib uri="http://tiles.apache.org/tags-tiles"; prefix="tiles" %> tags are a little bit changed but it's easy to upg

Struts2 Localization does not work with Spring

2007-03-06 Thread Shih Lee
Hello, I have downloaded Struts-blank to play with. I added Spring support and here is my Spring applicationContext.xml: http://www.springframework.org/dtd/spring-beans.dtd";> execute

Struts-Faces + Tiles + Myfaces-Extensions

2007-03-06 Thread Rodrigo Pereira
Hi, is it possible to mix Struts-Faces + Tiles + Myfaces-Extensions? I am getting the following error when try to expand a tree component: java.lang.NullPointerException at org.apache.struts.tiles.taglib.InsertTag.processAttribute(InsertTag.java:687) at org.apache.struts.tiles.t

Re: Problem with struts and jfree chart

2007-03-06 Thread David Durham
>> From: GulliGulli Bob [mailto:[EMAIL PROTECTED] >> >> my struts application works fine before I put the >> jfree-chart jars >> (jfreechart-1.0.4.jar, jcommon-1.0.8.jar, >> gnujaxp.jar) in the classpath. >> Now I get the following errors: >> >> org.apache.commons.digester.Digester getParser >> SC

Re: [s1] Cancel request parameters and attributes

2007-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niall, Niall Pemberton wrote: > On 3/6/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: >> I don't see that code, though. > > See line 800 here: http://tinyurl.com/yqfok2 Aah, thanks. For whatever reason, I had always read CANCEL_PROPERTY as CANCE

Re: Struts configuration error

2007-03-06 Thread Laurie Harper
I don't know anything about ColdFusion, but here are some things to try: [EMAIL PROTECTED] wrote: Hi all I am configuring a struts enabled web application using ColdFusion MX. Please do not ignore this thread as it is ColdFusion, because I feel the issue I have is a generic one and could happ

Re: [s1] Filters / State Exceptions

2007-03-06 Thread Laurie Harper
Without seeing your filter code and web.xml it's hard to be sure, but my guess would be that you need to modify the order you apply your filters in. Remember that, with a file upload, form parameters are transmitted in the request body rather than as a query string. It sounds like req.getParame

Struts configuration error

2007-03-06 Thread Manickam-Periaswamy . Vignesh
Hi all I am configuring a struts enabled web application using ColdFusion MX. Please do not ignore this thread as it is ColdFusion, because I feel the issue I have is a generic one and could happen in any J2EE servers. I have already posted this in ColdFusion forum but I feel the issue has got

Re: [s1] Filters / State Exceptions

2007-03-06 Thread Paul Saumets
As a side note, My filter has a couple req.getParameter calls (which I think in-turn calls an InputStream somehow?) in it's doFilter method which seems to be causing the state exceptions later after a form is submitted. Is there a way to avoid this or a way to ensure filters arn't processed whe

[s1] Filters / State Exceptions

2007-03-06 Thread Paul Saumets
Hey, I'm hoping someone here could give me some insight why I'm getting an IllegalStateException with my filter. java.lang.IllegalStateException: getInputStream() has already been called for this request My filter calls InputStream in it's init method because it requires to read information

Re: [s1] Cancel request parameters and attributes

2007-03-06 Thread Niall Pemberton
On 3/6/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: Niall, Niall Pemberton wrote: > You pretty much have it - the point at which the value submtted by the > tag is converted to Globals.CANCEL_KEY is in the RequestProcessor's > processPopulate() method. I don't see that code, though. Se

Re: [s1] Cancel request parameters and attributes

2007-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niall, Niall Pemberton wrote: > You pretty much have it - the point at which the value submtted by the > tag is converted to Globals.CANCEL_KEY is in the RequestProcessor's > processPopulate() method. I don't see that code, though. > Having said tha

[S2] Namespaces and SlashesInActionNames issue?

2007-03-06 Thread Dave Newton
Hi, I have a default namespace (no 'namespace' attribute) and an action defined within with slashes. If I add a namespace='/' to that package I no longer have access to the action with slashes (SlashesInActionNames is set to true in the XML config). I would prefer to have my default package use

Re: [S2] ArrayList always NULL when posting data in a form

2007-03-06 Thread cisco
It does, thanks.. Do I need to create a setter and a getter that take an object and an index as well ? thanks Eider Iturbe-2 wrote: > > Hi again, > > yes, you can define it like this: > > java.util.Collection col = new java.util.ArrayList(); > > I hope it helps you, > > Eider > > > On

Re: ArrayList always NULL when posting data in a form

2007-03-06 Thread Dave Newton
--- Eider Iturbe <[EMAIL PROTECTED]> wrote: > > private ArrayList entitylist = > new > > ArrayList(); Yeah; that too. I thought we had a little talk about coding to interfaces, not implementations ;) d. It

Re: [S2] ArrayList always NULL when posting data in a form

2007-03-06 Thread Eider Iturbe
Hi again, yes, you can define it like this: java.util.Collection col = new java.util.ArrayList(); I hope it helps you, Eider On 06/03/07, cisco <[EMAIL PROTECTED]> wrote: So how would you define the collection ? Can you provide a snipet of code. Thanks

Re: [S2] ArrayList always NULL when posting data in a form

2007-03-06 Thread cisco
So how would you define the collection ? Can you provide a snipet of code. Thanks Eider Iturbe-2 wrote: > > Hello, > > you can not define the ArrayList like you did it. You have to define like > this: > > > The collection to be iterated over MUST conform to one of the following > requirem

Re: NoSuchMethodException: $Proxy18.find()

2007-03-06 Thread abpicol
Another way to grant this to work is make the Action implement an interface that has the desired method. So, ... create an interface ... interface I1 { String find(); } ... in your Action class declaration ... class MyStrutsAction implements I1 extends ActionSupport { ... } WHY TH

Re: ArrayList always NULL when posting data in a form

2007-03-06 Thread Eider Iturbe
Hello, you can not define the ArrayList like you did it. You have to define like this: The collection to be iterated over MUST conform to one of the following requirements in order for iteration to be successful: - An array of Java objects or primitives. - An implementation of java.util.Co

ArrayList always NULL when posting data in a form

2007-03-06 Thread cisco
Hello all. I need some help. I have a form which contains an ArrayList, this list has getters and setters : private ArrayList entitylist = new ArrayList(); /** * @return Returns the entitylist. */ public ArrayList getEntitylist() { return entitylist; } /** * @param entitylist The

NullPointerException in TilesException using Tiles with Struts 2

2007-03-06 Thread Avinash Wable
I am trying to use Tiles with Struts 2. I have configured my application as follows When I fire http://localhost:8080/SampleStruts2/login/Login.action; I get following error 20:11:40,827 ERROR [BasicTilesContainer] Error rendering tile java.lang.NullPointerException at org.apache.

Re: NoSuchMethodException: $Proxy18.find()

2007-03-06 Thread Paul Benedict
Congrats! Adam Ruggles wrote: I found the solution to this and I wanted to post it on the list. adding proxy-target-class="true" fixes it. proxy-target-class="true" /> Adam Ruggles wrote: Creating a service object seems to have worked. Now I'm going to have to re-think using action support

RE: Problem with struts and jfree chart

2007-03-06 Thread Dave Newton
I would find it more likely that gnujaxp is the culprit, particularly since the stack trace references it explicitly, but I don't know what's in jcommon. --- "Patil, Sheetal" <[EMAIL PROTECTED]> wrote: > Before a long I face such kind of problem, and I > resolve it. I don't > remember exactly but

RE: Problem with struts and jfree chart

2007-03-06 Thread Patil, Sheetal
Before a long I face such kind of problem, and I resolve it. I don't remember exactly but it was something regarding to jcommon.jar/common.jar. Just search on it. I don't remember much. Shital -Original Message- From: GulliGulli Bob [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 06, 2007

Problem with struts and jfree chart

2007-03-06 Thread GulliGulli Bob
Hi, my struts application works fine before I put the jfree-chart jars (jfreechart-1.0.4.jar, jcommon-1.0.8.jar, gnujaxp.jar) in the classpath. Now I get the following errors: INFO: validateJarFile(C:\workspace\struts\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7