s:autocompleter not working in IE7.

2009-12-15 Thread sharath karnati
splay list of values which are starting with these values but it is sending request to action but not displaying list of values in dropdown. I checked this request with logger statement.     The same code is working fine in Firefox browser(displaying list of values starting with ala).     I'm using struts2-core-2.0.11.jar and added jsonplugin-0[1].30.jar file.     In struts package level added json-default.       Can anyone please let me know why this is not working in  IE and how to fix this problem. I'm not even getting any javascript errors.     Thanks in advance.   Regards, Sharath Karnati.    

Need your input.

2010-01-06 Thread sharath karnati
Dear All,   I'm having following requirement and can you please let me know how to do this using struts2.   Say EmployeeAction having EmpBean (getter & setter)   EmpBean: private long emp_id; private String first_name; private String last_name; private String class_name;

How to do with Struts2(Similar to Web2.0 wizard)!!!!

2010-03-05 Thread sharath karnati
Hi All,      I'm currently using Struts2 + Spring(DAO).      Say I have 2 web application, these two application are using file upload functionality. Currently, we are placing same functionality in different projects(coping .jsp, .action and spring dao classes).      I'd like to know similar to w

Migrating struts2 version 2.0.11 to 2.1.8.1

2010-04-13 Thread sharath karnati
Hi All,      Migrating application developed in 2.0.11 to 2.1.8.1 struts2 version, I did following changes     web.xml file     changed below line FROM org.apache.struts2.dispatcher.FilterDispatcher   TO     org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter     Removed s

Re: Migrating struts2 version 2.0.11 to 2.1.8.1

2010-04-13 Thread sharath karnati
iling List" Date: Tuesday, April 13, 2010, 11:32 AM 2010/4/13 sharath karnati : > /> > >  When I press this button it should call 'checkLogin' method in LoginAction > but it is not calling this method, it is just calling execute() method. I >

Using json in Struts 2.1.8.1

2010-04-14 Thread sharath karnati
Hi All,      I'm having following Action   -  Action(Begin) - public class AutocompleteField extends ActionSupport {     private String city;     private Map json;     public String execute() throws Exception() {     return SUCCESS;     }     public String

Re: Using json in Struts 2.1.8.1

2010-04-15 Thread sharath karnati
Can anyone please let me know, how to use json??   Thanks, Sharath. --- On Wed, 4/14/10, sharath karnati wrote: From: sharath karnati Subject: Using json in Struts 2.1.8.1 To: user@struts.apache.org Cc: karna...@yahoo.com Date: Wednesday, April 14, 2010, 1:22 PM Hi All,      I'm h

Re: Using json in Struts 2.1.8.1

2010-04-16 Thread sharath karnati
Hi sameer,      In  struts 2.1.8.1 having 'struts2-dojo-plugin-2.1.8.1.jar' file so we don't need to use 'jsonplugin-0.34.jar'  for using json.  This is my understanding :)      If we are not including 'jsonplugin-0.34.jar' then we cannot use "com.googlecode.jsonplugin.JSONResult"      With new S

Re: Using json in Struts 2.1.8.1

2010-04-19 Thread sharath karnati
Hi Dale,     Can you please send me sample example using AJAX in struts 2.1.8, where action method returns json list to a page.     Thanks in advance.   Regards, Sharath. --- On Fri, 4/16/10, Dale Newfield wrote: From: Dale Newfield Subject: Re: Using json in Struts 2.1.8.1 To: "Struts Users

Re: Using json in Struts 2.1.8.1

