Re: ajax:autocomplete tag

2006-06-14 Thread Sony Thomas
s and returning a file for instance. Hermod -Original Message- From: Sony Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 1:55 PM To: Struts Users Mailing List Subject: Re: ajax:autocomplete tag Hi Hermod, I am setting the value entered in the textbox parameters=&quo

Re: ajax:autocomplete tag

2006-06-14 Thread Sony Thomas
i You are not setting any values in the request - How can the list be populated if you don't supply any values Hermod -Original Message----- From: Sony Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 1:09 PM To: user@struts.apache.org Subject: ajax:autocomplete tag

ajax:autocomplete tag

2006-06-14 Thread Sony Thomas
usersList = (ArrayList)UserManager.loadAll(); // return new AjaxXmlBuilder().addItems(usersList, "model", "make").toString(); }catch(BusinessObjectException e){ e.printStackTrace(); } return mapping.findForward("su

Re: How to retrieve value of hashmap parameter in action class

2006-06-12 Thread Sony Thomas
Hi Nikita, Here is some code snippet which will help you. java.util.Map paramMap = new java.util.HashMap(); paramMap.put("id",id); paramMap.put("locationId",locationId); pageCo

***** Passing an ArrayList to action from JSP ****

2006-04-24 Thread Sony Thomas
Hi Friends, I have a dropdown list in my jsp created in the action. When I submit my jsp, Is there is any way to submit my arraylist as well? Total workflow follows : creating an arraylist of values to be displayed in the jsp in Action class. When I submit the jsp the arrayList should resubm

************* forwarding to a servlet from my jsp ***********

2006-04-19 Thread Sony Thomas
Hi, I have a struts application. From one of the jsp pages I have to forward to a servlet when I submit the jsp. Can anyone help me to find a solution for this problem. I have two buttons in my JSP. When I click one of the buttons it should go to the action class. When I click the other butt

*** 50-100 *** text fields in JSP

2006-03-17 Thread Sony Thomas
getters of ActionForm. Is there is any way to submit as an ArrayList or in any other way so that in my Action I will get List which contains values and the variable names. If anyone has any idea please give me some guidance and any code examples is welcome. Thanks in advance, S

Scriptlets cannot use inside the tabs, html:link problem

2006-03-07 Thread Sony Thomas
Hi friends, I have a problem in displaying a link. I am using tabs in one of my jsp's. I have a link which is a property in my form bean. <% TaskForm taskForm = (TaskForm) request.getAttribute("TaskForm"); String *objectLink *= taskForm.getObjectLink(); %>

Re: which method is better

2006-02-28 Thread Sony Thomas
Hi, Seding formbean to model is not a good idea. why cant you use Beanutils.copyproperties method to copy values from your form to model. sony vasumathi wrote: If you want to submit all the values to database, you can pass form ref. but in case of submitting one or two values to database, w

Some inputs are welcome ****

2006-02-28 Thread Sony Thomas
Hi, I am using tabs in my JSP. Now when I display tabs I have to check for some conditions. But the tabs will not allow me to use Scriptlets <% %> inside the tabs. so is there is any struts tag library tags for shortcircuit logical operators. I mean for && and || . If anyone has any idea ple

Cannot use Scriptlet inside ditchnet tabs - passing more than one parameters from jsp to action - please give some guidance

2006-02-17 Thread Sony Thomas
Hi friends, I am using ditchnet tabs in my project. I want to pass more than one parameter through a link to my action class. I have used the following code to pass the parameters. <% java.util.Map paramMap = new java.util.HashMap();

Re: Drop Down List Problem - Bit Urgent

2006-02-15 Thread Sony Thomas
ist of options to find one with the same value and pre-select it. I suspect you are allowing the value of SopForm.authoriser to be reset at some place, or using a new form for this edit action. Oh, and there is no need to "bump" your question thread. It is likely to produce fewer answers,

Re: Drop Down List Problem - Bit Urgent

2006-02-15 Thread Sony Thomas
Sony Thomas wrote: Hi Friends, It will be greateful if anyone can help me out to solve this problem. I have an ActionForm called SopForm. There is a property called "authoriserList" . This list contains a list of another ActionForm called PersonForm. I am displaying the name of t

Drop Down List Problem - Bit Urgent

2006-02-15 Thread Sony Thomas
Hi Friends, It will be greateful if anyone can help me out to solve this problem. I have an ActionForm called SopForm. There is a property called "authoriserList" . This list contains a list of another ActionForm called PersonForm. I am displaying the name of the persons from PersonForm. The

Re: html:link problem - please give some examples

2006-02-14 Thread Sony Thomas
Hi Mark, Thanks a lot. One of your suggestions worked for me. Once again thank you very much. bye sony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

html:link problem - please give some examples

