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

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: html head s:head theme=ajax debug=true/ titleTooltipDialog demo/title

Simple question in s:tabbedPanel

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. s:tabbedPanel id=tabContainer cssStyle=valign:top; height: 500px; doLayout=true s:div id=Panel1

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

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?

ParametersInterceptor problem for simple java.util.Date.

2008-04-18 Thread sharath karnati
s:form action=save s:textfield id=id name=id cssStyle=display:none/ Titles:textfield label=Event Title name=title/ Dates:textfield label=Event Date name=date/ Date (e.g. 24.12.2009) s:submit value=Add Event align=center/ /s:form When it is calling action setDate(Date date) method it is

weird problem in s:iterator

2008-06-25 Thread sharath karnati
Hi All,      In .jsp file, I'm having following s:iterator tag       s:iterator value=userCommentsList id=usercomment tr   td align=center s:property value=#usercomment.projectNm / /td td align=center s:property value=#usercomment.subject / /td td align=center s:property

weird problem s:iterator tag.

2008-06-25 Thread sharath karnati
Hi All,       In .jsp file, I'm having following code which is using s:iterator tag.      s:iterator value=userCommentsList id=usercomment   tr   td align=center s:property value=#usercomment.projectNm / /td   td align=center s:property value=#usercomment.subject / /td      td

Re: weird problem s:iterator tag.

2008-06-25 Thread sharath karnati
@struts.apache.org, [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 karnati

Re: weird problem s:iterator 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 s:iterator tag. To: Paweł Wielgus [EMAIL PROTECTED], user@struts.apache.org Date: Wednesday, June 25, 2008

Using dojo with s:select.

2008-06-26 Thread sharath karnati
Hi All,      I have 2 s:select tags.     Example:   s:select label=Class key=class list=classNames headerKey=1 headerValue=-- Please Select -- onchange=javascript:formSubmit();  /   s:select label=Teacher key=teacher list=teachers headerKey=1 headerValue=-- Please Select -- /   When I select

static list with s:select problem.

2008-07-07 Thread sharath karnati
Hi All,      I need to populate static list of values in s:select tag in struts2.    s:select key=caller_id onchange=javascript:callerid(this.value); list=#{'O':'Select','Y':'Yes','N':'No','C':'Don't have caller ID'} /     How to add single quote in (Don't have caller ID) value in static list.

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.ComplaintDO' is a javabean.

Re: Struts2 with JSON.

2008-08-05 Thread sharath karnati
, 8/4/08, sharath karnati [EMAIL PROTECTED] wrote: From: sharath karnati [EMAIL PROTECTED] Subject: Struts2 with JSON. To: user@struts.apache.org Date: Monday, August 4, 2008, 10:25 AM Hi All,      Using JSON, I'm getting below response from action   {list:{com.beans.ComplaintDO

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

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   input type=text id=first_name name=first_name dojoType=dijit.form.ValidationTextBox required=true propercase=true promptMessage=Enter first name. invalidMessage=First name is required.

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     struts package name=InternalAppication namespace=/intapp extends=struts-default       action name=Name result/pages/intapp/login.jsp/result /action     action name=login!* class=gov.action.LoginAction

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'

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'

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'

How to customize with Struts2.

2009-05-22 Thread sharath karnati
, if possible can you please send me sample code.       Thanks for your help.   Regards, Sharath Karnati.

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

Re: Commercial framework based on struts2.

2009-07-07 Thread sharath karnati
On Tue, Jul 7, 2009 at 12:20 PM, sharath karnati karna...@yahoo.com wrote: 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

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

Using s:a Ajax tag with struts2.0.11

2009-08-06 Thread sharath karnati
Hi All,       Say I have COMPLAINT table as below     div id=div1 table class=datatab cellpadding=0 cellspacing=5 width=95% thead tr align=left th c:choose c:when test=${sort_by == 'complaint_id'} s:url

Displaying loader image while calling AJAX request.

2009-08-07 Thread sharath karnati
Hi All,      Implemented AJAX request with below lines   s:url id=ajaxComplaintLink1 includeParams=none    s:param name=sort_by value=%{'complaint_id'}/    s:param name=sort_order value=%{other_order}/   s:param name=request_type value=%{'ajax'}/ /s:url s:a

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

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

Getting Struts2 Action class values.

2009-10-29 Thread sharath karnati
Hi All,       Say I'm having below submit.jsp file.   s:form name=Inquiry action=inquiry method=POST table   tr td First Name: /td td width=33% s:textfield key=first_name maxlength=50 size=25/ /td td width=15% Last Name: /td td width=35% s:textfield key=last_name maxlength=50 size=25/ /td /tr

s:autocompleter not working in IE7.

2009-12-15 Thread sharath karnati
.   package name=app extends=struts-default,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

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 filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class   TO    

Re: Migrating struts2 version 2.0.11 to 2.1.8.1

2010-04-13 Thread sharath karnati
struts2 version 2.0.11 to 2.1.8.1 To: Struts Users Mailing List user@struts.apache.org Date: Tuesday, April 13, 2010, 11:32 AM 2010/4/13 sharath karnati karna...@yahoo.com: s:submit value=Login type=submit method=checkLogin cssClass=ibutton /  When I press this button it should call 'checkLogin

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 MapString,String json;     public String execute() throws Exception() {     return SUCCESS;     }    

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 karna...@yahoo.com wrote: From: sharath karnati karna...@yahoo.com Subject: Using json in Struts 2.1.8.1 To: user@struts.apache.org Cc: karna...@yahoo.com Date: Wednesday, April 14, 2010, 1

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

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 d...@newfield.org wrote: From: Dale Newfield d...@newfield.org Subject: Re: Using json

Re: Using json in Struts 2.1.8.1

2010-04-20 Thread sharath karnati
Hi All,      Added below lines in struts.xml file     package name=admin extends=struts-default,json-default  result-types    result-type name=json class=org.apache.struts2.json.JSONResult / /result-types   action name=Autocomplete!* class=gov.admin.action.ManageAction method={1}  

Re: Using json in Struts 2.1.8.1

2010-04-20 Thread sharath karnati
d...@newfield.org wrote: From: Dale Newfield d...@newfield.org Subject: Re: Using json in Struts 2.1.8.1 To: Struts Users Mailing List user@struts.apache.org Date: Tuesday, April 20, 2010, 12:28 PM On 4/20/10 11:34 AM, sharath karnati wrote: package name=admin extends=struts-default,json

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

Re: Jquery autocomplete with struts2.

2010-04-22 Thread sharath karnati
=VARIABLENAMEHERE/ The JSP would only contain that. I don't have time to create an example so sorry but this should be enough info. On Thu, Apr 22, 2010 at 10:33 AM, sharath karnati karna...@yahoo.com wrote: Hi All,      I'm trying to use Jquery autocomplete with struts2. The example for using Jquery

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

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 karna...@yahoo.com wrote: From: sharath karnati karna...@yahoo.com Subject: Re

Re: Jquery autocomplete with struts2.

2010-04-23 Thread sharath karnati
Avtarovski zo...@sparecreative.com Subject: Re: Jquery autocomplete with struts2. To: Struts Users Mailing List user@struts.apache.org, sharath karnati karna...@yahoo.com 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

Re: Jquery autocomplete with struts2.

2010-04-23 Thread sharath karnati
in advance.   Regards, Sharath. --- On Fri, 4/23/10, sharath karnati karna...@yahoo.com wrote: From: sharath karnati karna...@yahoo.com Subject: Re: Jquery autocomplete with struts2. To: zo...@sparecreative.com Cc: Struts Users Mailing List user@struts.apache.org Date: Friday, April 23, 2010, 9

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.   global-results    result name=login/pages/login.jsp/result /global-results    but it

Re: Jquery autocomplete with struts2.

2010-04-23 Thread sharath karnati
: Rahul Mohan rahul.mo...@tcs.com Subject: Re: Jquery autocomplete with struts2. To: Struts Users Mailing List user@struts.apache.org Date: Friday, April 23, 2010, 11:30 AM suggest you post this to jquery forums. From: sharath karnati karna...@yahoo.com To: Struts Users Mailing List user

Re: Jquery autocomplete with struts2.

2010-04-23 Thread sharath karnati
: Jquery autocomplete with struts2. To: Struts Users Mailing List user@struts.apache.org Date: Friday, April 23, 2010, 11:30 AM suggest you post this to jquery forums. From: sharath karnati karna...@yahoo.com To: Struts Users Mailing List user@struts.apache.org Date: 23-04-2010 19:56 Subject: Re

How to use indexOf in s:if 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.ListString) which is having all colors. In UI when I use s:iterator for looping colorList, when color

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

