I've added the snapshot repository to my pom.xml, but I'm still unable
to get the 2.1.8 snapshot release. I have found a message about 2.1.8 being
available there dated 9/22/09, however. Is there something else I
should or should not be doing?
There is a specific bug fix in 2.1.8 that I'd like
That makes sense, Wendy. Guess I should have thought about it being a
snapshot build.
Thanks.
Wendy Smoak wrote:
On Thu, Sep 24, 2009 at 3:35 PM, David C. Hicks dhi...@i-hicks.org wrote:
I've added the snapshot repository to my pom.xml, but I'm still unable
to get the 2.1.8 release. �I
Oops! Pardon the duplicate posting. I had a misconfigured email filter
that led me to believe my message had not gone out.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail:
I've added the snapshot repository to my pom.xml, but I'm still unable
to get the 2.1.8 release. I have found a message about 2.1.8 being
available there dated 9/22/09, however. Is there something else I
should or should not be doing?
Here's what I've added:
repository
Hi folks,
I'm having some issues with the .action suffix with respect to my
integration testing. When we are in development, we typically run our
application using the Maven Jetty plugin. It works great for us. In
this environment, there are no .action suffixes on our action
mappings.
I think Grails is a nice tool, as long as what you want to do is within
the confines of what it is designed to give you for free. After that,
you'll be writing mounds of code. The project I'm working on now was
originally started on the Grails platform. It was maybe 5 to 6 months
down the
It's just a resource on your classpath like any other. Never done it,
but you should be able to without any problem.
sudhi123 wrote:
Hello ...
I am quite new to struts2
I just want to know how to break struts.xml in to a module (jar).
Anybody has done this ...?
Thanks for
We recently discovered, quite by accident, that we can cause our app
built on struts2 to NOT display .action on any of the URL's. I'd
simply like to find out if this is an intended feature or a possible
defect? The difference is in how we start off our interaction in the
browser. If we use
We don't really care whether Struts wants a .action, or not. However,
it's confusing when it seems to pick up the behavior based on the URL
you used to enter into the system in the first place. Both URL's that I
posted in the original note work, but the resulting behavior after the
fact is
Greg Lindholm wrote:
There was a change sometime between Struts 2.0.11 and Struts 2.1.6 where the
default list of action extensions (struts.action.extension) changed from
just 'action' to 'action' plus (no extension). This will cause requests
with no extension to be treated as an action.
I think Greg answered my question sufficiently - at least, enough for my
needs. If you're still interested, I'll try to find a JSP over the
weekend. We're not really doing anything strange, though. It's just
s:url tags, much like the one I posted earlier.
Martin Gainty wrote:
so you're
I have a project that originally started out being called harvey
because we didn't have a name for it. The URL's for our pages all end
up looking like:
http:///harvey/...
Now that we have a real name, that doesn't fly very well. I have two
questions with regard to this.
1) How would I
I think we've got the problem solved now. One of the developers found
that in one case the path was actually hard-coded in a JSP. Ugh! We
also had not provided a namespace for our struts package, and so
apparently it was defaulting to the package name. Just little details
that get left
ChadDavis wrote:
Harvey is nice though. Great movie. There's a scene with this
slightly chubby lady singing that cracks me up completely.
Amazing, but you're the first person I've encountered who got the
reference to the movie. I had to explain it to everyone else - the
magical,
5, 2009 at 5:13 PM, David C. Hicks dhi...@i-hicks.org wrote:
ChadDavis wrote:
Harvey is nice though. Great movie. There's a scene with this
slightly chubby lady singing that cracks me up completely.
Amazing, but you're the first person I've encountered who got
1) Validating numeric fields.
I have a couple of numeric fields on a form, and I have configured the
required validator for them. If I leave the fields blank and submit
the form, there is no error. Instead, the fields end up with values of
0, each. Either there is no validation taking
Richa Pandharikar wrote:
Can you please send the validation.xml file that you are using?
here is the add validation. the update is essentially identical,
right now...
validators
field name=playlistMediaBoardComponent.mediaBoard
field-validator type=required
messageYou
default value is null.
You may want to try (a) using an Integer property, and (b) using both the required and
int validators.
Dave
--- On Tue, 11/25/08, David C. Hicks [EMAIL PROTECTED] wrote:
From: David C. Hicks [EMAIL PROTECTED]
Subject: Re: Couple of validation questions.
To: Struts Users
Is there a way to get hold of the Session object from inside a Validator
or TypeConverter?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Should I take that as a no ?
Dave Newton wrote:
--- On Wed, 11/19/08, David C. Hicks wrote:
Is there a way to get hold of the Session object from inside
a Validator or TypeConverter?
Why would you want to? That smells like an unnecessary dependency.
Dave
in that instance. Should we encounter more of this, then it'll be
time to refactor.
Thanks for the information!
Dave
Musachy Barroso wrote:
You can get it from ActionContext.getContext().getSession(), but I second
Dave's opinion.
On Wed, Nov 19, 2008 at 1:22 PM, David C. Hicks [EMAIL PROTECTED
Is there a decent guide somewhere on the Internet about writing customer
validators?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm mainly looking for information on S2 validators. I think I've
figured out what I needed, though.
Thanks.
Dave Newton wrote:
--- On Tue, 11/18/08, David C. Hicks wrote:
Is there a decent guide somewhere on the Internet about
writing customer validators?
For which version
Hi,
I'd like to wrap entire web requests with a transaction, so that
multiple calls to different DAO's are all considered part of the same
transaction. I currently have the OpenEntityManagerInView filter set
up, and it seems to be working fine. I thought that might give me what
I want, but
I think the usual method is to have some kind of authentication
interceptor on your stack. If it cannot find a
User/Login/Authentication object in the session for the current request,
then it redirects to the login page. That's all server-side, of course.
Francisco Exposito wrote:
Hi,
How
I'm sure I've just got some little something not set up right or out of
place, but I can't seem to get validation working.
I have a class com.allureglobal.harvey.controller.CustomerController
that extends ActionSupport. There is a corresponding
CustomerController-validation.xml file located
information is helpful.
Dave Newton wrote:
--- On Wed, 10/15/08, David C. Hicks wrote:
[...] Validation is on my interceptor stack.
Is workflow? Do you know that *validation* doesn't occur, or that it just
doesn't return to input on validation errors?
Without any further information
=buttons:submit//span
/td
/tr
/tbody
/table
/div
Dave Newton wrote:
--- On Wed, 10/15/08, David C. Hicks wrote:
I can't really tell if validation is even being called.
If by is workflow you mean is it in the interceptor stack,
Yes. It is in the stack immediately following validation.
I'll
Oh geez. All of the indentation got waxed when I sent this. Sorry about
that. It looked a lot neater when I composed it.
David C. Hicks wrote:
We are not overriding the validate() method of ActionSupport. I
double-checked to be sure of that.
CustomerController (is an extension of a couple
We are using the simple theme primarily, but even if the page won't
report errors shouldn't the action fail if it is validating and I give
it bad data on purpose? We believe it's simply not executing the
validation. Our main layout has a s:actionerror/ tag that should get
any reported
/15/08, David C. Hicks wrote:
We are using the simple theme primarily, but even if the page won't
report errors shouldn't the action fail if it is validating and I give
it bad data on purpose?
Yes, but you never actually said specifically what was or wasn't happening, so
I had to guess
I've been working with ContextLoaderListener for a while this afternoon,
but I think I have a problem with dependencies. The latest API docs on
Spring indicate that you can get the current web application context
from a static method on ContextLoader, but I'm stuck with version 2.0.3
due to
I see. Thanks for the feedback.
Ron Chan wrote:
I've not used Spring for a while so I can't answer your question directly.
But all I'm trying to do is get access to something that would have been
correctly initialized had I been under struts. i.e. my QuartzService
example was already working
Can anyone point me to a source of information about how to build a
custom tag lib for Struts2? Maybe it's a plugin? I'm a little old
school and still learning.
Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
can be a pain in the rear.
Scott
On Wed, Oct 8, 2008 at 5:20 PM, David C. Hicks [EMAIL PROTECTED] wrote:
Can anyone point me to a source of information about how to build a
custom
tag lib for Struts2? Maybe it's a plugin? I'm a little old school and
still learning.
Thanks
Ryan,
I just went through a similar learning process. I found that by
following the model of the online tutorial, I had a lot more luck
getting started than trying to start from scratch.
Load up the WTP plugins for Eclipse, grab the quickstart zip file
mentioned in the online tutorial, and
36 matches
Mail list logo