Sorry, I have been having huge troubles with my email lately.
I am using Struts 1.2.4, is this wrong?
Thanks again,
Corey
On Sun, 21 Nov 2004 23:18:44 -0500, David G. Friedman
<[EMAIL PROTECTED]> wrote:
> Corey,
>
> We get it that you're resending it! Now, on to helping mode...
>
> What vers
Jeff,
Are you trying both server side validation and client-side validation? I.E.
html:javascript formName="..." etc... What version of Struts are you using?
Regards,
David
-Original Message-
From: Jeff Smith [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 21, 2004 11:59 PM
To: Struts U
David,
Yes reg.step1, reg.step2 and reg.step3 all have hiddens for page and
they're set accordingly. 1 for reg.step1, etc. And yes, they're tiles.
As for the /reg/registration action, that was a bit of a typo that I
accidentally left in there from a trial and error session. The actual
action sh
Jeff,
Do the pages reg.step1, reg.step2, and reg.step3 all do an html hidden tag
for the page variable such as:
Substitute X for the appropriate page number.
Also, I think you have an infinite loop when you set the "/reg/registration"
action to call it's own action upon validation failure (the
Corey,
We get it that you're resending it! Now, on to helping mode...
What version of Struts are you using?
-Original Message-
From: Corey Scott [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 12:37 PM
To: [EMAIL PROTECTED]
Subject: [Validation] and local string insertion
You can use the validator - specify the indexedListProperty in the
validation.xml
Something like this...
.
Niall
- Original Message -
From: "Frank Burns" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Mark Lowe"
<[EMAIL PROTECTED]>
Sent: Monday,
I thought that was removed prior to the 1.1 release. Javadoc suggests
changing the reset() method in your DynaActionForm call it.:
http://struts.apache.org/api/org/apache/struts/action/DynaActionForm.html
Niall
- Original Message -
From: "Natraj Gujran" <[EMAIL PROTECTED]>
To: <[EMAIL P
Excuse me, but what does this have to do with beer? ;)
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Vic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 20, 2004 8:49 AM
Subject: [
Where "empty" includes fields that may be full of whitespace characters.
That explains the "strange rule" I was asking about in my original question.
- Original Message -
From: "Joe Germuska" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, November 2
So, in using this solution, must validation of the "generated"
fields be carried out in the validation() method of ActionForm?
Or is there anyway I can use the Struts Validator framework? In which case
what would be the appropriate elements for the validation.xml file?
Thanks,
Frank.
- Ori
The Struts architecture is *integrated*. The form bean is initialized
by the controller network because it is noted in the
struts-config.xml. You have two choices: (1) let the ForwardAction
know about the form bean and accept that it works that way; (2) look
at the actual code and see what really
Hi List,
We are using the validator plug-in and tiles in our project.
On a page I have 3 submit buttons in 3 different html forms. The first
html form has a corresponding
Formbean and an Action class. The second form has a corresponding action
class, which does not
use the form bean, and the 3.
Is that Chuck Cavaness' book? That's a pretty decent one. Here's some
answers for you:
1) Tomcat is a servlet container :-) It's whole purpose is to run Java Web
Applications.
Struts is a web application framework. It sits inside of your application
and raises "ground zero" for you so that
Instead of writing java classes, the code that implements the functionality of
our application is inside XML-based configuration files.
Inside xml files we can find several tasks including interpreted language,
Beanshell, (http://www.beanshell.org) that gives programs a certain extra
flexibilit
Hi,
This has come up during migration of our Struts 1.1 app to 1.2.4.
It doesn't look like the 'initialize()' method of DynaActionForm is called
anymore ?
In our application, we cannot initialize form values by using static values
in struts-config.xml.
Eg: if a date is to be initialized
I am creating a sample application Sample.ear containing
Commons.jar,HelloWorld.jar,HelloWorld1.war and HelloWorld2.war and the
application.xml in the META-INF directory in an exploded .ear directory.My
This application represents what I want to do. Currently I have all the
applications p
Craig,
I not only have no technical arguments against a View Helper design
pattern, but the suggestion on the Wiki WhiteBoard for Struts both for
the JerichoData and the JerichoFaces is an instance of advocating such
a design pattern. What I don't trust is the page based controller.
Jack
>Perso
Hi,
I am unable to iterate an ArrayList while using
struts1.1 with DynaValidatorForm. Has any one tried
it? I am getting the following error in WSAD 5.1...
[04/11/17 14:31:41:915 IST] 54f64cef WebGroup E
SRVE0026E: [Servlet Error]-[Cannot find bean
ProductLines in any scope]:
javax.servlet.js
Hi,
I have been trying to achieve the same in my validate method to the
following extract from me validation.xml
Extract from my message bundle:
stdError.required.field=Please enter/choose a {0}
UpdateTaskForm.txt
I am wanting to see how Struts may help in my J2EE development. I have
purchased the O'Reilly book "Jakarta Struts" and want to get started with some
examples.
1) I am currently running Tomcat 4.1.31 as a standalone.
Can struts be installed with Tomcat as standalone? I saw somewhere in th
Let me paste the files in instead
-- struts config starts here --
"-//Apache Software Foundation//DTD Struts Configuration
1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd";>
The Calyxo development team is proud to announce the availability
of Calyxo 0.9.0-b4!
Again, this release contains many improvements...
The controller component underwent a major refactoring.
Finally, Calyxo is now fully documented!
The Calyxo Web Application Framework encourages in MVC
Model 2 b
All,
Sorry if this has been discussed, I've been digging around on the web
and can't seem to find a solution to my problem. I have a 3 step
registration process that works like a "wizard". I defined a
LookupDispatchAction subclass to handle things like the next and
previous button. Everything w
At 1:33 PM -0500 11/21/04, Erik Weber wrote:
I think what you want is to leave out the "required" validator, but
to use the "minlength" validator with a value of 1. That should
allow a blank, but not a String shorter than 1, and whitespace
should be left out in the measurement. (I'm not positive
For early adapters:
v1.3, now in dev head, has been in development sandbox for over a year,
is compatible with older releases, but is a 1st complete rewrite of
Struts since v.06.
It is based on GoF CoR and commons-chain.
For people interested in getting a leg up on the learning curve or
leverag
I think what you want is to leave out the "required" validator, but to
use the "minlength" validator with a value of 1. That should allow a
blank, but not a String shorter than 1, and whitespace should be left
out in the measurement. (I'm not positive as I don't have the source).
Erik
Frank Bu
But I want to be able to accept an "empty" value and just reject whitespace.
That is, I don't want whitespace to be accepted as a vaid value -- it should
be either empty or contain a valid (non-all-whitespace) value.
- Original Message -
From: "Joe Germuska" <[EMAIL PROTECTED]>
To: "Fra
:
Hopefully the current proposal of moving Shale to MyFaces get accepted
there. It makes it less confusing.
Strut's current focus is on Sturts-Chain, CoR and command pattern:
ActionCommand - A Chain Command-like interface with one method:
Execute(ActionContext context)
A context is just a map.
Thanks for this, BaTien. Points well taken. Not on point in this
thread, however. More to the point on this thread is the following
statement by Ted, and I quote:
On Thu, 18 Nov 2004 13:48:39 +0100, Matthias Wessendorf wrote:
>>
>> Has Struts Shale no relationship to (Struts/Commons)-Chain?
The only point, Joe, I was interested in making was that Shale and
JavaServer Faces are inherently distinct from and not *mergable* with
Struts. They can exist in tandem but not together. I no one seems to
disagree with this. There are lots of people that raise and debate
other points which have
Hi, Eddie,
The only point on this thread is that Struts as we know it and Shale
or JavaServer Faces can only co-exist or exist in tandem. They are
not compatible in any sense greater than that. The only connection
they can have is with some controller deciding which to use.
I think everyone tha
Eddie Bush wrote:
I think Joe makes a good point. Shale is what we have as a possible
direction ... and it's being fleshed out. Jerico, better or worse, I
don't think is.
At this point, we're probably better to "put our code where our mouths
are", if we don't like the direction things are hea
The "required" validator should do what you need. It requires that
the value be non-null and have at length > 0 after String.trim() is
called.
Joe
At 1:22 PM + 11/21/04, Frank Burns wrote:
Hi,
I am trying to write a regular expression for a mask, for use in the
validation.xml file, that wi
At 10:01 PM -0800 11/20/04, Dakota Jack wrote:
Java ServerFaces or Shale and Struts are different and inherently
incompatible visions, cf. the connection between Struts and JavaServer
Faces in Hans Bergsten's book on the same. Is pointing this out or
raising the issue a problem?
Of course not. Th
Hi,
I am trying to write a regular expression for a mask, for use in the
validation.xml file, that will reject input text that consists of all
whitespace characters. But, no matter what pattern I try, an all-whitespace
entry is always accepted.
Is there some strange rule, as part of the Validat
Didn't you ask this yesterday ?
Nishant wrote:
i am getting strange problem./
Setting target to error
11/20 16:21:27 error Unhandled exception thrown from /editemployee.jsp:22
[1]javax.servlet.jsp.JspException: Cannot find bean employees in scope request
at org.apache.struts.util.Request
I think Joe makes a good point. Shale is what we have as a possible
direction ... and it's being fleshed out. Jerico, better or worse, I don't
think is.
At this point, we're probably better to "put our code where our mouths are",
if we don't like the direction things are headed.
You know, w
37 matches
Mail list logo