Re: Need your inputs.

2011-03-21 Thread sharath karnati
: sharath karnati karna...@yahoo.com Date: Monday, March 21, 2011, 1:25 PM On Mon, Mar 21, 2011 at 11:35 AM, sharath karnati wrote:   1) How many fields are there?   2) Each field name, title and size(example: field3,zip, 5) Please advice how to do this using strust2. It won't have anything

Re: [OT] Re: Need your inputs.

2011-03-22 Thread sharath karnati
. To: sharath karnati karna...@yahoo.com Cc: Struts Users Mailing List user@struts.apache.org Date: Monday, March 21, 2011, 6:10 PM On Mon, Mar 21, 2011 at 6:04 PM, sharath karnati wrote: Can you please send me links/details for doing this(Serialize the DOM)? What JavaScript framework are you using

Uploading multiple files using single s:file tag.

2012-04-06 Thread sharath karnati
Hi All,    Using Struts2 and need to know how to upload multiple files using single s:file 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 s:file tag.

2012-04-06 Thread sharath karnati
@struts.apache.org Cc: sharath karnati sharath_redd...@yahoo.com, karna...@yahoo.com Date: Friday, April 6, 2012, 1:40 PM Check out the Struts 2 showcase example for uploading files. Best,Muneer On Fri, Apr 6, 2012 at 12:36 PM, sharath karnati karna...@yahoo.com wrote: Hi All,    Using Struts2 and need

Re: Uploading multiple files using single s:file tag.

2012-04-06 Thread sharath karnati
Jay On Fri, Apr 6, 2012 at 11:42 AM, sharath karnati karna...@yahoo.com wrote: It is using multiple s:file tags. I need a single s:file and need to upload multiple files. --- On Fri, 4/6/12, Muneer Malik tutti...@gmail.com wrote: From: Muneer Malik tutti...@gmail.com Subject: Re: Uploading

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

2012-04-27 Thread sharath karnati
in advance. Regards, Sharath Karnati.  

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

2012-04-27 Thread sharath karnati
sessions, since the cookies are 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 karna...@yahoo.com wrote: Hi All

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

2012-04-27 Thread sharath karnati
it difficult to pinpoint 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 didn't open

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

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