Re: Development Tool

2005-02-12 Thread Metin Erksan
hi what are its advantages ? what did you use before ? sincerely Brandon Mercer <[EMAIL PROTECTED]> wrote: Hello Everyone, I found this really useful development tool and wanted to share it for anyone who hasn't already found it. It's called AppFuse. http://raibledesigns.com/wiki/Wiki.jsp?page

Re: Development Tool

2005-02-12 Thread Brandon Mercer
Metin Erksan wrote: hi what are its advantages ? what did you use before ? It's a very cleanly laid out tool (which is basically a build script on steriods) that creates validation, jsp forms, form, action, managers, DAO, test classes, database tables and everything like that just from one *s

Struts v1.3 nightly build question

2005-02-12 Thread David G. Friedman
Is there a quick way to get the nightly to build under Eclipse? I don't have ant (just the one in Eclipse v3) and want an executable 1.3 to play with. I've skimmed through the TLDs and love the idea of setting chains up in Actions so I want to try it in the 1.3 way, not the 1.2.6 "new classes" wa

Struts 1.2 - problems passing form values and form name to a javascript function

2005-02-12 Thread Jeff Thorne
Has anyone successfully integrated a javascript date picker into a struts 1.2 app. I am having troubles getting many date pickers to work because of not being able to name a form in struts 1.2. I have tried passing the styleID with no success: ---jsp page segment--

Re: Will struts handles any methods other than get and post?

2005-02-12 Thread Joe Germuska
At 4:07 PM -0800 2/11/05, Billy Ng wrote: Hi folks, Would anybody please tell me if Struts handles any methods other than get and post? Not out of the box, but it would be totally trivial to extend ActionServlet and implement those methods to do what Struts does for GET and POST. The problem is

Re: Struts v1.3 nightly build question

2005-02-12 Thread Joe Germuska
At 9:56 AM -0500 2/12/05, David G. Friedman wrote: Is there a quick way to get the nightly to build under Eclipse? I don't have ant (just the one in Eclipse v3) and want an executable 1.3 to play with. I've skimmed through the TLDs and love the idea of setting chains up in Actions so I want to tr

Using Struts Validator on Map-backed ActionForms

2005-02-12 Thread Andrew Waite
I have searched far and wide for an update to this topic but can not seem to find an actual solution. Has anyone accomplished this? I know in one thread Ted Husted mentioned it being possible but had questions about the use case, well if you're listenening here's my use case. I am writing a clien

Re: Struts v1.3 nightly build question

2005-02-12 Thread Joe Germuska
By the way: While I want to strongly encourage people to start using the 1.3 code, anyone who chooses to do so should be aware that this is under active development. The last thing I want to do is cut a release of Struts with stuff that really isn't necessary and then be stuck deprecating and

RE: Struts 1.2 - problems passing form values and form name to a javascript function

2005-02-12 Thread Jason Long
I use the following: By passing this you do not need the get by id. This also solves having forms with the same name. I dealt with this by using the name attribute in the html:form tag in struts 1.1, but switched to this when I upgraded to struts 1.2 since name is no longer valid in html:form

RE: Struts 1.2 - problems passing form values and form name to a javascript function

2005-02-12 Thread Jason Long
I use the following: By passing this you do not need the get by id. This also solves having forms with the same name. I dealt with this by using the name attribute in the html:form tag in struts 1.1, but switched to this when I upgraded to struts 1.2 since name is no longer valid in html:form

Re: Will struts handles any methods other than get and post?

2005-02-12 Thread Richard Yee
What other methods do you want it to handle? Get and post are the one ones that handle form input. Regards, Richard At 04:07 PM 2/11/2005, you wrote: Hi folks, Would anybody please tell me if Struts handles any methods other than get and post? Thanks! Billy Ng --

RE: Struts v1.3 nightly build question

2005-02-12 Thread David G. Friedman
Joe, I'm not on the dev list (I might join if no one shushes me. LOL)p so I'll ask this on the user list: I like the concept of Niall's "extends" validator chaining capabilities. I mention it because I'm thinking of using it. Do you know of any plans to add it to the v1.3 build? Niall's link is

Re: Using Struts Validator on Map-backed ActionForms

2005-02-12 Thread Niall Pemberton
You could use a LazyDynaMap to do this (with Struts 1.2.4). LazyDynaMap is a "wrapper" for a Map. Because its not an ActionForm Struts will wrap it in a BeanValidatorForm, which you can use with Validator. Just specify it in the struts-config.xml for your form. In your action you can get the ac

Re: Struts v1.3 nightly build question

2005-02-12 Thread Niall Pemberton
I don't have any plans to add it into Struts at this point in time and I would be -1 in doing so in its current form for two reasons... * It doesn't support JavaScript validation and I think there would be a barrage of questions saying "I'm using extends validator but my javascript isn't working..

Re: Submit button and MyAction

