RE: any struts 2 unit testers out there?

2008-04-05 Thread paulbrickell
? -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 interesting post. To my mind it doesn't demonstrate a solution. It demonstrates the problem

Re: any struts 2 unit testers out there?

2008-04-05 Thread paulbrickell
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 this. Struts 2 is just frankly brilliant for people doing test first development. The classes you create really are POJOs

RE: any struts 2 unit testers out there?

2008-04-04 Thread paulbrickell
-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: Thursday, April 03, 2008 11:44 AM To: user@struts.apache.org Subject: Re: any

RE: any struts 2 unit testers out there?

2008-04-04 Thread paulbrickell
-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: Thursday, April 03, 2008 11:44 AM To: user@struts.apache.org Subject: Re

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

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

2008-02-02 Thread paulbrickell
am always impressed with the help given on these lists. Paul B. newton.dave wrote: --- paulbrickell [EMAIL PROTECTED] wrote: I don't think I was clear about what I am seeing. If I have an action tag in my page like this... div s:action name=/some-namespace/myAction executeResult=true

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

2008-02-02 Thread paulbrickell
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 and that worked too, but I wouldn't recommend it.) Dave --- paulbrickell [EMAIL PROTECTED] wrote: Dave, OK did as you suggested, cranked up

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. - To

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

2008-02-01 Thread paulbrickell
. --- paulbrickell [EMAIL PROTECTED] wrote: Could you post a link to the section in the docs. I just cant work this out.:confused: Work what out? Packages and namespaces are discussed (at least) at [1, 2]. Dave [1] http://struts.apache.org/2.x/docs/package-configuration.html [2

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

2008-02-01 Thread paulbrickell
. newton.dave wrote: --- paulbrickell [EMAIL PROTECTED] wrote: I had seen those, but the problem I was having was that at no point in the docs (afaik) is there an example of a URL to actually target an action in a namespace. Noted, although the s:action... [1] and s:url...[2] 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 was having was that at no point

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

2008-02-01 Thread paulbrickell
of the action that renders this page is also some-namespace you should be able to leave 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

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

2008-01-28 Thread paulbrickell
:34 PM, paulbrickell [EMAIL PROTECTED] wrote: 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

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.

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 wrote

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

2008-01-28 Thread paulbrickell
for 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 for me. Wait, you have an actual

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

2008-01-28 Thread paulbrickell
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: --- paulbrickell [EMAIL

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

2008-01-28 Thread paulbrickell
using (1.0.2 which is the latest release). The path io.BrowserIO.js for example just doesn't exists. Man I would love to get 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

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

2008-01-28 Thread paulbrickell
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 too) are highly dependent on version 0.4.x of Dojo

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

2008-01-28 Thread paulbrickell
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 Englishman sometimes my English sucks. No I probably dont want errors. What I

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 original poster's question seems