Re: ActionForm Problem

2005-09-10 Thread Laurie Harper
You're not seeing any data in your action because your JSP doesn't contain anything that would submit data. You have a form in your JSP, but no input elements: all your data is just written to the page as static text. If you want a form to submit data, that form needs to include HTML input el

ActionForm Problem

2005-09-09 Thread OJAY78
[EMAIL PROTECTED] I have a problem with my Form Bean: On my jsp I have have a List of values and put them on my jsp with this code <%=lineNo.intValue()+1%> I get those values I want on my JSP. I tried to get those values into my ActionForm with indexed properties but it wont work

RE: DynaActionForm + ActionForm problem.

2005-07-26 Thread Miquel Angel Seguí Munar
Para: Struts Users Mailing List Asunto: Re: DynaActionForm + ActionForm problem. Hi, >I've been writting applications with Struts 1.1 + Tomcat 5.5.9 + Eclipse for >a year. Until now, I've been using ActionForm. Now I want to move to >DynaActionForm. ?Is there any problem in using

Re: DynaActionForm + ActionForm problem.

2005-07-26 Thread Tamas Szabo
Hi, I've been writting applications with Struts 1.1 + Tomcat 5.5.9 + Eclipse for a year. Until now, I've been using ActionForm. Now I want to move to DynaActionForm. ?Is there any problem in using DynaActionForm and ActionForm in the same application (in the same struts-config.xml file)?

DynaActionForm + ActionForm problem.

