RE: Struts2 - dojo anchor error

2009-07-05 Thread Kishan G. Chellap Paandy
Hi, I think I have missed something. I have a JSP page and in that I have the mailto:d...@newfield.org] Sent: Friday, July 03, 2009 8:10 PM To: Struts Users Mailing List Subject: Re: Struts2 - dojo anchor error Kishan G. Chellap Paandy wrote: > Here is what I'm doing. > <%@ tag

RE: Struts2 - dojo anchor error

2009-07-02 Thread Kishan G. Chellap Paandy
h the jsp. It is indeed going to the action, but in the content div part I'm getting "undefined" text in IE 7. But the same is working in Mozilla 2. I'm using Struts 2.1.6. Thank you. Regards, Kishan.G Team Leader. www.spansystems.com -Original Message- From: Dav

Struts2 - dojo anchor error

2009-07-01 Thread Kishan G. Chellap Paandy
Hi Folks, Referring to: http://struts.apache.org/2.1.6/docs/dojo-anchor.html "There's a bug in IE6/IE7 which makes impossible to use the target's attribute with a parent Div, because such Div's content's are overwritten with the tag's loadingText. Resulting in an "undefined" message in the con

RE: Getting undefined error on ajax call

2009-06-30 Thread Kishan G. Chellap Paandy
Hi Folks, I think this problem seems to be more of a bug in IE 6/7. Referring to: http://struts.apache.org/2.1.6/docs/dojo-anchor.html "There's a bug in IE6/IE7 which makes impossible to use the target's attribute with a parent Div, because such Div's content's are overwritten with the tag's

Struts2 - freemarker error

2009-06-25 Thread Kishan G. Chellap Paandy
Hi, I'm using struts 2.1.6, xwork-2.1.2, freemarker 2.3.13, ognl 2.6.11 and jboss 5.0.1. I'm having one ftl, where I'm doing the following <#list "${additionalMethods}"?split(",") as additional> <#assign tmpInner>${additional?trim?substring(0, additional?trim?index_of(":"))} But this gives m

Struts2 - validation

2009-06-24 Thread Kishan G. Chellap Paandy
Hi Folks, I'm populating a list in my action class, which will be used in the JSP for populating a tag. Now, I'm submitting the form, where I'm doing validation (server side validation) thru validation.xml. And this throws some action/field errors and the same JSP page is rendered again with

RE: how to prevent users from directly accessing jsp files