2010-04-20 Thread sharath karnati
Hi All,      Added below lines in struts.xml file              json     Added following lines .jsp file   Search JSON:      even included <%@ taglib prefix="sx" uri="/struts-dojo-tags"%> and   When it builds the page it is showing below lines   djConfig.searchIds.push(

Re: Using json in Struts 2.1.8.1

2010-04-20 Thread sharath karnati
--- On Tue, 4/20/10, Dale Newfield wrote: From: Dale Newfield Subject: Re: Using json in Struts 2.1.8.1 To: "Struts Users Mailing List" Date: Tuesday, April 20, 2010, 12:28 PM On 4/20/10 11:34 AM, sharath karnati wrote: > > >          > json-default extends struts-d

Jquery autocomplete with struts2.

2010-04-22 Thread sharath karnati
Hi All,      I'm trying to use Jquery autocomplete with struts2. The example for using Jquery autocomplete is given below(link)      http://makhaer.blogspot.com/2008/12/jquery-autocomplete.html      In this example, author is returning data with .php similarly I'd like to return data from str

Re: Jquery autocomplete with struts2.

2010-04-22 Thread sharath karnati
d of calling the .php file you call your action. As for the action itself, you would make it like any other action and just store what you want to show the user into a variable with the proper getter/setter function so in the jsp you can go: <%@ taglib prefix="s" uri="/struts-

Re: Jquery autocomplete with struts2.

2010-04-22 Thread sharath karnati
Please find below example   http://makhaer.blogspot.com/2008/12/jquery-autocomplete.html   in this example, he is just using jquery with textfield for doing autocomplete with PHP. I'd like to do samething with struts2 action.   Can anyone please let me know, how to send data from action to .jsp to

Re: Jquery autocomplete with struts2.

2010-04-22 Thread sharath karnati
Hi All,     Say I have java "arraylist" in action and how to set this in resonse object     ServletActionContext.setResponse()     How to do this in struts2??   Thanks, Sharath. --- On Thu, 4/22/10, sharath karnati wrote: From: sharath karnati Subject: Re: Jquery autocomplete with s

Re: Jquery autocomplete with struts2.

2010-04-23 Thread sharath karnati
ubject: Re: Jquery autocomplete with struts2. To: "Struts Users Mailing List" , "sharath karnati" Date: Friday, April 23, 2010, 1:15 AM I hate to be the one to say it, but I don¹t think the issue here is jQuery but your understanding of Struts2. I think you first need to get your

Re: Jquery autocomplete with struts2.

2010-04-23 Thread sharath karnati
mma thing in s:textfield..     Thanks in advance.   Regards, Sharath. --- On Fri, 4/23/10, sharath karnati wrote: From: sharath karnati Subject: Re: Jquery autocomplete with struts2. To: zo...@sparecreative.com Cc: "Struts Users Mailing List" Date: Friday, April 23, 2010, 9:45 AM Hi Zoran,

ajax method returning "login", how to do??

2010-04-23 Thread sharath karnati
Hi All,      Say I have ajax method, in this method first I'm checking whether user session is valid. If this user session is expired then returning "login", as per below lines it should display login.jsp page.      /pages/login.jsp    but it is returning login.jsp contents in ajax result NOT

Re: Jquery autocomplete with struts2.

2010-04-23 Thread sharath karnati
n Subject: Re: Jquery autocomplete with struts2. To: "Struts Users Mailing List" Date: Friday, April 23, 2010, 11:30 AM suggest you post this to jquery forums. From: sharath karnati To: Struts Users Mailing List Date: 23-04-2010 19:56 Subject: Re: Jquery autocomplete with strut

Re: Jquery autocomplete with struts2.

2010-04-23 Thread sharath karnati
truts2. To: "Struts Users Mailing List" Date: Friday, April 23, 2010, 11:30 AM suggest you post this to jquery forums. From: sharath karnati To: Struts Users Mailing List Date: 23-04-2010 19:56 Subject: Re: Jquery autocomplete with struts2. Hi All,   In firebug console i

Pre-selected s:checkbox problem.

2010-07-13 Thread sharath karnati
Hi All,      Say I'm declaring in                                           Select Division:         Select User:             in action class "selected_rows" is selected as String[]   When user selects

How to use indexOf in using struts2.

2010-07-13 Thread sharath karnati
Hi All,      Say I have an "String[] colors" which is populated with thse values{"red","blue","green","yellow","white","black"}, the colors are declared in action class.      I have an colorList(java.util.List) which is having all colors. In UI when I use for looping colorList, when color value

Re: Pre-selected s:checkbox problem.

2010-07-13 Thread sharath karnati
12:07 PM Look at the instead, it automatically handles maintaining state.   (*Chris*) On Tue, Jul 13, 2010 at 9:04 AM, sharath karnati wrote: > Hi All, > > 

Need your inputs.

2011-03-21 Thread sharath karnati
Hi All,      Planning to create a dynamic form using struts2(similar to http://www.phpform.org/formbuilder/index.php).     Say I have following headings     Create a Label (heading 1)     It will display text field to enter label text and 'Add Label' button   Create a

Re: Need your inputs.

2011-03-21 Thread sharath karnati
Hi Dave,     Can you please send me links/details for doing this(Serialize the DOM)?   Thanks, Sharath.   --- On Mon, 3/21/11, Dave Newton wrote: From: Dave Newton Subject: Re: Need your inputs. To: "Struts Users Mailing List" Cc: "sharath karnati" Date: Monday, Mar

Re: [OT] Re: Need your inputs.

2011-03-22 Thread sharath karnati
Hi Dave,      We are using JQuery + Struts2 + Spring framework(DAO)      Do you have any examples how to process 'Serialize the DOM'   Thanks, Sharath. --- On Mon, 3/21/11, Dave Newton wrote: From: Dave Newton Subject: [OT] Re: Need your inputs. To: "sharath karnati"

Uploading multiple files using single tag.

2012-04-06 Thread sharath karnati
Hi All,    Using Struts2 and need to know how to upload multiple files using single tag. I need a file upload functionality similar to gmail(Google Email).     Please advice how to do this even using other frameworks along with Struts2.    Thanks in advance. Regards, Sharath.

Re: Uploading multiple files using single tag.

2012-04-06 Thread sharath karnati
It is using multiple tags. I need a single and need to upload multiple files. --- On Fri, 4/6/12, Muneer Malik wrote: From: Muneer Malik Subject: Re: Uploading multiple files using single tag. To: "Struts Users Mailing List" Cc: "sharath karnati" , karna...@yahoo.com D

Re: Uploading multiple files using single tag.

2012-04-06 Thread sharath karnati
ject: Re: Uploading multiple files using single tag. To: "Struts Users Mailing List" Date: Friday, April 6, 2012, 3:05 PM Sharath, You need to use tools like Uploadify for this to work. I am using Uploadify with struts2 it works perfectly fine to me. Thanks Jay On Fri, Apr 6, 2012 at 11:

Parameter value set to null when page submitted after 30 minutes.

2012-04-27 Thread sharath karnati
parameter value it is showing null. I never heard is there any parameter timeout?? why we are getting value null for these parameters??   As far as this page concern there is NO problems, without any idle time it is working perfectly.    Thanks in advance. Regards, Sharath Karnati.  

Re: Parameter value set to null when page submitted after 30 minutes.

2012-04-27 Thread sharath karnati
discarded when the browser is exited.  If that's the behavior you are looking for, you should look into a persistent session scheme, or an auto-relogin capability.   (*Chris*) On Fri, Apr 27, 2012 at 9:11 AM, sharath karnati wrote: Hi All,    We are having session-timeout set to 8 hours.

RE: Parameter value set to null when page submitted after 30 minutes.

2012-04-27 Thread sharath karnati
oint the issue. > -Original Message- > From: sharath karnati [mailto:karna...@yahoo.com] > Sent: Friday, April 27, 2012 1:34 PM > To: Struts Users Mailing List; Chris Pratt > Subject: Re: Parameter value set to null when page submitted after 30 > minutes. > > No, They di

Re: Parameter value set to null when page submitted after 30 minutes.

2012-04-27 Thread sharath karnati
Newton wrote: From: Dave Newton Subject: Re: Parameter value set to null when page submitted after 30 minutes. To: "Struts Users Mailing List" Cc: karna...@yahoo.com Date: Friday, April 27, 2012, 3:43 PM On Fri, Apr 27, 2012 at 12:11 PM, sharath karnati wrote: >   In Action when we a

Default page for namespce in struts2 application.

2009-04-09 Thread sharath karnati
Hi All,      Say I'm having following code in my struts.xml file               /pages/intapp/login.jsp     /pages/intapp/login_create.jsp     /intapp/contact_service.action           /pages/intapp/login.jsp                /pages/extapp/login.jsp    /pages/extapp/login_create.js

How to customize with struts2.

2009-05-22 Thread sharath karnati
Hi All,       I'm having 'EmployeeBean' which is having below properties      empNo    empName    empDOJ    empDept      In database we are having 'EMPLOYEE' table which is having employee records.      In struts2, we are having 'EmployeeAction' where

How to customize with struts2.

2009-05-22 Thread sharath karnati
Hi All,       I'm having 'EmployeeBean' which is having below properties      empNo    empName    empDOJ    empDept      In database we are having 'EMPLOYEE' table which is having employee records.      In struts2, we are having 'EmployeeAction' where

How to customize with struts2.

2009-05-22 Thread sharath karnati
Hi All,       I'm having 'EmployeeBean' which is having below properties      empNo    empName    empDOJ    empDept      In database we are having 'EMPLOYEE' table which is having employee records.      In struts2, we are having 'EmployeeAction' where

How to customize with Struts2.

2009-05-22 Thread sharath karnati
Hi All,       I'm having 'EmployeeBean' which is having below properties      empNo    empName    empDOJ    empDept      In database we are having 'EMPLOYEE' table which is having employee records.      In struts2, we are having 'EmployeeAction' where

Commercial framework based on struts2.

2009-07-07 Thread sharath karnati
Dear All,      I'm looking for chimerical framework which is built on top of struts2, with having AJAX support tags. I know struts2 comes with DOJO but we need to write lot of coding which we'd like to avoid and we are planning to purchase chimerical product with support.      Similar to Iceface

Re: Commercial framework based on struts2.

2009-07-07 Thread sharath karnati
tags   Thanks, Sharath. --- On Tue, 7/7/09, Bhaarat Sharma wrote: From: Bhaarat Sharma Subject: Re: Commercial framework based on struts2. To: "Struts Users Mailing List" Date: Tuesday, July 7, 2009, 12:24 PM Struts 2 IS a framework On Tue, Jul 7, 2009 at 12:20 PM, sharath

Struts2 framework question.

2009-07-20 Thread sharath karnati
Dear All,      In strust2, we'll use struts.xml file for configuration.      As per my knowledge, when server is started it will load struts.xml file into memory and it will parse this .xml file.  Depending upon URL it will navigates to required class and .jsp file accordingly.      I have simila

Using Ajax tag with struts2.0.11

2009-08-06 Thread sharath karnati
Hi All,       Say I have COMPLAINT table as below     Complaint ID Complaint ID Consumer Name Consumer Name Submission Date Submission Date  

Displaying loader image while calling AJAX request.

2009-08-07 Thread sharath karnati
Hi All,      Implemented AJAX request with below lines           Complaint ID   When I select Complaint ID it is displaying 'Loading...' message and it is working fine. I'd like to add some loader image other than showing plain 'Loading...' message(just like using ind

File upload in struts2 using Ajax.

2009-10-05 Thread sharath karnati
Hi All,      Anyone implemented struts2 file upload with Ajax? file upload will display progress bar for showing file upload status.      I tried below one but it is not working      http://www.struts2.org/ajax-file-upload-in-struts2-using-ajax-file-upload-plugin/      Please send me links/docum

File upload in struts2 using Ajax.

2009-10-05 Thread sharath karnati
Hi All,      Anyone implemented struts2 file upload with Ajax? file upload will display progress bar for showing file upload status.      I tried below one but it is not working      http://www.struts2.org/ajax-file-upload-in-struts2-using-ajax-file-upload-plugin/      Please send me links/docum

Getting Struts2 Action class values.

2009-10-29 Thread sharath karnati
Hi All,       Say I'm having below submit.jsp file.      First Name: Last Name:        on submit this form it will invoke InquiryAction   public class InquiryAction extends ActionSupport implements ParameterAware {       private String first_name; private String last_name;

error when rendering - java.net.SocketException: Broken pipe

2008-09-11 Thread sharath karnati
Hi All,     In weblogic server log, I found these error multiple times. Is anyone come accross this kind of problem?      2008-09-11 07:12:47,415 ERROR [org.apache.struts2.components.UIBean] - error when rendering java.net.SocketException: Broken pipe  at java.net.SocketOutputStream.socketWrite0

Dojo plug-in for eclipse.

2008-11-19 Thread sharath karnati
Hi All,      Can anyone suggest me where can I find dojo plug-in for eclipse and how to install this?      Thanks in advance.   Thanks, Sharath.

Using dojo widgets in struts2(Need your help)

2008-11-28 Thread sharath karnati
Hi All,      I'm using dojo widgets for displaying UI, I'm having below code for accepting first name       After entering text in first name, I'm submitting form(dojoType="dijit.form.Form")  and action class is able to read the value which is given in this text field.     Now what I want is, I

Dojo not working in Struts2.

2008-03-27 Thread sharath karnati
Hi All, Please find 'test4Dialog.jsp' in attachment. This .jsp file is placed inside /WEB-INF/pages directory. When I'm accessing this .jsp with (http://localhost:7001/hibernate/pages/test4Dialog.jsp), it is displaying 'dijit.TooltipDialog' correctly. The same page I c

dojo is not defined error message in firefox console.

2008-03-28 Thread sharath karnati
Hi All, I'm getting below error message for this acrion(http://localhost:7001/hibernate/events/Dojo.action). dojo is not defined dojo.require("dijit.form.Button"); Please find my progrm: TooltipDialog demo // Dojo configuration djConfig = {

Simple question in

2008-04-03 Thread sharath karnati
Hi All, I'm having following tabbedpanel,whenever I select a tabbed pane I'd like to call a javascript method. I tried onselect/onclick but these are not working. This is Panel1 This is Panel2 Thanks for your help in advance. Regards,

Ajax Fileupload in struts2.

2008-04-11 Thread sharath karnati
Hi All, I tried Ajax fileupload program from below link, http://www.struts2.org/ajax-file-upload-in-struts2-using-ajax-file-upload-plugin/#comment-100 When I tried to access, I'm getting below error message FreeMarker template error! Error on line 27, column 20 in te

Re: Two buttons on same row

2008-04-11 Thread sharath karnati
Hi Akash, Put 'theme=simple' this will solve your problem. --Sharath. akash agrawal <[EMAIL PROTECTED]> wrote: Hi, s:submit creates a row for a button. I have two buttons and two submit appears on two different row. How do I put them on the same row? Can anyone give an example?

Ajax file upload with Struts2 having problem.

2008-04-14 Thread sharath karnati
Hi All, For ajax file upload in struts2, I used below plugins(including apache common fileupload) AjaxFileUpload-0.03.jar json-lib-2.0-jdk15.jar After adding these .jar files into my project, when I try to access one of my page which is having tabbedpane with theme=

ParametersInterceptor problem for simple java.util.Date.

2008-04-18 Thread sharath karnati
Title Date Date (e.g. 24.12.2009) When it is calling action setDate(Date date) method it is throwing below error 10:34:06,841 ERROR ParametersInterceptor:204 - ParametersInterceptor - [setParam eters]: Unexpected Exception caught setting 'date' on 'class events.EventManager : Error settin

weird problem in

2008-06-25 Thread sharath karnati
Hi All,      In .jsp file, I'm having following tag              

weird problem tag.

2008-06-25 Thread sharath karnati
Hi All,       In .jsp file, I'm having following code which is using tag.                                                   The tag is showing properties values(projectNm, subject,comments)correctly. 'deploymentVersion' property is not

Re: weird problem tag.

2008-06-25 Thread sharath karnati
sers Mailing List" , [EMAIL PROTECTED] Date: Wednesday, June 25, 2008, 5:38 PM Hi Sarath, where from this deploymentVersion is from (action, session)? Such construction works for me in many places, so i would like to replicate this problem. Best greetings, Paweł Wielgus. 2008/6/25 sharath karna

Re: weird problem tag.

2008-06-25 Thread sharath karnati
I'm able to fix this problem using 'top'   Thanks, Sharath. --- On Wed, 6/25/08, sharath karnati <[EMAIL PROTECTED]> wrote: From: sharath karnati <[EMAIL PROTECTED]> Subject: Re: weird problem tag. To: "Paweł Wielgus" <[EMAIL PROTECTED]>, user@struts.a

Re: weird problem tag.

2008-06-26 Thread sharath karnati
So if i properly understod Your problem i have no such one. Any thoughts? My environement: S2 2.0.11.1 Best greetings, Paweł Wielgus. On 26/06/2008, sharath karnati <[EMAIL PROTECTED]> wrote: > The deploymentVersion is from 'action'. I even tried with and it is also

Using dojo with .

2008-06-26 Thread sharath karnati
Hi All,      I have 2 tags.     Example:       When I select 'class' it should populate teachers depending upon that class selection, right now 'onchange' I'm submitting action and it is working fine but it is refreshing entire page. I'd like to know how to use 'dojo' without refresh this pa

static list with problem.

2008-07-07 Thread sharath karnati
Hi All,      I need to populate static list of values in tag in struts2.        How to add single quote in (Don't have caller ID) value in static list.   Thanks, Sharath.

Dojo With Struts2.

2008-07-29 Thread sharath karnati
Hi All,       Struts2 included with Dojo. Can you please provide me how to use Ajax using dojo in struts2. If possible can you please send some links for this implementation.   Thanks, Sharath.

Struts2 with JSON.

2008-08-04 Thread sharath karnati
Hi All,      Using JSON, I'm getting below response from action   {"list":{"com.beans.ComplaintDO":{"user__complaint__number":"08-C0153","user__complaint__key":"08-C0153-1","form__type":"2000B","first__name":"Sharath","last__name":"Karnati"}}}      In this response, 'com.beans.Complai

Re: Struts2 with JSON.

2008-08-05 Thread sharath karnati
sponseText +")" );     How to read 'first__name' value from jsonObject?   Thanks, Sharath. --- On Mon, 8/4/08, sharath karnati <[EMAIL PROTECTED]> wrote: From: sharath karnati <[EMAIL PROTECTED]> Subject: Struts2 with JSON. To: user@struts.apache.org Date: