them.
- Mark Twain (1835-1910)
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 1:38 PM
To: Struts Users Mailing List
Subject: RE: bean:message
You can't nest as you have shown. Here's an alternative
to call the getPname ( ) method on the WorkForm
and get the value foo.
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 10:30 AM
To: Struts Users Mailing List
Subject: RE: html:hidden
The hidden field is just a
input type=hidden...
So
Please read the readme.txt that ships with struts-el. It explains the dependency on
JSTL.
Sri
-Original Message-
From: Ray Madigan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 3:11 PM
To: Struts Users Mailing List
Subject: Struts-el
I am currently using the jstl c
.
Marwan
--- In [EMAIL PROTECTED], Sri Sankaran [EMAIL PROTECTED]
wrote:
I'm not sure I understand completely. Are you returning to the
same page after the form is submitted? What are you doing in the
reset() and Action?
That notwithstanding, here are some possibilities:
* The text fields
Struts itself uses commons logging. So you can simply include the necessary jars from
commons logging and say, log4j/jdk1.4 in conjunction with the respective properties
files in your classpath to control how the messages are output. You can learn a lot
more about it at
nested:iterate
property=someCollection
indexId=index
logic:notEqual
property=index
value=0,/logic:notEqual
/nested:iterate
.
This should allow you to display commas between each word and then a dot.
Sri
-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
It's possible. However as the DTD says, the input is:
Module-relative path of the action or other resource
to which control should be returned if a validation
error is encountered.
And not (necessarily) where you came from.
Sri
-Original Message-
From: Michael Mattox
-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 2:15 PM
To: 'Struts Users Mailing List'
Subject: RE: Displaying a collection as comma separated values
nested:iterate
property=someCollection
indexId=index
Nothing out of the ordinary jumps out from what you have sent. That being said,
following are a few points; a list which you have probably already checked and
double-checked:
* Have you set the validator plug-in element in the
struts-config?
* Is the name of the form-bean in the action
You haven't given enough information below (seems like a continuation of some previous
thread).
I *think* what you are trying to do is go forward from one action to another [*] but
before so doing removing a attribute from the request. If so, some obvious checks
would be
- ensure that the
The only thing I can come up with is that the MASK
processing is screwing things up some way
One way to confirm that would be to remove the mask test.
Jerry
Sri
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Following is based on connecting the dots of information you have provided (remember,
not everyone on the list is seeing what you are seeing or is conversant with your
business domain; so please introduce your problem more clearly)
I *think* what you have is a collection of gdids each of which
What does your action mapping with path /mdxQuery look like?
Sri
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 12:42 PM
To: [EMAIL PROTECTED]
Subject: Keep getting bean error
I was wondering if anyone could help me. I keep
Disclaimer:Not knowing your application I realize that the following may be
prescribing something you are already doing.
I wonder if you can avoid some of the problems you are having with re-entrant pages by
using lightweight action classes.
Say you have business services to
- retrieve
You have to set the 'message' attribute of html:messages to 'true'. The docs at
http://jakarta.apache.org/struts/userGuide/struts-html.html#messages explain it all.
Sri
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 1:26 PM
To:
Use the property attribute.
html:messages
property=success
message=true/
Also take a look at the html-messages.jsp file that is part of the
struts-exercise-taglib application that ships with Struts.
Sri
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent:
The reason is that you are closing out the logic:iterate too soon!
Look at the code you have sent, the logic:iterate ... ends with a /.
What you need, as you know, is
logic:iterate id=... property=...
!-- whatever --
/logic:iterate
Sri
-Original Message-
From: mech [mailto:[EMAIL
Looking at the docs it seems like it is the *notEmpty* that works with both Strings
and Collections. The title for notEmpty at
http://jakarta.apache.org/struts/userGuide/printer/struts-logic.html#notEmpty reads
Evaluate the nested body content of this tag if the
requested variable is
Please look into the usage of html:select. You can look at
* html-select.jsp that is part of the struts-exercise-taglib
application that ships with Struts
* the online documentation for the tag
* search the archives of this list
* read the numerous books on Struts
From these resources you can
There's probably a cute way of doing it with JSTL...somebody chime in, however, here's
how you could do it with Struts tags and scriptlet
nested:define
property=width
id=width/
nested:define
property=depth
id=depth/
%
float w = new Float(width).floatValue();
float d = new
: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 3:10 PM
To: Struts Users Mailing List
Subject: RE: how to calculate A*B in jsp, where A and B are from
nested:write
There's probably a cute way of doing it with JSTL...somebody chime in,
however, here's how you could
Take your pick of
http://marc.theaimsgroup.com/?l=struts-userm=103416927522003w=2
http://marc.theaimsgroup.com/?l=struts-userm=103313043614360w=2
http://marc.theaimsgroup.com/?l=struts-userm=103254783510467w=2
http://marc.theaimsgroup.com/?l=struts-userm=102406536726794w=2
Or just look at the
And finally, it seems you are looking at the Struts 1.0.2 version of the user guide.
The current one is at http://jakarta.apache.org/struts/userGuide/index.html.
Sri
-Original Message-
From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003
Marc does the best job IMO.
Try it out at http://marc.theaimsgroup.com/?l=struts-user.
Sri
-Original Message-
From: Kandi Potter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 2:48 PM
To: Struts Users Mailing List
Subject: RE: Searching the Archives?
anyone have a
; it is much faster.
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 3:09 PM
To: Struts Users Mailing List
Subject: RE: Searching the Archives?
Marc does the best job IMO.
Try it out at http://marc.theaimsgroup.com/?l=struts-user.
Sri
. The servlet 2.3 specification file (a pdf
file) shows both versions (2.2
and
2.3). If you look at version 2.2 there is no reference to
'resource-env-ref'
too. I have no solution to fix this yet. If you find a solution, let
me to know.
I hope it helps,
Marcelo
-Mensagem original-
De: Sri
The code you have presented isn't very clear. Your Action, for example seems to
declare the controlVO1 reference twice -- won't compile.
Are you trying to say that you have a list of objects within the ActionForm? Is it
being placed in the session/request under the key formList -- 'cos that's
Here's one way:
Define a bean called, say size as follows:
bean:define
id=size
name=editList
property=fieldLength/
Then use it in your html:text :
html:text
name=editList
property=value
size=%=size%/
Sri
-Original Message-
From: [EMAIL PROTECTED]
I am having trouble deploying to Resin 2.1.6. When I try to access the application
URL, I get the response:
500 Servlet Exception
C:\resin-2.1.6\webapps\qs\WEB-INF\web.xml:102: unknown element unknown element
`resource-env-ref' in web-app
I checked the web-app_2_3.dtd and resource-env-ref
Jeff:
I have seen your several posts in the last day or so but haven't commiserated since
you had indicated haven't read my posting
(http://www.mail-archive.com/struts-user@jakarta.apache.org/msg57884.html).
After debugging the problem, I had rephrased the problem in
I don't see how the *name* of a method can lead to an exception. Secondly why are you
getting a *NumberFormatException*. Aren't all your ActionForm properties String
types? (Refer to the countless discussions on this subject for its virtues)
All that being said, remember that unless
The value attribute or the nested body of a multibox tag represents the *value* for
the checkbox; i.e. the value to be sent on form submission. Please look at
http://jakarta.apache.org/struts/userGuide/struts-html.html#multibox.
Any label that you wish displayed must be specified independent
, February 07, 2003 7:17 PM
To: Sri Sankaran; [EMAIL PROTECTED]
Subject: Re: nest sytax.. looks cool but does it work? :)
Hi, Sri: Thanks much for responding to my post.
You write..
nested:form action=3D/someAction.do
%-- print the userFormName property of UserForm --%
nested:write
wonder if this was just recently fixed in the nightly
build. I remember a problem with the nested tags getting the
wrong name value, and I believe Aaron committed a fix for
this in the last day or so.
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Using
I faced a similar error in porting my application from Struts 1.0.2 to 1.1b3.
Problem persists on nightly (as late as Jan 31) as well. I have even written to Arron
to see if he is aware of a problem.
You *may* be able to work around this problem by including the nested_1_0.jar -- the
jar
Since none of the items in your html:options collection is (or can be) null [*],
even if the user does not make a selection, there is a default value and therefore the
validation is successful.
You could try to add a dummy default value (such as Please select one) and use a
NOTEQUAL test.
: I don't have any problem, could you post your code so we can have a look?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: February 5, 2003 9:32 AM
To: Struts Users
I am not familiar with the WebLogic environment but I would recommend reading the
instructions on using Struts at
http://jakarta.apache.org/struts/userGuide/installation.html. In particular read the
section following the line To use Struts in your own application, you will need to
follow
Last week's meeting of the local WebSphere Users' Group (WUG) included a demonstration
of the WebSphere Studio Site Developer (WSSD) including Struts tooling. It is quite
impressive.
Through the use of wizards and other intuitive aids WSSD eases the process of
developing a Struts-enabled
-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 12:58 PM
To: 'Struts Users Mailing List'
Subject: RE: Struts Tools
Last week's meeting of the local WebSphere Users' Group (WUG)
included a demonstration of the WebSphere
What *are* your symptoms?
Do you know if the action at UserList is executing?
What is the URL read after the page loads?
Sri
-Original Message-
From: Campbell, Kevin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 3:37 PM
To: Struts Users Mailing List
Subject: RE:
I don't understand why you say you can't use logic:iterate to populate cells in a
table
logic:iterate id=item property=items
tr
td
html:multibox property=selectedItems
bean:write name=item/
/html:multibox
bean:write name=item/
/td
!-- Maybe more cells --
A radio-button displays selected (checked) if the property attribute equals the value
attribute. So,
html:radio
property=color
value=#ff/Red
will display selected if the 'color' property of your form-bean is #ff.
This topic has been addressed countless times on this forum.
As
I agree.
However, if you are so inclined, the monster hack below should help:
ApplicationResources.properties
anything.goes={0}
In your Action/ActionForm:
new ActionError(anything.goes, The literal text)
Sri
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent:
Radio buttons are shown selected if the property and value attributes are equal.
So,
html:radio property=gender value=m/Male
will display selected if the gender property of the form-bean is m.
public class MyFormBean extends ActionForm {
private String gender;
// getters and setters
/snip
Confused again. (I will need a custom validate method.) How
does Struts know to start with my class that extends
DynaWhateverForm and add the stuff in the form-bean tag to
it, rather than creating a new one? Would it be:
form-bean name=logonForm
Intermixed...
-Original Message-
From: Brahme, Supriya (ENJ)
[mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 2:43 PM
To: [EMAIL PROTECTED]
Subject: Basic questions on ActionForm Session time-out
Hi,
I am new to Struts. I have some simple basic questions..
1. If
Make sure that your struts-config has the correct DOCTYPE declaration and that the DTD
is in the appropriate location. You can look at the sample applications for hints.
Sri
-Original Message-
From: Knut Herhold [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 8:02 AM
Yes
-Original Message-
From: Arash Bijanzadeh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 3:51 AM
To: Struts Users Mailing List
Subject: nested iteration
Can I use nested iteration on a page?
Please look at html-multibox.jsp and related files that are in the
struts-exercise-taglib application that ships with Struts.
Sri
-Original Message-
From: Uday [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 12:47 AM
To: [EMAIL PROTECTED]
Subject: Problem with
Setting the target attribute to the name of the IFrame will route the results to the
IFrame. Of course, the IFrame itself needs to be made visible. This can, typically,
be accomplished via the onclick attribute.
Sri
-Original Message-
From: vinay singh [EMAIL PROTECTED]
Your struts-config doesn't have a plug-in element for the Validator.
Sri
-Original Message-
From: Softwareentwicklung Hauschel
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 1:33 PM
To: Struts Users Mailing List
Subject: Validator Problems
Hey all,
i've
You can redirect instead of forwarding. Of course, as you know, this creates a new
request and so you can't expect to use anything that is in request scope in the list
page.
Sri
-Original Message-
From: carlos list [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 1:54
Man, that looks convoluted.
Sri
-Original Message-
From: PILGRIM, Peter, FM [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 1:03 PM
To: 'Struts Users Mailing List'
Subject: RE: [VALIDATOR] requiredif ??
In the Struts User Guide there is a large example with
Message-
From: James Turner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 2:39 PM
To: 'Struts Users Mailing List'
Subject: RE: [VALIDATOR] requiredif ??
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 2:30 PM
To: Struts Users Mailing
. How can I do that?
From: Sri Sankaran [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Reload after forward executes the previous action.
Date: Thu, 30 Jan 2003 14:29:24 -0500
You can redirect
I haven't ever received any mail from Naveen Dhotre. I think he has targeted his
emails to Mark and few other good men.
Sri
-Original Message-
From: David Bolsover [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 9:42 AM
To: Struts Users Mailing List
Subject: RE: [OT]
So, if I understand your question correctly, when a user accesses your application,
you want a set of tasks to be performed. One way to do this would be to have your
application url be a call to some action: http://www.foo.com/myapp/start.do. Here the
action mapped to 'start.do' will do your
Did you try setting the type attribute of the form-bean to
full.qualified.ProfileForm?
Sri
-Original Message-
From: Susan Bradeen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 2:44 PM
To: [EMAIL PROTECTED]
Subject: DynaValidatorForm with validate()
Can you
The one at http://marc.theaimsgroup.com/?l=struts-userm=99715571123697w=2 is little
more than a year old but it's a good one.
Sri
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 9:14 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT]
Using : Struts 1.1b3
Is it possible to stop the validation of a DynaValidatorForm when the Validator
framework encounters the first error?
I have the following form in my validation.xml
form name=qualForm
field property=access depends=required
msg name=required key=error.qualify/
I was wading through the source code to figure out the process of creation of a form
bean and found the following snippet in o.a.s.u.RequestUtils in the method
createActionForm (line 654 in the 1/28 nightly source):
(beginning at line 709)
if (configClass.isAssignableFrom(instance.getClass()))
If your form-bean is saved to the session scope under the key 'foo' the following is
how you can access it in a scriptlet (assuming the class name of the form-bean is
SearchResultForm)
%
SearchResultForm srf = (SearchResultForm)session.getAttribute(foo);
int currPage = srf.getPageNumber();
See http://marc.theaimsgroup.com/?l=struts-userm=104205761322672w=2.
Sri
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 11:26 AM
To: [EMAIL PROTECTED]
Subject: session size and struts
I know the implementation of session is
Using Struts 1.1b3
I am porting my application from Struts 1.0 to 1.1. One of the pages does not load
and reports the error
No getter method for property prodsNotInstalled[0].software_code of bean sitebean'
The error goes away if nested_jars_10.jar happens to be in WEB-INF/lib.
Have you
Is this setter being called at all? If the 'permissions' property of your form-bean
is some kind of List (as it seems looking at the setter you have shown) I don't think
this setter will be invoked at all. Struts will look for a
void setPermissions(List x)
method. Likewise when you
for your help
Jordan
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 23 January 2003 3:27 PM
To: Struts Users Mailing List
Subject: RE: How to handle a multiple select tag
Is this setter being called at all? If the 'permissions'
property
PM
To: Struts Users Mailing List
Subject: RE: reset a request parameter to null
thanks for your reply. just as this email's subject, I am trying to set a request
*parameter* to null. Denis
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 3
See intermixed
-Original Message-
From: Jeremy Cavagnolo [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 7:31 PM
To: [EMAIL PROTECTED]
Subject: ClassCastException problem
I am using struts 1.0.2 and tomcat 4.1.12. I have an Action
that contains the following code:
I assume that you are referring to the ActionForm class' validate() method. If so,
you *must* further have specified an 'input' attribute for the action mapping in
question. The framework will forward the request to the path that is the value of the
'input' attribute. So, if you have
action
Have you tried to do the following in inside.jsp :
nested:root
nested:equal property=field.subfield value=AAA
toto
/nested:equal
/nested:root
The empty root tag lets the nested tags pick up its context from the container page
(around.jsp).
Sri
P.S. BTW, your email has two trailing
The id attribute gives page-scope bean of type java.lang.Object. Your options are
* specify the 'type' attribute with the fully
qualified class name
* Cast your call in the scriptlet to the appropriate
type
Sri
-Original Message-
From: rajiv ahuja [mailto:[EMAIL PROTECTED]]
It isn't clear what you are trying to achieve; however one thing that jumps out is
your use of request *attributes* as opposed to request *parameters*. When you append
a URI thusly:
foo?operation=barbaz=gak
you are providing *parameters* and not attributes.
Sri
-Original Message-
PROTECTED]]
Sent: Monday, January 20, 2003 3:30 PM
To: Struts Users Mailing List
Subject: RE: reset a request parameter to null
thanks for your reply. just as this email's subject, I am trying to set a request
*parameter* to null. Denis
-Original Message-
From: Sri Sankaran [mailto:[EMAIL
...and on the email below it's one day ahead!
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 1:13 PM
To: 'Struts Users Mailing List'
Subject: RE: Axis/SOAP proposal for Struts
Your calendar is 2 days behind
-Original
The logic validate method is so closely coupled with the form-bean properties that it
wouldn't help to look at a sample. What I do in form-bean-X's validate() is nothing
like the validate() for form-bean-Y. If you still want to look at sample code you
should be able to find it in the sample
I don't know what you mean by professionals. However, treating it as some
java.lang.Object you can easily accomplish this with a form-bean that has a List of
professionals and display the contents of the list in your JSP using a
logic:iterate.
Am I missing something?
Sri
-Original
(or something else) but many. As you said, I understand that I can have
an attribute that can store these professionals. Can you give me a simple example?
This attribute is an array of java.lang.Object?
Thanks,
Joao Paulo.
Sri Sankaran [EMAIL PROTECTED] wrote:I don't know what you mean
that store the
list of professionals (or anything else). Thanks, Joao Paulo. Sri Sankaran
[EMAIL PROTECTED] wrote:Look at the file logic-iterate.jsp in the
struts-exercise-taglib application that ships with Struts. It demonstrates several
uses of .
It would also help to look at the documentation
he says strutting proudly ...oops pardon the pun.
Sri
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 10:48 AM
To: 'Struts Users Mailing List'
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a recommendation
Have you tried setting the filter attribute of bean:write to false?
Sri
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 2:23 PM
To: [EMAIL PROTECTED]
Subject: bean:write and embedded html tag
My ActionForm is
public class
The ode from James Turner
http://marc.theaimsgroup.com/?l=struts-userm=104070407822408w=2 is a classic.
Sri
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 3:01 PM
To: 'Struts Users Mailing List'
Subject: RE: [REQUEST] Corrections for
You *can* use bean:define. Be sure to look at the docs at
http://jakarta.apache.org/struts/userGuide/struts-bean.html#define; it explains how
this tag differs from jsp:useBean.
Sri
-Original Message-
From: Matthias Weßendorf [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003
This works the same way as it does with the html tags. The default value (value
that is shown selected when the page is loaded) is determined by the value of the
nested:select's property attribute. So, if 'rechercheInstancier.agent' is i1 and i1
is one of the values of the nested:options, it
Mark.. The [OT]meister...
Doing the [OT]
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 11:36 AM
To: 'Struts Users Mailing List'
Subject: It lives
Hey guys! Been away from the list for awhile. Got sick of working in a
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 3:51 PM
To: [EMAIL PROTECTED]
Subject: session scope ActionForm
I am a bit confused about session scope of ActionForm.
For example, in my ActionForm testForm
private
The html:multibox tag will serve this purpose. See
http://jakarta.apache.org/struts/userGuide/struts-html.html#multibox.
Sri
-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 10:54 AM
To: '[EMAIL PROTECTED]'
Subject: A form with
Your nested:root isn't what you expect it to since you are closing it immediately.
Look closely, you have
nested:root name=permissionteset/
^^
You probably meant
nested:root name=permissionteset
..
/nested:root
Sri
-Original Message-
From:
html:link page='%=/glAccount.do?action=+MyInterface.ACTION%'
Sri
-Original Message-
From: Gus Delgado [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 5:33 PM
To: Struts Users Mailing List
Subject: action from an Interface
html:link page=/glAccount.do?action%=
Please read the docs at
http://jakarta.apache.org/struts/userGuide/struts-html.html#link. It explains how to
set up a Map to provide multiple parameters.
Sri
-Original Message-
From: Damm, Gary [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 9:44 PM
To: Struts Users
If you look at the docs for html:options and in particular for its 'collection'
attribute you will note that the value of the 'collection' attribute must be a
java.util.Collection of JavaBeans. Each bean in this java.util.Collection must have
the properties named by the 'property' and
Oh! And one other thing, the 'property' attribute of the html:select represents the
user's selection(s). So your form-bean should set up an String[] (since you want to
allow multiple selections) where these can be stored.
Sri
-Original Message-
From: Sri Sankaran
Sent: Wednesday
The reason
nested:nest property=submission
nested:iterate property=attributes
..
works is because the nested tags keep track of the context in which they are in;
i.e. the call to the 'attributes' property by nested:iterate is made relative to the
parent bean which is 'submission'.
For
Please read http://jakarta.apache.org/struts/userGuide/struts-html.html#link. It
explains how you can set up a Map to pass multiple parameters to a link.
Sri
-Original Message-
From: Mark Minnie [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 11:57 PM
To: [EMAIL
By setting up an action mapping with an associated form-bean, the process of setting
the form-bean properties with value(s) the client provides is an implicit feature of
the Struts framework.
Going by your question, and your sample code snippet, I would encourage you to take a
close look at
-Original Message-
From: Yan Zhu [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 05, 2003 10:57 AM
To: Struts Users Mailing List
Subject: a couple of questions
hey guys,
using struts 1.1 beta 3 here with tomcat 4.1.18.
pretty much a newbie with struts ...
-Original Message-
From: Samir Shah [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 9:23 AM
To: [EMAIL PROTECTED]
Subject: Repopulating a form after an error in Validate
Hi
I have a very frustrating problem. I have a form
where I use a bean to prefill a form
The thing I like about IDEA is that because it is so intuitive to use it gets out of
the way of coding. If you find yourself thinking I *should* be able to do xyz by,
say, right-clicking... chances are that's how it is done. Since it is written for
Java application development, its feature
-Original Message-
From: Jose Luis [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 1:30 PM
To: Struts Users Mailing List
Subject: nestedtag, iterate and multibox
I´m testing the nested tags, and i found some troublesome in
the way i used to do things and with
One approach is to use the nested tag library (if you are using Struts 1.0.2 it's a
separate download from www.keyboardmonkey.com/next/index.jsp). Using it you can
display questionText for example as :
nested:form action=foo
nested:write property=pageObject.questionObject.text/
/nested:form
101 - 200 of 424 matches
Mail list logo