2009-06-22 Thread Kishan G. Chellap Paandy
I tried something like below it worked All JSP direct access /jsp/* POST GET No Access restricted NO Access restricted Thank you. Regards, Kishan.G Team Leader. www.spansystems.com -Original Mes

RE: Struts 2.1.6 - reload resource bundles

2009-06-11 Thread Kishan G. Chellap Paandy
. www.spansystems.com -Original Message- From: Kishan G. Chellap Paandy [mailto:kishanchellapaand...@spanservices.com] Sent: Friday, May 29, 2009 1:34 PM To: Struts Users Mailing List Subject: Struts 2.1.6 - reload resource bundles Hi, I want to reload resource bundles (application resources) dynamically

RE: Whats the best way to do validation messages on the same page?

2009-06-11 Thread Kishan G. Chellap Paandy
Hi Jim, You can exclude methods (in your case execute method) from validation using workflow interceptor exclude methods parameter. execute May be this could help. Thank you. Regards, Kishan.G Team Leader. www.spansystems.com -Original Message- From: Jim Colling

RE: Struts2 - redirectAction - ServletActionRedirectResult

2009-06-10 Thread Kishan G. Chellap Paandy
Hi Wes, Thanks for your quick reply. So it a bug and I will file it in Struts2. Regards, Kishan.G Team Leader. www.spansystems.com -Original Message- From: Wes Wannemacher [mailto:w...@wantii.com] Sent: Wednesday, June 10, 2009 5:58 PM To: Struts Users Mailing List Subject: Re: St

Struts2 - redirectAction - ServletActionRedirectResult

2009-06-09 Thread Kishan G. Chellap Paandy
Hi Folks, In Struts 2.1.6, if we have a , for example, generateReport /genReport pie Refer to: http://struts.apache.org/2.1.6/struts2-core/apidocs/org/apache/struts2/dispatcher/ServletActionRedirectResult.html We will get errors in the log as: ERROR (Co

Struts 2.1.6 - reload resource bundles

2009-05-29 Thread Kishan G. Chellap Paandy
Hi, I want to reload resource bundles (application resources) dynamically for i18n. Since it is production, I can't set dev mode struts property to true. Does setting only the struts2 property i18n.reload to true will solve my problem? Is there is any other workaround like doing it programmati

RE: Strange problem with WW_TRANS_I18N_LOCALE in session

2009-04-30 Thread Kishan G. Chellap Paandy
Hi Vinfer, For that action which is not working, make sure that you have the struts 2 built in interceptors and/or that action is session aware. May be this will point you in the right direction. Thank you. Regards, Kishan.G Senior Software Engineer. www.spansystems.com -Original Messa

RE: What is wrong with my with OGNL Map expression??

2009-04-30 Thread Kishan G. Chellap Paandy
Hi Griffith, Assuming there's an attribute with name 'mySessionAttribute' in the Session scope and you can access the same in you jsp as below: May be this will help. Thank you. Regards, Kishan.G Senior Software Engineer. www.spansystems.com -Original Message- From: Griffith, M

RE: Adding Text & Image to struts tag

2009-04-30 Thread Kishan G. Chellap Paandy
And also have a look at http://struts.apache.org/2.1.6/docs/submit.html Thank you. Regards, Kishan.G Senior Software Engineer. www.spansystems.com -Original Message- From: Kishan G. Chellap Paandy Sent: Thursday, April 30, 2009 5:33 PM To: 'Struts Users Mailing List' S

RE: Adding Text & Image to struts tag

2009-04-30 Thread Kishan G. Chellap Paandy
Hi Sreenivas, For image use submit "type" as image and "src" (this image you will design with the text you want), if you want to use text use submit type as input or button. If you want to use both make use of submit tag's cssClass and type as input or button. May be this will help. Thank you.

RE: Submitting a Date to an Action

2009-04-30 Thread Kishan G. Chellap Paandy
Hi Richard, Have a look at http://struts.apache.org/2.1.6/docs/type-conversion.html It says that "dates - uses the SHORT format for the Locale associated with the current request" May be this will help. Thank you. Regards, Kishan.G Senior Software Engineer. www.spansystems.com -Orig

RE: [s2] multiple submit buttons using action and method

2009-04-30 Thread Kishan G. Chellap Paandy
Hi Stephiems, Are you using same action class for pay() and save()? If you are using different actions, then have you tried to associate each submit with a form/s:form? Do you have mentioned any action in your current form/s:form? Since you are not getting an error, it may because of the above pr

RE: Struts 2.1.6 - Alternative Template Engines - JSP

2009-04-30 Thread Kishan G. Chellap Paandy
template engines just process certain types of templates(ftl, vm, > jsp, etc), but are not(directly) related to tags. The tags need to > output something, what you use to generate the output is up to you, > the struts tags use freemarker, but the javatemplates plugin uses > plain java,

RE: Struts 2.1.6 - Alternative Template Engines - JSP

2009-04-28 Thread Kishan G. Chellap Paandy
the output is up to you, the struts tags use freemarker, but the javatemplates plugin uses plain java, for example. musachy On Tue, Apr 28, 2009 at 3:06 AM, Kishan G. Chellap Paandy wrote: > Hi, > > I'm using Struts 2.1.6. > > I'm developing custom Struts 2.1.

Struts 2.1.6 - Alternative Template Engines - JSP

2009-04-28 Thread Kishan G. Chellap Paandy
Hi, I'm using Struts 2.1.6. I'm developing custom Struts 2.1.6 tags. I want to use org.apache.struts2.components.template.JspTemplateEngine. The framework supports three template engines, which can be controlled by the struts.ui.templateSuffix in struts.properties. If I set the above, does all