Re: How to disable URL rewriting for session id?

2005-07-05 Thread Julian Kerr
David G. Friedman wrote: I just skimmed through cvs and have this idea for you: Edit a copy of the Html Taglib's helper class, org.apache.struts.taglibs.TagUtils, so any methods that would pull in the session variable to append to the new URL don't do that. When it's built, put it under

Re: howto with validator

2005-07-05 Thread Dewitte Rémi
Ok thanks, i'll try to achieve with the validator-rule.xml. But if i can't you suggest me to extends the plugin validator to include more specific rules, didn't you ? Rémi Le Mardi 5 Juillet 2005 07:45, Nitesh Naveen a écrit : You could do this with validator and indexed properties. When

RE: howto with validator

2005-07-05 Thread Nitesh Naveen
Well... You need not extend the validator plugin. You could write your custom validator class and write a method in that... For eg. You could specify this in your validator-rule.xml... validator name=whatever classname=com.myvalidation.FieldChecks method=validateWhatever All you need to have

Re: howto with validator

2005-07-05 Thread Dewitte Rémi
Thanks for the tip ! Rémi Le Mardi 5 Juillet 2005 11:15, Nitesh Naveen a écrit : Well... You need not extend the validator plugin. You could write your custom validator class and write a method in that... For eg. You could specify this in your validator-rule.xml... validator name=whatever

stopOnFirstError

2005-07-05 Thread EROL TEZCAN
Hi, I want to alert to user, when the first error occured on the ActionForm . To do this I am using stopOnFirstError ppoperty in struts-config.xml like this plug-in className=org.apache.struts.validator.ValidatorPlugIn set-property property=pathnames

Validating nested, indexed properties

2005-07-05 Thread Kjersti Berg
Hi I would like to validate some nested, indexed properties on my form. I've googled and found someone having similar problems, but haven't found a solution yet. Any help would be great. The form contains a list of Job objects, each having a set of properties, let's say number and size. I tried

forwarding out

2005-07-05 Thread Lucas Bern
Hi all I neeed to forwars form my action to a page out side my context... something like return new ActionForward(www.google.com); does anybody know haw to do it?? thanks - 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo

RE: J2EE vs .Net (was Struts vs .NET???)

2005-07-05 Thread David Suarez
Can you guys start marking this topic OT? Seems like someone from PR is getting paid to hijack this mail group. Can some of the seasoned guys step in here so they'll pay attention? Regards...djsuarez -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Sunday, July

Re: forwarding out

2005-07-05 Thread Viktar Duzh
The following will work: new ActionForward(http://www.google.com;, true); Regards, -- Viktar - Original Message - From: Lucas Bern [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org; Kjersti Berg [EMAIL PROTECTED] Sent: Tuesday, July 05, 2005 4:14 PM Subject:

Re: forwarding out

2005-07-05 Thread Aleksandar Matijaca
I would not actionforward, I would just get a servlet context, and redirect a.m. On 7/5/05, Lucas Bern [EMAIL PROTECTED] wrote: Hi all I neeed to forwars form my action to a page out side my context... something like return new ActionForward(www.google.comhttp://www.google.com

[OT] RE: J2EE vs .Net (was Struts vs .NET???)

2005-07-05 Thread BHansard
Hopefully, this will trigger this to be an OT topic from this point forward. I have been ignoring this thread for the most part, but with all the postings figured I would glance over it. There are dozens of large Struts sites out there. I have worked on a lot of Enterprise Class websites

Re: Struts vs .NET???

2005-07-05 Thread Gregory Seidman
On Mon, Jul 04, 2005 at 03:15:38PM -0700, Dakota Jack wrote: } I didn't ask how Mono runs on Apple, did I? No, you asked how C# runs on Apple. The only .NET runtime and C# compiler than I know of that supports MacOS X (which is what I believe you mean by Apple) is Mono. Therefore, C# runs on

[OT]Re: Unacceptable Behaviour of Mark Galbreath @ elections.state.md.us

2005-07-05 Thread Carlos Duque
Mark, Threats are self-perceived. And name calling behind a keyboard is quite the brave act. I've no issue with objective criticism of any technology. I do tire of inane and repetitive assertions of opinions based as fact. I prefer to code grounded upon something other than

Problem with action testing in MockStrutsTestCase

2005-07-05 Thread Grzegorz Stasica
hi, Prior to opening a page I call an action in order to store in request collection of value beans. Although I know how to test situation when everything goes OK I do not know how to test the oposite especially when Hibernate is being used. My action in struts-config.xml is as follow:

Re: IDE Wars (was Struts vs World)

2005-07-05 Thread Rick Reumann
Frank W. Zammetti wrote the following on 7/4/2005 12:41 AM: For me, UltraEdit makes me most effective. UltraEdit does kick major tail. I just wish it was cross-platform and not just for Windows. -- Rick - To unsubscribe,

Re: architecture of composite action forms - please help

2005-07-05 Thread Grzegorz Stasica
Rivka Shisman wrote: Hello Friends, I have a transfer object called FatherTO that contains a collection of ChildTO's. Can you please help me with how the relevant ActionForm (i.e. FatherForm ) should look like. How should the reset() validate() methods look like? Should I use the same

[OT] Re: IDE Wars (was Struts vs World)

2005-07-05 Thread Frank W. Zammetti
A Linux version has been one of the most requested features, judging by the posts on the UE forums... I wouldn't at all be surprised to see that at some point. I know in the past the company has said it would be a major undertaking (it's MFC-based I believe for one thing), but they were exploring

