Try using http://marc.theaimsgroup.com/?l=struts-user instead.
Sri
-Original Message-
From: Gregory F. March [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 9:42 AM
To: Struts Users Mailing List
Subject: Searching the mailing list
Hi.
It seems that searching using this link
Download the jar http://www.keyboardmonkey.com/downloads/km-nested-v2.03.jar and add
it to your classpath. See if that does the trick. This jar patches some bugs with
the nested classes included with Struts.
Sri
-Original Message-
From: Mykola Ostapchuk [mailto:[EMAIL PROTECTED]
Since the name fields are non-form fields they are not submitted and hence are not
part of the request. Therefore, when validation fails, there is nothing to send back
to the browser.
Sri
-Original Message-
From: Brahme, Supriya (ENJ) [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11,
If you really want to stay with request scope, a (hacky) way around it would be to
have the names as hidden form fields as well.
Sri
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 10:49 AM
To: Struts Users Mailing List
Subject: RE: retention
This subject is addressed by Arron in an earlier message
(http://marc.theaimsgroup.com/?l=struts-userm=103848775020380w=2).
Sri
-Original Message-
From: Wes Rood [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 12:15 PM
To: [EMAIL PROTECTED]
Subject: need help with nested:iterate
Funny story but a hoax. See http://www.snopes.com/crime/clever/cigarson.asp.
Sri
-Original Message-
From: Joel Wickard [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 9:23 PM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] Burnt Ashes
This is a true story and was the 1st
Disabled pooling. No cigar :(
Sri
-Original Message-
From: Edgar Dollin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 7:06 AM
To: Sri Sankaran; '[EMAIL PROTECTED]'
Subject: RE: NestedIterateTag won't let go of collection
There is a known bug if the collection is passed
Got disabling of tag pooling to work. I had to force a re-compilation of the JSPs.
Sri
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 10:55 AM
To: Edgar Dollin; [EMAIL PROTECTED]
Subject: RE: NestedIterateTag won't let go of collection
Using: Struts 1.1
Servlet Container: Tomcat 4.1.24
In the process of studying the memory footprint of my application, I found that
certain objects were not getting garbage collected even though there were no apparent
references. The biggest culprit was a rather large collection that was being
I have used it extensively with no problems. Simply get the necessary
nested_tags_10.jar from http://www.keyboardmonkey.com/next/index.jsp, add it to your
application's classpath and you are good to go.
Sri
-Original Message-
From: Ritesh Singhal [mailto:[EMAIL PROTECTED]
Sent:
All this is fine and dandy but isn't form-submission typically a POST operation? If
you use html:form the default is POST.
Sri
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 6:34 AM
To: Struts Users Mailing List
Subject: RE: checkbox
snip/
I've always been
confused by people
who ask things like, Does IDE X support JSP debugging?.
Well, if you need
to debug your JSP, you've got way too much logic in there and
no IDE will
save you.
Not necessarily.
JSP debugging is definitely handy when you are working with a
-Original Message-
From: Gemes Tibor [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 9:09 AM
To: Struts Users Mailing List
Subject: Re: [OT] Re: A bean:define question
Sri Sankaran írta:
JSP debugging is definitely handy when you are working with a
not-yet
http://java.sun.com/dtd/
-Original Message-
From: Wei, Robert (MAN-Corporate) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 4:35 PM
To: 'Struts Users Mailing List'
Subject: web.xml DTD for Servlet 2.3 Struts 1.1
I am using struts 1.1 and need to config filters for my web
Your two options are:
Option 1:
logic:equal name=user_role value=guest
%-- do something --%
/logic:equal
logic:equal name=user_role value=temp
%-- do same thing --%
/logic:equal
Option 2:
Write a method in your form bean that returns true iff the value
of user_role is guest
I have had that happen to me in the past. After verifying that the TLDs are indeed at
c:\jakarta-tomcat-4.0.4\webapps\test\WEB-INF\tlds, I suggest re-starting IDEA. I
think that's what fixed it for me.
Sri
-Original Message-
From: Steve [mailto:[EMAIL PROTECTED]
Sent: Friday, March
seems so straightforward I figured I was
missing something obvious. Any other suggestions?
Steve
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:32 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: [OT] Taglib reference
So I guess you have extended the DynaValidatorForm. Let me ask the obvious question:
is your type attribute of this form-bean element the fully qualified name of this
class? 'Cause if you don't Struts will invoke DynaValidatorForm's reset functionality.
Sri
-Original Message-
From:
Instead of two String[]s build a form-bean with a collection of LabelValueBeans
(http://jakarta.apache.org/struts/api/org/apache/struts/util/LabelValueBean.html).
You can find sample implementations in html-select.jsp which is in the
struts-exercise-taglib application that ships with Struts.
=comboValues/
/html:select
Obviously have appropriate get/setters for promptValues. In my action, I set
promptValues to those that Strings I want selected, but nothing happens when the page
is loaded.
This *should* work, right?
Cheers,
David
Sri Sankaran [EMAIL PROTECTED
List
Subject: RE: pre-selected values in multi-select box not working?
Hi,
Yep, got getPromptValues(), and yep, I call action to populate form before forwarding
on success to page.
Cheers,
David
Sri Sankaran [EMAIL PROTECTED] on 03/26/2003 12:53:15 PM
Please respond to Struts Users
Yes
Sri
-Original Message-
From: Kevin HaleBoyes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 1:31 PM
To: Struts Users Mailing List
Subject: RE: question about ActionForm parameter of Action.execute() metho d
--- Wendy Smoak [EMAIL PROTECTED] wrote:
Kevin wrote:
Can
Using Struts 1.1b3
Consider a simple page layout comprised of two tiles, a body and a (wizard-like)
navigation bar. I would like to conditionally disable certain navigational buttons on
some pages. I am trying to use the tiles:put and tiles:useAttribute to no avail.
Here's a sample tile
snip/
!-- the link won't read blah.do?arg=1 --
html:link href=blah.do?arg=%=var%
Link
/html:link
/body
/html
The href attribute must either *entirely* be a run time expression (%=..%) or
*entirely* a literal.
Answering my own question.
In tile-1.jsp when I define an attribute (tiles:useAttribute) with request scope, I
can reference it any of the contained tiles just like any other Java bean.
Sri
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 1
[] if multiple=true is set, for value
to be pre-selected?
Many thanks,
David
Sri Sankaran [EMAIL PROTECTED] on 03/24/2003 09:53:13 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To:Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:RE: pre-selected values in multi
Looking at the documentation for the web.xml, it reads:
taglib-uri:
The taglib-uri element describes a URI, relative to the
location of the web.xml document, identifying a Tag
Library used in the Web Application.
taglib-location:
the taglib-location element contains the location (as a
So, what *are* you seeing? That
* the action is called without the form being populated?
* is the form being *created*?
* form-bean isn't created and action isn't called?
* ...
Sri
-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 9:18 AM
Try
bean:define id=foo name=row property=id/
html:link
action=%=/Delete.do?id=+foo%Delete
/html:link
Sri
-Original Message-
From: Navjot Singh [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 9:45 AM
To: Struts Users List
Subject: One tag in other tag's attribute's value
W-H-A-A-T? I can't hear you. Can you speak up?!
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 12:39 PM
To: Struts Users Mailing List
Subject: RE: [OT] Estimating a Struts-based project
I usually triple them, but there's the damage
All the information needed for the JSP must be available in the collection of user
objects. So, the action -- that invokes the call to the database -- is also
responsible for setting the stage as needed by the JSP by get the role names for all
the role ids.
Sri
-Original Message-
Need more information. Please post relevant portions of your form-bean and JSP.
Have you taken a look at the html-select.jsp in the struts-exercise-taglib application
that ships with Struts?
Sri
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March
Is your input attribute value (/OrderMediaMain.jsp) refer to the same location as you
are trying to submit?
Look at the Root Cause portion of your stack trace; it reads:
Can't find bundle for base name etc.ebusiness, locale en_US
Does etc.business mean anything to you?
Sri
-Original
Setting
log4j.logger.org=warn
in my log4j.properties does it for me. Of course, as you know, this silences all logs
from any org.* packages. You can get more fine-grained control if you have some org.*
packages in which you *are* interested.
Sri
-Original Message-
From: Henry Voyer
That can be elegantly handled with JSTL as
c:out value=${user.address.city} default=help!/
Sri
-Original Message-
From: teknokrat [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 10:35 AM
To: [EMAIL PROTECTED]
Subject: Re: bean:write question
[EMAIL PROTECTED] wrote:
hello
I would shy away from chaining actions.
When the user submits a request to add a new item, the action that handles this
request should
(a) call the necessary business layer methods that in turn update
the database
(b) load object(s) needed by the next view (JSP) in the request or
What do you mean by does not seem to work? Do you get null values? NPE?
Is your ActionFormA still in scope (available) in SetupActionB? In other words, can
you get a non-null value for either of
request.getAttribute(ActionFormA.key);
or
session.getAttribute(ActionFormA.key);
Sri
Struts console www.jamesholmes.com/struts
-Original Message-
From: Butt, Dudley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 12:37 PM
To: '[EMAIL PROTECTED]'
Subject: struts tools, generators or dev aids for IntelliJ
Hi,
Was just wondering if anyone out there knows of any
Probably because unlike html:text, bean:write doesn't *have* to inside a form and
so a bean isn't guaranteed?
Sri
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 1:58 PM
To: [EMAIL PROTECTED]
Subject: [Q] why bean:write can't be used
I am using struts 1.1. What I would like to know is whether a
new form
bean is created in the following situation:
An action sets a form bean as an attribute and passes it for
display to
the appropriate jsp page and its contents displayed. This form is
updated and submitted to a
I was trying to visualize/interact with a tree structure
using Struts, and looking through the archives I found
references to using Nested tags, which at that moment were an
extension provided by Arron Bates (http://www.keyboardmonkey.com).
As I believe, since Struts 1.1, Nested Tags
I would welcome your opinion on the proper use of the Nested Diagnostic Context (NDC)
when logging using log4j.
As you know in a multi-threaded servlet environment, the NDC provides valuable
contextual information to help make sense of otherwise hopelessly interleaved messages
in the log
While Struts provides a tag library, formatting of data is left to the user. It is up
to you to present the data in a tabular format.
That being said, the display tag library may come of help. You can find it at
http://edhill.its.uiowa.edu/display-0.8/. Some folks on this list have
snip/
I have
filters for most to reduce the pain. I dread the day that I
go on a week-long vacation ;-)
Why not set up filters that'll just delete the messages?
Matt
Sri
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Does anybody know how to use the nested:radio button
component so That you can have mutually exclusive sets of
radio buttons?
I think you are referring to radio button groups when you mutually exclusive sets.
Going on that premise, radio buttons with the same name are grouped by the
snip/
html:messages id=msg property=messages message=true
c:out value=${msg}/
/html:messages
Can you do that? Don't you have to use html-el:messages if you want to use c:out?
Have you tried
html:messages id=msg property=messages message=true
bean:write name=msg/
/html:messages
Have you tried http://java.sun.com/j2ee/javaserverfaces/?
Sri
-Original Message-
From: niksa_os [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 6:16 AM
To: Struts Users Mailing List
Subject: Where to find more about Struts JSF - Server Faces?
Can I use it in real development
I think he means the getServlet() method of ActionForm.
Sri
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 4:26 PM
To: 'Struts Users Mailing List'
Subject: RE: servlet reference in form bean in null?
Might have if you posted the code
Check out http://marc.theaimsgroup.com/?l=struts-userm=104627418203266w=2.
Sri
-Original Message-
From: Damm, Gary [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 12:35 PM
To: [EMAIL PROTECTED]
Subject: Web sites using struts
I know this has been asked before but I'm getting
1)The question I have is where will the JSP's reside.
will they be deployed on the web-server or the
application server.
JavaServer Pages (JSPs) help build the HTML that will be rendered on the client
(browser). Since one person's application server is not in another's lexicon, let me
-Original Message-
From: Joao Araujo [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 10:33 PM
To: [EMAIL PROTECTED]
Subject: nested:checkbox fail to set the property to false
Hi,
I am using nested:checkbox for a boolean property.
Unfortunately, struts
Jerry:
If the only thing that's changed is the version of Struts you are using, we can
safely (?) assume that there is no need to dig through the JSP.
We can take a few gumshoe steps. One at a time:
* Use 1.1rc1 but remove the nested classes from the jar and place
the (extracted) nested
The first test below
...place the (extracted) nested classes from 1.1b3
in your WEB-INF/lib...
should read
...place the (extracted) nested classes from 1.1b3
in your WEB-INF/classes...
Sri
-Original Message-
From: Sri Sankaran
Sent: Friday, March 07, 2003 10:24 AM
Are you saying that you have a problem with:
public execute(...) {
.
.
return mapping.getInputForward();
}
Sri
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 8:16 AM
To: Struts Users Mailing List
Subject: error in action
Hi, if
Look at the display tag library at http://edhill.its.uiowa.edu/display-0.8/. Some
folks on this list have continued work on it; you can find developments at
http://sourceforge.net/projects/displaytag.
I'm sure this should help with your pagination needs.
Sri
-Original Message-
From:
Remove the 'name' and 'type' attribute out of your html:form. Why?
* They are deprecated (in Struts 1.1)
* If the name doesn't exactly match what you have in your config,
it'll result in a new instance of the bean
* You don't need it -- you action mapping definition
for the
Use the @deprecated Javadoc tag.
Sri
-Original Message-
From: Chiming Huang [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 11:27 AM
To: [EMAIL PROTECTED]
Subject: [OT] How to make a method deprecated
Hi,
In java, I would like to make a method deprecated. So that javac
You cannot emded a tag inside another tag. You can achieve what you are trying as
follows
value=%=styleData.getKey()%
Sri
-Original Message-
From: shashi_struts [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 7:23 AM
To: Struts Users Mailing List
Subject: html:multibox
Here's what you are trying to do
index.jsp
- redirects to
index.do
- needs to build a bunch'o forms
- forwards to
home.jsp
Am I understanding you correctly?
The action corresponding to the path index can create any number of form-beans and
persist them in any scope before
There are a few possibilities
* your bean (form-bean or other) does not have a property called
seriesnumber. Case is very important. Struts is looking for a
method named getSeriesnumber(). Make sure you have such a
method and that it is public
* the tag that is causing this error isn't
Arron:
Can you please re-build the jar? Tomcat 4.1.18 throws a
java.util.zip.ZipException: invalid END header (bad central directory offset)
Error. Methinks, well I'll just unzip it and put it in WEB-INF/classes;
unfortunately, Winzip too has problems with it.
not.lazy
I don't want to
action path=/setupMultipleForms
type=foo.bar.SetUpFormsAction
name=form1
scope=request
validate=false
forward
name=continue
path=/severalFormsOnAPage.jsp/
/action
So now in the SetUpFormsAction you can
Couple of things to note:
* The attribute value for a tag must either be *entirely* a
literal or *entirely* a JSP expression. In other words you can't
have foo=bar%=baz.getXYZ()%
* The name attribute of an html:form is deprecated in Struts 1.1
I would recommend simply using your hidden
Another option is to provide a radio button for each row and then only one Edit and
one Delete button is required.
Sri
-Original Message-
From: Ian Hunter [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 9:40 AM
To: Struts Users Mailing List
Subject: Re: html:form WITHIN a
Can you summarize the form bean you are using for the first page? What are its
properties? How is the Collection maintained? How is the bean being created?
Sri
-Original Message-
From: JONATHAN PHILIP HOLLOWAY [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 12:01 PM
To:
Can you define an action mapping each for the various steps each of which (possibly)
uses the same Action class. This will allow you to specify distinct input
attributes.
Sri
-Original Message-
From: Ryan Kennedy [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 2:09 PM
);
//Now the address has been added return to the add person page
return (mapping.findForward(addPerson));
}
The address is added but the next time I try to add an address to old one Is
overwritten..
Jon.
-Original Message-
From: Sri Sankaran [mailto:[EMAIL
Just like you did with the bean:write.
html:text
name=system
property=name
size=50/
Or am I missing something from your question?
Sri
-Original Message-
From: Chonalal, Anil (Contractor) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 9:02 AM
To: '[EMAIL
Yes, you *must* have a name attribute if you are going to use an html:form.
Here's a snippet from the docs for html:form
If the name and type attributes are not specified, then the form bean will be located,
and created if necessary, based on the form bean specification for the associated
Does the servlet container actually access the location specified for the DTD in the
DOCTYPE statement of the web.xml?
Couple of reasons for this question:
* JRun 3.1 is having heartache with my app that I just ported
to Struts 1.1. It throws a ServletException with the message
External
not :(
Sri
P.S.
I *have* seen the earlier posts on this subject such as
http://marc.theaimsgroup.com/?l=struts-userm=103643076609041w=2
-Original Message-
From: Sri Sankaran
Sent: Wednesday, February 26, 2003 3:17 PM
To: Struts-User
Subject: [OT] DTD URL in web.xml
Does the servlet
If your intent is to re-use the same action class you can simply create an action
mapping for each usage. The only thing that has to be unique is the path. Each
action mapping can, of course, define it's own input attribute; effectively providing
the dynamism you seek.
Sri
-Original
Nothing obvious jumps out. However, have you tried the updated nested jar that Arron
made available a few days ago? See
http://marc.theaimsgroup.com/?l=struts-userm=104600916205585w=2.
Sri
-Original Message-
From: Chen, Gin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26,
Quoting the docs
..Renders an HTML input element of type checkbox, whose checked status is
initialized based on whether the specified value matches one of the elements of the
underlying property's array of current values...
I'd guess it must be an Object[]. I have used it only with String[]s.
Management of layout must be handled by yourself. The tags don't get involved in this
process. If using Struts tags you might have to resort to scriptlets in conjunction
with the iteration index to manage your layout.
Or if scriptlets are anathema, you can use JSTL or Struts-EL. Still
You can still use the fact that argument to the constructor of an ActionError is the
key to resource. You could set up your app resources with
some.key=Could not proceed because of {0} error
Then you can create the ActionError as
new ActionError(some.key, exception.getMessage());
Sri
Have you looked at html-multibox.jsp that is in the struts-exercise-taglib application
that ships with Struts?
Sri
-Original Message-
From: Jobe, Mike [EESUS] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 10:46 AM
To: '[EMAIL PROTECTED]'
Subject: multibox?
Can anyone
Are you asking how to make the default selection of an html:select the first option?
As you have pointed out you can set the property attribute of the html:select equal
the value of the first option.
Alternatively, *I think* if you leave the property blank, HTML rules indicate that the
first
Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 11:36 AM
To: Struts Users Mailing List
Subject: RE: Searching the Archive
Are you asking how to make the default selection of an html:select the first option?
As you have pointed out you can set
A possible cause of this symptom is that you are referring to the bean by a different
name in the various locations. When using a form-bean 'fruit', Struts looks in the
request/session for an object with key 'fruit'. If you want the same instance to be
reused it has to be referred to as
The example referenced by Jörg Maurer is available in Struts 1.0.2 as well. It
includes the following
tr
th align=rightMultiple Select Allowed:/th
td align=left
html:select property=multipleSelect size=10 multiple=true
html:options name=multipleValues
So I have to create Collection-type classes to hold the
values so that the select tag can populate them? That
doesn't make sense, when with a non-multiple select I can
just refer to a single String property.
First let me explain the need for a LabelValueBean. I will then tell you why
Alrighty, I know how to make it crash (don't fret Arron, I don't believe 'tis a
nested issue)
When I went a-sleuthing I noticed that the usage in my real app is slightly different
from the two nested:root sections in my demo; instead, it is like this:
nested:root name=x
nested:write
Arron:
Still having the problem reported in bug # 16916. Following is the test
configuration:
OS: Windows XP Professional
Container: Tomcat 4.1.18
Struts: 1.1b3 + km-nested-v2.jar
You can confirm with a simple application in support of the JSP:
% taglib uri=/tags/struts-nested
Never mind...
I had updated the WEB-INF/lib of ap-1 and tested ap-2
My test app works with the new nested jar in place. However I am still having
problems with the real application; I will take a closer look at it 'morrow and keep
you posted.
Sri
-Original Message-
From: Sri
Too early for *beer*?
Is that possible?
-Original Message-
From: Ray Madigan [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 23, 2003 11:17 AM
To: Struts Users Mailing List
Subject: RE: [OT] What's your IQ?
I'll go for the Microsoft bashing - it is only 8:16 - a little too early
What is the error?
-Original Message-
From: Buics [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 10:08 PM
To: Struts Users Mailing List
Subject: html select problem, help me please
I have a collection named code1data, in logic:iterate it works fine, but when I apply
this to
not aware of what
docs to look at to find out more. I looked in Taglib Documentation and scanned the
JavaDocs. If there's an obvious place where I should have found this, please
enlighten me. I'd like to know more.
Thanks again.
-Original Message-
From: Sri Sankaran [mailto:[EMAIL
It is recommended that you use only String type for your form-bean properties. You
can then translate them into your business objects.
For one thing, using the actual data type of the field -- such as int -- would make
difficult the process of validation and reproduction of erroneous user
Form bean fields should be maintained as Strings. Remember that the sole purpose of
the form-bean is to help with the presentation. You can transfer the data to its
actual type in your business object beans. See the response from Craig to a related
question at
/
/html:form
I appreciate your help.
Marwan
--- In [EMAIL PROTECTED], Sri Sankaran [EMAIL PROTECTED]
wrote:
What I have gleaned so far, is
* the user is viewing JSP-1
* the user updates the data and submits (invoking the action
mapping you have shown (path=/updateOrder)
Questions
that the nested tags don't
work with objects?
Thanks,
Marwan
--- In [EMAIL PROTECTED], Sri Sankaran [EMAIL PROTECTED]
wrote:
Get rid of the 'name' and 'type' attributes from the html:form.
The reasons?
* they are deprecated. See
http://jakarta.apache.org/struts/userGuide/struts
=post
action=/supplyWeb/updateOrder.do
input type=hidden name=action value=updateOrder
Thanks,
Marwan
--- In [EMAIL PROTECTED], Sri Sankaran [EMAIL PROTECTED]
wrote:
Are the debug statements in the action showing the updated values?
Can you check the source of the generated HTML and ensure
Specify the 'type' attribute for the logic:iterate. The value should be the fully
qualified class name of each 'result' object.
Sri
-Original Message-
From: Brian Hart [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 21, 2003 3:31 PM
To: [EMAIL PROTECTED]
Subject: Re: Understanding
Eddie Bush...now *that's* a name I hadn't heard in a while. Welcome back...
Sri
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 10:32 AM
To: Struts Users Mailing List
Subject: Re: ASP == STRUTS
You're not likely to have much success
Usually an indication that your setup is incorrect -- no name attribute for a mapping
that uses html:form etc.
Please take a look at the archives for previous references to the problem for hints.
You can search using various tools. Take your pick of :
Have you tried experimenting with html-multibox.jsp that's in the
struts-exercise-taglib application that ships with Struts?
Sri
-Original Message-
From: Nandakumar Subramaniam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 4:35 AM
To: 'Struts Users Mailing List'
Subject:
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 are not within a form
* You are re-directing to the page and not forwarding
The hidden field is just a
input type=hidden...
So, do what you'd normally do with one of those. A field doesn't voluntarily collect
data; JavaScript is the agent that can be used to populate the field.
It's still a form-bean field and so is accessible on the server.
Did I completely miss
You can't nest as you have shown. Here's an alternative:
bean:define id=foo
bean:message key=date.digit.format/
/bean:define
bean:write
name=hwa
property=placedOnHWATs
format=%=foo%/
Sri
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
1 - 100 of 424 matches
Mail list logo