ActionErrors();
errors.add(ActionErrors.GLOBAL_ERROR,
new ActionError("error.something"));
saveErrors(request, errors);
In your JSP tile:
Hope that helps,
Susan Bradeen
> awaiting ur reply
>
> Ganesh
>
>
>
#x27;t appear in the tile.
>
Dave, are you using Struts 1.1? Does adding something similar to the
following code in your JSP tile do anything?
Are you and Ganesh working on the same issue? :)
Hope that
Ben,
Theoretically, if every thing is working as is should, you get a list of
errors to display. One for each failed field value. From a quick glance
at what you've provided below however, do you really have
at the beginning of your validation.xml file?
Susan Bradeen
"
t; other than using jsp:include?
>
Yes, this has come up before on this list. I ran into this issue using on
older version of Websphere until I started using tiles. This search in the
archives may give you some background and ideas.
http://marc.theaimsgroup.com/?l=struts-user&a
s section under Pluggable Validators in the user
guide
http://jakarta.apache.org/struts/userGuide/dev_validator.html
This archive thread explains a bit about it.
http://marc.theaimsgroup.com/?l=struts-user&m=10471026039&w=2
Hope that helps,
Susan Bradeen
>Thank you.
>
>
java classes to generate reports and
> have the same features..
> Taking data from java classes is important as it will be
> easy to put the transpose logic in the java code and will in the end
> improve the response time of reports.
There's a (commercial) J2EE reporti
+1
"McCormack, Chris" <[EMAIL PROTECTED]> wrote on 06/17/2004
10:13:16 AM:
> I for one appreciate the post Simone. Its a good looking site and its
> nice to see work that developers have spent time on and are proud of.
>
> Good job !
>
> Chris McCormack
>
> -Original Message-
> From:
tried the one approach as mentioned below but it didn't work..
>
>
> application
>
> ApplicationResources1,ApplicationResources2
>
>
> Is there any other approach for this...?
>
This link might help ...
the
bundle value specified). You might want to check out the Struts docs on
line for more info, or just do some experimentation. Hopefully someone
else will speak up if I am wrong here.
Susan Bradeen
"cliff" <[EMAIL PROTECTED]> wrote on 07/07/2004 06:50:13 AM:
> Hi,
>
rm"
> property="CustomerCodeEnabled"
> type="boolean" value="true"/>
>
> <% boolean customerCodeDisabled=(!customerCodeEnabled); %>
> disabled="<%=customerCodeDisabled%>" />
Does this work for you?
I had an
Jignesh Kapadia <[EMAIL PROTECTED]> wrote on 08/17/2004
10:14:20 PM:
> John,
> Thanks for your reply. This is a standard way of using
> multiple check boxes(i.e.html:multibox). If you read my earlier e-
> mail the requirement is little bit different.Just explaining in
> brief again. say
submits to Action3.
Action3 specifies ActionForm1 and input JSP3 and forwards to JSP3.
Is that about right? In this case, Validator should work fine.
Hth,
Susan Bradeen
> I have read online that this strategy is quite popular. Therefore I am
> sure there is a solution to this problem.
>
Excellent explanation, Erik. Consider adding this to the Struts Wiki for
posterity? Must be a place for it in there somewhere ...
Erik Weber <[EMAIL PROTECTED]> wrote on 08/19/2004 08:31:08 AM:
> Sorry, by "hand-rolled" I just mean one that is written specifically for
> the application (writt
Sebastian Ho <[EMAIL PROTECTED]> wrote on 08/19/2004 09:25:38
PM:
> Thanks Susan.
>
> Refer to my comments below
>
> Sebastian Ho
>
>
> On Thu, 2004-08-19 at 21:23, Susan Bradeen wrote:
> > Sebastian Ho <[EMAIL PROTECTED]> wrote on 08/19/2004
05:1
at you
require, but I believe that others have (rows containing checkboxes and
paging).
>
> Also we are using Dynaforms here. Can I still have the form class
> with reset method?
Yes, you can subclass any type of action formbean to add to its methods.
Hope that helps,
Susan Bradeen
e to get it from here
http://struts.apache.org/faqs/index.html
but the 'Struts Tips' link on this page (under External FAQs) is not
working for me at the moment either.
Susan Bradeen
>
> has it been mirrored?
>
> dave
>
>
> -
(request);
return new ActionForward(mapping.getInput());
}// end validate
...}
HTH,
Susan Bradeen
>
> The result of this is that if you request an add/edit form, fill it out,
> submit it and cause a manager validation error, you cannot simply edit
> the offending fie
Rick Reumann <[EMAIL PROTECTED]> wrote on 09/01/2004 10:25:32 AM:
> Jitesh Sinha wrote:
>
> > That is VERY natural Rick...I think that will hapeen in 100% of the
cases
> > for people absolutely new to computers.
>
> True, although I think you get the same asterisks at the ATM machine
> whe
"Jim Barrows" <[EMAIL PROTECTED]> wrote on 09/01/2004 03:35:14 PM:
>
>
> > -Original Message-
> > From: Leung, Albert [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 01, 2004 12:31 PM
> > To: Struts Users Mailing List
> > Subject: RE: form validation
> >
> >
> > Yes they are e
.
The "put it in there" part, as you stated, was what I couldn't get my
head around. Finally realized I was going about it somewhat
arse-backwards, and most of the fog cleared. Thanks to you and Frank
for taking time to respond.
Susan
> Michael McGrady
>
>
>
> Su
On Mon, 11 Oct 2004 17:37:36 -0500, Peng, Meimin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to check a null vale in a list.
> I try to find all struts-tag libraries for doing it.
> But, not working yet.
> is for checking non-null
I believe these check if the value exisits in the request. This m
t;
I am not exactly sure what your are asking, but usually using Tiles
your forwards will point to a tile definition you have listed in your
tiles-defs.xml file. For example, instead of
you might have
where .securityMaint is defined as:
On Wed, 13 Oct 2004 20:03:26 +0800, Richard <[EMAIL PROTECTED]> wrote:
> hello guys,
>
> im trying to use the validator on my login form but im having the error below.
> any idea why..
>
Maybe a bit more info? Without validator, is this working? Are you
getting the error when you try to access t
On Wed, 13 Oct 2004 13:12:23 -0400, Moynihan, Edward
<[EMAIL PROTECTED]> wrote:
> Hi,
>Can anyone point me in the right direction with the following problem that I am
> experiencing.
>
>I've written a very simple action that streams back to the client an attachment.
> So, here is a code
this are also
greatly appreciated. Googling for a set of options/pros&cons hasn't
given me much so far.
Thanks,
Susan Bradeen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
portal, but no such luck this
time around.
Susan
> --
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
>
>
>
> On Fri, October 8, 2004 3:42 pm, Susan Bradeen said:
> > I have two web applications. App A is a
ex.com
>
>
>
> On Fri, October 8, 2004 3:49 pm, Susan Bradeen said:
> > On Fri, 8 Oct 2004 12:46:01 -0700 (PDT), [EMAIL PROTECTED]
> > <[EMAIL PROTECTED]> wrote:
> >> Frames probably would in fact be your "path of least resistance".
> >>
On Wed, 27 Oct 2004 13:09:39 -0600, Sudip Shrestha <[EMAIL PROTECTED]> wrote:
> I am trying this simple struts application here, that uses following:
>
>
>
> and under :
>
> However, I am getting following exceptions.I could not find
> anything regarding this messag
I have attempted to cancel the posting but to all of you out there
> offended by my outburst I humbly, humbly apologize. I will endeavor to
> review my recipient list more closely in future.
>
I hope your Tuesday goes better than your Monday, Sean. :)
Susan Bradeen
> --
> Sean.
s.
>
Its here ... http://jakarta.apache.org/struts/mail.html
I think the Struts pages are going through some changes too. You can get
there from the Struts main page
http://jakarta.apache.org/struts/
side bar link Struts, Using >> "join the mailing lists" ...
Susan B
"Prasad, Kamakshya" <[EMAIL PROTECTED]> wrote on 04/07/2004
09:24:54 PM:
> Hi,
>
> I have this line in my jsp
>
>
>property="courseDetailsArray" indexId="ctr">
>
>
>
Maybe try changin
pe to
'request' make any difference for you?
Susan Bradeen
Heligon Sandra <[EMAIL PROTECTED]>
05/13/2004 06:23 AM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc
Subje
lone. What I want is for WizardTemplate1.jsp
to
> be re-displayed so that the PageHeader.jsp element is also displayed.
>
>
Adam,
Sounds like maybe the 'input' attribute of your action mapping is not what
you want it to be. What do your action mappings for this look like?
ctionErrors
>
>
> Sorry, that was a cut and past error on my behalf it really is
>
>
>
>
>
> Again sorry for the confusion...
>
> -Ben
>
> -Original Message-
> From: Susan Bradeen [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 07,
complains.
>
> I would like to see all applicable error messages at once. Is that a
> configurable option? Work-arounds?
>
Nils,
Using strictly server-side validation (not the client-side JavaScript
validations), this can be done.
Susan Bradeen
> Thanx
> Nils
>
>
tag seem to rely on bean related stuff.
> That's not what this is about. As stated in the title
> the parameter is "hard coded" (in the HTML that is).
> Anyone know how to do it, or do I need to write my own
> version of the html:link tag?
>
Dean,
Since you are hard c
essor. Am I correct on this? At least this is the
behavior I appear to be seeing. So, if I am trying to avoid using this
custom request processor to access features of my second module, then
I need to go about this in a different way. Right?
Hopefully my question is clear. Thanks for any input.
Susa
dding the switch action mapping to
the new default module. Hopefully, this won't have an affect on the
inner workings within the original default module.
>
>
> Susan Bradeen wrote:
>
> > I have a Struts application that uses a custom request processor. Now
> > I
EXT should do the trick) I don't
> believe this will involve the request processor for moduleA in any way.
> Unfortunately, the tag doesn't seem to have the module
> attribute just yet.
Thanks for the reply. I can see where this might be useable in my app also.
>
> -
On Tue, 07 Dec 2004 12:02:52 +0100, Alexander Czernay
<[EMAIL PROTECTED]> wrote:
> I have a strange problem with LookupDispatchAction:
> I built a form displaying several entries from a db as a list. There are
> several buttons for editing/removing the entries an also two buttons for
> paging thoug
On Tue, 07 Dec 2004 15:54:20 +0100, Alexander Czernay
<[EMAIL PROTECTED]> wrote:
> Susan Bradeen wrote:
>
>
>
> >
> >
> >
> >>/**
> >> * Key method for mapping methods to buttons
> >> */
> >>
On Mon, 13 Dec 2004 10:44:24 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Vinicius Caldeira Carvalho
> > [mailto:[EMAIL PROTECTED]
> > Sent: Monday, December 13, 2004 11:32 AM
> > To: Struts Users Mailing List
> > Subject: Validator question
> >
> >
>
In a form on a JSP I have input text boxes, one with a link beside it
that opens a field value selector window.
');">
With the link parameter hard coded as "parent=XXX", this works
perfectly. However, I need to pass the current value of "userField1"
as the parent value to the promptUserFie
On Thu, 27 Jan 2005 14:45:52 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Susan Bradeen" <[EMAIL PROTECTED]>
>
> >
> >
> >
> > > name="requestform" property="udf2Map" />');">
>
ite right. Having javascript generate the whole thing or passing
everything to a function that will build the url and open the window
is probably what I'll do.
Thanks for your comments.
> Sorry if I'm not understanding the problem correctly.
>
> Erik
>
>
> Susan
On Fri, 28 Jan 2005 11:18:58 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Susan Bradeen" <[EMAIL PROTECTED]>
> > Yes, true. So the page loads, and the user types something into the
> > userField1, and then clicks on the link next to userField2.
Yes, I checked the archives and google without any luck.
If I have a parameter map on my action form, how can I access the map
properties using JavaScript? As an example, if the following creates
an alert box with the text field value ...
It seems that this should work for a parameter map
Ok, nevermind. Not going to use the Map properties. Using regular
formbean properties instead.
On Tue, 1 Feb 2005 11:46:42 -0500, Susan Bradeen <[EMAIL PROTECTED]> wrote:
> Yes, I checked the archives and google without any luck.
>
> If I have a parameter map on my action form, h
On Thu, 3 Feb 2005 09:14:07 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm very very discouraged with not being able to resolve this problem.
>
> I do know that this is a WebSphere Studio Application Developer (WSAD)
> related problem but I have being searching the web for half
49 matches
Mail list logo