logic:iterate, length, offset

2002-12-13 Thread Cathy Osekizoglu
Hi: I have 12 items in a collection. I want to display the first 10 items on the first page, and the rest 2 items in the next page. How can I control it using logic:iterate tag. I used length=10 and offset=%= pagerOffset% as the attribute of logic:iterate. But it only show the first

logic:iterate

2002-12-13 Thread Cathy Osekizoglu
Hi: I have 12 items in a collection. I want to display the first 10 items on the first page, and the rest 2 items in the next page. How can I control it using logic:iterate tag. Thank you for your help. Regards, Cathy - Post your free ad now! Yahoo! Canada

struts-config.xml

2002-12-03 Thread Cathy Osekizoglu
I have html: form action=/pay.do?id=1type= + type/ in my Jsp. What should be in path of action tag of struts-config.xml? Can I simply have path=pay or I must include parameter in the path. Thank you for your reply. Cathy - Post your free ad now! Yahoo!

display error message including dynamic data

2002-11-28 Thread Cathy Osekizoglu
Hi: According to the result from my action class, I need to display message to user using the dynamic data. This is what I am doing: In my action class, I got the result that user can only retrieve maximum 50 dollars from his credit card. When user try to retrieve more than 50 dollars, I want

display error message including dynamic data

2002-11-28 Thread Cathy Osekizoglu
Hi: According to the result from my action class, I need to display message to user using the dynamic data. This is what I am doing: In my action class, I got the result that user can only retrieve maximum 50 dollars from his credit card. When user try to retrieve more than 50 dollars, I want

Re: display error message including dynamic data

2002-11-28 Thread Cathy Osekizoglu
by the content of dynamicAmount. Hope it helps Patrice - Original Message - From: Cathy Osekizoglu To: Struts Users Mailing List Sent: Thursday, November 28, 2002 8:12 PM Subject: display error message including dynamic data Hi: According to the result from my action class, I need

Re: display error message including dynamic data

2002-11-28 Thread Cathy Osekizoglu
. Best regards Patrice - Original Message - From: Cathy Osekizoglu To: Struts Users Mailing List Sent: Thursday, November 28, 2002 9:10 PM Subject: Re: display error message including dynamic data Hi, Patrice: That works. Thank you so much! One more question. If I have two or more

String comparation

2002-10-18 Thread Cathy Osekizoglu
This question is not related to struts. Sorry I ask here because I don't know where I should put this message. Please help me forward to the right place if you know. If you know the answer, please help me. Thanks. My question: How to compare test1, test10 and test2, so that the result will

display Date in struts1.1

2002-10-10 Thread Cathy Osekizoglu
I got Date from DB, I used formatKey=EEE MMM d, yy hh:mm, in my jsp file.The Date is displayed as Thu Oct 9, 02 09:37 on my page. I want to display it as 10-09-02 09:37. What format should I use to achieve this? Please help me. Best regards, Cathy - Post

Re: display Date in struts1.1

2002-10-10 Thread Cathy Osekizoglu
Thank you, Antoni and Thomas. The solution that you gave me works! Best regards, Cathy Antoni Reus [EMAIL PROTECTED] wrote: Hi, A Dijous 10 Octubre 2002 16:53, Cathy Osekizoglu va escriure: I got Date from DB, I used formatKey=EEE MMM d, yy hh:mm, in my jsp file.The Date is displayed

uae logic:notEqual to compare with several values

2002-10-09 Thread Cathy Osekizoglu
Hi, dear: I want to use logic:notEqual to compare with several values. Can I use logic:notEqual name=myForm property=myProperty value=3, 6/logic:notEqual? If I use: logic:notEqual name=.. property=... value=3 logic:notEqual name=.. property=.. value=6 doSomething

Re: uae logic:notEqual to compare with several values

2002-10-09 Thread Cathy Osekizoglu
Craige: Thank you for your reply. I am not familar with JSTL. I will learn it later. Now, I need a quick fix on this problem. Could you or anybody help me? Thank you. Craig R. McClanahan [EMAIL PROTECTED] wrote: On Wed, 9 Oct 2002, Cathy Osekizoglu wrote: Date: Wed, 9 Oct 2002 11:58:15

How to set default

2002-10-04 Thread Cathy Osekizoglu
I am using html:options tag to get a dropdown list. How can I make an item as default so every time I open the page that contains the dropdown list, it will show the default. Thanks. Cathy - Post your free ad now! Yahoo! Canada Personals

display long data

2002-10-01 Thread Cathy Osekizoglu
Hi, I got a big data(amount) from DB. For example, 1099. In my jsp, I use bean:write to display the data. But it displays 1.099E11. I am required to display it the same way as it in DB, which is 1099. Does any one know how to do it? I am using struts1.1. Thank you

Re: display big data using bean:write

2002-10-01 Thread Cathy Osekizoglu
Does bean:write tag automatically format 1099 to 1.099E11. How can I have the number displayed as 1099 instead of 1.099E11? Please help me! Thanks! Cathy Osekizoglu [EMAIL PROTECTED] wrote: Hi, I got a big data(amount) from DB. For example, 1099

bean:write and Date format