2005-02-12 Thread Dakota Jack
Check: http://www.michaelmcgrady.com/button/ On Sat, 12 Feb 2005 00:22:41 -0800, Sab <[EMAIL PROTECTED]> wrote: > I have a jsp with 2 buttons. (Update and Cancel buttons.) > When 1 is clicked I want to check which button is clicked. If Update is > clicked I want to forward to another jsp. > How d

Struts friendly way to switch between http and https?

2005-02-12 Thread Neil Aggarwal
Hello: I have been writing a web app using struts and have to switch back and forth between http and https (for the members' area and the rest of the site). So far, the only way I can figure out how to do this is to generate the full path to an action (example: https://dev.jammconsulting.com/pr

RE: Handle images path in one place

2005-02-12 Thread Neil Aggarwal
Craig: I tried this and it worked flawlessly. Thank you for the info. Thanks, Neil -- Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com FREE! Valuable info on how your business can reduce operating costs by 17% or more in 6 months or less! http://newsletter.JAMMCons

Re: Struts Studio

2005-02-12 Thread Graham Reeds
Build everything yourself once, and then after that use someone elses. That way, you know everything that goes into making one work and reasons why things work the way they do, and then use somebody elses because theirs have had more time to developer and will be have beaten upon more than yours

Submit button and MyAction

2005-02-12 Thread Sab
I have a jsp with 2 buttons. (Update and Cancel buttons.) When 1 is clicked I want to check which button is clicked. If Update is clicked I want to forward to another jsp. How do we write generally to submit button on jsp page, and what we write in Action class's execute method? Appreciate your rep

Re: Struts friendly way to switch between http and https?

2005-02-12 Thread Joe Germuska
At 2:46 PM -0600 2/12/05, Neil Aggarwal wrote: Hello: I have been writing a web app using struts and have to switch back and forth between http and https (for the members' area and the rest of the site). ... Is there a more struts-friendly way to do this? See http://sslext.sourceforge.net/ Joe -- J

AW: Struts friendly way to switch between http and https?

2005-02-12 Thread Leon Rosenberg
The friendliest way is to let some piece of environment do the ssl, i.e. the loadbalancer or an apache in front of your servlet container. Regards leon > -Ursprüngliche Nachricht- > Von: Joe Germuska [mailto:[EMAIL PROTECTED] > Gesendet: Samstag, 12. Februar 2005 23:39 > An: Neil Aggarw

AW: Struts friendly way to switch between http and https?

2005-02-12 Thread Leon Rosenberg
The friendliest way is to let some piece of environment do the ssl, i.e. the loadbalancer or an apache in front of your servlet container. Regards leon > -Ursprüngliche Nachricht- > Von: Joe Germuska [mailto:[EMAIL PROTECTED] > Gesendet: Samstag, 12. Februar 2005 23:39 > An: Neil Aggarw

Re: Using Struts Validator on Map-backed ActionForms

2005-02-12 Thread Andrew Waite
Niall, Thanks for the response. This is looking promising - excellent work, btw. I have the Action and Struts communicating with this "form". Do you have any example of how to apply the Validaror against it? Looking for some samples but given how new this is it's hard to come by. Thanks, Andr

ot: LazyDynaMap

2005-02-12 Thread Vic
This looks very nice! I plan to use it w/ JDNC. It be nice to have a DynaList. It would be an indexed ArrayList of ListDynaMaps. So from iBatis I can return an ArrayList of Maps as DTO and just map it. .V Niall Pemberton wrote: You could use a LazyDynaMap to do this (with Struts 1.2.4). La

RE: Struts friendly way to switch between http and https?

2005-02-12 Thread Neil Aggarwal
Leon: I have apache in front of tomcat. Apache does the ssl, but I still need to generate the URLs with the http and https prefix. Neil -- Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com FREE! Valuable info on how your business can reduce operating costs by 17% or

Re: LazyDynaMap

2005-02-12 Thread Niall Pemberton
Would specifying an array of LazyDynaMap in the struts-config.xml do what you want? Niall - Original Message - From: "Vic" <[EMAIL PROTECTED]> To: Sent: Sunday, February 13, 2005 12:28 AM Subject: ot: LazyDynaMap > This looks very nice! I plan to use it w/ JDNC. > > It be nic

Re: Using Struts Validator on Map-backed ActionForms

2005-02-12 Thread Niall Pemberton
There isn't anything different you need to do from normal validation. http://struts.apache.org/userGuide/dev_validator.html The only issue you might hit is if you want to validate according to the Action Mapping's path, rather than the form name. Then you would need a custom ActionForm - but that

Re: LazyDynaMap

2005-02-12 Thread Vic
Not in my case: - I use this outside of Sturts :-P - iBatis uses ArrayList ... not [] I am sure I can do something based on commons beans code for me, but it be nice to have it in the jar. .V Niall Pemberton wrote: Would specifying an array of LazyDynaMap in the struts-config.xml do what you want