Has it been included in the JIRA tracker?
https://issues.apache.org/jira/browse/WW
https://issues.apache.org/jira/browse/WWI don't see it
Hernán
On Tue, Sep 14, 2010 at 6:18 AM, Maqsud Mohammad
maqsud.moham...@ratedpeople.com wrote:
i raised this issue as a bug but havent got any updates
This pattern (submit tag with method specified)
http://struts.apache.org/2.2.1/docs/html-form-buttons-howto.html
worked for me in my previous version (from Struts 2.1.6).
Now (in Struts 2.2.1), I can't make it work. It always calls execute.
The only workaround I found was to set
More than 40 days passed, and still broken.
http://struts.apache.org/2.1.8.1/docs/tag-reference.html
http://struts.apache.org/2.1.8.1/docs/tag-reference.htmlThis is getting
depressing, it makes Struts2 look as an dying project.
Hernán
Still broken.
On Mon, May 17, 2010 at 12:39 PM, Lukasz Lenart
lukasz.len...@googlemail.com wrote:
2010/5/14 nuwan chandrasoma mymail...@gmail.com:
I also noticed that, i think the wiki .css is messed up,
It's because of new Confluence and auto export plugin :-(
I can restore the previous
Are you placing your struts jars in the tomcat lib directory ?
If so, try removing from there and placing them inside the war (web application)
On Mon, May 17, 2010 at 4:16 PM, Emi Lu em...@encs.concordia.ca wrote:
The most similar question I could find is:
You are doing a hot deploy of your full webapplication inside a
Tomcat tree, without restarting it ? If that's the case, I'm not much
surprised, hot deploys are rather fragile with respect to class
loading issues in my experience. I restart Tomcat in each deploy.
On Mon, May 17, 2010 at 5:11 PM,
...@googlemail.com wrote:
2010/5/6 hernan gonzalez hgonza...@gmail.com:
Uhmm CSS stuf is still broken for me -as detailed in previous post.
And further, there's a #editReport() thing near the header in most
pages, for example here
http://struts.apache.org/2.x/docs/getting-started.html
You meant
Not a cache issue on my side, I try this on several servers around the
world and get the same:
[vps1]~ $ wget --quiet -O-
http://struts.apache.org/2.x/docs/resources/space.css | grep resource
/* Could not locate resource: /includes/css/master.css */
/* Could not locate resource:
Since several days ago, the docs in the webpage of Struts2 are badly
broken, in particular the examples and code.
Examples
https://cwiki.apache.org/WW/stream-result.html
http://struts.apache.org/2.x/docs/stream-result.html
http://struts.apache.org/2.x/docs/writing-interceptors.html
Compare the
It seems quite probable that all will get fixed when the docs are
regenerated. Can somebody
force a full regeneration?
On Wed, May 5, 2010 at 12:00 PM, Lukasz Lenart
lukasz.len...@googlemail.com wrote:
2010/5/5 Lukasz Lenart lukasz.len...@googlemail.com:
Hmm something strange, the code is
Struts 2.1 introduces more verbose logging than Struts 2.0. While
extremely valuable, some users may find these annoying.
http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html
The extremely annoying thing is that struts 2.1 emits those warnings
(apparently)
If I understand right, the answer is no (and the question is not
related to struts, but only to ibatis).
You can't get (AFAIK) the sql generated/executed by ibatis, and there
are good reasons for that.
If you are debugging some sql problem, your database should allow you
to turn on full logging
of
You should tell us how the dropdowns were populated in the first page.
If only one Action class is involved, and the dropdowns are populated
by reading some attribute of it
(eg: getOptionListForDropDown() which looks at the
optionListForDropDown list )
you should fill that list, not in the
To avoid the problem of duplicated submissions (not only when
refreshing the result page, but also when double clicking the submit
button, or going back to the submited form and submitting again) you
should take a look at the TokenSessionStoreInterceptor.
But that is complementary with the other
I'm struggling with s:include + s:param in struts 2.0.14
The docs for the include tag http://struts.apache.org/2.0.14/docs/include.html
states:
How To access parameters Parameters are passed as request
parameters, so use the ${param.ParamName} notation to access them. Do
not use the property
I was not able to do it, despite trying a million different forms as well as
suggestions by some folks in strust mailing list.
I do not think you will be able to access the param value passed to s:include
within struts tag [clearly an obvious shortcoming]. Your best bet is using
jsp
Your jsp has access to your action, in the valuestack. So, you should
be able to ask
s:if test=hasActionErrors()
/s:if
Beware: for validation errors,
besides hasActionErrors() you might want to ask hasFieldErrors().
Or use hasErrors() , that includes both
Hernán J. González
The docs for the iterator tag,
http://struts.apache.org/2.0.11.2/docs/iterator.html
has an error, IMO (apart from the unfortunate confusion over the 'id'
vs 'var' attributes, which actually apply to struts 2.1) :
It says:
var : Name used to reference the value pushed into the Value Stack
the stack.
The docs seem (to me?) to imply that the name is used for pushing it
onto the stack (which doesnt make sense).
On Wed, Jan 21, 2009 at 5:58 PM, Dave Newton newton.d...@yahoo.com wrote:
(Forgot to add that the same is true for the bean tag as well.)
Dave Newton wrote:
hernan gonzalez
Thats fixed
Another related issue:
The releases notes for 2.1.6 has a (correct) link to releases notes
for previous - 2.1.5 , and so
on. This seems to be the only (is it?) way of look at the changes from
2.0. Besides
being a little involved (I believe the changes from 2.0.x should be
more
The link to Releases notes in the main download page is broken.
--
Hernán J. González
http://hjg.com.ar/
On Wed, Jan 14, 2009 at 12:19 PM, Musachy Barroso musa...@gmail.com wrote:
The Apache Struts group is pleased to announce that Struts 2.1.6 is
available as a General Availability
Another issue with the web site (probably it has been already noted) :
The Recent Threads box, in prominent place in the main page
http://struts.apache.org/
has not been updated in more than a year (!)
Hernán J. González
http://hjg.com.ar/
I agree, Struts2 sucks big time in
this regard while being an excellent framework otherwise.
Robert
Judging from my (not very long) experience with Struts2, I agree wholeheartedly
with that.
It really seems badly broken that the framework (OGNL, in this case)
swallows exceptions (even if we
Now it says 2.1.6 ...
Please fix it, it's the first page that Googles shows searching by struts2.
Hernán J. González
http://hjg.com.ar/
On Mon, Jan 5, 2009 at 4:37 PM, Chris Pratt thechrispr...@gmail.com wrote:
That is the official page, in fact 2.1.5 isn't actually on the page that
button
S2 and S1 are entirely different frameworks.
The migration involves rewriting a lot, actions and jsp.
They can coexist, though, and you can migrate gradually, by steps.
We are doing that: two related webapps; the small one (25 actions, 70
jsp) is fully done,
the other is about twice bigger and
The quick answer: in the default configuration, when the validation
fails the result INPUT (input) is returned. You frequently define a
mapping for this action and result in your struts.xml which renders
the original jsp (the input) so that the user can see the errors
(eg: s:actionerrors /) and
On Wed, Oct 29, 2008 at 8:06 PM, Jishnu Viswanath
[EMAIL PROTECTED] wrote:
In some case I am getting
Map session = ActionContext.getContext().getSession();
And the session contains a key called
Unless you are doing some research to understand struts internals or
deal with some very
http://struts.apache.org/2.0.11.2/docs/token-interceptor.html
http://struts.apache.org/2.0.11.2/docs/token-session-interceptor.html
http://www.planetstruts.org/struts2-showcase/token/index.jsp
Hernán J. González
http://hjg.com.ar/
If you need to execute different validation for each method, would'n
it be more
pertinent to validate programatically, invoking the corresponding
validation method
from each action method ?
On Wed, Oct 29, 2008 at 10:55 AM, Juanjo Cuadrado [EMAIL PROTECTED] wrote:
Hi,
I need to know how to
A suggestion, which might or not be adequate for your case:
If every action/jsp of your webapplication share that behaviour, and
if your actions
presently just extend ActionSupport, you might want to change that so that they
extend instead a MySiteAction class (which extends ActionSupport and
() {
...
}
public void validate () {
// common validation for every method
}
}
On Wed, Oct 29, 2008 at 11:52 AM, Juanjo Cuadrado [EMAIL PROTECTED] wrote:
uuummm... yes... but.. how?
have you documentation this?
2008/10/29 hernan gonzalez [EMAIL PROTECTED]
If you need to execute different
:: PASSION :: EXCELLENCE
-Original Message-
From: hernan gonzalez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2008 7:04 PM
To: Struts Users Mailing List
Subject: Re: [S2]Multiple Form Submission
http://struts.apache.org/2.0.11.2/docs/token-interceptor.html
http
- 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-Original Message-
From: hernan gonzalez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2008 11:26 PM
To: Struts Users Mailing List
Subject: Re: [S2]Multiple
Don is right.
No security issue here (and absolutely nothing to do with PHP's
register_globals).
I see little use in trying to discriminate between GET and POST in the
action side,
at least not in relation with security.
Of course, you should never use GET when submitting a password, but that's a
Sorry if this has been discussed/answered before, but:
Wouldn't it be nice to split the mailing list, so that Struts2 has its own list?
Really, we all know that Struts2 and Struts1/Classic are very
different frameworks,
and the user interest in the messagges about s2 have, in all
probability,
In any webapp the most typical and simple form flow involves two steps:
(from the serverside point of view)
1) show an empty form for the user to fill the fields
2) receive the data, validate ; if ok, process it and show response page;
if not, show the same previous form with error messages
In
There's nothing in Struts that will take care of this directly. Ideally
your users should be able to enter whatever characters they want; I would be
looking at how to get the database layer to cooperate, instead of imposing
arbitrary input restrictions based on the current database
Assume I have a lot of html forms with text inputs, and I want to
palce some restrictions for the set of allowed chars. Sort of a sanity
check, at the charset level.
For a concrete example, my storage (db) uses LATIN9 (iso-8859-15), and
the user sometimes can enter the non-allowed acute-accent
Assume I have a lot of html forms with text inputs, and I want to
palce some restrictions for the set of allowed chars. Sort of a sanity
check, at the charset level.
For a concrete example, my storage (db) uses LATIN9 (iso-8859-15), and
the user sometimes can enter the non-allowed acute-accent
/component.html
hernan gonzalez wrote:
I have some freemarker templates (general purpose, i.e. not
specifically for struts2) that generate html fragments, which I would
like to include in some jsp pages (in a struts2 environment).
Which are my alternatives? At first I tought of making
/component.html
hernan gonzalez wrote:
I have some freemarker templates (general purpose, i.e. not
specifically for struts2) that generate html fragments, which I would
like to include in some jsp pages (in a struts2 environment).
Which are my alternatives? At first I tought of making
I have some freemarker templates (general purpose, i.e. not
specifically for struts2) that generate html fragments, which I would
like to include in some jsp pages (in a struts2 environment).
Which are my alternatives? At first I tought of making a general jsp
jsp:include
Does not work for me.
Does that work on struts 2.0.x ? Did you find documented somewhere ?
Some special interceptor o configuration ?
Hernán J. González
On Jan 11, 2008 4:23 PM, Rubbinio [EMAIL PROTECTED] wrote:
Actually you can do something like this
s:checkbox name=selectedGroup
Disclaimer: I'm fairly new to Struts2, so I may me wrong. But:
I feel the behaviour of checkbox tag lacking. I dont think there is a
straighforward way to do a common web-application case: a form with a
dynamic list of N records (rows), each of which can be selected by
the user by a checkbox.
I have a wildcard mapping, say
action name=CarCRUD_* method={1} class=myCarCRUAction
If I have a form
s:form action=CarCRUD_load...
which results in (html stripped)
form action=/Presentation/test/CarCRUD_load.do2
and inside I have some submit buttons which go to other methods (besides load)
I
45 matches
Mail list logo