Why would you want to have an action related to 2 forms.
A form typically means a business functionality and an action is the
trigger for that business functionality.
If you are saying that a single functionality encompasses more than one
form then there is problem in the design.
I think u shld giv
On Fri, 13 Aug 2004 15:22:46 +0900, Prasad, Kamakshya
<[EMAIL PROTECTED]> wrote:
> Dear Craig,
>
> Could you please elaborate more on this? Kindly if possible some code
> snippets which may help me understand it better.
>
As I said in my previous message, the nightly builds of the
Struts-Faces i
Dear Craig,
Could you please elaborate more on this? Kindly if possible some code
snippets which may help me understand it better.
Thanks and Regards,
KP
-Original Message-
From: Craig McClanahan [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 3:12 PM
To: Struts Users Mailing Lis
On Fri, 13 Aug 2004 14:51:25 +0900, Prasad, Kamakshya
<[EMAIL PROTECTED]> wrote:
> HI,
>
> Thanks a lot for the information.
> I was looking through the examples of Struts-faces integration library.
> What I found was in the backing bean method a url with query string
> parameters is created to di
7 developers... working in one location or distributed?
if it's local: I do not think it's already a critical size, because the
edits on the struts-config.xml should not be SO frequent that it becomes
a problem. EG. when you meet for a coffee in the morning all it takes are
30 seconds to check wh
Funny, kids. I'm on Struts v1.1 with Jdk 1.4.2_04_B05. Though I think the
latest stable JDK is 1.4.2_05.
Regards,
David
-Original Message-
From: Yakov Belov [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 1:44 AM
To: Struts Users Mailing List
Subject: Re: jdk 1.4.x support
Mor
HI,
Thanks a lot for the information.
I was looking through the examples of Struts-faces integration library.
What I found was in the backing bean method a url with query string
parameters is created to dispatch to the struts action. Is this the only
way to dispatch? What should be done in the c
More like, does jdk1.4 support struts 1.1?
Not sure, but I presume so, unless jdk1.4 enforces standards, which are not
followed in struts1.1
Technically Yours
- Original Message -
From: "Viral_Thakkar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 13, 2004 3:06 PM
Subj
Yes, I am using jdk 1.4.2 and it is working
Viral_Thakkar wrote:
> Does struts 1.1 supports jdk 1.4.x?
>
>
>
> Regards,
>
> Viral
>
>
>
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
Niall Pemberton wrote:
I don't have anything that implements Map - but I developed a LazyDynaMap
and flavours of ActionForm which use it
Apparently you have forgotten our discussion a few days ago. I have
implemented a BeanMapForm which you said the nightlies would allow me to
use, since they no
Does struts 1.1 supports jdk 1.4.x?
Regards,
Viral
Ensure that the request attributes are set in the ActionForm, this is
the only way that you can ensure that they'll still be there when the
validate fails.
Leandro Melo wrote:
Hi,
when a user request hits the ActionForm's validate
method and bounces back, i'm loosing some request
attributes that
I don't have anything that implements Map - but I developed a LazyDynaMap
and flavours of ActionForm which use it
To use it you need...
* Struts Nightly Build
http://cvs.apache.org/builds/jakarta-struts/nightly/
* BeanUtils 1.7.0 Release
http://jakarta.apache.org/site/binindex.cgi
* L
Try this:
Regards,
John
[EMAIL PROTECTED]
Ph (09) 372-5010
|-+>
| | Leandro Melo |
| | <[EMAIL PROTECTED]|
| | oo.com.br> |
| ||
| |
Hi,
i got a weird thing happening. Actually it's not that
weird, it has very sense, but anyway, i would like to
avoid that.
Ther word "you" in portuguese is "você".
I got some error messages like that.
error.invalid.name=Vocç deve digitar o nome.
What in english would be
error.invalid.name=You
Hi,
when a user request hits the ActionForm's validate
method and bounces back, i'm loosing some request
attributes that i had set for the page. In other
words, if the user inputs some data that don't pass
the validate method,
the page comes back with a few request scope
attributes missing.
Is the
Worked perfectly Jim!
Thanks,
ltcmelo
> Try this instead of html:errors:
>
>
>
>
>
>
>
>
> If that works then you can mangle the html however
> you want of course.
=
_
Leandro Terra C. Melo
Eng. de Controle e Automação - UFMG
__
LOL!!!
You wouldn't believe if i tell you that it was what i
first thought!
I speak portuguese (from Brazil).
ltcmelo
--- Michael McGrady <[EMAIL PROTECTED]>
escreveu:
> Leandro Melo wrote:
>
> >Allright!
> >Actually, my first languages "are" c++ and pascal.
> >Why did you ask anyway!?
> >
> >
Niall,
You have set up the nightly commons and struts, apparently, so that a
form that implements Map can be used. What all do I have to do to use
this? I am presently using Struts 1.1. Thanks
Michael
-
To unsubscribe, e-m
Leandro Melo wrote:
Allright!
Actually, my first languages "are" c++ and pascal.
Why did you ask anyway!?
Thanks again,
ltcmelo
LOL I meant your SPOKEN or READING language, Leandro, not your computer
language.
Michael
-
To un
I'm not saying you should switch the whole team over now, but it might help
you to be aware that you can break down your struts-config.xml into several
files, each containing its own set of form beans and action declarations. I
usually break it down by functionality, so it's easier for me to find
On Thu, 12 Aug 2004 13:59:06 -0400, Laran Evans <[EMAIL PROTECTED]> wrote:
> I hear what you're saying. However, I work in a team of 7 developers.
> If each developer can make changes to the struts-config.xml file we'll
> have 7 people working on the same file at the same time. If we generate
> t
I hear what you're saying. However, I work in a team of 7 developers.
If each developer can make changes to the struts-config.xml file we'll
have 7 people working on the same file at the same time. If we generate
the struts-config.xml file with XDoclet we will all in fact be working
on separ
Allright!
Actually, my first languages "are" c++ and pascal.
Why did you ask anyway!?
Thanks again,
ltcmelo
> ATTACHMENT part 9 message/rfc822
> Data: Wed, 11 Aug 2004 14:17:11 -0700
> Para: "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
> De: Michael McGrady <[EMAIL PROTECTED]>
> Assunto: R
> -Original Message-
> From: Woodchuck [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 12, 2004 9:29 AM
> To: Struts Users Mailing List
> Subject: RE: lifetime of ActionForm objects
>
>
>
> --- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
> >
> >
> > > -Original Message-
> >
Erez Efrati wrote:
Hi,
I am looking for a good place / group to place a small HTML question.
Can someone point me to such?
Thanks,
Erez
Wow -- I googled for "html mailing list" and really didn't find
anything! Personally, I think you post it here and probably get a
response -- just tag
Thanx Andy for the reply,
In validation.xml, I have configured identical like this:
maxlength
8
secondProperty
user
Hollaway, Shedrick CIV (TRFKB C600) wrote:
Rick wrote:
Guys,
This is what I wanted to do without using any javascript.
Why don't you just tell us what you want to do without giving the html?
Then we can see what html you really might need. If your html were
adequate, you would not have to ask
Jim et al
Assuming you are using 1.75 Hibernate I found this config from
http://cvs.sourceforge.net/viewcvs.py/hibernate/Hibernate/hibernate.properties?rev=1.75
#MySQL
#hibernate.dialect cirrus.hibernate.sql.MySQLDialect
#hibernate.connection.driver_class org.gjt.mm.mysql.Driver
#hibernate.connecti
> -Original Message-
> From: Ankur Gupta [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 12, 2004 9:17 AM
> To: 'Struts Users Mailing List'
> Subject: Nested Lists
>
>
> Hello,
>
nest list example
>
> I have it structured like above. But, having difficulty
> saving the values
>
Thanks Bill, I will try that.
Erik
Bill Siggelkow wrote:
Erik Weber wrote:
I have two possible masks which are acceptable for a phone number
text input.
Is there a way to tell the validator plugin (in validation.xml) that
either of two masks is acceptable for a given field?
Thanks,
Erik
Why don
Start here:
http://www.htmlhelp.org/faq/html/
BTW, I found this using Google.
http://groups.google.com/groups?q=HTML+&ie=UTF-8&hl=en&btnG=Google+Search
You may want to search Google Groups to find an answer to your HTML question.
robert
> -Original Message-
> From: Erez Efrati [mailto:[
Erik Weber wrote:
I have two possible masks which are acceptable for a phone number text
input.
Is there a way to tell the validator plugin (in validation.xml) that
either of two masks is acceptable for a given field?
Thanks,
Erik
Why don't you just use alternation in the regex?
---
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Woodchuck [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 12, 2004 7:24 AM
> > To: struts
> > Subject: lifetime of ActionForm objects
> >
> >
> > the following is my understanding, can someone please
> -Original Message-
> From: Hollaway, Shedrick CIV (TRFKB C600)
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 12, 2004 9:13 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Multiple forms in one JSP + one Action
>
>
> Thanks to all, for gliding me back to the light. Jim, you
Ratnakar,
oIdentical should be an array containing all the objects that should be
validated for the current validator. This function (identical()) is
dynamically generated from your form and field definitions in
validation.xml. You will need to loop through the oIdentical array and
perform your va
Hello,
I have a list of passengers in a form and each passenger contains a list of
addresses. How do I map this scenario in Struts?
:
:
Hi,
I am looking for a good place / group to place a small HTML question.
Can someone point me to such?
Thanks,
Erez
Thanks to all, for gliding me back to the light. Jim, you were right I was
over engineering it. I'll put down the oil, screwdriver and jackhammer then
digest Rick's suggestions.
again thanks,
Shed
> -Original Message-
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August
Jim et al:
Did you check the validation.xml conforms to validator 1.1 DTD on the
validator.xml
(see)
http://www.mail-archive.com/[EMAIL PROTECTED]/msg01486.html
thanks,
Martin Gainty
(cell) 617-852-7822
From: "Jim Barrows" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTEC
Rick Reumann wrote:
Sorry this of course should be
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 11, 2004 5:34 PM
> To: Struts Users Mailing List
> Subject: [OT] HTML and Email Client: Eudora
>
>
> I am trying to see the tags in list emails, but the code is
> not showing
> up. I am u
> -Original Message-
> From: Woodchuck [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 12, 2004 7:24 AM
> To: struts
> Subject: lifetime of ActionForm objects
>
>
> the following is my understanding, can someone please verify that i
> have it correct?
>
> - when a form is first su
Hollaway, Shedrick CIV (TRFKB C600) wrote:
Rick, my apologies for being unclear here, html:text is html-el:text and I
am using JSTL to retrieve data and iterate with (c:foreach). There are alot
more fields involve here each ActionForm corrolate to a database
tables(Atable = Aform, Btable = Bform).
> -Original Message-
> From: Hollaway, Shedrick CIV (TRFKB C600)
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 12, 2004 8:28 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Multiple forms in one JSP + one Action
>
>
> Rick, my apologies for being unclear here, html:text is
>
> -Original Message-
> From: Hollaway, Shedrick CIV (TRFKB C600)
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 12, 2004 5:51 AM
> To: '[EMAIL PROTECTED]'
> Subject: Multiple forms in one JSP + one Action
>
>
> I am unable to find a solution or an alternate way of having
> multip
> -Original Message-
> From: Jaakko Rytinki [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 12, 2004 3:05 AM
> To: 'Struts Users Mailing List'
> Subject: Indexed properties and DynaActionForm
>
>
> Could someone explain why the following does not work:
>
> - - - - Form bean:
> type
> -Original Message-
> From: Janne Mattila [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 12, 2004 1:38 AM
> To: [EMAIL PROTECTED]
> Subject: Accessing bean properties problem
>
>
> Let's say I have a collection of Choice objects, each having
> attributes key
> and name. I want to
I've implemented this by relying on the behaviour of the virus scanner
installed on the server. The scanner here will not write a file with a virus
to the location on disk you ask it to - it writes it to a quarantine
directory.
My application uploads the file to the server & then checks to see if
I found the error, I was using Xdoclet and I didn't specify in
@struts.action scope="session"
Thanks
tito
El jue, 12 de 08 de 2004 a las 11:44, Tito Eritja escribiÃ:
> I'm new on Struts, and I'm trying to use the example from book
> JakartaStrutsLife, but I get an
> java.lang.ArrayIndexOutOfBoun
On Thu, 12 Aug 2004 20:46:33 +0900, Prasad, Kamakshya
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Is it possible to plugin struts validator framework to Javaserver faces
> web framework?
Yes, if you use the Struts-Faces integration library -- currently
available in nightly builds. You can take full
Rick, my apologies for being unclear here, html:text is html-el:text and I
am using JSTL to retrieve data and iterate with (c:foreach). There are alot
more fields involve here each ActionForm corrolate to a database
tables(Atable = Aform, Btable = Bform). I would like the user to be able
update fie
http://uk.trendmicro-europe.com/consumer/products/housecall_pre.php
Only tested it on windows. Let me know if it works on linux.
Chris McCormack
-Original Message-
From: Sean Radford [mailto:[EMAIL PROTECTED]
Sent: 12 August 2004 16:17
To: Struts Users Mailing List
Subject: [OT] Virus ch
Hi,
Anyone know of a good (cheap) way to virus check uploaded files for viruses?
I'm mainly needing to check Word documents for macro style viruses. What
would make the problem worse is that our servers run linux... (but open
to hear about Windows options)
Regards,
Sean
--
Dr. Sean Radford, MBBS
Laran Evans wrote:
I have a struts ActionForm which I would like to markup with xdoclet tags.
Don't do it:) Seriously, IMO, I think it's a waste. I think it's nice
having one configuration file to look it to set up all my mappings (your
config.xml file). Think about it, using xdoclet if you decid
Hollaway, Shedrick CIV (TRFKB C600) wrote:
This is what I wanted to do without using any javascript.
<%-- first form stuff -- using formA --%>
<%-- second form stuff -- using formB -- displayed%>
First Contact:
value="${contact[0].fullName}"
readonly="false"/>
I have a struts ActionForm which I would like to markup with xdoclet tags.
The documentation for @struts.form however says "Applies to: Entity
beans". Does this mean that the only ActionForm implementations xdoclet
supports are implemented as EJBs?
Is it reasonable for me to think that I'll be
First form has among other things:
two attributes of the type formB1 & formB2 (with the accessors getFormB1 &
getFormB2).
The fields in the forms are then named :
_ formB1.name, formB1.surname
_ formB2.name, formB2.surname
Don't forget to instanciate in the FormABean the two "sub" beans.
\T,
Rick wrote:
Guys,
This is what I wanted to do without using any javascript.
<%-- first form stuff -- using formA --%>
<%-- second form stuff -- using formB -- displayed%>
First Contact:
<%-- t
At 06:58 AM 8/12/2004, you wrote:
Oops, that was a typo. Should have read
"
/>
If browsers did pick up "value" parameter, this problem would not even
exist...
Some browsers do. What is your problem? Why are you adding "delete" in
here?
There is no "name" attribute with image. I assume you
ppk123 wrote:
you can submit multiple forms using javascript like
document.forms[0].submit(); .. and so on..
keep in mind to have different targets for each forms.
Yea there are ton of Javascript tricks you can do but usually you want
to avoid this kind of stuff if possible. My guess is there is
ppk123 wrote:
you can submit multiple forms using javascript like
document.forms[0].submit(); .. and so on..
keep in mind to have different targets for each forms.
This is, I think, just going to confuse this guy. Tell us what you want
to do, guy!
--
you can submit multiple forms using javascript like
document.forms[0].submit(); .. and so on..
keep in mind to have different targets for each forms.
- Original Message -
From: "Rick Reumann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, August 1
I have two possible masks which are acceptable for a phone number text
input.
Is there a way to tell the validator plugin (in validation.xml) that
either of two masks is acceptable for a given field?
Thanks,
Erik
-
To unsubscri
the following is my understanding, can someone please verify that i
have it correct?
- when a form is first submitted, Struts will create an instance of
the ActionForm and then attempt to populate the submitted field data
via the JavaBean convention into the ActionForm object
- this ActionFor
Hollaway, Shedrick CIV (TRFKB C600) wrote:
Micheal
I was trying to submit all three at one time.
I've been doing Struts for a long time now and have never run across a
case where I had to do submit more than one form from one click. You can
have as many forms as you want on a page though and you
Micheal
I was trying to submit all three at one time. But you're that is not an
option. So, I have to do something like this:
first.jsp
<%-- first form stuff -- using formA --%>
<%-- second form stuff -- using formB --%>
<%-- third
Oops, that was a typo. Should have read
" />
If browsers did pick up "value" parameter, this problem would not even
exist...
Do you realize, Janne, how few browsers will pick up the value of value?
At 01:37 AM 8/12/2004, you wrote:
" />
-
> The following works only in Internet Explorer, not in
> Mozilla, Netscape or Opera. Anyone have any idea how to fix it?
>
>
> action='/upload'>
>
>
> onclick='browse.click();file.value=browse.value;browse.disabled=true'
> value='Select a File...'/>
Mozilla hues to the W3C stand
Hollaway, Shedrick CIV (TRFKB C600) wrote:
I am unable to find a solution or an alternate way of having multiple forms
in one jsp and upon submit one action handling all forms.The jsp will have
the forms as follows:
<%-- first form stuff -- using formA --%>
<%-- se
At 05:50 AM 8/12/2004, you wrote:
I am unable to find a solution or an alternate way of having multiple forms
in one jsp and upon submit one action handling all forms.The jsp will have
the forms as follows:
You can have many forms but can submit only one at a time. What are you
trying to do?
Mic
The following works only in Internet Explorer, not in Mozilla, Netscape or
Opera. Anyone have any idea how to fix it?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
I am unable to find a solution or an alternate way of having multiple forms
in one jsp and upon submit one action handling all forms.The jsp will have
the forms as follows:
<%-- first form stuff -- using formA --%>
<%-- second form stuff -- using formB --%>
Do you realize, Janne, how few browsers will pick up the value of value?
At 01:37 AM 8/12/2004, you wrote:
" />
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi, the MyFaces-JSF-Impl. (http://myfaces.org)
uses some Validator-rules for its custom-validators.
but you can also use client-side validation in JSF
via Commons-Validator. The CoreJSF-Book tells you
examples on it.
Hope it helps.
Regards,
Matthias
> -Original Message-
> From: Prasad
Hi All,
Is it possible to plugin struts validator framework to Javaserver faces
web framework?
Are there any examples available in the net?
Kindly advice me on this.
KP
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
How do I obtain a MessageResources by name that I have configured in
struts-config.xml from outside of an Action class, where I have no
Struts object references to work with (in other words, starting with
some static method call)?
I tried using MessageResourcesFactory but I'm not having any luc
Could someone explain why the following does not work:
- - - - Form bean:
- - - - Action Mapping:
- - - - Prepopulated form:
- - - - Action:
DynaActionForm dynaForm = (DynaActionForm) myForm;
List myList = (List) dynaForm.get("values");
The form shows up fin
I'm new on Struts, and I'm trying to use the example from book
JakartaStrutsLife, but I get an
java.lang.ArrayIndexOutOfBoundsException: in
The problem occurs in getUser(index) function, as users has no
lineItems
Let's say I have a collection of Choice objects, each having attributes key
and name. I want to iterate the collection on JSP, display it's contents and
add a delete button for each choice. Delete button value should contain
"delete_" appended with each choice's key. Following works:
(1)
80 matches
Mail list logo