I'm curious to know why the s:file tag breaks an 2.1.6 ajax form resulting in a
javascript error "'message' is null or not an object" in IE6 (target div isn't
updated). The form, which contains some input tags and a s:file tag, works
when the standard s:submit tag is used, but doesn't work with
.
- Original Message
From: Gabriel Belingueres <[EMAIL PROTECTED]>
To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL
PROTECTED]>
Sent: Wednesday, April 16, 2008 4:55:25 PM
Subject: Re: Overriding subset of interceptor params
Seems OK to me (according to the current
I'm trying to override one of three interceptor parameters in an action
specific config using method #2 described in
http://struts.apache.org/2.0.11.1/docs/interceptors.html#Interceptors-InterceptorParameterOverriding.
Unfortunately the other two parameters that I'm not overriding are not being
Besides the simplified view references, I've used the level of indirection to
allow for a dynamic model on a single action class that implements a number of
related actions. In my case the action configuration sets a static property
that defines the model property. The getModel implemenation u
I've tried using the datetimepicker with the type attribute set to "time"
(), but
nothing shows up. There was a email thread this past spring on this subject,
but it appears the tag was broken and to be fixed in 2.1. Is the tag still
broken in 2.0.11?
Thanks,
Jon
I found an undocumented
com.opensymphony.xwork2.interceptor.ParametersInterceptor parameter
(excludeParams) that appears to do the same as
com.opensymphony.xwork2.interceptor.ParameterFilterInterceptor. The later
actually works on full property names vs. the regular expressions that filter
ou
I've tried several onX event attributes and none of them seem to fire with the
S2.0.8 datetimepicker. Is this a bug?
TLY appreciate if one of the Struts developers had a workaround suggestion.
For example would it be feasible to port FilterDispatcher to a servlet?
----- Original Message
From: Jon Wilmoth <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Monday, June 25, 2007 7:14:52 PM
Subject: Re
in action w/FORM authentication?
yes - it is definitely possible. The thing to remember is that if you
are using struts2 tags (which I'm pretty sure you are), you need to
redirect through an action first so the value stack is available to the tag.
/Ian
Jon Wilmoth wrote:
>To add a little
jsp._jspService(login_jsp.java:111)
If this is off topic and I should post this to the Tomcat user list please let
me know...it just seems to me that other S2 users may have this same question.
- Original Message
From: Jon Wilmoth <[EMAIL PROTECTED]>
To: user@struts.apache.org
Sent: Sunday, Jun
Is it possible to use an action as the webapp's login page? I've tried the
following web.xml/struts.xml entries with S2.0.8 & Tomcat 5.5.23, but get a 404
The requested resource (/mywebapp/login.action) is not available message.
FORM
/login.action
/logi
The DTD (http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd) for the
xml validation file definition doesn't appear to support error message
parameters. How does one pass msg parameters when using the message key (which
I assume is a i18n message file key)?
Using the example on http://
I noticed there's only two bundled numeric data type validator (int, double).
Is there any reason the S2 "int" validator can't be used for long field
validations (or other data types w/out decimals)?
p.s. The http://struts.apache.org/2.x/docs/validation.html page is missing a
link for the doub
Thank you. So MyAction-validation.xml will only work with the following
(equivalent configs)?
/result.jsp
or
/result.jsp
- Original Message
From: Musachy Barroso <[EMAIL PROTECTED]>
To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL
PROTECTED]>
Sen
http://struts.apache.org/2.x/docs/validation.html says:
Validation rules can be specified:
Per Action class: in a file named ActionName-validation.xml
Per Action alias: in a file named ActionName-alias-validation.xml
Inheritance hierarchy and interfaces implemented by Action class: XWork
searche
It appears to work. I'm just leary of having stacktraces in my log file ;) If
turning devmode off will eliminate it I'll try that.
- Original Message
From: Dave Newton <[EMAIL PROTECTED]>
To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL
PROTECTED]>
Sent: Wed
I'm getting the following stacktrace using 2.0.7 while trying to pass action
values during an action redirect result (action config below) and I'm wondering
if this is a bug with the test build I'm using or if this is user error
(probably the later). I followed the
http://www.mail-archive.com/
I'm interested in some of the bug fixes going into 2.1.x (particularly around
conversion errors w/ the datetimepicker tag).
http://struts.apache.org/dev/builds.html says there's a nightly build of the
development tree, but when I looked on
http://people.apache.org/builds/struts/nightlies/ all
e thing happens.
- Original Message
From: Musachy Barroso <[EMAIL PROTECTED]>
To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL
PROTECTED]>
Sent: Tuesday, May 15, 2007 11:56:22 AM
Subject: Re: [s2] datetimepicker - how to preserve original value
This problem is related to this:
https
I'm using 2.0.7 and am getting errors when the user inputs an invalid date
format. In addition to the stacktrace below, the field's value displayed to
the user becomes "NaN/NaN/0NaN". Is this an oversite in the new tag that
doesn't check to see if a field error exist before attempting to apply
The message element in
http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd allows for a key to
be specified, but how is one supposed to provide i18n parameters with Struts2
(e.g. actual max length of a field)?
-
To unsu
I'm using Struts 2.0.7 & AjaxTags 1.2-beta3 and I've come to the painful
realization that AjaxTags no longer is able to update Struts2 datetimepicker
fields. The new S2 date fields use a div (example html below) instead of an
html form input tag. The issue is that the "handler: function(reques
I'm using 1.2.9 w/ 2.0.1 beta successfully. You may also want to check out
http://struts.apache.org/2.x/docs/migration-strategies.html
- Original Message
From: "Asthana, Rahul" <[EMAIL PROTECTED]>
To: user@struts.apache.org
Sent: Tuesday, January 2, 2007 10:06:46 AM
Subject: using 1.2.4
changed my interceptors to
use the http session to exchange data between themselves dependency injection.
- Original Message
From: Don Brown <[EMAIL PROTECTED]>
To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL
PROTECTED]>
Sent: Monday, December 18, 2006 11:46:36 AM
Subject: Re: S2 - P
Are there any rules the interceptors should be aware of when dealing with the
HTTP response? I ask because I'm trying to save a cookie to the user's browser
via an interceptor and although I'm adding the cookie (with a MaxAge attribute
value = one year) to the response via
ServletActionContext
I'm working on a custom S2 Interceptor and I'm not sure what the best way to
interact with the session and/or other Interceptors for that matter is. First
the session. I read
http://struts.apache.org/2.x/docs/how-do-we-get-access-to-the-session.html and
I tried applying the concept of using a
n Brown <[EMAIL PROTECTED]>
To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL
PROTECTED]>
Sent: Wednesday, December 13, 2006 12:09:05 PM
Subject: Re: Struts2 Storing/Retrieving View objects
Just provide getter methods on your action. Then, you can retrieve
the data in your jsp thr
I'm preparing to make the switch from Struts 1.x to Struts 2 for new
development and had a few questions related to how objects used to render data
in a JSP page should be stored/retrieved for a desired http namespace. One of
the design tenants I try to employ in my current S1 webapp is minimizi
You can try http://jakarta.apache.org/commons/validator/ which is commonly used
w/Struts 1.
- Original Message
From: Jim Reynolds <[EMAIL PROTECTED]>
To: user@struts.apache.org
Sent: Wednesday, November 29, 2006 2:21:49 PM
Subject: Validator without Struts
Hello,
I have the need to d
Thanks for the respone. I'm using the xwork-2.0-beta-1.jar that was included
in the struts 2.0.1 beta distribution. Unfortunately, that jar file doesn't
contain the org.apache.struts2.views.jsp.TagUtils class. For that, I've
included the struts2-all-2.0.1.jar file in my webapp. Has anyone su
I noticed there was an earlier posting on the dev list regarding this
(10/10/06). I downloaded the beta version of 2.0.1 from the struts website and
I'm getting the same NPE. Is there a work around? I'm trying to ease my
transition into S2, and would like to use the datePicker tag w/Struts 1.3
31 matches
Mail list logo