Re: architecture of composite action forms - please help

2005-07-05 Thread Michael Jouravlev
You want to have your TOs populated by Struts? Why would not you just make FatherTO as a member of ActionForm, and use it as nested property? If you want to retain TO values between requests, set form scope to session. Michael. Rivka Shisman wrote: Hello Friends, I have a transfer

RE: J2EE vs .Net (was Struts vs .NET???)

2005-07-05 Thread John Henry Xu
Defaming and accusing people are weapons from very *mean* people. Just see their posts below. and see their email before. All irrelavant to the topic that is discussed. I hope some can analyze what the contents this *Suarez* posted. BTW, he did not even dare to answer my question what his boss

Re: Struts vs .NET???

2005-07-05 Thread Rick Reumann
Dave Newton wrote the following on 7/2/2005 4:06 PM: Gregory Seidman wrote: On Sat, Jul 02, 2005 at 02:16:49AM +0200, Leon Rosenberg wrote: } Heh, } } I hate this kind of discussion... } } Maybe you are the fastest keyboard user on the world... } } I want to see you refactoring a method, lets

Re: [OT] Struts vs .NET???

2005-07-05 Thread Leon Rosenberg
-Ursprüngliche Nachricht- Von: Rick Reumann [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 5. Juli 2005 19:59 An: Struts Users Mailing List Betreff: Re: Struts vs .NET??? ... Again I'm not huge fan of IDEs that get in your way, and if not for .(dot) completion and refactoring,

Re: [OT] Struts vs .NET???

2005-07-05 Thread Leon Rosenberg
-Ursprüngliche Nachricht- Von: Rick Reumann [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 5. Juli 2005 19:59 An: Struts Users Mailing List Betreff: Re: Struts vs .NET??? ... Again I'm not huge fan of IDEs that get in your way, and if not for .(dot) completion and refactoring,

Re: [OT] Struts vs .NET???

2005-07-05 Thread Frank W. Zammetti
Leon Rosenberg wrote: Another superb features of an ide (at least eclipse has it): All good points Leon. Since I like UltraEdit so much, I thought it might be worth it to tell you how I do these things, and which ones I can't readily duplicate... - Search: who's calling this method /

RE: Version of Antlr in Struts 1.2.7

2005-07-05 Thread Lindholm, Greg
Thanks, I took alook at the .g file plus the change notes for Antlr and don't see anying that that would be incompatible with antlr 2.7.5. (I've developed parsers with Antlr in the past.) I'll give the latest antlr 2.7.5 a try but since I make very limited use of validwhen (only compare 2

Velocity Question

2005-07-05 Thread Vinicius Caldeira Carvalho
Sorry for the OT. But since they're kinda related ... Does velocity provides a way to fill gaps on my variables? Translating... I have a pojo car, which has ID and Name Id must have size 6 with zero left padd, and Name 15 with with white spaces padding. Now let's suppose I have: Car beetle = new

Re: Struts vs .NET???

2005-07-05 Thread Rick Reumann
John Henry Xu wrote the following on 7/2/2005 6:43 AM: Is writting lots of getters and setters manually the most productive way in real projects? You keep coming back to this getters and setters thing:) Like I said any editor (even vim:) can create getters and setters. I take it you think

[OT] Show me the money..I mean Lines WAS Re: Struts vs .NET???

2005-07-05 Thread Rick Reumann
Replying changing the subject so people don't think this is a struts vs .net debate... I'm still curious what John Henry is talking about with this GUI and less lines of code concept.. my comments below... John Henry Xu wrote the following on 7/2/2005 6:43 AM: Is writting lots of getters

[OT] some props John/Jack (WAS) Re: Struts vs .NET???

2005-07-05 Thread Rick Reumann
John Henry Xu wrote the following on 7/2/2005 9:50 PM: Jack H. Xu Technology columnist and editor http://www.usanalyst.com Hey cool site! John/Jack(?) I really like the way the articles are presented. I love clear step by step approaches! The one on web services looks great. -- Rick

