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
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
usersList = (ArrayList)UserManager.loadAll();
// return new AjaxXmlBuilder().addItems(usersList, "model",
"make").toString();
}catch(BusinessObjectException e){
e.printStackTrace();
}
return mapping.findForward("su
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
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
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
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
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();
%>
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
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
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();
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,
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
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
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]
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
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
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
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
---
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
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
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"/>
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
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
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
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
-
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
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]
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
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: [
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
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
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]
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]
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
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]
36 matches
Mail list logo