I am very used to HTML/JavaScript. Normally i do all validations on clientside
through JavaScript.
i just started Struts framework and i understand that "DynaActionForm" is to
have validation on cliend side. (till now using ActionForm only).
Normally what is the practice ? Which way is better
The idea of requiredif is to require a value for a field depending on
whether there is/isn't a value for another *field*. I'm not sure if you
can use it to hinge on other (non-field) values.
For example, if a user lives in an apartment, you want him to indicate
his apartment number. You have a
Thanks Daniel,
I had a look at JSTL and seems interesting - tried some samples. I think it is
more straightforward than logic bean.
Will try it out,
It's good i am asking the queries in this forum, first of all i get answer and
moreover i get direction to proceed.
Regards
Manisha
Danie
Hi,
This particular line
"To use Struts, you must copy the .tld files that you require into your
WEB-INF directory, and copy struts.jar (and all of the commons-*.jar
files) into your WEB-INF/lib directory."
is not clear. Which .tld files ? Struts' .tld files are inside the
META-INF fold
I am trying to display an exception caught by the Struts declarative
exception handling. I have tried to use the html:errors and
html;messages tags with no sucess. Does anyone have a sample they can
post on how to extract the exceptions that are being stored in the
ActionErrors?
Brandon
-
I'm deturmined to learn and use Struts. I'm confused when I attempt to
duplicate working examples in my application Eclipse flags them as errors. I
lost a great deal of learning time on my first example where the ActionForm
called the "perform" versus the "execute" method. I don't know if I'm fi
I'm seeing the same thing actually, have been for over a week.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
James Mitchell wrote:
No, it's just you.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM
No, it's just you.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Jorge Martín Cuervo" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, December 28, 2004 4:54 PM
Subject: Why download messages twice??
I don`t kno
No, it's just you.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: "Jorge Martín Cuervo" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, December 28, 2004 4:54 PM
Subject: Why download messages twice??
I don`t kno
I have a field I want to require only if the bean
it exists inside exists (is not null).
I cannot use validwhen because I am using struts 1.1.
I tried to use requiredif like this
field[0]
You should probably use bean:define instead of bean:parameter.
Even better learn JSTL and use c:set, c:if, and c:forEach to facilitate
you.
You will find JSTL has better versions of
everything in the struts "logic" and "bean" taglibs.
I don't think there is any readymade tags for grouping.
But if
I am having an action handler, which pulls data from database, puts inside data
bean. From result set i create array of databeans. This array of databeans i am
putting back on JSP.
Inside my JSP i am looping thr
--
-
Above works
I don`t know why the messages of the list comes twice.
Does it happens to anyone?
---
Jorge Martin Cuervo
[EMAIL PROTECTED]
+34 660 026 384
---
-
To unsubscribe, e-mai
> I need to configure logs on my virtual hosting.
> How can I do it? Till
Since this is OT, first a few words about "till" from Dictionary.com:
Usage Note: Till and until are generally interchangeable in both writing
and speech, though as the first word in a sentence until is usually
preferred:
Hello to all,
I've start working with jasperReports with struts, and i want to externalize
the labels to use in multilanguage environment.
I use a file applicationResources.properties (with the tag message-resources
in struts-config.xml) to the jsp labels without problems, but in my report
action
Lately, I've found myself (somewhat) often skimming Struts JavaDocs AND the
SVN source code. I just read about a project called JSourcery that has some
Open Sourced projects where the API had links next to each class name to
source code. Can we easily do this on the Struts site too? It could be
My friend started this a while ago:
http://irc-logs.org/
it could be the solution to what's missing here: a
searchable irc logs for struts help
james
--- Don Brown <[EMAIL PROTECTED]> wrote:
> While I agree with everything James said, I do find
> use in IRC as
> sometimes, when working on a ne
In addition to David's comments, this is what the Struts User Guide
has to say on the subject:
http://struts.apache.org/userGuide/configuration.html#config_add
Craig
On Tue, 28 Dec 2004 12:33:56 -0500, David G. Friedman
<[EMAIL PROTECTED]> wrote:
> Manisha,
>
> The application's /WEB-INF/lib
Vinicius,
What are you using as your struts-config.xml form-bean and action mapping?
A lot of people get the ValidatorForm and ValidatorActionForm reversed in
their minds/thinking. Your mappings for those two related items should
assist us in determining if that is the issue.
Regards,
David
Amit,
Can you define what you mean by 'needing logs'? Struts (recent versions)
uses common logging so you could check the Struts site or Wiki on how to
turn that on. If you add commons logging to your own webapp, one
configuration file can log all important struts and webapp errors to the log
fi
Manisha,
The application's /WEB-INF/lib directory is the preference for many of the
Struts jars. Unless you have only ONE Tomcat application using Struts,
putting Struts jars in any other place has been, if I recall correctly. I
believe I read about reloading issues and possible memory space con
While I agree with everything James said, I do find use in IRC as
sometimes, when working on a new Struts feature, I find it invaluable
to get quick feedback from folks I know in the channel. I could use
dev or user, but then I'd have to sit around for days waiting for
responses.
The IRC channel
> -Original Message-
> From: Sudheer [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 27, 2004 7:04 PM
> To: Struts Users Mailing List
> Subject: (newbie)preferred way of managing product catelog
>
>
> Hi,
>
> I am developing a JSP(2.0) shopping cart using struts(1.2)
> framework.
How would that be any faster then here? Are you going to pay people to hang
out and wait for a question?
If you really need fast help either pay for it or get really good at going
through the source code.
> -Original Message-
> From: Amit Gupta [mailto:[EMAIL PROTECTED]
> Sent: Tu
Thanks Bryce,
I'm well aware of gmane. Also, I run a 200+ member group on Yahoo groups
that was the first Struts Users Group in existence.
Problem is.that's still a mailing listthe same as this one. Why
would anyone participate on that list and not on this one? For us
(struts-atlanta
gmane.org
Google will return results from there.
James Mitchell wrote:
Why would you do this? You will end up answering the same questions
over and over again because there is no history for people to google
against.
I get questions emailed directly to me from time to time. My response
is usu
At 1:55 PM -0500 12/21/04, Benedict, Paul C wrote:
I noticed in Struts 1.3 there is a DispatchChainAction, and the parameter
attribute specifies the name of the chain to execute. Would somebody
consider that a security hole? It seems like anyone could arbitrarily
execute any chain command in the en
Why would you do this? You will end up answering the same questions over
and over again because there is no history for people to google against.
I get questions emailed directly to me from time to time. My response is
usually something like"take it to the list, unless you want to pay for
Hi there. I can't get validator to work (although I've done this before)
I know I'm missing something.
Here's my configuration files:
struts-config:
validation.xml
I have the origina
Hi!
I'm a Struts user since dez/2001 and we've been used this approach bellow in
order to pre-populating DynaActionForms for a long time in our company...
...But now I need to do it based on my own customized ActionMapping
properties. For example, we use this kind of extension to declare a DTO/VO
Hi Peter,
I think you gave far too less information for someone to really be
able to help you with this problem.
However I do have an observation about your code: I suppose that the
"userSelection" HashMap is first retrieved from session, then modified
(by removing something). You don't need to re
As Hubert pointed out: your form won't hold the state from your
first.jsp unless you store it in session scope, as the request created
on first.jsp submit will cease to exist after second.jsp is run.
But if you really don't wanna keep it in user's session, the only
workaround I see possible it's co
hi Cliff ,
> You may consider put all the fields which are populated from
> frist.jsp in the second.jsp using hidden field.
This is one solution and it helps ..
only problem is that if the first.jsp have a number of fields
then the second.jsp will be overloaded with that much number of hidden f
Good idea!
Yahoo IM:yuepengfei1978
MSN IM : [EMAIL PROTECTED]
Amit Gupta <[EMAIL PROTECTED]> wrote:
Can we create group in Yahoo/MSN messenger to help those who need fast help?
Amit Gupta
Mobile: 91-9818052171
Yahoo IM: amitguptainn
MSN IM : amitguptainn
---
34 matches
Mail list logo