Hi
Another basic question in Struts -
I have 1 text fields and 1 button on the form . I
do not want ActionForm . so my mapping in the struts-config.xml looks like this
-
actionpath="/seeorders"
type="example.order.SeeOrderAction"
forward name="success" path="/seeorders.jsp"
/ /action
Is it possible to have custom tags that can have both child elements and
attributes? I mean that in some cases it would be more elegant to use
elements instead of attributes:
If your question is just - Is it possible? Then the answer is Yes.
However, if you are asking for the current tags
Hi,
Sorry if this has been answered before, but i havent been able to find an answer!
Im using iterate to display a vector containg valueobjects, i.e.,
html:form action=showContacts
logic:iterate id=contacts name=form property=contactDataVector
html:hidden name=contacts property=contactId/
tr
suhas,
i guess you need a html form when you use a
html:text if you don't want form then you can use normal html for
input type text.
rama.
- Original Message -
From:
suhas
To: [EMAIL PROTECTED]
Sent: Saturday, July 01, 2000 9:04
AM
Subject: No ActionForm
I have installed the Struts Templates example
into VAJ 3.5.3/WTE environment. Have all the required pages and links
working, the problem is that the page is not rendered as per the template. The
Header, content and footer show up after the Sidebar and start at the left of
the page and
Hello
I noticed the same problem when moving to 1.0. It seems that
the requesthandler notices that the request is a multi-part and
tries to find the multi-part data, even when the request are
already handled and you are only forwarding to the next
action. (I only got the problem when going to
You need to do two things.
First, you need to generate appropriate names for your input fields. If you
use the current Struts tags then all the occurances of your two fields in
the example below will generate names of firstName and lastName. What
you want is to generate names in the format
The struts-form taglib is obsolete in Struts 1.0, as is the Options1Tag. I'm
not entirely sure how they made it into the binary distribution, but they
shouldn't be there. You need to switch over to using the struts-html taglib
instead.
--
Martin Cooper
- Original Message -
From: Scott
Have you looked at transaction tokens in Struts? It sounds like your serial
number scheme does the same thing. Take a look at generateToken(),
isTokenValie(), et al in the Action class.
--
Martin Cooper
- Original Message -
From: Anthony Martin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Incident Information:-
Originator:Martin Cooper [EMAIL PROTECTED]
Recipients:[EMAIL PROTECTED]
Subject: Re: Opening another window from Struts
Message from Martin Cooper [EMAIL PROTECTED] was quarantined
because it contained banned content.
Strange happenings: I looked again, and I am using struts-html. I guess it
must have been a coincidence that my page started working after editing
struts-form.tld. Very strange. I was sure I did not make any other changes
in that iteration. I guess I have gremlins in my machine.
Thanks,
Let us see if I got this .
getFirstName ( ) and getLastName( ) should be in the ContactData class and
not needed in the ActionForm
And in the Form bean one should have only getContactDataVector(int index)
method as u said .
In reset() method of the ActionForm u can instantiate the ContactData
12 matches
Mail list logo