On 10/11/07, Mariano Rico <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have an action class extending the DispatchAction class to get
> different methods executed.
>
> My question is if the execute() method of DispatchAction is being
> executed before my own methods in my action class.
Yes and its the D
On 10/11/07, Dmitry Beransky <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We are still using an old version of Struts (1.0.2) and at this point
> upgrading to a newer version would require a really compelling reason, which
> I might have found. While investigating reasons behind slowness of our
> website
://commons.apache.org/beanutils/
Release notes:
http://commons.apache.org/beanutils/v1.8.0-BETA/RELEASE-NOTES.txt
Download:
http://commons.apache.org/downloads/download_beanutils.cgi
Niall Pemberton,
on behalf of the Commons community
-
To
On 8/2/07, Alexander Jede <[EMAIL PROTECTED]> wrote:
> Hallo list,
> I have an ActionForm with an attribute (String) to print the value of
> this attribute I use .
> The problem is the String could have small and capital letters but I
> would like to print it always the same. For example always wit
On 8/1/07, Alexander Jede <[EMAIL PROTECTED]> wrote:
> Hallo,
> me bean has a Map attribute.
> Now I want to get access to the values of the Map. But I do not want
> iterate throw the entire Map. In Java I would write something like:
> map.get("key")
> What is the best way to do this in my JSP with
On 7/12/07, Josh Vickery <[EMAIL PROTECTED]> wrote:
Actually, I think this is a bug in the handling of MessageResources in
Struts 2. Not only do ' characters in properties files fail to
display, they cause parameter substitution to fail. For example, if
you have a properties file:
I don't use
bute(s) and the logic to render the
attribute in that method.
Niall
2007/7/10, Niall Pemberton <[EMAIL PROTECTED]>:
>
> On 7/10/07, Tomas KRAMAR <[EMAIL PROTECTED]> wrote:
> > Hi folks,
> > I need to turn off the autocompletion feature on a html text input. I am
>
On 7/10/07, Tomas KRAMAR <[EMAIL PROTECTED]> wrote:
Hi folks,
I need to turn off the autocompletion feature on a html text input. I am
using my own ajax autocompletion, but the default autocompletion interferes
with mine. I have read, that struts taglib does not support this, as it is
not part of
On 7/5/07, Nhut Thai Le <[EMAIL PROTECTED]> wrote:
Hi,
I have configured my app as follow:
$CATALINA_HOME/conf/server.xml
This tells the servlet container that the Core1 application has a connection
pool ready to be used
Then in the WEB-INF/web.xml i have:
co
.but if you think its not clear enough, then improvments are always welcome :)
http://struts.apache.org/helping.html
http://svn.apache.org/viewvc/struts/struts1/trunk/src/site/xdoc/faqs/validator.xml
Niall
2007/7/2, Niall Pemberton <[EMAIL PROTECTED]>:
>
> On 7/2/07, Xavier Vanderstukke
On 7/2/07, Xavier Vanderstukken <[EMAIL PROTECTED]> wrote:
I have the following validation rule :
test
(*this* == newPassword)
In my ressource file:
errors.required={0} is required.
errors.i
On 7/1/07, Stjepan Brbot <[EMAIL PROTECTED]> wrote:
Hi,
I have one classic HttpServlet for dynamically rendering an image from given
(database retrieved) data. Actually this servlet takes data from session
(previously retrieved from database and put inside session) and renders the
image. Since t
On 6/30/07, Andrew Burger <[EMAIL PROTECTED]> wrote:
I am trying to use Struts 1.3.8 on Geronimo 1.1, Tomcat 5.5 and Sun App 8.2
I am getting the same error. on all 3. I thought at first it was my
struts-config.xml but the struts-blank-1.3.8.war is give my the same
error. I tried struts-blank-1.3
On 6/30/07, pavan reddy <[EMAIL PROTECTED]> wrote:
Thanks Wendy
But I followed the struts upgrade steps
The problem here is with tiles plugin this my code in struts-config.xml
//even
tried making this attribute false
and in tiles-def.xml the doc type is
http://struts.apache.org/dtds/ti
1.1 --> 1.2 here:
http://wiki.apache.org/struts/StrutsUpgrade
One thing I noticed is your message resources - for 1.2 these should
be configured in the struts-config.xml rather than the web.xml
Niall
Soren
- Original Message -
From: "Niall Pemberton" <[EMAIL PROTECTED]
On 6/27/07, Søren Blidorf <[EMAIL PROTECTED]> wrote:
Can anybody see if something is wrong with this struts-config.xml. I have just
upgraded struts to 1.2.9.
And a simple .do call does not work. Nothing happends. I get a blank screen and
no errors is reported i the logs
Just out of interest
On 6/25/07, Xavier Vanderstukken <[EMAIL PROTECTED]> wrote:
Good morning,
I need to subclass the LookupDispatchAction to write a
"BaseLookupDispatchAction" to centralize the UserRole check of my
application (etc.).
I try the following piece of code :
public abstract class BaseLookupAction exte
On 6/22/07, hicham <[EMAIL PROTECTED]> wrote:
Hello
I'm new beginner starting with a "struts-blank-1.3.8.war" web
application, deployed on tomcat 5.5, but I couldn't find the .tld
files anywhere.
They are shipped in the struts-taglib-1.3.8.jar - so as long as you
deploy that jar, then that sho
On 6/20/07, cilquirm <[EMAIL PROTECTED]> wrote:
This is most probably not related to Struts.
I can't claim to know the intrinsics of your setup but it looks like you're
missing some jars need for JSF.
It might be that you're running an older version of the J2EE stack.
javax.el.ExpressionFactor
On 6/20/07, lextest <[EMAIL PROTECTED]> wrote:
Hello,
We have a client using Struts 1.2.9. They are experiencing a problem when
trying to use client side validation on a struts page that is using
html:xhtml. It's the exact problem described in this bug report:
http://issues.apache.org/struts/b
On 6/20/07, David Harland <[EMAIL PROTECTED]> wrote:
Hi,
I have been to www.ognl,org and can only find the source for 2.6.9 where
are the struts 2 team getting the new releases from as it seems to be a
dead site?
http://www.opensymphony.com/ognl/
Niall
Thanks
Dave.
--
On 6/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello Niall,
Actually I did a mistake when i wrote my email, because i already do what
you told me to do, so I still have the same problem:
<%= TEST %>
<% Collection col = (Collection)request.getSession().getAttribute(
"cautionVos"); %>
On 6/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello,
I am having some problems with getting a session attribut in my JSP.
A have a JSP where the user can make a search based on information he must
enter in a form.
The result of the search must be displayed in a table.
To display the
On 6/11/07, Jeff Amiel <[EMAIL PROTECTED]> wrote:
On 6/7/07, Jeff Amiel <[EMAIL PROTECTED]> wrote:
> Thanks muchwill continue to investigate.
> I really appreciate the information and will post back if I get any
> concrete results
>
Shortly thereafter, while pouring through the tomcat i
On 6/8/07, Eric Jain <[EMAIL PROTECTED]> wrote:
I have a form with a FormFile field, which works great, except that when
someone submits a plain string for this field (e.g. a spammer crawling the
site and doing random submissions) I get an ugly stack trace logged... I
wonder is there a way to cat
On 6/6/07, Nathan Hook <[EMAIL PROTECTED]> wrote:
I've run into a problem.
If a user either accidentally or maliciously enters an incorrect path that
has a struts extension the user will receive an Exception and a Stack Trace.
For example if we have the path www.xxx.com/login.do mapped like so.
Use a LazyValidatorForm - define an array of User objects for the form
in your struts-config and it will automatically populate it for you:
http://struts.apache.org/1.x/userGuide/building_controller.html#lazy_action_form_classes
Niall
On 6/6/07, Raghupathy, Gurumoorthy <[EMAIL PROTECTED]
On 6/6/07, Jeff Amiel <[EMAIL PROTECTED]> wrote:
On 6/5/07, Niall Pemberton <[EMAIL PROTECTED]> wrote:
>
> Might be a Tomcat issue - can you be more precise about the version of
> Tomcat 5.5?
from org/apache/catalina/util/ServerInfo.properties
server.info=Apache Tom
On 6/6/07, Jeff Amiel <[EMAIL PROTECTED]> wrote:
Recent issue is driving me batty. Suddenly started receiving
exceptions in app server logs (tomcat a la jboss)...
Servlet.service() for servlet AxisServlet threw exception
java.lang.IllegalStateException
org.apache.catalina.connector.ResponseFaca
ion? Or do we
specifically catch the InvalidPathException?
Looking at the source code seems that you have to define each specific
exception.
Niall
Thank you for your time.
Original Message Follows----
From: "Niall Pemberton" <[EMAIL PROTECTED]>
Reply-To: "Struts
Your initial response to Srinivasula was OT and vague enough to make
me think WTF? This is a place for individuals to meet and get help -
whoever they work for and whatever their skill level. Lets not put new
people off asking questions - just don't reply if something annoys
you.
Niall
P.S. I th
You can either set up an exception handler for InvalidPathException or
you can mark one of your actions in the struts-config.xml as
"unknown".
Niall
On 6/4/07, Nathan Hook <[EMAIL PROTECTED]> wrote:
We have recently upgraded to struts 1.3.8 and have been running into the
org.apache.struts.chain
On 6/1/07, Zoran Avtarovski <[EMAIL PROTECTED]> wrote:
I was wondering what people's experience has been with using JSTL as opposed
to OGNL with regards to performance. I saw the Wiki entry for the
ActionPropertyExportInterceptor but I'm concerned it may have to big a
performance hit, essentially
On 5/29/07, Adam Gordon <[EMAIL PROTECTED]> wrote:
We're using the html:form element and we have the acceptCharset
attribute set to "UTF-8" and when we enter a unicode character in a
textarea in this form element, the UTF-8 character (in this case \u2022,
the bullet symbol: •) displays correctly
On 5/9/07, Antony Stubbs <[EMAIL PROTECTED]> wrote:
Having staticJavascript=true generates *all* the validation functions
specificed in struts-validators.xml (?) even if the form it's generating for
only uses the REQUIRED validator.
Is there a way to minimise the javascript generated?
Commons
On 5/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
I'm using Struts version 1.3.8 and I intend to use URL validation for a
field using the validation.xml file. But, when I declare the field in
validation.xml, it does not validate the field to check whether the URL is a
valid one, meani
order and didn't see you had already
solved it I only posted a few minutes ago. I might have replied
earlier except some guys made me go out drinking beer till late last
night here at ApacheCon
Niall
Thanks,
d.
--- Niall Pemberton <[EMAIL PROTECTED]> wrote:
> On 5/3/07, Dave
Doh! Just replied to the other thread :)
Niall
On 5/3/07, Dave Newton <[EMAIL PROTECTED]> wrote:
Followup:
Overriding getValidationKey(...) fixed it.
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> Hey,
>
> Working on an S1 app at the moment (shaddup, all a'
> ya').
>
> Things are set up a bit
On 5/3/07, Dave Newton <[EMAIL PROTECTED]> wrote:
Hey,
Working on an S1 app at the moment (shaddup, all a'
ya').
Things are set up a bit weird compared to what I'm
used to; in this case there's an action that uses an
ActionForm that isn't declared in struts-config, and
that ActionForm contains
On 5/3/07, Sandra Reichert <[EMAIL PROTECTED]> wrote:
Hi,
Our web application offers two ways for data input.
The first way is an html from. Here the user can enter record by record.
Validation works fine.
The second way is to import data from a .cvs file. I want to use the
same validation.xml f
Would also be good to know which version of Struts you are talking about.
Niall
On 4/26/07, Laurie Harper <[EMAIL PROTECTED]> wrote:
hardc0d3r wrote:
> i have jdk 1.6 and tomcat 5.5 installed and i tried to run the examples of
> struts by putting the war files in the webapps directory. when i t
On 4/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I've encountered a rather annoying issue. To select the language in which our
labels should be displayed, we use fmt:setLocale. Everything works fine,
everybody's happy.
But. To validate our forms, we use DynaValidator. In our webapp
On 4/23/07, piloupy GOTTAPIL <[EMAIL PROTECTED]> wrote:
Hi,
I'd like to do something like this in a JSP file :
Email Link
where contact.mail is a key from my MessageResources.properties.
I think the solution is quite simple, but I can't find how to do.
How about..
Email Link
Niall
Than
The init() and init(ServletConfig) methods are part of the servlet API
- the container calls init(ServletConfig) and that method then fires
init() - so if they are not getting called then I don't think it has
anything to do with Struts. Have you checked your logs for any errors?
Niall
On 4/23/0
On 4/20/07, Crawford, Preston <[EMAIL PROTECTED]> wrote:
Anyone know? I know Struts 1.2 comes with JSTL 1.0. I read somewhere that
you have to use JSTL 1.1 with a 2.4 container, which is what we have. I just
need to figure out what version of JSTL we can/should run.
Struts ships with an optiona
Struts EL is for Servlet 2.3 containers only (provided to give people
the opportunity to start using EL before it was included in the
standard for containers) - you can't use it in Servlet 2.2 and you
don't need it in Servlet 2.4 (its part of Servlet 2.4/JSP 2.0 Spec).
Niall
On 4/20/07, Crawford
Dave is correct since Servlet 2.3/JSP 1.2 TLD files no longer have to
be specified in the web.xml - they can be auto-discovered if they're
in the web applications "resource path" which includes the META-INF
section of jar files - Struts ships the TLDs in its jars so you don't
have to specify this.
I've never actually used it but I think the DigestingPlugIn might do
this for you
http://tinyurl.com/2kzh8b
Having said that probably the best plan would be to create your own
ServletContextListener to do this which would be independant of
Struts
http://java.sun.com/products/servlet/2.3/javado
For ValidatorForm it uses the "attribute" value for the key to the
validation - in your case thats "LogonForm" - but your validation.xml
uses the form "name" of "logonForm". So either change the key in the
validation.xml or the attribute on your action mapping.
You don't actually have to specify
On 4/11/07, Suman Maity <[EMAIL PROTECTED]> wrote:
Well, could u then let me know how to modularize my struts config in case it
grows large. How do I modularize my struts web app without having separate
struts modules. I am working on a web project where there are three types of
users:Admin, Web
On 4/6/07, samk <[EMAIL PROTECTED]> wrote:
Hi , I am new to struts , I am using a Tabbed page with multiple buttons on
the page (submit, save, clear)
can some one let me know the process in doing it? As i have read some
article that we can do it with dispatch Action or LookUpDispatch action.
On 4/6/07, Crawford, Preston <[EMAIL PROTECTED]> wrote:
I'm sure many of you know about this. The originally IE specific attribute
"autocomplete", that when set to "off" would prevent the browser from saving
the data in the form for autocompletion later.
I'm working on a project that uses Struts
On 4/4/07, davout <[EMAIL PROTECTED]> wrote:
I downloaded Struts r1.2.4. The r1.2.4 'validator-rules.xml' file is exactly
the same as the file in my project.
The stack trace says that this is not true - I can re-create your
exact error by dropping the validator-rules.xml from Struts 1.2.7 int
and 1.2.9). The MANIFEST.MF file in the struts jar should
tell you what version of struts you're using - when you find that out
download that version of Struts and grab the validator-rules.xml from
it.
Niall
Niall Pemberton-2 wrote:
>
> Use the validation-rules.xml that comes wit
Use the validation-rules.xml that comes with the version of Struts
you're using. This exception usually happens when people upgrade their
version of Struts but don't use the validation-rules.xml that ships
with the new version.
Niall
On 3/29/07, davout <[EMAIL PROTECTED]> wrote:
I've added Str
mons Valdiator dtd?
Niall
>>> "Niall Pemberton" <[EMAIL PROTECTED]> 3/28/2007 2:53 PM >
On 3/28/07, Manfred Wolff <[EMAIL PROTECTED]> wrote:
James.
I know it. But at least one question: Does anybody know why every little
peace of open source is hosted at ibiblio, but not the famous struts. I
really don't understand this.
It is (both 1.3.5 and 1.3.8 versions) - but in the maven 2
I can't see anything wrong with what you have here. Can you show us
how you have configured Struts to pick up your custom validation rules
and also say what version of Struts and what version of Commons
Validator you are using
Niall
On 3/28/07, Dwight Galloway <[EMAIL PROTECTED]> wrote:
I am ha
Sorry - I className shouldn't have been in there:
Niall
On 3/23/07, Niall Pemberton <[EMAIL PROTECTED]> wrote:
On 3/23/07, Oren Livne <[EMAIL PROTECTED]> wrote:
> P.S. is there an equivalent attribute to "module" for global and/or
> local excep
On 3/23/07, Oren Livne <[EMAIL PROTECTED]> wrote:
P.S. is there an equivalent attribute to "module" for global and/or
local exception attributes? Right now I have:
I want to have module="/error" and path="/system.do" instead. Could I
use a global-forward declaration instead of the actio
I've never actually used modules in anger - but the "contextRelative"
was considered "deprecated" in favour of the "module" attribute since
Struts 1.2.4:
http://struts.apache.org/1.x/userGuide/release-notes-1_2_4.html
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
So I guess you s
On 3/21/07, Dilip Ladhani <[EMAIL PROTECTED]> wrote:
Thanks for the reply.
However, after doing that I get the error
Unhandled exception thrown during validation: No message resources
found for bundle: messages
java.lang.NullPointerException: No message resources found for bundle: messages
On 3/21/07, Dilip Ladhani <[EMAIL PROTECTED]> wrote:
I have gotten the validator to work in may of my projects, but I am
stuck on this one and was wondering if someone can help.
I have a MessageResources.properties under WEB-INF/classes which
contains all the messages.
In my struts-config I have
Theres a "Hands on Lab" for Struts (1.2.9) / Netbeans by Sang Shin
availbale here:
http://www.javapassion.com/handsonlabs/strutsbasics/
Niall
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
On 3/13/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
Strachan, Paul wrote:
> I resolved this myself by simply overriding the set(String, Object)
> method in my form, to ignore certain request parameter names that are
> not of type String in my LazyValidatorForm.
>
If you feel strongly about
x/userGuide/building_controller.html#lazy_action_form_classes
Niall
-----Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: maandag 12 maart 2007 14:49
To: Struts Users Mailing List
Subject: Re: DynaValidatorForm with java.util.Date
On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Why does sql.Date work?
Because BeanUtils (at the moment) comes with a registered converter
for jav.sql.Date - but not for java.util.Date. If you want it to
handle String-->java.util.Date you need to register a Converter for
it:
Convert
P.S. Also the Commons Validator version?
On 3/7/07, Niall Pemberton <[EMAIL PROTECTED]> wrote:
What version of Struts are you using? From memory I think this was
fixed in more recent versions.
Niall
P.S. Always a good policy to state the version you're talking about
On 3/7/07
What version of Struts are you using? From memory I think this was
fixed in more recent versions.
Niall
P.S. Always a good policy to state the version you're talking about
On 3/7/07, MC Moisei <[EMAIL PROTECTED]> wrote:
Hello,
How do I get rid of the following anying message beside setting th
On 3/7/07, Lance Semmens <[EMAIL PROTECTED]> wrote:
We are in the process of upgrading to struts 1.3.5, I have followed the upgrade
guide at http://wiki.apache.org/struts/StrutsUpgradeNotes12to13. Most of the
nested tags now seem to be broken.
For example:
The fol
On 3/6/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
Niall,
Niall Pemberton wrote:
> You pretty much have it - the point at which the value submtted by the
> tag is converted to Globals.CANCEL_KEY is in the RequestProcessor's
> processPopulate() method.
I don
Chris,
You pretty much have it - the point at which the value submtted by the
tag is converted to Globals.CANCEL_KEY is in the RequestProcessor's
processPopulate() method.
Having said that, Struts 1.3.5 uses the new ComposableRequestProcessor
which replaces all that RequestProcessor functionalit
It should work - is this exactly how you have things configured -
because theres a slight difference in names below - one has an "s" on
the end.
Niall
On 3/5/07, Peter L. Berghold <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks,
I've asked this question befor
Script would be probably be
difficult. I think if you were looking to provide that kind of
validation for both client and server side then it would be easier to
start afresh and not use antlr.
Niall
[1] http://www.antlr.org/
Regards,
Selon Niall Pemberton <[EMAIL PROTECTED]>:
> No
No its server-side only.
Niall
On 2/27/07, jmpdev <[EMAIL PROTECTED]> wrote:
Hi,
I would like to know if it is possible to call validWhen on the client
side?
I didn't find validWhen.js is it possible to find it somewhere?
Thanks,
Regards, Jean-Marie.
--
i put the 1.8 version i also put a file
named context.xml with the properties:
Any other sugestion to avoid this situation
Juan
-Mensaje original-
De: Niall Pemberton [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 23 de febrero de 2007 11:28
Para: Struts Users Mailing List
Asunto: Re: P
n Espinosa <[EMAIL PROTECTED]> wrote:
I read the bug but i didnt understand very well
I must to replace commons-digester for a new one ?? Is commondigester
causing the problem ??
Juan
-Mensaje original-
De: Niall Pemberton [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 23 de febrero de
On 2/23/07, Juan Espinosa <[EMAIL PROTECTED]> wrote:
Hi to all…
Im having problems with the undeploy of an struts application im using
tomcat 5.5.4, when i undeploy the application some jars get locked and i
cant delete it….
I search in web and i found the context properties antiResourceLocking
On 2/23/07, yuubouna <[EMAIL PROTECTED]> wrote:
Migrating from sruts 1.2.4 to struts 1.3.5
according to http://wiki.apache.org/struts/StrutsUpgradeNotes12to13
StrutsUpgradeNotes12to13
in order for me to use the tiles I must set the chainConfig in web.xml.
my questions are:
1. Even If I don`t s
On 2/22/07, Zhang, Larry (L.) <[EMAIL PROTECTED]> wrote:
I am trying to develop some classes used for XML parsing or generating
purposes. But I think it is difficult to abstract to write a common
utility since each XML document is different, and to parse that
document, we should have a different
On 2/23/07, Vikash Manoranjan <[EMAIL PROTECTED]> wrote:
Hi,
i want to use LazyActionForm in my program. Kindly provide me with complete
sample code like how to use it.
http://www.niallp.pwp.blueyonder.co.uk/lazyactionform.html
Niall
Thanks and Regards,
Vikash Manoranjan
Struts 1.3.x introduced the ComposaleRequestProcessor based on Commons
Chain - Post Back forms were only implemented as a Command used by the
ComposaleRequestProcessor and not in the original
RequestProcessor/TilesRequestProcessor flavours. You are specifying
using the TilesRequestProcessor in you
On 2/9/07, temp temp <[EMAIL PROTECTED]> wrote:
I want to create instance of a class using object.getClass().new
Instance() but this object constructor needs another object so how can I do
this ?
Suppose I have a class
DefaultMetaInfoHandler default=new DefaultMetaI
datePatterndd/MM/
Need to remember to configure your "conditional" validator:
Not something I've done though, so just shooting from the hip.
Niall
any chance you can point me in the right direction before I waste 2 days
trying something impossible
rstand - although it is ASF licensed so you could just grab the
source code into your project and do with it whatever you want.
Niall
I guess a custom validator it is then.
Harsh.
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Friday, February 09, 2007 9:46
I don't think you can do this without either a custom validator or as
Jim suggests, implementing it in the validate method of your form.
Niall
On 2/9/07, Jim Reynolds <[EMAIL PROTECTED]> wrote:
It appears you are probably using the ValidatorForm or
ValidatorActionForm in 1.x?
Just a thought ...
The above looks like JavaScript - because validwhen is server side
only. Either way validwhen doesn't cater for doing different types of
validation (e.g. integer, float etc) depending on a value.
is this possible? I'm thinking not, so a custom validation method is
prob
Harsh.
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Friday, February 09, 2007 4:35 AM
To: Struts Users Mailing List
Subject: Re: Validating list backed struts form
Specify the property in your form which returns the list of addresses
using the "indexedListProperty&
should I just go ahead and build a custom validator.
Harsh.
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Friday, February 09, 2007 4:35 AM
To: Struts Users Mailing List
Subject: Re: Validating list backed struts form
Specify the property in your form which ret
On 2/9/07, Nathan Coast <[EMAIL PROTECTED]> wrote:
Hi,
I have two fields in a form. I believe the validwhen rule executes a
specific rule (e.g. required) on field a based upon the value of field
b. The situation I have is that I need to execute different validations
on field a determined by th
Specify the property in your form which returns the list of addresses
using the "indexedListProperty" element in your validation.xml -
"property" is then the property of a bean in that list. Something
like:
...
...
Niall
On 2/8/07, Chaudhary, Harsh <[EMAIL PRO
RewriteTag - see http://tinyurl.com/yueget
FormTag - used in a post - why you would need to append query parameters?
LinkTag - should encode the ampersand - can you confirm this and if
its not being encoded please post a of your JSP showing you
usage.
Niall
On 2/7/07, Liam Brady <[EMAIL PROTEC
On 1/30/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- [EMAIL PROTECTED] wrote:
> Is there anything else that I need to do for URL
> validation besides declaring in validation.xml?
You need to provide more information. ActionForm
class, how you're mapping from action => validation
(bean name or
On 1/9/07, Bruno Melloni <[EMAIL PROTECTED]> wrote:
Yes, I know this is embarassing, but my company still uses Struts 1.1...
because of a RAD6 dependency.
Somebody just mentioned that there is a security hole in Struts 1.1.
When I searched for it, I did find a reference to it in a pre-1.3
discus
On 1/4/07, Edward Song <[EMAIL PROTECTED]> wrote:
Hi all,
STRUTS 1.2
Got a quick question on the Action "name" and "attribute" properties
name - The name of the form bean associated with this action. This value
must be the name attribute from one of the form-bean elements. This
attribute is
Is tiles using an action to render the view - looks that way from the
stack trace.
Niall
On 12/28/06, Hehl, Thomas <[EMAIL PROTECTED]> wrote:
We just upgraded to struts 1.2.9 and started getting this message when I
pressed the cancel button. I fixed it once before, but it's popped up on
anothe
On 12/21/06, Jim Reynolds <[EMAIL PROTECTED]> wrote:
Are there major differences between 1.24 and 1.29? I am having lots of
validation problems, and problems with the SSLExt in the 1.29 when I
am trying to migrate.
I read the docs, but do not see any major changes that would cause this?
Rememb
On 12/21/06, A. Lotfi <[EMAIL PROTECTED]> wrote:
Hi, I am still confused about messagesPresent , I don't know why we use it ,
for example I found this example :
You use it to render something if errors/messages are present. Look at
the second example here:
http://www.niallp.pwp.blueyonder.co.
On 12/20/06, Jim Reynolds <[EMAIL PROTECTED]> wrote:
Hello,
I am having some issues with getting the messages from the validator
framework from showing. Actually, I have some old code like this:
that used to work, before upgrading
On 12/19/06, Joseph McGranaghan <[EMAIL PROTECTED]> wrote:
Solved my problem:
ActionContext ac = (ActionContext)context;
ac.setForwardConfig(new ActionForward("/myaction.do"));
If anyone has a cleaner, non-hardcoded my, I'm all ears!
Can you not just do this as one action mapping and specify
1 - 100 of 989 matches
Mail list logo