RE: Form Submission

2004-02-17 Thread Desai, Sunny
Having a button using html:submit submits all of the form variables
(including hidden). Keeping a button itself gives you more control in Action
which you can use to manipulate the forwarding page (if the need be).
 
So in effect, you can achieve the more than link 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 10:27 AM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: Form Submission



there is a hyperlink in my form - clicking this hyperlink should submit the
form. 
I can't use html:submit because it displays a button instead of a
hyperlink. 

And the restriction is not to use javascript. 


Avinash Tiwari
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com 



Wendy Smoak [EMAIL PROTECTED] 


02/17/2004 08:29 PM 



Please respond to
Struts Users Mailing List [EMAIL PROTECTED]



To
Struts Users Mailing List [EMAIL PROTECTED] 

cc

Subject
RE: Form Submission






 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 How can we submit a form without using html:submit tag. I 
 dont want to use JavaScript for this? 

AFAIK, the only other option is to put the parameters in a URL:
http://www.example.com/myapp/someAction.do?abc=123

But without JavaScript, you'd have to know the parameter *before* the
form was filled out, when the HTML was generated.  What is your
objection to a submit button?

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


ForwardSourceID:NT4E02 




RE: [OT] Examining Response Headers

2004-02-06 Thread Desai, Sunny
Try JMeter on soureceforge.net

-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Friday, February 06, 2004 1:45 PM
To: [EMAIL PROTECTED]
Subject: [OT] Examining Response Headers


Sorry for the OT post, but Googling and searching the mailing list archives
are not producing much.
I may not be asking the right question though.

Anyhow, I need a tool (free) to examine the request and response headers.

Any suggestions?

robert

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: iterate over list of maps

2004-02-06 Thread Desai, Sunny
You can use LabelValueBean that's available in
org.apache.struts.util.LabelValueBean package


-Original Message-
From: Daniel Lipofsky [mailto:[EMAIL PROTECTED]
Sent: Friday, February 06, 2004 5:12 PM
To: [EMAIL PROTECTED]
Subject: iterate over list of maps


I want to iterate over a list where each object in the
list is a map, and print values from the map.  The problem,
of course, is Map is not a bean - no getters and setters.
Do I have to wrap each map in a bean, or is there a
more clever approach.

(I am pretty much stuck with list:iterate, not c:forEach,
because I am actually using a specialize tag that extends
list:iterate).

Thanks,
Dan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to export the html table contents (records) to an Excel f ile.

2004-02-05 Thread Desai, Sunny
Does anybody know if Display Tag' performs 'in memory ' sorting?

What I mean is once I give a collection of records to the 'Display Tag' 
user clicks on column header to sort on, does the 'Display Tag' send a new
request to the Action every time or 'Display Tag' sorts the collection by
itself using 'In Memory' sorting.

Thanking you in advance for your help.

-Original Message-
From: Andrew Peck [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 7:19 PM
To: 'Struts Users Mailing List'
Subject: RE: How to export the html table contents (records) to an Excel
file.


You could try the displaytag tag library on sourcefourge:
http://displaytag.sourceforge.net. It includes nice table export
functionality for excel, csv and xml.

Regards,
Andy Peck

 -Original Message-
 From:
 [EMAIL PROTECTED]
 pache.org
 [mailto:[EMAIL PROTECTED]
 akarta.apa
 che.org]On Behalf Of [EMAIL PROTECTED]
 Sent: Wednesday, 4 February 2004 8:07 PM
 To: [EMAIL PROTECTED]
 Subject: How to export the html table contents (records) to an Excel
 file.


 Hi,

 I have webpage (.jsp) which lists out 4 to 5 records (having
 say 4 to 5 columns)
 inside html table tag.  This page, has an Export button, at
 the bottom.  On
 click of this button, I need to export the records (that the
 current page is
 displaying) to an .xls (Excel format) file.

 Shall be greatful if anyone can tip me on this.

 Thanks,
 S.Srikanth



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]