?
-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
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
-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
-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
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
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
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
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
.
--- 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
.
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
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
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
: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
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.
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
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
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
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
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
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
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
21 matches
Mail list logo