Re: architecture of composite action forms - please help

2005-07-05 Thread Rick Reumann
Michael Jouravlev wrote the following on 7/5/2005 1:41 PM: You want to have your TOs populated by Struts? Why would not you just make FatherTO as a member of ActionForm, and use it as nested property? If you want to retain TO values between requests, set form scope to session. Yup. This is

Shale Mailing Lists

2005-07-05 Thread Jeremy_Barth
Are there mailing lists specifically for Shale? Jeremy

Re: architecture of composite action forms - please help

2005-07-05 Thread Michael Jouravlev
On 7/5/05, Rick Reumann [EMAIL PROTECTED] wrote: Michael Jouravlev wrote the following on 7/5/2005 1:41 PM: You want to have your TOs populated by Struts? Why would not you just make FatherTO as a member of ActionForm, and use it as nested property? If you want to retain TO values between

Newbie Help

2005-07-05 Thread Frasso, Anthony
Hello, and thanks in advance for your help. I am a newbie with respect to struts, and for that matter web development in general. I am attempting to design a simple jsp page (using the struts framework) to print a table of values that are read from a bean. For now, I'll stick to trying to

Re: Newbie Help

2005-07-05 Thread Rick Reumann
Frasso, Anthony wrote the following on 7/5/2005 5:34 PM: Hello, and thanks in advance for your help. I am a newbie with respect to struts, and for that matter web development in general. I am attempting to design a simple jsp page (using the struts framework) to print a table of values that

Re: Newbie Help

2005-07-05 Thread Andrew Thorell
Anthony, I'm still a newbie to struts myself, so take this email with a gain of salt (or 2). I put in a suggestion down below that may make your life easier if you have a lot of reports to deliver (or similiar items on what you are displaying). -- Start JSP Code % ProjectsBean

Re: Shale Mailing Lists

2005-07-05 Thread gvanmatre
Nope. Shale discussion is on the Struts user and developer mailing lists. However, you might prefix the subject with [Shale] for curiously of those wanting to filter based on subproject. Gary ---BeginMessage--- Are there mailing lists specifically for Shale? Jeremy ---End Message---

help with a newbie topic-prepopulating a form

2005-07-05 Thread Tony Dahbura
Team: I am trying to pre-populate a form before letting the user enter/correct data in it. The only way I have seen to do this is to actually do this prefilling fields in the reset method of the actionform. I am not sure this is the place to do this. For instance I have a form that

Re: help with a newbie topic-prepopulating a form

2005-07-05 Thread Michael Jouravlev
On 7/5/05, Tony Dahbura [EMAIL PROTECTED] wrote: Team: I am trying to pre-populate a form before letting the user enter/correct data in it. The only way I have seen to do this is to actually do this prefilling fields in the reset method of the actionform. I am not sure this is the place

RE: Velocity Question

2005-07-05 Thread Nitesh Naveen
You could probably use format macro for formatting the number... http://www.atlassian.com/software/jira/docs/api/3.1.1/com/atlassian/jira/uti l/velocity/NumberTool.html http://www.opensubscriber.com/message/velocity-user@jakarta.apache.org/14631 34.html Thanks Regards, Nitesh

Re: help with a newbie topic-prepopulating a form

2005-07-05 Thread Michael Jouravlev
On 7/5/05, Rick Reumann [EMAIL PROTECTED] wrote: Use the reset method only for doing things like making sure some boolean fields are set to false. I highly recommend you DO NOT use the reset for 'business type' logic. Having a few default things set there is fine, but for stuff like you are

Re: help with a newbie topic-prepopulating a form

2005-07-05 Thread Rick Reumann
Michael Jouravlev wrote the following on 7/6/2005 1:11 AM: On 7/5/05, Rick Reumann [EMAIL PROTECTED] wrote: Use the reset method only for doing things like making sure some boolean fields are set to false. I highly recommend you DO NOT use the reset for 'business type' logic. Having a few

RE: architecture of composite action forms - please help

2005-07-05 Thread Rivka Shisman
Hi again and thank you all for answering. Michael Can you please attach an example of ActionForm with nested properties? I'm not sure I understand how should the reset() validate() methods look like? An example of the relevant Jsp input page would be very helpful as well. Thanks Rivka

Re: [OT] some props John/Jack (WAS) Re: Struts vs .NET???

2005-07-05 Thread John Henry Xu
Hi Rick, I am very happy you like my articles. Jack H. Xu Technology columnist and editor http://www.usanalyst.com http://www.getusjobs.com (The largest free job portal in North America) - Original Message - From: Rick Reumann To: Struts Users Mailing List Subject: [OT]