2002-09-23 Thread Cathy Osekizoglu
Using bean:write name=aPayment property=date/, I got the date as: Fri Aug 24 23:42:00 EDT 2002. How can I change it to Fri Aug 24 02 23:42 using struts tag? Thank you for your help. Cathy - Post your free ad now! Yahoo! Canada Personals

Re: bean:write and Date format

2002-09-23 Thread Cathy Osekizoglu
could a helper method is the form bean that formats the date called String getDateFormatted() .. Cathy Osekizoglu on 09/23/2002 03:17:42 PM Please respond to Struts Users Mailing List To: [EMAIL PROTECTED] cc: Subject: bean:write and Date format Using , I got the date as: Fri Aug 24 23:42

stativ variable in action class

2002-09-20 Thread Cathy Osekizoglu
Hi, If I use static variable in action class, is there some disadvantages? Thank you for your information. Cathy - Post your free ad now! Yahoo! Canada Personals

Re: static variable in action class

2002-09-20 Thread Cathy Osekizoglu
Cathy Osekizoglu [EMAIL PROTECTED] wrote: Hi, If I use static variable in action class, is there some disadvantages? Thank you for your information. Cathy - Post your free ad now! Yahoo! Canada Personals - Post your

Get only first value using logic:iterate

2002-09-20 Thread Cathy Osekizoglu
Hi: I am using the following to iterate over payments(Vector). logic:iterate id=aPayment name=payments scope=session type=com.test.Payment bean:write name=aPayment property=amount/ /logic:iterate In my action class, I have session.setAttribute(payments,payments); When I run it, I can get only

RE: Get only first value using logic:iterate

2002-09-20 Thread Cathy Osekizoglu
Thank you, Galbreath, for your help. Unfortunately, I can't use br / because I have many data on one row. Do you have any other solutions? Thanks. Galbreath, Mark [EMAIL PROTECTED] wrote: try -Original Message- From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]] Sent: Friday

RE: Get only first value using logic:iterate

2002-09-20 Thread Cathy Osekizoglu
Thank you, Mark. I did exactly as what you did. But it can just get the first value. Any ideas? Thanks Galbreath, Mark [EMAIL PROTECTED] wrote: or some variation of this, depending upon your data. Mark -Original Message- From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED

RE: Get only first value using logic:iterate

2002-09-20 Thread Cathy Osekizoglu
help me? Thank you very much. Cathy Galbreath, Mark [EMAIL PROTECTED] wrote: Someone please help Cathy...I am leaving the office for the pub. Thanks, Mark -Original Message- From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 3:47 PM To: Struts Users

ProcessRequest--null

2002-09-19 Thread Cathy Osekizoglu
When I submit a form, in the error log, it shows me RequestProcessor--null, I can't figure out what is wrong. Could someone help me out? Thanks! Cathy - Post your free ad now! Yahoo! Canada Personals

Re: ProcessRequest--null

2002-09-19 Thread Cathy Osekizoglu
about what you're using ;-) Cathy Osekizoglu wrote: When I submit a form, in the error log, it shows me RequestProcessor--null, I can't figure out what is wrong. Could someone help me out? Thanks! Cathy -- Eddie Bush -- To unsubscribe, e-mail: For additional commands, e-mail

onclick in html:radio tag doesn't work

2002-09-18 Thread Cathy Osekizoglu
Hi: I have a jsp using form, when I click a radio button in the form, I want the form to be submitted. The following is the jsp snippet: html:form action=/payments.do html:radio property=criteria value=all onclick=document.form[0].submit()/ But when I click on the button, in the status bar,

RE: onclick in html:radio tag doesn't work

2002-09-18 Thread Cathy Osekizoglu
. If in doubt post the relevant bit here. Howard Miller -Original Message- From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]] Sent: 18 September 2002 16:10 To: Struts Users Mailing List Subject: onclick in html:radio tag doesn't work Hi: I have a jsp using form, when I click a radio button

Re: RES: onclick in html:radio tag doesn't work(fixed)

2002-09-18 Thread Cathy Osekizoglu
thanks you all. I use the actual form name instead of form[0]. it is working now. Thanks for all your help. Regards. Paulo Guilherme de Souza [EMAIL PROTECTED] wrote: Hi Cathy. Try this: Change form to forms (include a s) Paulo -Mensagem original- De: Cathy Osekizoglu [mailto

bean:write with Date type

2002-09-18 Thread Cathy Osekizoglu
Hi: I want to iterate payments(Vector type) and get paymentDate (type of Date) for every individual payment. The following is my jsp snippet: logic:iterate id=aPayment name=paymentHistoryForm property=payments bean:write name=aPayment property=paymentDate???my question: paymentDate is

not really solved

2002-09-18 Thread Cathy Osekizoglu
Hi: I have html:form action=/payment.do html:radio property=criteria value=all onclick=document.myForm.submit();/ payment.do and myForm are correctly configed in struts-config.xml. When I submit the form by clicking on radio button, the URL changed to

RequestProcessor--null

2002-09-18 Thread Cathy Osekizoglu
Hi, I got RequestProcessor--null when I submit a form. What could cause RequestProcessor to be null. Could you please recommend a way to debug struts? I am using WSAD, I imported my project into WSAD by choosing file system, but resources of my project never goes under webApplication in