In your logic:equal tag, you are using 'name' and 'property'. In your
html:text tag, you are using only 'property'. The second case will work
only if this code is inside an html:form tag and the form bean has a
property with that name.
--
Martin Cooper
- Original Message -
From: Rama
the property name
as Server instead of server.
--
Martin Cooper
- Original Message -
From: Rama Krishna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 5:43 PM
Subject: Re: No Bean found under attribute key
thanx much martin,
html:form action=indexPage
html:text name
=CreateForm attribute) and not finding.
--
Martin Cooper
- Original Message -
From: Jason Rosenblum [EMAIL PROTECTED]
To: Struts (E-mail) [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 4:22 PM
Subject: Iterate, Text Fields, and Indexed Properties
I've run into another problem
I build Struts with Xerces, using the version that comes with Xalan 1.2.2.
That works fine.
Also, I'm not sure what the -C is all about in JDK 1.3.0-C, but I believe
I saw some problems with it at some point. I'm using 1.3.0_02 now.
--
Martin Cooper
- Original Message -
From: Craig R
/a
but *not* in the value of a tag attribute like this:
mylib:mylink href='mylib:mytag attr=value/'Go somewhere/mylib:mylink
Hope this helps.
--
Martin Cooper
- Original Message -
From: frank waldheim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 21, 2001 7:06 AM
Subject
What version of Struts are you using? There was a bug that caused what you
are seeing, but that was fixed in February. If you're not yet using Struts
1.0, I would encourage you to update to that now.
--
Martin Cooper
- Original Message -
From: Luna, Kat [EMAIL PROTECTED]
To: [EMAIL
name=attr2 value=baz/
/jsp:include
Is this correct, or is there more to it than that?
I guess one thing you would gain from using a tag versus an include is
better performance, but the idea does seem a little odd to me.
--
Martin Cooper
- Original Message -
From: Eduardo Pelegri-Llopart
name=attr2 value=baz/
/jsp:include
Is this correct, or is there more to it than that?
I guess one thing you would gain from using a tag versus an include is
better performance, but the idea does seem a little odd to me.
--
Martin Cooper
- Original Message -
From: Eduardo Pelegri-Llopart
Are you forwarding directly from one JSP to another? That would seem to be
mixing controller functionality with the view. On the other hand, if you're
not doing that, then the Action between the pages is the place to create
your ActionError.
--
Martin Cooper
- Original Message -
From
',
'multiple=multiple', etc.
--
Martin Cooper
- Original Message -
From: Simon Liang [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 19, 2001 4:41 PM
Subject: RE: Options tag - 'selected'
Got it, while going throught search of old mailing list emails.
html:select name
I believe struts-test.war became struts-exercise-taglib.war when work
started on the JUnit/Cactus tests for Struts.
--
Martin Cooper
- Original Message -
From: Sean [EMAIL PROTECTED]
To: Struts User [EMAIL PROTECTED]
Sent: Monday, June 18, 2001 7:22 PM
Subject: struts-test.war ?
I
Instead of this:
a href=mailto:bean:write name=result property=email/bean:write
name=result property=manager//a
try this:
bean:define id=email name=result property=email
type=java.lang.String/
a href='%= mailto:; + email %'bean:write name=result
property=manager//a
Hope this helps.
--
Martin
the property at all. The property will
then be false - as set by your reset() method - which is correct.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Rod Schmidt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 16, 2001 10:55 PM
Subject: Re: html:checkbox
millions
of entries. Still, as long as the database is set up properly, the queries
and retrieval are fast.
--
Martin Cooper
- Original Message -
From: Mindaugas Idzelis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 16, 2001 11:36 AM
Subject: RE: General DATABASE programming
You should take a look at David Winterfeldt's Struts Validator at:
http://home.earthlink.net/~dwinterfeldt/
This does most, if not all, of what you want.
--
Martin Cooper
- Original Message -
From: Kwang-Shi Shu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 15, 2001 8:43
that is called before the action (in which case Oleg's reply
describes a solution), or something that is called after the perform()
method but before the JSP execution?
--
Martin Cooper
- Original Message -
From: Kiet Nguyen [EMAIL PROTECTED]
To: Struts-User (E-mail) [EMAIL PROTECTED]
Sent: Friday
I believe the url-pattern in your servlet mapping should be *.do, not /*.do.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Mike Thompson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 6:24 AM
Subject: action help
Ok, I'm feeling totally lost
this error
when you try to open your connection.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Bill Clinton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 1:47 PM
Subject: Struts Datasource problem
Hello,
I am having a recurring problem
in
the 6/14 nightly build, and also in Struts 1.0.
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 9:36 AM
Subject: Iterate tag update?
I have a question similar to Mark Kettner's.
Could someone give an update
). The FormFile
does not contain the actual uploaded data, just the name of the file it was
saved in.
--
Martin Cooper
- Original Message -
From: Jonathan Asbell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, June 10, 2001 11:16 PM
Subject: Re: uploading file requires immediate serialization
private instead of public.
--
Martin Cooper
At 10:46 AM 6/11/01, Chuck Stern wrote:
Hi,
I think I'm missing something here. I have a bean that is available to my
page in the request scope. Within that I have another bean that has
properties I want to display. I'm trying to use the define tag
,
not must. Of course, that doesn't mean that browsers will support it! :-)
--
Martin Cooper
At 12:55 PM 6/11/01, [EMAIL PROTECTED] wrote:
Martin,
Hi. Can I pick your brain about an earlier post?
I asked what would happen if I have a html:file tag on my form, but without
changing the enctype
, the original uploaded file is still on the disk, and will
remain there until the form is resubmitted. Then it will be deleted as a
part of setting up for parsing the new multipart data.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Jonathan Asbell [EMAIL PROTECTED]
To: Martin Cooper
to specify 'name', but you do need to
specify 'property'. That's how Struts figures out which form bean attribute
to set when the file is uploaded. Regarding validation, you might want to
validate that a file was indeed uploaded, if it is required.
Hope this helps.
--
Martin Cooper
- Original
process a form? What parts of the multipart request do we save
in
the bean, and in what scope?
- Original Message -
From: Martin Cooper [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Jonathan Asbell
[EMAIL PROTECTED]
Sent: Monday, June 11, 2001 1:23 AM
Subject: Re: uploading file requires
, and the
same property will be used to store the value of the radio button selected
when the form is submitted.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Steve Salkin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 8:40 AM
Subject: html:radio tag question
Library (JSR-052).
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 8:37 PM
Subject: Java Server Faces
At JavaOne today, it seemed to be suggested that j2ee would have a MVC
framework join the recommendations. Later
this should appear in Struts 1.1 before too long.)
--
Martin Cooper
- Original Message -
From: Alex Colic [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 1:49 PM
Subject: viewing combo box
Hi,
lets say you have a combo box filling from a vector. I can get
=/department.jsp ...
instead of specifying the department.do action.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Prabha Desai [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 07, 2001 6:22 AM
Subject: ACtionError Issues
i have a page which calls an Action Form based
to configure the multipart handler to use, by
specifying the class name in the multipartClass init-param for your web app.
This allows you to provide your own implementation if you want to (although
this is no small task).
--
Martin Cooper
- Original Message -
From: Jonathan Asbell
implementation
did this, but it was changed to use files because of potential memory
problems with large uploads.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Jonathan Asbell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 09, 2001 8:11 PM
Subject: Re: uploading file
Do you have a binary diff utility that you could use to see what changed in
the uploaded file? That would be very helpful.
Also, if you can tell me how many bytes were added to the file, and what
type of file it was that caused the problem, that might help too.
Thanks.
--
Martin Cooper
A good way of removing the bucketloads :-} from your Action classes is to
subclass ActionServlet and implement processActionPerform to do the logon
check.
--
Martin Cooper
- Original Message -
From: Jim Richards [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 30, 2001 11
BY LOOKING AT THIS PAGE http://jakarta.apache.org/site/mail2.html
- Original Message -
From: Perez, Bill [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 10:40 AM
Subject: RE: struts-template and MVC
HOW THE HELL DO I UNSUBSCRIBE FROM THIS LIST
. This is
configurable in struts-config.xml.
--
Martin Cooper
- Original Message -
From: Thomas Peters [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 30, 2001 8:45 AM
Subject: Re: Solution: bean attributes not displaying (please comment)
The struts documentation indicates
property=test/br
html:submit value=OK/
/html:form %-- Use the correct closing tag here --%
Hope this helps.
--
Martin Cooper
- Original Message -
From: René Boere [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 30, 2001 2:58 AM
Subject: problem with using forms
Hi,
i am
I think you just need a space on each side of 'var'. Try this:
html:select property=%= var % size=1
Hope this helps.
--
Martin Cooper
- Original Message -
From: someil [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 30, 2001 5:42 AM
Subject: use JSP variable as a value
will be. And
when it comes to translation time, all those strings will have to be
translated multiple times - and perhaps not always the same way, especially
with multiple translators working on a large app.
Just my 2 cents...
--
Martin Cooper
- Original Message -
From: Jonathan Asbell [EMAIL
org.apache.struts.taglib.html.FORM_KEY, which is where the FormTag object
itself is stored between html:form and /html:form.
If you want a bean that has that value, you can do something similar with
bean:define.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Jeff Trent [EMAIL PROTECTED
own.
Even if you do create your own class, you do not need to parse it yourself.
You specify your ActionMapping-derived class in struts-config.xml, and
Struts will parse the mapping data from that file, and create and populate
instances of your class.
--
Martin Cooper
- Original Message
try upgrading to
that and see if that makes a difference.
--
Martin Cooper
- Original Message -
From: Soeren Pietsch [EMAIL PROTECTED]
To: SCHACHTER,MICHAEL (HP-NewJersey,ex2) [EMAIL PROTECTED]
Sent: Friday, May 25, 2001 3:17 PM
Subject: Re[2]: struts-upload.war
ex2) Is there any
ex2
to
store data from one tag that needs to be accessed by other tags. (It used to
use page context attributes.) We do the same in our own taglib, specifically
so that we can use jsp:include freely to avoid the 64K problem.
--
Martin Cooper
- Original Message -
From: Mat Diss [EMAIL PROTECTED
forward. Using the name of the forward as the value of the
hidden field would make this very simple.
2) Dynamically set the action attribute on the html:form tag when
contact.jsp is processed, setting up the appropriate target for the page.
Hope this helps.
--
Martin Cooper
- Original Message
Take a look at the html:options tag (as distinct from the html:option
tag). I think that will do what you are looking for.
--
Martin Cooper
- Original Message -
From: Gogineni, Pratima [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 2:18 PM
Subject: html:select
informInventoryLack(\' + orderItemData.getId() + \') %'
bean:message key=button.order/
/html:button
--
Martin Cooper
- Original Message -
From: Nguyen Thanh Phong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 6:29 PM
Subject: Re: java script struts + scriptlet
Hi Laurent,
I
container's log file.
- Check that your form bean is getting to the page intact.
- See what happens if you add one of your own tags to the page that works.
--
Martin Cooper
- Original Message -
From: Michael Duffy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 6:36 AM
in the template.
Does this help?
--
Martin Cooper
At 08:53 AM 5/18/01, [EMAIL PROTECTED] wrote:
The docs say... The functionality provided by these [template] tags
is similar to what can be achieved using standard JSP include directive,
but are dynamic rather than static.
What dynamic aspect do I get
You need to specify the 'type' attribute for the logic:iterate tag.
Without it, the scripting variable for the current object has the type
'java.lang.Object', which is exactly what you are seeing.
--
Martin Cooper
- Original Message -
From: B Manikandan [EMAIL PROTECTED]
To: [EMAIL
this:
bean:cookie id=phonecookie name=checkout_phone /
input type=text name=phone value='bean:write name=phonecookie
property=value/'/
--
Martin Cooper
- Original Message -
From: Allen Walker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 12:45 AM
Subject: bean:cookie
a tag is added or changed.
--
Martin Cooper
- Original Message -
From: Johan Compagner [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Sent: Saturday, May 12, 2001 1:24 AM
Subject: Where are the TLD's?
Now the sources are not in the binary's anymore (i didn't check this but i
think
Ted,
You can collapse your code down to this:
return mapping.findForward(secureMode ? secure : standard);
by adding redirect=true to your secure forward definition in struts-config.
--
Martin Cooper
At 01:25 PM 5/11/01, Ted Husted wrote:
I'm using a standalone container, and I find
that are
global now but might not be later.
--
Martin Cooper
- Original Message -
From: Jeff Trent [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 09, 2001 9:57 PM
Subject: Re: Bug in order of error presentment (html:error)
Thanks for the input Martin. This is helpful. Just curious
The official Struts web site is at:
http://jakarta.apache.org/struts
If you need more than that site provides, you might want to follow the
Resources link. An excellent beginner's resource is at:
http://www.husted.com/about/struts
--
Martin Cooper
- Original Message -
From: Sudhir M
=customerContactName/
html:errors property=customerContactPhone/
html:errors property=customerContactEmail/
Given your example, this isn't very practical for your situation, but it
might be useful in cases where multiple errors for each of a small number of
properties is typical.
--
Martin Cooper
The error message you are seeing is not strictly accurate (which is a
problem with your JSP container). The real problem is that the
html:options tag should not have a body at all, not that the body is
empty. In other words, what you should have in your JSP is this:
html:select
Instead of trying to reuse the Struts tag itself, perhaps you could call
RequestUtils.message() from within your tag to get the localized text. This
is what the bean:message tag does to get its job done.
--
Martin Cooper
- Original Message -
From: Alexander Jesse [EMAIL PROTECTED
It actually uses a FastHashMap, which is optimized for fast read-access in a
multithreaded environment. For the details, see:
http://jakarta.apache.org/struts/api/org/apache/struts/util/FastHashMap.html
--
Martin Cooper
- Original Message -
From: Jason Chaffee [EMAIL PROTECTED
and see if there's
something going on in the container or the JVM that's causing the problem. I
don't think the issue is the bean:message tag itself.
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 27, 2001 10:53 AM
Subject: i18n
() %' /
Hope this helps.
--
Martin Cooper
- Original Message -
From: Alex Colic [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Sent: Tuesday, May 01, 2001 11:00 AM
Subject: using value of bean in my tag.
Hi, I have a tag setup as follows:
logic:iterate id=category name=CategoryList property
Did you remember the taglib directive at the top of your JSP? That is, you
need:
%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %
Otherwise, your bean:define and bean:write tags will be silently
ignored. Annoying, but true. :-}
--
Martin Cooper
- Origina
/
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
Hope this helps.
--
Martin Cooper
- Original Message -
From: "Enrique Bengoechea" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 05, 2001 8:22 AM
Subject: Problem with localization
Hi all,
I've just
The ActionForm class is the base class from which your form bean classes
should be derived. The ActionFormBean class is used internally by the Struts
controller, and is very rarely used in Struts applications.
--
Martin Cooper
- Original Message -
From: "Will Spies/Towers P
You have to prefix the path to your DTD with "file:" to make it a valid URL.
--
Martin Cooper
- Original Message -
From: "Trevor Griffiths" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 03, 2001 9:26 AM
Subject: Newbie - Digester/Sax Parsing Error
ooked up based on the
'bundle', 'locale', and 'key' attributes."
--
Martin Cooper
- Original Message -
From: "Shamdasani Nimmi-ANS004" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 03, 2001 7:08 PM
Subject: What is 'text' field for in html:option?
The
ight is bean:write name="hotspot" property="height" /
The left is bean:write name="hotspot" property="left" /
/logic:iterate
Hope this helps.
--
Martin Cooper
- Original Message -
From: "Narasimhan, Shyamala" [EMAIL PROTECTED]
To:
That was fixed fairly recently. The latest nightly builds do the right thing.
--
Martin Cooper
At 03:24 PM 3/30/01, Jacob Thomas wrote:
does not seem to output the "value" attribute of the corresponding tag.
Has anybody encountered this? -- Thanks Jacob
The getSalesProductHt() method must be public for the iterate tag to be able
to access it. You have it declared as protected, which is why you are seeing
the exception.
--
Martin Cooper
- Original Message -
From: "hunkpapa" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday
The logic:present and logic:notPresent tags do this. They are documented
here:
http://jakarta.apache.org/struts/struts-logic.html
Hope this helps.
--
Martin Cooper
- Original Message -
From: "Yuriy Zubarev" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 30, 20
n, but I'm
not exactly sure when. (A couple of weeks would be my guess.)
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 29, 2001 2:34 PM
Subject: RE: beta 2
Hello Struts Users,
I am fairly new to struts (like a lot of folks), and
think this is where your problem lies. You should not be creating an
instance of your form bean. Struts will do that for you, and call the
appropriate setter methods based on the query string for the request. The
form bean will then be passed to your action's perform() method, and you can
call the
No. The init() method is called during servlet startup, not in the context
of a request. No request means no response - there's no place for a JSP to
go. I think you're pretty much stuck with logging an error and/or throwing
an exception.
--
Martin Cooper
- Original Message -
From
, but
then you have to get into looking the keys up in the right resource bundle,
etc.
If you really want to do something different, then I'm afraid all I can
suggest is taking a look at ErrorsTag.java and perhaps writing your own tag
based on that.
--
Martin Cooper
- Original Message
gic:notPresent parameter="startAtTheTop"
bean:define id="focusTemp" value="field2"/
/logic:notPresent
bean:define id="focus" name="focusTemp"/
This works, but it does seem rather clumsy. Is there a better way?
Thanks.
--
Martin Cooper
our action, or the 'name' if you do not
specify 'attribute'.
Hope this helps.
--
Martin Cooper
- Original Message -
From: "Joel Shellman" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 27, 2001 5:53 PM
Subject: ActionForm with no default constructor
Is it possible
, if not
fully dynamic generation.
The html:errors/ tag does indeed have applicable attributes. See the
documentation for information on what they are and how to use them:
http://jakarta.apache.org/struts/struts-html.html#errors
Hope this helps.
--
Martin Cooper
At 02:35 PM 3/26/01, Suriyanarayanan
You can nest tags like this:
html:link ...
bean:message key="..."/
/html:link
However, you can't use a tag to specify the value of an attribute of
another tag. So you can't do this:
html:link href='bean:message key="..."/' ...
Hope this helps.
--
Martin Cooper
ot support on-the-fly
generation of such a collection using introspection on a bean, which is what
would be needed for what you want to do.
Hope this helps.
--
Martin Cooper
- Original Message -
From: "Sundar @eSaravana" [EMAIL PROTECTED]
To: "Jaganathan, Rupa&quo
I would highly recommend that you read "A Walking Tour of the Struts Example
Application" on Ted Husted's web site:
http://www.husted.com/about/struts/example-tour.html
I think this will clear up a lot of confusion for you.
--
Martin Cooper
- Original Message -
From: &
You've found a documentation bug, which I have just submitted to the bug
database.
As you discovered, you need to use an expression (e.g. %= value %) rather
than a scriptlet (e.g. % method(); %) because the value needs to be
returned so that it can be used in the attribute.
--
Martin Cooper
n the limit, but one is very close to breaking it. I really want
to put a "do not touch" notice on that file!
Hope this helps.
--
Martin Cooper
At 12:06 PM 3/20/01, Marc Ellison wrote:
Hi,
I have been getting a very interesting error folks ;-)
I have constructed a jsp file that us
As I mentioned in an earlier post on this topic, using %@include% does
not help, since it's a compile time include (similar to #include in C++).
Using jsp:include can help, though.
--
Martin Cooper
At 01:44 PM 3/20/01, Maya Muchnik wrote:
Several guys suggested to replace a lot of tags
is the key name you supplied)
to be returned, and subsequently displayed, when the requested resource is
not found.
Hope this helps.
--
Martin Cooper
At 03:17 PM 3/20/01, Marc Ellison wrote:
Hi,
Am trying out the errors tag but to no avail...I have the following code in
my validate() method of m
, you'll find
out from there.
--
Martin Cooper
- Original Message -
From: "JOEL VOGT" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 17, 2001 3:47 AM
Subject: Re: Please Help
Okay,
After playing around a little, I am starting to get the impression that
struts a
would be interested, though, in hearing what features you would like to
see in such a tool.
--
Martin Cooper
- Original Message -
From: "Mindaugas Idzelis" [EMAIL PROTECTED]
To: "struts" [EMAIL PROTECTED]
Sent: Wednesday, March 14, 2001 10:39 AM
Subject: Auto-generating f
your reset() implementation on the value of that hidden field.
Hope this helps.
--
Martin Cooper
- Original Message -
From: "Sean Giles" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 09, 2001 12:43 PM
Subject: actionform reset()
I'm very confused by th
Yes. Just don't put the form-related entries in your struts-config.xml file.
Your perform() method will be called with null passed for the form
parameter.
--
Martin Cooper
- Original Message -
From: "Puneet Vardhan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday
ch
pieces of the XML I care about, and that's all it calls me about. If I
don't care about the value of a certain attribute, I shouldn't need to
provide for it. So I consider that a feature rather than a problem.
--
Martin Cooper
At 06:12 PM 3/12/01, Zach Thompson wrote:
Hello,
I just spent q
The FormBean will be updated with the selection. Your DataBean will not be
modified.
--
Martin Cooper
- Original Message -
From: "Nick Pellow" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 08, 2001 3:16 PM
Subject: Re: select options
Martin Co
attribute is
specified for the html:select tag.
Hope this helps.
--
Martin Cooper
- Original Message -
From: "Anand Raman" [EMAIL PROTECTED]
To: "struts" [EMAIL PROTECTED]
Sent: Thursday, March 08, 2001 8:09 AM
Subject: significance of property attribute in select tag
Did you import the FormConstants class at the top of your JSP?
--
Martin Cooper
- Original Message -
From: "Sachin Tendulkar" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 08, 2001 11:04 AM
Subject: text tag
Hi,
I am trying to use the html:tex
.
--
Martin Cooper
- Original Message -
From: "Frank Ling" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 05, 2001 8:18 PM
Subject: HTML Radio
Hi, There:
I try to using HTML Redio tags, and keeping getting following error:
javax.servlet.jsp.JspException: No get
In a word, internationalization. (OK, it's a very long word! :-) )
Different users may be running in different locales, so the message
resources need to be stored on a per-user basis.
--
Martin Cooper
- Original Message -
From: "Jeff Schnitzer" [EMAIL PROTECTED]
To: [EMAIL
all your form bean's getMode()
method and use the result to generate the 'value' attribute of the input
tag.
Hope this helps.
--
Martin Cooper
- Original Message -
From: "Fickes, Vic" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 06, 2001 11:24 AM
Subject: setti
using the Pager tag library from:
http://jsptags.com/tags/navigation/pager/
Unfortunately, we needed something quite a bit more complex, so we ended up
writing a set of custom tags for what we needed. Again, it really depends on
your particular situation.
Hope this helps.
--
Martin Cooper
.
--
Martin Cooper
- Original Message -
From: "Nanduri, Amarnath" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 07, 2001 8:46 AM
Subject: RE: URGENT RE: token issue in hyperlink
Mike,
Thanks a lot. It works. I did vote for this enhancement to take
to
manage form beans inside of Struts. You should never need to worry about it.
Hope this helps.
--
Martin Cooper
- Original Message -
From: "Sarbjit Singh" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 07, 2001 9:54 AM
Subject: Re: Parallel Forms Bean Insta
e class and maintain a HashMap mapping sub-action names to the
appropriate class instances. Or you could use reflection to look for a
method matching the sub-action name. Or...
Hope this helps.
--
Martin Cooper
- Original Message -
From: "DONNIE HALE" [EMAIL PROTECTED]
To: [EM
Could you post your JSP, or a fragment of it? That would probably help us
help you.
Thanks.
--
Martin Cooper
- Original Message -
From: "Sean Giles" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 07, 2001 2:57 PM
Subject: question about ActionForm reset()
are nested within is
utilized. [RT Expr]
- 8 -
As with the other form-related tags, I have never had to specify the name
attribute, because I've always been able to use the default, meaning "use
the form's bean".
Hope this helps.
--
Martin Cooper
- Original Message -
F
in the session implement Serializable in order
for the web app to be distributable. Since ResourceBundle does not meet this
requirement, a new implementation was constructed which does. (Originally,
Struts did indeed use ResourceBundle for its resources.)
--
Martin Cooper
- Original Message -
From
401 - 500 of 532 matches
Mail list logo