Re: How to make readonly in Select Box

2004-02-20 Thread Srinivas Kusunam
As you said, there is no property called readonly for select box why don't you try with disabled of course you need to be careful when you submit the page and try to retrieve the value from disabled select box. [EMAIL PROTECTED] 02/20/04 09:38AM Hi, I want to make readyonly in

Re: How to make readonly in Select Box

2004-02-20 Thread Srinivas Kusunam
We are achieving the same using disabled property. First you need to check for the mode if it is edit then make your select box is disabled with the selected value (you might be having this already selected value in some where session.). If you need to retrieve the value in this edit mode

Re: Reset method in Form Bean

2004-02-20 Thread Srinivas Kusunam
what is the scope your FormBean ??? [EMAIL PROTECTED] 02/20/04 10:32AM Hi, I am having jsp page , which contains a text box for searching. Here i am having form bean for getting and setting value. In this form bean, i use the Reset method for reseting the values for each request.

RE: Reset method in Form Bean

2004-02-20 Thread Srinivas Kusunam
We had same issues like this in the beginning I remember and we have started calling reset explicitly on each ADD \ EDIT \ CANCAL \ DELETE in Action. [EMAIL PROTECTED] 02/20/04 11:04AM the scope for my form bean is in 'Request Scope' -Original Message- From: Srinivas Kusunam

Re: String[] in the form bean

2004-02-12 Thread Srinivas Kusunam
Can you Post your JSP and FormBean ?? At least that gives some idea about what you are doing there. Thanks, Srini [EMAIL PROTECTED] 02/12/04 02:12PM Wendy, Thanks for the quick reply. I did as follows but get the error: javax.servlet.jsp.JspException: No getter method available for

RE: Orkut

2004-02-09 Thread Srinivas Kusunam
Can some one add me to the list please?? Thanks, Sree [EMAIL PROTECTED] 02/09/04 02:11PM Hi, Can someone please add me to Orkut Thanks in advance Cheers, Matthias -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 6:33 PM To:

Re: Action without ActionForm

2004-02-04 Thread Srinivas Kusunam
If there is no ActionForm html:form doesn't work. Try with normal form tag it works fine. Hope this helps. Srini [EMAIL PROTECTED] 02/04/04 07:00PM Hi ,all I am new to Struts and learning it. And I am wondering how the strtus-config.xml and JSP look like when a JSP doesn't

Re: An Action doesn't work as expected

2004-02-03 Thread Srinivas Kusunam
Hi Fredrich, give the input page in action so that on form validation it forwards to this page. some thing like this:: action path=/OfferWaterBank type=.OfferWaterBankAction name=OfferWaterBankForm scope=request validate=true input=OfferWaterBank.jsp --

Re: Business Exception and JSP

2004-02-02 Thread Srinivas Kusunam
can you plz explain your architecture, so that i can suggest something. Thanks, S!! [EMAIL PROTECTED] 01/31/04 06:05AM Hi all, I would want to display the business exception that are thrown to a separate jsp page. Please suggest some way in which i can approach this Thanks in advance,

Enter Key vs. Submit Button

2004-01-27 Thread Srinivas Kusunam
I have a .jsp page which submits through a post using SUBMIT button. If I type in a value for my one field and hit the submit button, all is well. If I type in a value and hit enter, I get an NullPointerException in my ActionForm as I am checking for which button is clicked using

Forwarding to Global Error page from ActionForm

2003-12-29 Thread Srinivas Kusunam
Hi, Is it possible to forward to Global Error page from ActionForm? If yes then how?? I appreciate any help. Thanks, Srini - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Session Management Question

2003-12-22 Thread Srinivas Kusunam
Hi, Generally how do we take care of Session in Struts frame work. What are the best practices in that? Is it a good way to make all the Form Beans as Session scope?? If there is any sample code please provide me the link. Thanks,

Re: url changing to localhost

2003-12-16 Thread Srinivas Kusunam
In our application we always use Relative URL and it works fine for us. Check your's?? Thanks, Srini [EMAIL PROTECTED] 12/16/03 10:36AM I'm new to Struts, so excuse me if this seems like an obvious one. What is the trick to prevent the URL from changing? If I hit my machine (isunit81

RE: Accessing a static final constant from Class in JSP

2003-11-18 Thread Srinivas Kusunam
which tag do u use to access the constants from the class as I don't want to use JSP Scriplets??? Thanks, S! [EMAIL PROTECTED] 11/17/03 05:41PM Import the class in your jsp, then you can directly access it. %@ page import=GSOPConstants% -Original Message- From: Srinivas Kusunam

Accessing a static final constant from Class in JSP

2003-11-17 Thread Srinivas Kusunam
Hi, I have a class called ProjConstants.java which is a static class with some static final constants here is the sample public class GSOPConstants{ public static final String LINK_EDIT = linkEdit; } How can I access this LINK_EDIT constant from JSP without using

Question on Locale / Internationalization (Action and Message resources)

2003-11-14 Thread Srinivas Kusunam
Session) and return it so that I can get the KEY specific to locale in my next calls, rather than passing locale for every call. Please correct me if Iam wrong. Thanks, Srini Srinivas Kusunam Sr. Software Engineer US Department of Agriculture Missouri, USA

Simple Question

2003-11-14 Thread Srinivas Kusunam
Hi All, I my team while in a Code-Review we had a discussion wether to use html:img or normal a href=... as the later one can do the same work. One option accepted was why do we need Tag over head if a href= can handle that ?? What do you

Multiplying 2 columns on JSP page

2003-11-07 Thread Srinivas Kusunam
I have a Collection Object (collection of OWBOReadFacade objects) in my session scope. For every object in the collection I have to multiply fld1 * fld2 and display on JSP. What is the best way or ways to do this??? Here is the sample code: logic:iterate id=contAList name=WBConttBO

RE: collection iterate

2003-10-30 Thread Srinivas Kusunam
align=left %=wbpBORFacade.getWbpAgreementNumber()% /td /logic:iterate Try it...Best of luck. -srini Srinivas Kusunam Sr