I have two LinkedHashMap properties in a DynaActionForm.
I need to validate one of the map based on the other.
i.e. map1(1) is required if map2(1) is not null.
Can this be done?
Nathan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
On a bit of a side note...
I would suggest using MappingDispatchAction in the 1.2 builds. This
has made the use of dispatch actions much much easier. It allows you
to move the "method" parameter into the action mapping itself. This
way you do not need to send the parameter in the request.
Na
Yeah I know what happenedIt's still there :)
Nathan
On Aug 23, 2004, at 3:01 PM, David Evans wrote:
Anyone know what happened to the website that used to live here:
http://husted.com/struts/index.html
there was a design patterns catalog and a tips page and alot of great
links.
has it been mirro
or jsp 2.0!
On Aug 16, 2004, at 9:55 AM, Rick Reumann wrote:
Rick Reumann wrote:
Of course this assumes using html el tags.
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Not web based but i think AquaStudio rocks!
Auto-completion of sql!
http://www.aquafold.com/
On Aug 16, 2004, at 9:16 AM, [EMAIL PROTECTED] wrote:
Anybody aware of any open/free packages that contain a web-based SQL
query wizard/editor?
Thanks,
Dennis-
Here is the setup...
I have a 2 layered nested bean.
ie
Bean1 has n number of associated Bean2
Bean2 has n number of associated Bean3
I want to have a form that has an Array of Bean3's
Probem is that while iterating though Bean2's the count for the indexed
property gets reset. Any clever ideas to
can you run a check to see if a checkbox has been selected?
This doesn't seem to work for me, where rollable is a checkbox in the
same form. I want this field to be required when the rollable checkbox
is checked.
test
((rollable == null) or (*this* ==
Thank god its friday! That was it!
On Aug 13, 2004, at 2:40 PM, Niall Pemberton wrote:
The obvious question - have you deployed antlr.jar?
Niall
- Original Message -
From: "Nathan Maves" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]&g
My first attpemt at using validwhen is failing badly :)
I am getting this error.
I have upgraded both the validation and validator-rules.
I have also upgraded all of the jars
java.lang.NoClassDefFoundError: antlr/TokenStream
java.lang.Class.getDeclaredMethods0(Native Method)
java.lang.Class.priva
Yeah a lot of people. There was a thread on this very topic last week
please check the archive before posting :)
http://marc.theaimsgroup.com/?l=struts-user&m=109183678222344&w=2
Nathan
On Aug 11, 2004, at 4:17 AM, Shailender Jain wrote:
Hi,
Has anybody used Http Compression technique for a web
Correct! What is the best way to make sure that the filter is only
picking up content that should be compressed. i.e. we have some
actions that produce images. I assume that you would filter on *.do or
/do/* but this would include these actions. Would it be wise to check
the response type b
´t want to insert the code inside the getter method, because it
is
presentation not business.
foneCom1 is a String.
Any guess??
- Original Message ----- From: "Nathan Maves"
<[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, A
Did you try to put the () in '' as in
just a guess.. :)
On Aug 3, 2004, at 2:03 PM, Marcelo Epstein wrote:
Hi,
This is not working.
foneCom1 is a String.
Marcelo
- Original Message -
From: "Jim Barrows" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesd
I use this site http://marc.theaimsgroup.com/?l=struts-user
On Jul 31, 2004, at 8:53 AM, Andrew Close wrote:
hi all,
for some reason i'm unable to search the mailing list archive. when i
attempt to search i get the message: 'Text search not available for
this list'.
is the list really not se
Everything worked great!
Make sure that you use the new jars supplied in the download.
sslext still works fine for me.
You will also have to make sure that you are using ActionMessages.
Nathan
On Jul 28, 2004, at 11:28 AM, Curtis Taylor wrote:
Hi everyone,
After a cursory check of the Wiki & Struts
So you are looking for something like this
First Name
Required
Max Length
Last Name
Required
Hard to help unless we know what you are looking for?
Nathan
On Jul 30, 2004, at 3:08 AM, Suresh S wrote:
Hi,
OK, i got what you r trying to say .But the problem is the errors in
-0600, Nathan Maves
<[EMAIL PROTECTED]> wrote:
I am using the EcpressionEvaluationManager class of jstl in my own
custom tag.
This used to work but now things are a bit weird.
What I need it to be able to pass an Object (i.e. Date) to my custom
tag. I think since I have enabled JSP 2.0
I am using the EcpressionEvaluationManager class of jstl in my own
custom tag.
This used to work but now things are a bit weird.
What I need it to be able to pass an Object (i.e. Date) to my custom
tag. I think since I have enabled JSP 2.0 is now evals the var into a
String before it is sent t
ActionErrors.
Have you updated the version of validation-rules.xml you are using?
Also there has been a change to the dtd declaration in
validation-rules.xml
since Struts 1.2.1 so it might be a good idea to download the latest
nightly
build.
Niall
- Original Message -
From: "N
I have migtrated everyhting to 1.2.1 and it is working great! Problem
is that none of my validation that worked yesterday is now busted!
ERROR 07-27 11:03:31
org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Objec
t, org.apache.commons.validator.ValidatorAction,
org.apache
Has anyone put together a set of steps to migrate to version 1.2.1?
I am trying but I run into this error
javax.servlet.ServletException: Servlet.init() for servlet action threw
exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
org.apache.coyote.tom
this sound like a good way of doing this to everybody else?
Keith Kamholz
IT - Programming and Architecture
Moog Inc.
Nathan Maves <[EMAIL PROTECTED]>
07/26/2004 07:28 PM
Please respond to
Struts Users Mailing List <[EMAIL PROTECTED]>
To
Struts Users Mailing List <[EMAIL PROTECTED]>
, at 5:16 PM, Wendy Smoak wrote:
From: "Nathan Maves" <[EMAIL PROTECTED]>
I know that we can use a Map to achieve this but I hate creating them
in a jsp.
I'm puzzled... why would you create in the JSP instead of in the
Action,
where presumably it wouldn't bother you as mu
wrote:
-Original Message-
From: Nathan Maves [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 3:56 PM
To: Struts Users Mailing List
Subject: html:link with params
Are there any plans to add dynamic param to the html:link tag to give
it the same functionality as the c:url?
IIRC the pub
Anyone have a quick replacement for the following?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Are there any plans to add dynamic param to the html:link tag to give
it the same functionality as the c:url?
i.e
I know that we can use a Map to achieve this but I hate creating them
in a jsp.
Nathan
-
To unsubscrib
Jim,
Works perfect for me.
...
On Jul 22, 2004, at 1:49 PM, Jim Kennedy wrote:
I can't seem to get any of my action to go under https. The config
seems
fairly simple but I must be missing something. I want
Currently I use the validator with my forms.
I am looking for a way to test if there was an error for a specified
field.
I still want the list of errors produced by at the top
but I would like to place something like "**" next to any field that
had errors.
Can this be done with either the str
James,
Does the pretty printing option work in netbeans?
Nathan
On Jun 7, 2004, at 3:20 PM, James Holmes wrote:
Struts Console version 4.7 is now available.
http://www.jamesholmes.com/struts/
Download Now:
http://www.jamesholmes.com/struts/struts-console-4.7.zip
-- OR --
http://www.jamesholmes.co
iBatis 2.0 has this ability.
The other option is to have a KeyGenerator class that handles all of
this for you. Don't use the auto generated keys from mysql.
Nathan
On Jun 3, 2004, at 11:07 AM, Andy Engle wrote:
Hi all,
I am working on a Struts app where I will be slapping some stuff into a
data
I have not seen any way to do this.
You could do a work around by setting a var inside of your loop then
checking that on every iteration of the loop. This is still causing
the loop to finish execution but you would get the result you were
looking for.
You might look into the multibox tag for
Rick,
Why don't you use the
Nathan
On May 27, 2004, at 12:59 PM, Rick Reumann wrote:
Barnett, Brian W. wrote:
Does this mean I should use jstl from Sun or are the standard tags
(c, fmt,
sql, etc) that come with struts 1.1 just fine?
Sun's site makes it very annoying. I don't know why they don't
I have hear that ie for macs will not send form elements across if they
are null. Most other browsers send them across as an empty string or
null.
I run on a mac so please let me know if you need any testing done.
Nathan
On May 26, 2004, at 8:12 PM, Kendell Churchwell wrote:
Hi -
I deployed a
Just a guess but I think that the file is only read once on app
startup. So there is really no performance hit.
On May 26, 2004, at 1:36 PM, Riyad Kalla wrote:
I'm curious what the size of some of the verteran programmer's
struts-config.xml files are. Mine is approaching 2k lines right now,
and
you can use whatever image tag you want. The real catch is that you
will need and action that pulls the info from the db and writes it to
the OutputStream in the response. The have the execute method return
null.
You might end up with a tag that looks like...
" >
This is if you use jstl other
Why not use jstl?
do something...
nathan
On May 25, 2004, at 1:15 PM, Ciaran Hanley wrote:
Can the struts logic tags be used to perform OR Logic?
For example instead of
...do this
...do this
...do this
...do this
Any ideas anybody?
Thanks
CH
well you are on the right path ...
You need to use jstl.
I am not sure what you have in your bean. Do you have a collection of
objects or a Integer of representing a count? Either way check out the
forEach tag.
Let me know if you need an example
nathan
On May 23, 2004, at 9:50 PM, Andy Engle w
valid value for
conversion to a Date. I remember the issue having something to do
with BeanUtils' converter not having a default value for Date.
Any chance this is the case?
Colin
Nathan Maves wrote:
I am getting this error...
java.lang.IllegalArgumentException: argument type mis
I am getting this error...
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessor
How much of a performance loss would this be?
On May 10, 2004, at 1:53 PM, Hookom, Jacob wrote:
Configure your server to only accept requests in an SSL port.
-Original Message-
From: Nathan Maves [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 2:49 PM
To: Struts Users Mailing List
I have been using the sercurityfilter by Max Cooper.
I wanted to know the best way to incorporate SSL into the picture.
What is the best way to ensure that the login page and submission
action is encrypted?
Nathan
-
To unsubs
his way, I could use it to
put a
translated text into the body of a tag like
But how can I use the translated text as an attribute value as written
before?
Ralf.
Am Montag, 3. Mai 2004 17:12 schrieb Nathan Maves:
I am not 100% sure but I believe that you just use the
tag.
Just use something
or
point me
to an example?
I looked into the Java Web Services Tutorial, but the chapter about
internationalization with JSTL only describes the use of
internationalized
strings in the body of a tag (e.g. ).
Ralf.
Am Montag, 3. Mai 2004 15:37 schrieb Nathan Maves:
Use jstl!
On May 3, 2004
Use jstl!
On May 3, 2004, at 6:51 AM, Ralf Schneider wrote:
Hi,
how can a use internationalized text strings stored in a resource
bundle as
values of attributes?
For example:
I know, this will not work, but how can it be done?
Ralf.
I just starting getting this error today but only when I redeploy my
struts app.
java.lang.ThreadDeath
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1270)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1
is it?
I believe if you use something like Commons dbcp it uses wrappers for
everything - DelegatingResultSet
Niall
- Original Message -
From: "Nathan Maves" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2
I know this is not truly struts related but...
I had a servlet that loaded blobs from oracle (pdf files). This worked
perfect. I copied the code into my action and I know receive this
error:
java.lang.ClassCastException
at
reporting.viewer.presentation.actions.ViewReport.execute(V
Here is a prebuilt filter that will do just what you are looking for ..
http://www.anassina.com/struts/i18n/i18n.html
Nathan
On Apr 20, 2004, at 6:00 AM, brelagad the ent wrote:
I cannot pass Turkish characters to the action servlet
from a form. I read that I should use filters. I am
wondering, i
The html:link tag allows for one parameter to be set with it. Look at
the api.. If you need to append more then one parameter then you will
have to use jstl.
Nathan
On Apr 19, 2004, at 4:49 AM, ganesh g wrote:
Hi sir,
Here is a problem with:
i want to send indexId="idx" which is in ite
You might want to read up a little more in the jstl spec.
When using jstl there is no need to specify the scope. Just use
something like
this will check if the login_user is null. The tag will search through
all the the scopes. (i.e. page, request, session, application)
Hope this helps.
What errorthat looks like the normal startup messages of tomcat to
me.
Nathan
On Apr 18, 2004, at 6:15 AM, [EMAIL PROTECTED] wrote:
Hi All,
I have installed Tomcat server on my machine and tried to start it
using startup.bat im getting following error
C:\Tomcat\catalina\src\bin>st
e archives? It wasn't the fact
that the "L" in "maxLength" wasn't capitalized, was it? (Because this
recently bit one of our developers, as apparently JavaScript expects
it to be capitalized [even though IIRC XHTML says it shouldn't be].)
Erik
On Apr 14, 2004
) errors = new ActionErrors();
Continue with your custom validation...
}
Let me know if that works.
Nathan
On Apr 15, 2004, at 3:45 PM, Nathan Maves wrote:
Ahh after a little research I think I might have answered that wrong.
What is your action form extending?
Nathan
On Apr 15, 2004, at 3
Ahh after a little research I think I might have answered that wrong.
What is your action form extending?
Nathan
On Apr 15, 2004, at 3:37 PM, Nathan Maves wrote:
I am just a newB but couldn't you call the validate method from your
execute method. This way the validator will catch any o
I am just a newB but couldn't you call the validate method from your
execute method. This way the validator will catch any of the easy
validations and your validate method will get the complex ones.
Again just a newB answer.
Nathan
On Apr 15, 2004, at 2:40 PM, [EMAIL PROTECTED] wrote:
Hi fol
When is this release coming?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
We have been using http://ibatis.com/ for both sql mapping and it DAO
framework. Might be worth it to check it out. It has good examples of
both DAO's and Service layers.
Nathan
On Apr 15, 2004, at 11:13 AM, Paul Barry wrote:
I have a question about business logic. The best way I can thin
Never mind! found the problem... one of those ID10T errors.
Nathan
On Apr 14, 2004, at 3:33 PM, Nathan Maves wrote:
Anyone know why the error message does not show the maxlength argument.
# Purpose can not be greater than characters.
# Description can not be greater than characters.
notice it
Anyone know why the error message does not show the maxlength argument.
# Purpose can not be greater than characters.
# Description can not be greater than characters.
notice it places the first argument (name of the field) but not the max
length.
from the validation.xml
59 matches
Mail list logo