Re: [S2] Duty now for the future? (was Re: Question about struts2)

2006-11-02 Thread Ted Husted
We dicussed that on the dev list, and I'll try to see to it this weekend, so that it will be part of Struts 2.0.2. -T. On 11/2/06, Bruno Melloni <[EMAIL PROTECTED]> wrote: I can't wait to start using Struts 2.0. The only thing holding me back is Struts 2.0 "default" use of Spring 1.x instead o

Re: Upgrading Struts 1.0

2006-11-02 Thread Ted Husted
Within the 1.x series, we've made each subsequent release backwardly-compatible with the last, but only with the last. With each release, some members were deprecated, and in the next release removed. The most efficient approach might be to upgrade the binaries one release at a time. Recompile, n

Re: in Struts 2

2006-11-02 Thread Don Brown
Check the HTML generated by the tags. Is dojo being loaded in the header? Take a look at the example Showcase application and see if they are doing anything different. Don On 10/31/06, Asish Kr. Samanta <[EMAIL PROTECTED]> wrote: Hi, I am Asish, I am using datepicker, but it will not come

Re: java.lang.NullPointerException: Module 'null' not found.

2006-11-02 Thread Niall Pemberton
On 11/2/06, bue <[EMAIL PROTECTED]> wrote: I had exactly the same error message (with struts distribution 1.3.5 and Weblogic 8.1sp5). It turned out that the struts-config.xml file was missing (or at a wrong place). After supplying a proper struts-config.xml file in the proper place (WEB-INF/stru

Re: DynaActionForm indexed properties

2006-11-02 Thread Niall Pemberton
On 11/2/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote: Hi, This is the first time I am trying to use indexed properties with DynaActionForm. Now the number of fields that I will have is not certain. So does that mean I cant use DynaActionForm. And i don't have normal strings in my list. I have a c

Re: Upgrading Struts 1.0

2006-11-02 Thread Niall Pemberton
On 11/2/06, Søren Blidorf <[EMAIL PROTECTED]> wrote: Hi. I have a very large website build on a Struts 1.0 framework. I would like to upgrade it and my questions are: What should I upgrade to? 1.35? Struts 1.3.5 is the latest "ga" (or production ready) version of Struts - so thats probably y

Re: [OT] How to realize print function

2006-11-02 Thread Laurie Harper
red phoenix wrote: I want to realize print function in Struts,when click a button in jsp page,it will print part of screen information in Printer. I know javascript: window.print() can realize print function,but it don't fit me,because window.print() will print all screen information.I know ano

Re: bean:message with database backed properties (was bean:write ...)

2006-11-02 Thread Laurie Harper
Adam Lipscombe wrote: Thanks for that, but I don't understand how it addresses the problem. Maybe I am missing the point... Say I have 2 props in a resource file: prop1=Hello prop2=Hi The bean:message tag would read , and the String "Hello" would be output to the page. I want to put the pr

Re: DynaActionForm indexed properties

2006-11-02 Thread Ed Griebel
If you are using basic arrays you need to create an array for the item before the JSP is displayed. You might want to use a java.util.List instead, you don't need to pre-allocate when using Dyna forms. HTH, -ed On 11/2/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote: Hi, This is the first time I

Upgrading Struts 1.0

2006-11-02 Thread Søren Blidorf
Hi. I have a very large website build on a Struts 1.0 framework. I would like to upgrade it and my questions are: What should I upgrade to? 1.35? Where can I read about the different between 1.0 and 1.35, I guess it’s a big step? BR Soren, DK --

Re: struts2 action and spring bean

2006-11-02 Thread boa
Thank you! it works! I knew I missed some link between struts2 and spring. Don Brown wrote: > > Have you modified your struts.properties to point Struts to the spring > ObjectFactory? See http://cwiki.apache.org/WW/spring.html for more > information. > > Don > > On 11/1/06, boa <[EMAIL PROT

Re: [struts2] ConfigurationBuilder

2006-11-02 Thread Don Brown
I'd love to see something like this for Struts 2. Take a look at the XmlConfigurationProvider and see how you could improve it to add this functionality. Please let us know how it goes. Don On 11/2/06, Mike Baroukh <[EMAIL PROTECTED]> wrote: Hi. I don't know if this post is on the right pla

DynaActionForm indexed properties

2006-11-02 Thread Puneet Lakhina
Hi, This is the first time I am trying to use indexed properties with DynaActionForm. Now the number of fields that I will have is not certain. So does that mean I cant use DynaActionForm. And i don't have normal strings in my list. I have a custom object. so what i have currently is something li

Re: [struts2] ConfigurationBuilder

2006-11-02 Thread Martin Gainty
the real test is to see if you can import the configBuilder classes/interfaces with respect to their functional grouping Given any web application can you import your configBuilder generayed entity beans to a say a JDeveloper created package such as model.packagename ? M- This e-mail communicat

Re: Validating a form bean

2006-11-02 Thread Chris Pratt
Do you have accessors and mutators for your attributes? Those private variables can't be accessed by Struts without them. (*Chris*) On 02 Nov 2006 11:50:14 +0100, Jorge Martín Cuervo < [EMAIL PROTECTED]> wrote: El jue, 02 de 11 de 2006 a las 11:45, chamal desilva escribió: in the method vali

[struts2] ConfigurationBuilder

2006-11-02 Thread Mike Baroukh
Hi. I don't know if this post is on the right place. I wanted to speak about a method I use to build my struts2 (but I was doing the same with struts1 ...) configuration file. This to : - share my experience - eventually have any comment that tell me why I'm totally wrong. - eventually, have a

RE: How to make a SELECT list readonly? If set disabled, loses the value when submit.

2006-11-02 Thread Dean, Michael
MJ, This is slightly tangential...but I faced a similar problem in trying to prevent "double-submit"... Below is the solution jsp code...refer embedded comments... . . . The narrative: when the user selects the submit button, the onsubmit() method (defined in some external javasc

html:rewrite does not work from pure jsp?

2006-11-02 Thread Mikolaj Rydzewski
Hi, The usual /index.jsp in a struts application just redirects user to /index.do or something similiar. I wanted to make it 'really good' and make use of html:rewrite, unfortunately neither: nor works. The exception 'cannot find null module' is thrown. I use struts 1.3.5. Is is norm

RE: Optimal Heap Size for my Struts-Application

2006-11-02 Thread Jorge Martín Cuervo
It's a realy cool question, i've a complex webapp with a lot of differents diciplines: - xstl - xsl-fo - ajax - xpath - custom classloading - very large objects in session - ... The tests with jmeter using 10 concurrents users don't cause an memory exception (i use 256M for heap) there is some g

RE: [S2] Duty now for the future? (was Re: Question about struts2)

2006-11-02 Thread Wesslan
We are using quite the same setup as Mark and have had no problems at all. I've also been a member of the Webwork forums for quite some time and I don't recall anyone having problems using Spring 2 instead of Spring 1. Cheers, Peter -Original Message- From: Mark Menard [mailto:[EMAIL PROT

Re: [S2] Duty now for the future? (was Re: Question about struts2)

2006-11-02 Thread Mark Menard
On 11/2/06 8:50 AM, "Bruno Melloni" <[EMAIL PROTECTED]> wrote: > I can't wait to start using Struts 2.0. The only thing holding me back > is Struts 2.0 "default" use of Spring 1.x instead of the current Spring > 2.0. I know it is "supposed" to work with Spring 2.0 just fine, but > call me paran

RE: [S2] Duty now for the future? (was Re: Question about struts2)

2006-11-02 Thread Bruno Melloni
I can't wait to start using Struts 2.0. The only thing holding me back is Struts 2.0 "default" use of Spring 1.x instead of the current Spring 2.0. I know it is "supposed" to work with Spring 2.0 just fine, but call me paranoid... I'll probably wait until Struts 2.0 uses Spring 2.0 by default.

RE: [S2] Duty now for the future? (was Re: Question about struts2)

2006-11-02 Thread Dave Newton
As an anecdotal data point: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > On 11/2/06, someone wrote: > > Hi Ted > > I just want to ask how stable is the current struts2 version. It's pretty stable; I have yet to run in to any real issues (except those caused by my own towering

RE: Cannot find bean countDetails in any scope

2006-11-02 Thread Dave Newton
From: Prakash Inuganti -X (pinugant - Digital-X, Inc. at Cisco) > public class ExsHomeAction extends Action { > [...] > Well, you're submitting to a different action than the source you provided; might that make a difference? Dave ---

RE: Optimal Heap Size for my Struts-Application

2006-11-02 Thread Dave Newton
From: starki78 [mailto:[EMAIL PROTECTED] > My maximum memory is 128, Well, my local Weblogic 8.1 eats ~80M with a single user not doing anything. 128M seems a little light if you're actually doing something, but without knowing much about your application (how much you keep in session, any in-mem

Optimal Heap Size for my Struts-Application

2006-11-02 Thread starki78
CIAO, I've a lack of experience in this and therefore I hope to receice an answer. What is the optimal Heap-Size for my Struts Application? On my weblogic server I get after 20 minutes an out of memory exception! My maximum memory is 128, so my question is if this is already the problem. 20 users

Re: How to make a SELECT list readonly? If set disabled, loses the value when submit.

2006-11-02 Thread Nitin M. Mandolkar
Is any on know other logic apart from this, then please share with us. ni3 On 11/2/06, Nitin M. Mandolkar <[EMAIL PROTECTED]> wrote: i used same logic, i.e. Hidden form field. ntin On 11/2/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote: > On 11/2/06, Gareth Evans <[EMAIL PROTECTED]> wrote: > >

Re: How to make a SELECT list readonly? If set disabled, loses the value when submit.

2006-11-02 Thread Nitin M. Mandolkar
i used same logic, i.e. Hidden form field. ntin On 11/2/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote: On 11/2/06, Gareth Evans <[EMAIL PROTECTED]> wrote: > > You could add an onchange function that sets the selected item back to the > orginal item. I wouldnt do that..imagine yourself as the u

Cannot find bean countDetails in any scope

2006-11-02 Thread Prakash Inuganti -X \(pinugant - Digital-X, Inc. at Cisco\)
Hi, I am a newbie to struts and trying to figure out a way to solve the problem "Cannot find bean countDetails in any scope" I am getting when trying to show an error when first option in select box is chosen. I have an action class that reads data from database and populates in the jsp. Then on t

[S2] Duty now for the future? (was Re: Question about struts2)

2006-11-02 Thread Ted Husted
I'm copying in the user list, in case others might be interested. On 11/2/06, someone wrote: Hi Ted Sorry for bothering you. Recently I looked at Struts2 project pages and all there looks really exciting :). I just want to ask how stable is the current struts2 version. I am at the moment before

Re: java.lang.NullPointerException: Module 'null' not found.

2006-11-02 Thread bue
I had exactly the same error message (with struts distribution 1.3.5 and Weblogic 8.1sp5). It turned out that the struts-config.xml file was missing (or at a wrong place). After supplying a proper struts-config.xml file in the proper place (WEB-INF/struts-config.xml) the error disappeared. This is

Re: Validating a form bean

2006-11-02 Thread Jorge Martín Cuervo
El jue, 02 de 11 de 2006 a las 11:45, chamal desilva escribió: in the method validate in CustomerForm class you must call the validate method of AccountClass. > Hi, > > I have a form bean as this one > > public class CustomerForm extends ActionForm > { > private AccountForm accForm = null;

Validating a form bean

2006-11-02 Thread chamal desilva
Hi, I have a form bean as this one public class CustomerForm extends ActionForm { private AccountForm accForm = null; // other attributes and methods } My JSP looks like this. It has a form which contains details of CustomerForm as well as AccountForm inside CustomerForm. Custo

Re: How to make a SELECT list readonly? If set disabled, loses the value when submit.

2006-11-02 Thread Puneet Lakhina
On 11/2/06, Gareth Evans <[EMAIL PROTECTED]> wrote: You could add an onchange function that sets the selected item back to the orginal item. I wouldnt do that..imagine yourself as the user with this kind of javascript. Gareth Rafael Nami wrote: > You can choose to maintain the value from t

RE: How to make a SELECT list readonly? If set disabled, loses thevalue when submit.

2006-11-02 Thread Anil Kumar T
If you do not want the user to modify the select box then you should not display the select. Just display a text/label. If you can explain the scenario then you would get a better solution. Anil. -Original Message- From: Gareth Evans [mailto:[EMAIL PROTECTED] Sent: Thursday, November 02

Re: How to make a SELECT list readonly? If set disabled, loses the value when submit.

2006-11-02 Thread Gareth Evans
You could add an onchange function that sets the selected item back to the orginal item. Gareth Rafael Nami wrote: You can choose to maintain the value from this select in a hidden field, that will be submitted with your page. I was used to use another approach, making the select enabled in th

Re: Error Pages in Struts App

2006-11-02 Thread Juanjo Cuadrado
Hi, I think that you have to put the follow in the first line of your error page: <%@ page isErrorPage="true" %> 2006/10/30, Chetan Pandey <[EMAIL PROTECTED]>: Hi All: I am trying to include an Error Page in my Struts-based Web App. The following is what I have in my web.xml 40