2005-07-26 Thread Miquel Angel
Hi all. I've been writting applications with Struts 1.1 + Tomcat 5.5.9 + Eclipse for a year. Until now, I've been using ActionForm. Now I want to move to DynaActionForm. ?Is there any problem in using DynaActionForm and ActionForm in the same application (in the same struts-config.xml file

RE: ActionForm problem

2005-03-18 Thread Hyrum
Props to Rick as well. You were dead on. -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 9:42 AM To: Struts Users Mailing List Subject: Re: ActionForm problem Just curious, is your boolean getter autogenerated? It might be set up as

RE: ActionForm problem

2005-03-18 Thread Hyrum
Props to Rick as well. You were dead on. -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 9:42 AM To: Struts Users Mailing List Subject: Re: ActionForm problem Just curious, is your boolean getter autogenerated? It might be set up as

RE: ActionForm problem

2005-03-18 Thread Hyrum
input, y'all. It is all helpful to a guy who is still pretty new at this stuff. Hyrum -Original Message- From: Jeff Beal [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 8:54 AM To: Struts Users Mailing List Subject: Re: ActionForm problem Did you change the types on both the gett

RE: ActionForm problem

2005-03-18 Thread Hyrum
input, y'all. It is all helpful to a guy who is still pretty new at this stuff. Hyrum -Original Message- From: Jeff Beal [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 8:54 AM To: Struts Users Mailing List Subject: Re: ActionForm problem Did you change the types on both the gett

Re: ActionForm problem

2005-03-18 Thread Rick Reumann
age- From: Hyrum [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 12:56 PM To: user@struts.apache.org Subject: ActionForm problem I have successfully populated a jsp with items from a ValidatorActionForm. One of the properties is a boolean, and it is printing the word "true" on

Re: ActionForm problem

2005-03-18 Thread Jeff Beal
Did you change the types on both the getter and the setter methods? Did you keep a setter with the boolean type? I don't remember all of the details, but I don't think that the following is a valid bean property: public String getSsnOnFile() { return ssnOnFile ? "Y" : "N"; } public void setS

RE: ActionForm problem

2005-03-18 Thread Hyrum
[mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 12:56 PM To: user@struts.apache.org Subject: ActionForm problem I have successfully populated a jsp with items from a ValidatorActionForm. One of the properties is a boolean, and it is printing the word "true" on my page, where I

RE: ActionForm problem

2005-03-18 Thread Hyrum
[mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 12:56 PM To: user@struts.apache.org Subject: ActionForm problem I have successfully populated a jsp with items from a ValidatorActionForm. One of the properties is a boolean, and it is printing the word "true" on my page, where I

Re: ActionForm problem

2005-03-17 Thread Rick Reumann
Leon Rosenberg wrote the following on 3/17/2005 5:37 PM: Actually I was saying the opposite :-) EL makes your page looking "uglier"... I mean, you can write ${bean.boolProp?'Yes, I am an idiot':'No, not an idiot'} Or <% bean.boolProp?"Yes, I am an idiot":"No, not an idiot" %> I think the idea of

Re: ActionForm problem

2005-03-17 Thread Jason King
You want to validate your input anyway. If user puts in

Re: ActionForm problem

2005-03-17 Thread Craig McClanahan
On Thu, 17 Mar 2005 18:03:16 -0700, Hyrum <[EMAIL PROTECTED]> wrote: > > ${bean.isIdiot ? "Yes, I'm an Idiot" : "No, I'm not an Idiot"} > This doesn't suffer from the dangerious content problem, because you don't actually *emit* the contents of the isIdiot property -- you only use it on the ser

Re: ActionForm problem

2005-03-17 Thread Dakota Jack
I guess these things depend on sentiments that are not obvious. I definitely like the wrote: > So, if not using ugly, and I don't want wicked users inserting script tags, am I stuck with > the original somewhere. The choose method works, but is there a better way? If you > wanna talk about ug

RE: ActionForm problem

2005-03-17 Thread Hyrum
So, if not using Yes, I'm an Idiot No, I'm not an Idiot Is WAY uglier than ${bean.isIdiot ? "Yes, I'm an Idiot" : "No, I'm not an Idiot"} even if the ugly way is safer. But that's just personal preference.

RE: ActionForm problem

2005-03-17 Thread Hyrum
So, if not using Yes, I'm an Idiot No, I'm not an Idiot Is WAY uglier than ${bean.isIdiot ? "Yes, I'm an Idiot" : "No, I'm not an Idiot"} even if the ugly way is safer. But that's just personal preference.

Re: ActionForm problem

2005-03-17 Thread Leon Rosenberg
> > > I asked for an example where you actually need EL -> can't > achieve the > > same with (standard) tags. > > Oh, ok. No, you are right, all the EL expressions do is make > my page look a little cleaner vs using c:out. Not that big of > a deal I guess, however they are nice for certain th

Re: ActionForm problem

2005-03-17 Thread Leon Rosenberg
> > > I asked for an example where you actually need EL -> can't > achieve the > > same with (standard) tags. > > Oh, ok. No, you are right, all the EL expressions do is make > my page look a little cleaner vs using c:out. Not that big of > a deal I guess, however they are nice for certain th

Re: ActionForm problem

2005-03-17 Thread Rick Reumann
Leon Rosenberg wrote the following on 3/17/2005 5:10 PM: I asked for an example where you actually need EL -> can't achieve the same with (standard) tags. Oh, ok. No, you are right, all the EL expressions do is make my page look a little cleaner vs using c:out. Not that big of a deal I guess, how

Re: ActionForm problem

2005-03-17 Thread Leon Rosenberg
> Not sure what you mean by the above the question and No, I'm > not going to use XSLT:) XSTL is nice, but no way it's as easy > to use as EL expressions in JSP. When I know I'm only going > to be using JSP, EL is my friend. I asked for an example where you actually need EL -> can't achieve the

Re: ActionForm problem

2005-03-17 Thread Leon Rosenberg
> Not sure what you mean by the above the question and No, I'm > not going to use XSLT:) XSTL is nice, but no way it's as easy > to use as EL expressions in JSP. When I know I'm only going > to be using JSP, EL is my friend. I asked for an example where you actually need EL -> can't achieve the

Re: ActionForm problem

2005-03-17 Thread Rick Reumann
Craig McClanahan wrote the following on 3/17/2005 4:22 PM: The unsuspecting user who displays this page will be executing whatever JavaScript code replaces "...". That doesn't happen if you use (or in Struts) because, by default, the "<" character gets emitted as "<" instead. Very interesting. T

Re: ActionForm problem

2005-03-17 Thread Rick Reumann
Leon Rosenberg wrote the following on 3/17/2005 4:22 PM: Now really, is there a case where you actually _need_ JSTL / EL functionality in an MVC conform jsp? Not sure what you mean by the above the question and No, I'm not going to use XSLT:) XSTL is nice, but no way it's as easy to use as EL e

Re: ActionForm problem

2005-03-17 Thread Leon Rosenberg
> Expression evaluation doesn't filter out characters that are > sensitive in HTML (like '<'). Consider a common case where > you accept input from a user into a text field, store it in > your database, and then display it (on a different page) with > something like this: > > ${customer.n

Re: ActionForm problem

2005-03-17 Thread Leon Rosenberg
> Expression evaluation doesn't filter out characters that are > sensitive in HTML (like '<'). Consider a common case where > you accept input from a user into a text field, store it in > your database, and then display it (on a different page) with > something like this: > > ${customer.n

Re: ActionForm problem

2005-03-17 Thread Dakota Jack
Thanks, Craig, and thereyougo, Rick. On Thu, 17 Mar 2005 13:22:41 -0800, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On Thu, 17 Mar 2005 16:18:25 -0500, Rick Reumann <[EMAIL PROTECTED]> wrote: > > Dakota Jack wrote the following on 3/17/2005 4:08 PM: > > > I think that Craig had mentioned that

Re: ActionForm problem

2005-03-17 Thread Craig McClanahan
On Thu, 17 Mar 2005 16:18:25 -0500, Rick Reumann <[EMAIL PROTECTED]> wrote: > Dakota Jack wrote the following on 3/17/2005 4:08 PM: > > I think that Craig had mentioned that there were some security issues > > or something, however, with not using the > bother checking it out because I still use t

AW: ActionForm problem

2005-03-17 Thread Leon Rosenberg
*thubms up!* c:out is ugly! :-) Leon > -Ursprüngliche Nachricht- > Von: Rick Reumann [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 17. März 2005 22:18 > An: Struts Users Mailing List > Betreff: Re: ActionForm problem > > Dakota Jack wrote the following on 3/1

AW: ActionForm problem

2005-03-17 Thread Leon Rosenberg
*thubms up!* c:out is ugly! :-) Leon > -Ursprüngliche Nachricht- > Von: Rick Reumann [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 17. März 2005 22:18 > An: Struts Users Mailing List > Betreff: Re: ActionForm problem > > Dakota Jack wrote the following on 3/1

Re: ActionForm problem

2005-03-17 Thread Rick Reumann
Dakota Jack wrote the following on 3/17/2005 4:08 PM: I think that Craig had mentioned that there were some security issues or something, however, with not using the wow, really? I'd like to know what they are. I love how much cleaner my code is without having to use c:out everywhere. -- Rick ---

Re: ActionForm problem

2005-03-17 Thread Dakota Jack
I think that Craig had mentioned that there were some security issues or something, however, with not using the wrote: > Hyrum wrote the following on 3/17/2005 3:48 PM: > > > > > No, with Tomcat5.0 you dont' need the c:out just do: > > ${manageFilerForm.ssnOnFile?'Y':'N'} > > > -- > Rick >

Re: ActionForm problem

2005-03-17 Thread Rick Reumann
Hyrum wrote the following on 3/17/2005 3:48 PM: No, with Tomcat5.0 you dont' need the c:out just do: ${manageFilerForm.ssnOnFile?'Y':'N'} -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: ActionForm problem

2005-03-17 Thread Hyrum
t;", "lt", "==", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-", "*", "/", "div", "%", "mod", "and

RE: ActionForm problem

2005-03-17 Thread Hyrum
t;", "lt", "==", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-", "*", "/", "div", "%", "mod", "and

Re: ActionForm problem

2005-03-17 Thread Rick Reumann
Hyrum wrote the following on 3/17/2005 2:56 PM: I have successfully populated a jsp with items from a ValidatorActionForm. One of the properties is a boolean, and it is printing the word "true" on my page, where I want a 'Y' or 'N'. So I changed the ValidatorForm so that the property is a string.

ActionForm problem

2005-03-17 Thread Hyrum
I have successfully populated a jsp with items from a ValidatorActionForm. One of the properties is a boolean, and it is printing the word "true" on my page, where I want a 'Y' or 'N'. So I changed the ValidatorForm so that the property is a string. Now I am getting this error: An error occur

ActionForm problem

2005-03-17 Thread Hyrum
I have successfully populated a jsp with items from a ValidatorActionForm. One of the properties is a boolean, and it is printing the word "true" on my page, where I want a 'Y' or 'N'. So I changed the ValidatorForm so that the property is a string. Now I am getting this error: An error occur