2006-02-14 Thread Sony Thomas
Hi, I have a URL set to my form bean. The property in my form bean is called "objectLink". I have to set this link to my The Link how is it possible thanks in advance sony - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Need some advice

2006-01-31 Thread Sony Thomas
Hi Friends, I have an ActionForm and this ActionForm contains another ActionForm nested in it. Is there is any way to set values to my nested ActionForm when I submit from the JSP. Please give me some suggestions. Thanks in advance Sony Thomas

Manipulating reques object ???? - urgent please

2006-01-20 Thread Sony Thomas
Hi, Is there is any way to manipulate the value of request object. I have a text field in my jsp called "locationName". when I use "request.getParamentName("locationName") in my action, I am getting the value entered in my jsp. While forwarding from my action, if i want to reset the value of l

Please give me an example

2006-01-13 Thread Sony Thomas
Hi all, Can anyone give me an example of how to use ; suppose I want to display my messages inside two horizontal lines how to configure that in my properties file. Can anyone give me some code examples thanks in advance sony ---

Re: Validation per action

2006-01-13 Thread Sony Thomas
Hi, you can solve this problem two three ways. 1. You can set the validate attribute to false in struts-config and then in the action you can call the validate method. inside the action either by : form.validate(request,mapping) or by : suppose it is UserForm UserForm userForm = (UserF

Re: Create tabs using struts

2006-01-12 Thread Sony Thomas
Hi Ashish, If you get any way around in this problem please let me know. I am also facing the same problem sony Ashish Kulkarni wrote: Hi Is there a any facility to create tabs in struts? I want to create a jsp page where user can click on link in one tab and the selected link will ope

Validation Problem - very urgent please reply

2006-01-10 Thread Sony Thomas
Dear friends, I have a Add user jsp page and in my jsp page the user can select his language from a dropdown menu. I am generating it from the ArrayList property in UserForm. tabindex="8"> property="languages" label="name" value="code"/>

using drop down menu in struts

2006-01-03 Thread Sony Thomas
Hello Friends, "Happy NewYear to all" I have a problem in displaying a set of languages in a dropdown menu in my struts application. Problem:: I have to display some four langauges in a drop down menu. Name : English Code: en; Name: Portughese Code:pt; Name: French Code: fr I am setting t

Drop down list focusing problem

2005-12-23 Thread Sony Thomas
Hi friends, I am populating a dropdown list from an arraylist. but I wan to focus on one of the values. Is there is any way to say the focus from jsp. Eg: I have English and Portughese as language. When I edit a user with language "portughese" the one which I have to show is Portughese. Bu

Doubts about Struts-layout

2005-12-21 Thread Sony Thomas
Hi friends, Is struts layout is a dependable library to use. I am finding many difficulties to implement it. so is it a reliable one to use ? sony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

how to customize applicationresources

2005-12-16 Thread Sony Thomas
Hi all, I want to read my application resources from a database rather than using properties file. Do I need to extends MessageResoursces class in order to do this ?? Is there any examples of this or is ther any links which give some idea, how to do this?? thanks all Sony -

How can I attach error messages with the field

2005-12-15 Thread Sony Thomas
HI, Is there is any way to attach error messages with the specific field. I mean I have an error messsage "Username required" How can I print that message just down the label of username. thanks sony - To unsubscribe, e-mail

Please help give me some advice

2005-12-14 Thread Sony Thomas
Hi, ActionErrors is deprecated . What can I use in validate method instead of ActionErros. sony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

please give me some direction

2005-12-13 Thread Sony Thomas
HI, How can I display some string values in combo box in jsp in my struts application. how struts dealing with combo box. please someone help me. sony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

please give me some directions. - how can i use tabs in struts,

2005-12-08 Thread Sony Thomas
Hi , i have lot of information to fill in the form. I mean it cannot contain in one page. so i would like to use tabs in my struts application. how can i use tabs in struts, please give me a reply. - To unsubscribe, e-mail: [

tabs is struts

2005-12-08 Thread Sony Thomas
Hi, Is there is any way to use tabs in struts. Is there is any html bean tag for this ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

can anyone clarify my doubt please

2005-12-06 Thread Sony Thomas
Hi all, ActionErrors is deprecated in struts. Is there is any replacement for ActionError. Can anyone give an idea of substitute of ActionErrors. Thanks, Sony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

thanks to all, thank you very much

2005-11-29 Thread Sony Thomas
Hi, Thanks to all, I got answer for my question. thanks a lot sony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Sony Thomas
Thanks to all, I am very glad and I got answer for my question. thanks sony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Sony Thomas
Hi Stephen, What I want to know is suppose I have to store some value to session. Is there is something called Session object in struts. how can I set the value from jsp and how can I retrieve that value in action from session object. My problem is that i have to set the value to the session a

please reaply as early as possible - session tracking

2005-11-29 Thread Sony Thomas
how the session tracking doing in Struts without using hidden field or URL rewriting. sony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]