Re: any struts 2 unit testers out there?

2008-04-05 Thread paulbrickell
tches always welcome ;-), but it shouldn't be that hard to > get around. > > L. > > paulbrickell wrote: >> Actually thats an interesting post. To my mind it doesn't demonstrate a >> solution. It demonstrates the problem. >> >> Here is why I think

RE: any struts 2 unit testers out there?

2008-04-05 Thread paulbrickell
EasyMock? > >> -Original Message- >> From: paulbrickell [mailto:[EMAIL PROTECTED] >> Sent: Friday, April 04, 2008 3:04 AM >> To: user@struts.apache.org >> Subject: RE: any struts 2 unit testers out there? >> >> >> Actually thats an interestin

RE: any struts 2 unit testers out there?

2008-04-04 Thread paulbrickell
ist.com/2007/06/18/unit-testing-struts-2-actions-spring-junit/ > > If you are not using spring or the struts2 spring plugin, you can cut out > all the code around the applicationContext. > > > -Original Message- > From: paulbrickell [mailto:[EMAIL PROTE

RE: any struts 2 unit testers out there?

2008-04-04 Thread paulbrickell
07/06/18/unit-testing-struts-2-actions-spring-junit/ > > If you are not using spring or the struts2 spring plugin, you can cut out > all the code around the applicationContext. > > > -Original Message- > From: paulbrickell [mailto:[EMAIL PROTECTED] > Sent:

Re: any struts 2 unit testers out there?

2008-04-03 Thread paulbrickell
I am trying to deal with the same issue. Did you get any resolution? Following on from the reply asking for a stack trace, here is what I am getting... java.lang.NullPointerException at com.opensymphony.xwork2.util.LocalizedTextUtil.findText(LocalizedTextUtil.java:299) at com.op

Re: actions defined in a package are visible in other packages??

2008-02-02 Thread paulbrickell
> action there (or is looking in "" instead of "/", maybe). > > If you use the leading "/" in your namespace attribute (both in your S2 > config file and in the tags) it should work. (Although I just tried it > only > in config and not in the tag

Re: actions defined in a package are visible in other packages??

2008-02-02 Thread paulbrickell
namespace? I can do this of course, but it seems a ilttle restrictive. Just have to say thanks for all the feedback. I am always impressed with the help given on these lists. Paul B. newton.dave wrote: > > --- paulbrickell <[EMAIL PROTECTED]> wrote: >> I don't think I

Re: actions defined in a package are visible in other packages??

2008-02-01 Thread paulbrickell
e out the > namespace attribute, too, and just use action="myAction". > > L. > > paulbrickell wrote: >> Cool the docs would make life easier for us poor saps. >> >> I don't think I was clear about what I am seeing. If I have an action tag >>

Re: actions defined in a package are visible in other packages??

2008-02-01 Thread paulbrickell
Actuallt it not clear to how I might build a link to an action in a namespace if... /namespace/myAction doesn't work. What AM I doing wrong? Cheers, Paul B. newton.dave wrote: > > --- paulbrickell <[EMAIL PROTECTED]> wrote: >> I had seen those, but the problem I wa

Re: actions defined in a package are visible in other packages??

2008-02-01 Thread paulbrickell
see no call to the target action (I am debugging and have a breakpoint in my action). I simply get a blank space in my output. However if I past a full url in my browser e.g. http://x.y.org/myApp/some-namespace/myAction.action all is well. Weird. newton.dave wrote: > > --- paulbrick

Re: actions defined in a package are visible in other packages??

2008-02-01 Thread paulbrickell
And the final insult when the actions don't resolve properly it fails silently and all I get is an empty browser.:-/ newton.dave wrote: > > Oops. > > --- paulbrickell <[EMAIL PROTECTED]> wrote: >> Could you post a link to the section in the docs. I just cant work th

Re: actions defined in a package are visible in other packages??

2008-02-01 Thread paulbrickell
Could you post a link to the section in the docs. I just cant work this out.:confused: Roberto Nunnari wrote: > > oops.. I should have read the docs a bit more before posting.. > > sorry.. for the noise! > > -- > Robi. > > > --

Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell
o the right way. Thanks again for your (and Musachy's), remarkably prompt, feedback. Truly appreciated. Paul B. newton.dave wrote: > > --- paulbrickell <[EMAIL PROTECTED]> wrote: >> Yes, but the freemarker templates for head and div (and I guess the >> others >> to

Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell
n dojo distribution by setting the > "baseRelativePath" attr in the head tag. > > see http://cwiki.apache.org/WW/dojo-head.html for details. > > musachy > > On Jan 28, 2008 10:28 AM, paulbrickell > <[EMAIL PROTECTED]> wrote: >> >> LOL. For an

Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell
Dojo and 1.0.x and rolling my own solution with an older version of Struts. Damn, thats a shame. Cheers, Paul B. newton.dave wrote: > > --- paulbrickell <[EMAIL PROTECTED]> wrote: >> 0.43 removes any javascript errors. >> I think that's a bit of show-stopper f

Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell
such a shame I would love to get all that great stuff for free. There is simply no way I can convince my employer I can contribute a solution on their time but I have to think my best solution would be to do it anyway. Thanks for all your help here, Paul B. newton.dave wrote: > > ---

Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell
Quick update, 0.43 removes any javascript errors. I think that's a bit of show-stopper for me. I still do not get a call to any action for the div. I do want to know why that is so I am going to try to track down the problem before I abandon all hope. Cheers, Paul B. paulbrickell

Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell
et this working. It is just what my app need. Paul B. newton.dave wrote: > > --- paulbrickell <[EMAIL PROTECTED]> wrote: >> what the head template outputs are some links (see my earlier post for >> the >> details) to application/struts/* js and css files. >>

Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell
really want to use the components, they just fit the bill for my application perfectly. Thanks for your help so far, Paul B. newton.dave wrote: > > --- paulbrickell <[EMAIL PROTECTED]> wrote: >> OK Dave, for those of us who are interested in getting 2.1 working the &g

Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell
I get compatible versions. Bleeding edge eh ;-) Julien RICHARD-2 wrote: > > Hi, > > The dojo plugin is embedded in the source struts package. > > Look at struts2-core-2.0.11.jar\org.apache.struts2\static\dojo > > Regards > > On Jan 28, 2008 1:34 PM, paulbrickell > &l

Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell
OK Dave, for those of us who are interested in getting 2.1 working the original poster's question seems entirely relevant. Just what does the line '- include the Dojo Plugin distributed with Struts 2 in your /WEB-INF/lib' mean. I cannot find any distribution or source for said plugin either. chee