Perhaps populating at least 2 forms on the same page could be an
example for the struts distribution (or maybe in the FAQ). Given
that I will be setting up my two forms soon, perhaps I can do a
short writeup on it after I collect the information, but given my
short experience with struts, maybe
i know that this is off topic , but would like your advice in the same,
i am generating a table from values in the database .
we have a ro code for which land options are to be generated.
for a ro code the land options could range from 1-12 (i.e A, B,C , D and so
on)
, this is not fixed,
am
ta for the zip james ive unzipped it and added the lib directory however when
i come to run it and click on the link to go to mod1 it errors with
HTTP Status 400 - Invalid path /Index was requested
type Status report
message Invalid path /Index was requested
description The request sent
Hi Amit,
I haven't tried this, so it is total speculation, but I wonder if you
could put a hidden field on the form, and use just one
'requiredif' rule for it, only requiring it when the others
were NULL.
Since the resource message would be:
errors.required={0} is a required field.
you'd need
On Sat, Mar 01,'03 (02:23 AM GMT-0600), Dan wrote:
ore veteraned user.
I just see this whole multiple-form prepopulate question cropping up
time and again on this list if we don't have something in the FAQ
about it.
Coupled with the tidbits someone posted from Craig's snipet what
would be
Dear struts people !
What am i doing wrong - must be some sort of double submit, but why ?
Let me sketch my problem to you - using for the first time transactional
tokens, i have the following setup :
1. in my jsp :
html:form action=/parameter
.
html:link page=''
Hello all,
I am currently working on a web app, where unfortunately, the client wants
to use several multi select boxes.
The form works as follows:
1) User decides to create a new group by accessing the form.
2) User searches for items via the search button. Search results are
populated in
Hi does anyone have user correcty struts-layout (latest one) and
the b3 ?
When I add these lib and compile my project I got many deprecated errors.
Thanks for your help.
/**
* Alexandre Jaquet
*/
-
To unsubscribe, e-mail:
What is the elegant way of specifying default values
for a form and not validate the form until the user
has had a chance to input data? I have some fields in
the form that needs to shown as nulls but the user
cannot leave these fields blank and I have other
fields that have default values.
Hi does anyone have use correcty struts-layout (latest one) and
the b3 ?
When I add these lib and compile my project I got many deprecated errors.
Thanks for your help.
/**
* Alexandre Jaquet
*/
-
To unsubscribe,
I'd say a DynaValidatorForm is pretty elegant.
Use the initial=your value for each form-property that has a default.
-jeff
On Saturday, March 1, 2003, at 11:26 AM, harish krishnaswamy wrote:
What is the elegant way of specifying default values
for a form and not validate the form until
I had a problem where if i declared a hidden field like:
html:hidden name=foo ...
and in java script i write a function
function tryit ( foo ) {
document.forms[0].foo.value = foo;
the value of foo would be an object that represents the
hidden field foo, not the value passed in in the
Craig,
I guess I made other assumptions about the process. I thought that
there were people on the list that volunteered to test just like you
volunteer to write code. I would have been more apt to run my project
on the nightly builds had I knew you were counting on us. I appreciate
you
I'm trying to do this as well, but that code doesn't compile any more. I
could override form.validate() and check there, but it would be nice to keep
everything clean. I'm using the Validator nightly out of commons, in the
download process for the rest of the Struts tree.
My problem seems to be
Whoops, found it!
For those of you looking, the validateTwoFields example code should be:
public static boolean validateTwoFields(
Object bean,
ValidatorAction va,
Field field,
ActionErrors errors,
HttpServletRequest request,
ServletContext
Hi,
We have been overriding the processPreprocess method in
ActionServlet of Struts 1.0 in an extended class to do some custom
processing like session expiry handling etc. I noticed that this method is
not present in the ActionServlet of Struts 1.1. So now I guess we can't
migrate from
That method has been moved to the RequestProcessor class.
David
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: processPreprocess hook
Date: Sat, 1 Mar 2003 21:07:58 -0600
Hi,
We have been overriding the processPreprocess
On Fri, Feb 28,'03 (07:59 PM GMT-0800), Craig wrote:
I get somewhat depressed about the for obvious reasons reason that
people give for not at least *trying* your app against the nightly
builds. After all, the day that Struts 1.1 final is released, guess
what -- it will have exactly the
Sri,
Don't know how the other one clapped out, but i made another one, tested out
okay (JDK Jar tool). Try this one (link for convenience)...
http://www.keyboardmonkey.com/downloads/km-nested-v2.03.jar
not lazy
I understand that people aren't lazy, just pragmatic. :)
/not lazy
Arron.
Nothing major here, I'm just curious why the
messages:present tag uses message=true in order to check if
ActionMessages are present. I was thinking since ActionMessages is the
base class of ActionErrors that it might make more sense if
messages:present would show all messages, or at least
20 matches
Mail list logo