Re: Calling Struts action from JSP outside WEB-INF folder

2009-09-05 Thread Paweł Wielgus
Hi Maik, typical action and result config for struts is like this: and if You will enter http://localhost:8080/customerWrapper.do in my browser it will fire this action and result one of the results defined abowe. Now i don't ful

Re: Help requested

2009-09-05 Thread Paweł Wielgus
Hi, read this [1] it might help. [1] http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html Best greetings, Paweł Wielgus. 2009/9/5 measwel : > > I installed convention plugin, moved pages to WEB-INF/content and removed my > action mappings in xml. Linking to a page works. >

Re: how do you test your action classes?

2009-09-05 Thread phillips1021
Thanks again for the information. I wrote up a blog article that discusses how I used the new version of the JUnit Plugin and also includes a code example readers can download. See: http://tinyurl.com/n3hm42 http://tinyurl.com/n3hm42 Bruce Musachy Barroso wrote: > > JUnit plugin has been

Re: how do you test your action classes?

2009-09-05 Thread Musachy Barroso
JUnit plugin has been around as long as I can remember. What is new in 2.1.8 is the ability to execute actions inside Struts and outside a container. musachy On Sat, Sep 5, 2009 at 7:58 AM, phillips1021 wrote: > > Since Musachy mentioned that the code wasn't yet released I wasn't sure about > the

Re: [S2] i18n for lists/maps

2009-09-05 Thread j alex
Yeah, i dont want to change to DB backed bundles. My question is if the s:select tag can take a list from a resourcebundle directly and use it . If so, how should the list be specified ? On Sat, Sep 5, 2009 at 3:59 AM, Tommy Pham wrote: > - Original Message > > From: j alex > > To: Str

Re: Struts 2.1.6 doc/wiki update

2009-09-05 Thread Tommy Pham
- Original Message > From: Tommy Pham > To: struts apache > Sent: Friday, September 4, 2009 7:37:48 PM > Subject: Struts 2.1.6 doc/wiki update > > h...@all, > > Can anyone update the doc/wiki? I'd like to make some corrections to the > discrepancy I've found so far. What do I need t

Re: how do you test your action classes?

2009-09-05 Thread phillips1021
Since Musachy mentioned that the code wasn't yet released I wasn't sure about the protocol. I'll take your comment as yes its OK. Will the Struts 2 JUnit plugin jar be part of the 2.1.8 release? I'd like to include in my article if people can expect it in 2.1.8 and be able to just add a depen

Re: how do you test your action classes?

2009-09-05 Thread Dave Newton
phillips1021 wrote: is it OK if I write up a blog article with code example that shows how to use the StrutsTestCase right now for writing unit tests? Why wouldn't it be? Dave - To unsubscribe, e-mail: user-unsubscr...@strut

Re: how do you test your action classes?

2009-09-05 Thread phillips1021
Musachy: I checked out the code and got my test to work when extending the StrutsTestCase class. The StrutsTestCase class is very easy to use and worked well. The Struts 2 JUnit plugin will be very useful. Will this plugin be part of the 2.1.8 release? Also is it OK if I write up a

Re: how do you test your action classes?

2009-09-05 Thread phillips1021
Rusty - Please post an example if you are able to use the Struts 2 JUnit plugin. Rusty Wright-2 wrote: > > I'm going to try the StrutsTestCase in struts2-junit-plugin; it looks like > that may do the trick for me. > > Thanks everyone for their feedback and links. > > -- View this message

Passing value in error message

2009-09-05 Thread Muhammad Owais
Dear; I am looking for a solution to pass value as parameter to the error message. What I want to achive is that I have to validate Date field. This date field's validation is of general type and with the concept of re-useablity.  The validation rule(s) is like the date should be greater then curr