No ActionForm but want to put html objects inside the form and submit that form ??? is it possible ??

2001-07-01 Thread suhas
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

RE: Custom tag question

2001-07-01 Thread Aapo Laakkonen
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

Problems with iterate

2001-07-01 Thread Torsten Terp
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

Re: No ActionForm but want to put html objects inside the form and submit that form ??? is it possible ??

2001-07-01 Thread Rama Krishna
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

Struts Templates Example in VAJ 3.5.3/WTE - Problem

2001-07-01 Thread Martin
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

Re: Error - MultipartIterator: no multipart request data sent

2001-07-01 Thread Mikael Eriksson
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

RE: Problems with iterate

2001-07-01 Thread Niall Pemberton
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

Re: Found possible Bug in struts-form.tld (options tag)

2001-07-01 Thread Martin Cooper
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

Re: Opening another window from Struts

2001-07-01 Thread Martin Cooper
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]

Report to Recipient(s)

2001-07-01 Thread Paladin
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.

RE: Found possible Bug in struts-form.tld (options tag)

2001-07-01 Thread Scott Smith
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,

Re: Problems with iterate

2001-07-01 Thread suhas
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