Shouldn't that bean use EmployeeInfoForm not EmployeeForm? It depends on
how you configured your ActionForms. How did you configure it?
Regards,
David
-Original Message-
From: Apte, Dhanashree (Noblestar) [mailto:[EMAIL PROTECTED]
Sent: Monday, November 01, 2004 12:26 PM
To: 'Struts User
Dear listers,
I'm extremely sorry for the double posts. I think
there are some problems with yahoo. I'll switch to
some other mail provider.
Thanks a lot and warm regards,
Kinjal Sonpal
--- Kinjal Shares <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> I've been trying to get Dates validation for my
On Mon, 01 Nov 2004 15:04:26 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Wendy Smoak" <[EMAIL PROTECTED]>
> > 16:03:09,737 - ERROR org.apache.struts.validator.ValidatorPlugIn - JAR
> entry
> > org/apache/commons/validator/resources/validator_1_1_3.dtd not found in
> > /opt/hpws/tomcat/we
As it happens-
You apparently CANNOT have a language specific validator rule for a property
that is not present in the default formset. You don't have to have any rules
for it, but it *must* be declared.
> -Original Message-
> From: Joe Hertz [mailto:[EMAIL PROTECTED]
> Sent: Monday, N
As it happens-
You apparently CANNOT have a language specific validator rule for a property
that is not present in the default formset. You don't have to have any rules
for it, but it *must* be declared.
> -Original Message-
> From: Joe Hertz [mailto:[EMAIL PROTECTED]
> Sent: Monday, N
The Struts Validator guide is pretty sparse on the subject.
What are the rules governing Default Formsets vs Locale Specific Formsets
(using Struts 1.2.4)?
To wit:
I have a Default Formset with validation rules for N forms.
I want also want language specific validations for one or more of the N
The Struts Validator guide is pretty sparse on the subject.
What are the rules governing Default Formsets vs Locale Specific Formsets
(using Struts 1.2.4)?
To wit:
I have a Default Formset with validation rules for N forms.
I want also want language specific validations for one or more of the N
H.
Don't suppose you've tried building the Validator on the HP-UX machine?
I'd be curious if it worked packaged up if you did that.
You've obviously found something that is both subtle and significant in
terms of a problem (jar extraction is pretty darn basic!). I assume the Win
and HP-UX
H.
Don't suppose you've tried building the Validator on the HP-UX machine?
I'd be curious if it worked packaged up if you did that.
You've obviously found something that is both subtle and significant in
terms of a problem (jar extraction is pretty darn basic!). I assume the Win
and HP-UX
From: "Wendy Smoak" <[EMAIL PROTECTED]>
> 16:03:09,737 - ERROR org.apache.struts.validator.ValidatorPlugIn - JAR
entry
> org/apache/commons/validator/resources/validator_1_1_3.dtd not found in
> /opt/hpws/tomcat/webapps/benauth-test/WEB-INF/lib/commons-validator.jar
> java.io.FileNotFoundException:
Yes, you can do this, and it'll work. You can set the "input"
attribute to an action, and that action will be called when there are
validation errors. Or, you can set "validate=false" as Frank
suggested and call the form bean's "validate()" method yourself. If
there are errors, you can do a "ret
On Mon, November 1, 2004 3:26 pm, Gary S. Cuozzo said:
>> The forward attribute of your action mappings can point to another
>> action mapping. Would that do the trick for you?
> I suppose it would. How would struts know which mapping I wanted to go
> to in the case of validation errors? Would I
> The forward attribute of your action mappings can point to another action mapping.
> Would that do the trick for you?
I suppose it would. How would struts know which mapping I wanted to go
to in the case of validation errors? Would I just add a forward with
the same name as the input form or
On Mon, November 1, 2004 2:14 pm, Gary S. Cuozzo said:
> Is there a way to make struts forward back to an action (instead of just
> the jsp page) when validation issues are detected?
The forward attribute of your action mappings can point to another action mapping.
Would that do the trick for yo
Yes, but I actually do want to use the validation.
Is there a way to make struts forward back to an action (instead of just
the jsp page) when validation issues are detected? That way, at least I
can make the action reload the page scope data that should be there.
And, as long as the form reset
I am trying to use Struts 1.2.4 on Tomcat 5.0. I seem to get errors for
any of the struts tags including the tiles tag due to incompatibility
with JSP2.0 or something, I guess.
Here is the error:
:\wqt\vcs\tis\nb\tel-web-ube\build\generated\src\org\apache\jsp\jsp\shop
\Input_jsp.java:112:
_jspx_m
Create your own ActionMessages object in your Action (ActionErrors would be
all but deprecated by nowexcept for the validate method).
Add ActionMessage objects to it.
Call this.saveErrors(ActionMessages object) in your Action Method.
Return an ActionForward to the page you want to go to.
>
Create your own ActionMessages object in your Action (ActionErrors would be
all but deprecated by nowexcept for the validate method).
Add ActionMessage objects to it.
Call this.saveErrors(ActionMessages object) in your Action Method.
Return an ActionForward to the page you want to go to.
>
Try creating a new action with validate="false" on those times you
don't want to validate the data.
Lee
On Mon, 01 Nov 2004 13:06:31 -0500, Gary S. Cuozzo
<[EMAIL PROTECTED]> wrote:
> Hello,
> I seem to always be struggling with a particular scenario in my Struts
> apps and thought I would ask t
With this, I get:
No getter method for property empName.firstName of bean employeeForm.
Thanks!
-Original Message-
From: Ankur Gupta [mailto:[EMAIL PROTECTED]
Sent: Monday, November 01, 2004 11:47 AM
To: 'Struts Users Mailing List'
Subject: RE: Nested Properties in ActionForms
---
Hello,
I seem to always be struggling with a particular scenario in my Struts
apps and thought I would ask to see what others are doing.
In my applications, I like to present my forms with the most up-to-date
data available, so I typically have a 'prep' action that grabs data from
persistent stora
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It appears I was not clear enough in my original question. If you look at
the example definition I provided below, I would like to replace
"schs82DefaultDef" with one of the layouts that supposedly come with Tiles,
namely "Center". The book I am learning from indicates that several
standard l
Hi All,
I need to know the correct way to display nested properties of a form on my
jsp using struts.
I have an ActionForm of type:
public class EmployeeInfoForm extends ActionForm {
private Name empName;
private Name spouseName;
private String getFirstName() {
In my Action class, I call a business object -- that does a database
action...and can return an exception. All is well, I can trap the
exception.
However, I am at a loss as to how to handle the error from there.
Example code I've seen forwards to an error pagewhat I'd like to
do is load Acti
I'm still having a big problem with my Struts webapp when I deploy it to
HP-UX.
When I try to start the app, the log says:
09:20:52,516 - INFO org.apache.struts.validator.ValidatorPlugIn - Loading
valida
tion rules file from '/WEB-INF/validator-rules.xml'
09:20:52,517 - INFO org.apache.struts.vali
Ashwin,
This looks like what you are describing:
http://jal.sun.com/services/jsf-components/repeater.faces
Kevin Bridges
On Mon, 1 Nov 2004 08:11:43 -0800 (PST), Ashwin Desai
<[EMAIL PROTECTED]> wrote:
> Actually, I should have clarified better.
>
> In my application, I need to get user input
Thanks. I got it work by using bean:wirte to assign the value to the multibox.
João Vieira da Luz <[EMAIL PROTECTED]> wrote:Maybe it's because html:multibox doesn't
support el...
You could try to use struts-el tag library.
On Fri, 29 Oct 2004 07:14:26 -0700 (PDT), t t wrote:
> Hi, all, I h
Actually, I should have clarified better.
In my application, I need to get user input for a user-configurable
number of rows. I want to display multiple rows of text fields so
that the user can enter data and submit it to my Action.
The sequence :
1) User enters number of rows & submits the in
John -
To use the schs82DefaultDef tile layout you would need to insert that definition in to
a jsp (or forward to the tile def from an action).
This would insert the "/layout.jsp" as defined in the path= part of your tiles-def.xml.
To insert the "name" attributes, within the "/layout.jsp" you w
The fix to Bugzilla Bug #26788 necessitated changing the marginheight
and marginwidth properties from int primitives to Integer objects so
that the tag could correctly distinguish between "0" values and
undefined values:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26788
Simply recompilin
Hello,
I am creating an application which has a search form. the search form
has several fields which represent attributes of a person object that is
stored in a database. i gather the user inputted values into the
actionform and they are passed to my struts Action class. I will use
these values t
I am new to Tiles. Is it possible to present a link in one tile and have
it fire an action that updates another tile without having to reload the
whole page? FAQ seems to not have a lot of tiles related stuff.
-
To unsubscribe, e-
Everything was going fine with my upgrade until I replaced all of my
ActionError instances with an ActionMessage instance.
Before I did this I could deploy (jboss-3.2.6) with no problems. Now I am
getting the following error during deployment:
2004-11-01 08:36:53,379 ERROR [org.apache.stru
I have no idea what you're talking about - but if you need help using the
TilesTool you should first check out the javadocs for said tool, and then
take a look at the example apps that come bundled with the VelocityTools
package :)
cheers,
Marinó.
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL
Hi,
We've just begun migrating to struts 1.2.4 on our dev boxes
and the process has mostly been smooth. There is one very
worrying bug however. Most pages with a struts frame tag in
have started breaking for no apparent reason. The jsp is
usually something like
the error page along the lines
I can't find documentation on how to use the layouts included with Tiles.
For example, here is one of my Tiles Defs:
In order to use one of the layouts included with Tiles, I tried but this doesn't work.
1) How do I reference this Tiles layout?
2
Dear all,
I've been trying to get Dates validation for my Struts
project without any success. I'm using struts 1.2.4
with Validator 1.1.3 on tomcat 5.0.27.
In my application, I'm having a hier of
MappingActionForm for Action, where individual action
mappings in struts-config map to individual me
Dear all,
I've been trying to get Dates validation for my Struts
project without any success. I'm using struts 1.2.4
with Validator 1.1.3 on tomcat 5.0.27.
In my application, I'm having a hier of
MappingActionForm for Action, where individual action
mappings in struts-config map to individual me
I would recommend that you keep it constant / fixed, as a part of protocol
between
XML posting application and receiving application.
This is similar to form bean attribute names and HTML form element names
relationship.
else you need to enumerate thru all the parameter names and figure out whic
So I should be aware of the request parameter name if external server is
posting the xml file to my web application.
-Original Message-
From: Kailash Vasani [mailto:[EMAIL PROTECTED]
Sent: Monday, November 01, 2004 3:52 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] reading xml in
Hi,
If the external server is going to POST the xml file to application (web
application),
then that would be normal string that may be extracted using as u would
normally extract
request parameters.
If this is file upload case (external server uploading file to application
using HTTP upload),
th
Hi All,
How to read report file (.xml) generated by another server in my
application JSP/Servlet?
An external server will generate a .xml file and will send to the
specified address of my application.
Regards,
Viral
-
To unsub
43 matches
Mail list logo