Iusse in BigDecimal conversion after upgrading from 2.5.10.1 to 2.5.13

2017-10-03 Thread sreekanth
Hi, We have a List object which is getting set at JSP (element added dynamically in front end), while saving this form the object's value for BigDecimal fields are getting null. eg: Class A { String strVal; BigDecimal drAmt; BigDecimal crAmt; } in jsp while we submit the form *strVal*

Re: Iusse in BigDecimal conversion after upgrading from 2.5.10.1 to 2.5.13

2017-10-03 Thread sreekanth
Thanks Lukasz, can you please point me some wiki page or what change i have to do to make my existing code working ? -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html - To unsubscribe, e-mail: user-uns

Re: Iusse in BigDecimal conversion after upgrading from 2.5.10.1 to 2.5.13

2017-10-03 Thread sreekanth
The value not getting set at all, its coming as null. By the time i will also see if i can provide some log as you mentioned. -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html - To unsubscribe, e-mail:

Re: Iusse in BigDecimal conversion after upgrading from 2.5.10.1 to 2.5.13

2017-10-03 Thread sreekanth
Hi Lukasz, what bothering me is, we haven't changed this particular jsp since an year or more and its working fine till 2.5.10.x. I have the following doubt, if it can be answered then i can assume whats going wrong in my code. What was the behaviour of struts 2.5.10.1 while convert

Re: Iusse in BigDecimal conversion after upgrading from 2.5.10.1 to 2.5.13

2017-10-03 Thread sreekanth
Thanks Yasser, if my previous doubts get cleared then probably i can assume there is behavioral change in binding empty value. If thats not the case then will try to replicate as you have mentioned. -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html ---

Re: Iusse in BigDecimal conversion after upgrading from 2.5.10.1 to 2.5.13

2017-10-03 Thread sreekanth
thanks Yasser, may i know with which version of struts you have tested it 2.5.10.1 or 2.5.13 ? -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html - To unsubscribe, e-mail: user-unsubscr...@struts.apache

Re: Iusse in BigDecimal conversion after upgrading from 2.5.10.1 to 2.5.13

2017-10-03 Thread sreekanth
thanks Yasser, that info was great, so do you think so the way struts2 binds BigDecimal changed between these two versions ? and also if possible kindly share your sample project in github so that i can fork it and check myself faster. -- Sent from: http://struts.1045723.n5.nabble.com/Struts-Use

Re: Iusse in BigDecimal conversion after upgrading from 2.5.10.1 to 2.5.13

2017-10-04 Thread sreekanth
thanks Yasser, let me setup a sample too. I already went through fixes introduced at WW-4581 as well and ran a test against it and found that's not the reason for this behavior rather something related to form field binding. Here i'm adding your finding which i too believe the root cause for this

Re: Iusse in BigDecimal conversion after upgrading from 2.5.10.1 to 2.5.13

2017-10-04 Thread sreekanth
thanks Yasser for all you help and code. I would like to conclude this as a struts2 upgrade change, as BigDecimal field value was setting as BigDecimal.ZERO when field value passed as empty in struts2.5.10.x or < whereas 2.5.13 will set such empty BigDecimal field as null value (that is the correc

Re: Upgrading from struts 2.3.x to struts 2.5.x

2017-10-23 Thread sreekanth
Try removing the following filter from your web.xml struts-cleanup org.apache.struts2.dispatcher.ActionContextCleanUp ActionContextCleanUp has been removed in this version -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f342604

Re: Upgrading from struts 2.3.x to struts 2.5.x

2017-10-23 Thread sreekanth
try remove TilesServlet from web.xml as well, tiles 3 works differently from tiles 2 Please ref : https://struts.apache.org/docs/tiles-3-plugin.html -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html ---

Unknown Error From JSON-Plugin

2018-01-02 Thread sreekanth
Hi, I'm using struts2-2.5.14.1 in my EAR deployed in wildfly server, rarely we are getting the following error when i'm accessing struts2 page. Caused by: Unable to load configuration. - bean - vfs:/content/my-app.ear/lib/struts2-json-plugin-2.5.14.1.jar/struts-plugin.xml:28:30 at com

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread sreekanth
I'm already using the latest of JDK 8 :- jdk1.8.0_152 (Linux) -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-m

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread sreekanth
for ; Tue, 2 Jan 2018 23:50:51 -0700 (MST) Date: Tue, 2 Jan 2018 23:50:51 -0700 (MST) From: sreekanth To: user@struts.apache.org Message-ID: <1514962251558-0.p...@n5.nabble.com> In-Reply-To: References: <1514912818271-0.p...@n5.nabble.com> Subject: Re: Unknown Error

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread sreekanth
I have a view page for displaying some already persisted data, this page most of the time loads without any error (with the same set of data) and rarely throws the exception which i have shared here. 75% time i've experienced this exception when there is class reload happens (as a part of hot deplo

how can i pass an arraylist from jsp to action class

2006-06-05 Thread Sreekanth PK
Hi, how can i pass an arraylist from jsp to action class with out the help of session or application variable Am not able to use request.setAtrribute in jsp to do this why??

Does OGNL 3.0.6 work with Struts2 -core-2.1.2 ?

2013-02-10 Thread Sreekanth S. Nair
Hi, Does OGNL 3.0.6 jar work with Struts2 -core-2.1.2 without any issues? according to http://struts.apache.org/2.3.4.1/docs/Performance%20Tuning.html its says struts < 2.3 have to use ognl-3.0.3 but i can see some more performance improvement fixes at ognl 3.0.6. regards

Re: Does OGNL 3.0.6 work with Struts2 -core-2.1.2 ?

2013-02-11 Thread Sreekanth S. Nair
ognl release note but i'm not quite sure about whether i can use it with struts- 2.1.2. Thanks On Mon, Feb 11, 2013 at 1:43 PM, Lukasz Lenart wrote: > 2013/2/11 Sreekanth S. Nair : > > Hi, > > > > Does OGNL 3.0.6 jar work with Struts2 -core-2.1.2 without any issue

Re: Does OGNL 3.0.6 work with Struts2 -core-2.1.2 ?

2013-02-11 Thread Sreekanth S. Nair
Thanks for your response. We are testing it out. As clarification does struts2 version really depends on ognl version ? On Mon, Feb 11, 2013 at 2:07 PM, Lukasz Lenart wrote: > 2013/2/11 Sreekanth S. Nair : > > Hi Lucasz, > > I have seen that issue n discussion

Re: Does OGNL 3.0.6 work with Struts2 -core-2.1.2 ?

2013-02-11 Thread Sreekanth S. Nair
980078913 On Tue, Feb 12, 2013 at 12:47 PM, Lukasz Lenart wrote: > 2013/2/12 Sreekanth S. Nair : > > Thanks for your response. We are testing it out. As clarification does > > struts2 version really depends on ognl version ? > > Yes, as some changes were introd

Re: Does OGNL 3.0.6 work with Struts2 -core-2.1.2 ?

2013-02-12 Thread Sreekanth S. Nair
8913 On Tue, Feb 12, 2013 at 12:53 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Thanks Lukazs. I'm hoping for the best, nothing will break with ognl > upgrade with older struts2 version by through testing :) . > > > -- > Thanks & Re

Re: Does OGNL 3.0.6 work with Struts2 -core-2.1.2 ?

2013-02-12 Thread Sreekanth S. Nair
Thanks Lukasz, appreciate your suggestion but our application is so huge to make an sudden upgrade to latest version. On Tue, Feb 12, 2013 at 3:51 PM, Lukasz Lenart wrote: > 2013/2/12 Sreekanth S. Nair : > > Which is the safest (required no code changes at our side) upgrade > ver

Why Struts2 doesn't have string value trimming ?

2013-02-18 Thread Sreekanth S. Nair
Hi, Its common that user sometimes will enter string field values with spaces or just by mistake value as empty space, is there any way to make it as default behaviour of struts2 to trim ? Right now we are depending on an Interceptor which will take care of trimming value but this is making

Re: Why Struts2 doesn't have string value trimming ?

2013-02-19 Thread Sreekanth S. Nair
Hi Eric, We can not do it, since we are not using struts xml to map action rather codebehind plugin. -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Tue

Re: Why Struts2 doesn't have string value trimming ?

2013-02-19 Thread Sreekanth S. Nair
thats what my question :) -- Thanks & Regards Srikanth On Tue, Feb 19, 2013 at 6:27 PM, Dave Newton wrote: > On Tue, Feb 19, 2013 at 1:05 AM, Sreekanth S. Nair wrote: > > > is there any way to make it as default behaviour of struts2 to trim ? > > > > AFAIK, no. I

Multiple Window and Struts2 token issue.

2013-03-06 Thread Sreekanth S. Nair
Hi, I have a web app where its having a couple of operations say for example Create User and Create Role. Both these forms are having struts2 token for handling duplicate submit. Its working as expected. Now the problem is when try to open both of it and try to save both of it. The window ope

Re: Multiple Window and Struts2 token issue.

2013-03-07 Thread Sreekanth S. Nair
one having and that did the trick. On Thu, Mar 7, 2013 at 1:10 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Hi, > I have a web app where its having a couple of operations say for > example Create User and Create Role. Both these forms are having stru

Redirecting to another action which is in another web context

2013-05-07 Thread Sreekanth S. Nair
Hi, Does Struts2 have any way to redirect from one action to another action which exist in a different Web Context. ServletRedirectResult and ServletActionRedirectResult doesn't seems to be work for Cross Context Action redirection. -- Thanks & Regards Srikanth Software Developer -

Fwd: Redirecting to another action which is in another web context

2013-05-07 Thread Sreekanth S. Nair
Hi, Does Struts2 have any way to redirect from one action to another action which exist in a different Web Context. ServletRedirectResult and ServletActionRedirectResult doesn't seems to be work for Cross Context Action redirection. -- Thanks & Regards Srikanth

Re: Redirecting to another action which is in another web context

2013-05-07 Thread Sreekanth S. Nair
Hi Gang, I hope these all works only for those action which exist in the same web context not for action exist in another web context. -- Thanks & Regards Srikanth On Wed, May 8, 2013 at 11:04 AM, 陈岗 wrote: > Hi > > try them > > > > or > > > >

Struts2 Exception Handling

2013-06-20 Thread Sreekanth S. Nair
Hi, Can anyone point me a tutorial or reference for how to handle exception (uncaught or all exception). There are so many tutorial available online but all are different. -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments

Re: Struts2 Exception Handling

2013-06-20 Thread Sreekanth S. Nair
oper eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jun 21, 2013 at 11:50 AM, Lukasz Lenart wrote: > 2013/6/21 Sreekanth S. Nair : > > Hi, > > Can anyone point me a tutorial or reference for how to

Re: Struts2 Exception Handling

2013-06-20 Thread Sreekanth S. Nair
oper eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jun 21, 2013 at 12:02 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Hi Lukasz, > Thanks for your replay, i did the same way only, but

Re: Struts2 Exception Handling

2013-06-20 Thread Sreekanth S. Nair
e. > > > Regards > -- > Łukasz > mobile +48 606 323 122 http://www.lenart.org.pl/ > > 2013/6/21 Sreekanth S. Nair : > > Hi Lukasz, > > Thanks for your replay, i did the same way only, but > there > > are some exception still going uncaught

Re: Struts2 Exception Handling

2013-06-21 Thread Sreekanth S. Nair
ions www.egovernments.org Mob : 9980078913 On Fri, Jun 21, 2013 at 12:27 PM, Lukasz Lenart wrote: > Do you have devMode set to true? Which stack do you use in struts.xml? > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > &

Re: Struts2 Exception Handling

2013-06-21 Thread Sreekanth S. Nair
Jun 21, 2013 at 12:36 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Yeah lukasz, you are correct i was working with devMode set to true, when > i made it to false the custom exception page is coming.. Thanks a lot for > reminding me this simple mistake. > &

Best Advanced Struts2 Book

2013-06-21 Thread Sreekanth S. Nair
Can anyone suggest a best advanced Struts2 book available now (with all recent updates of struts2) And any link pointing to Best Practices and Performance tuning for latest struts2

Re: Best Advanced Struts2 Book

2013-06-21 Thread Sreekanth S. Nair
t; > *Thanks And Regards,* > Muralidhar Yaragalla.* > (Visit My Blog <http://yaragalla.blogspot.in>) > * > > > On Fri, Jun 21, 2013 at 7:01 PM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > Can anyone suggest a best advanced Struts2 book availa

Struts2 Performance Tuning

2013-06-24 Thread Sreekanth S. Nair
Is this link ( http://struts.apache.org/release/2.3.x/docs/performance-tuning.html) points to the latest performance tuning for strust2 ? freemarker template caching is confusing whether we need to locally copy those template files or not? Can any one please provide some good resources for step b

Re: Struts2 Performance Tuning

2013-06-25 Thread Sreekanth S. Nair
8913 On Mon, Jun 24, 2013 at 1:53 PM, wrote: > I believe that all those steps are equally applicable and to all version > of struts2 > > Underlying working of Struts2 is more or less and same. > > > Sent from BlackBerry® on Airtel > > -Original Message- > From

Re: Struts2 Performance Tuning

2013-06-25 Thread Sreekanth S. Nair
eeMarker; if you're using the S2 UI > tags, you're using FM. > > Other items related to interceptor stacks, dev mode, and so on. Consider > reading the whole page, as it covers the first line of defense. > > Dave > > > > On Tue, Jun 25, 2013 at 6:43 AM, Sreekant

Difficulty in understanding Struts 2 distribution

2013-06-26 Thread Sreekanth S. Nair
Hi, Now the struts2 distribution is a single zip file which includes all optional and required jars together which is making life very difficult to understand, which are the jars required for struts2 to make up and running and what are the other optional and dependency jar for plugin and other

Re: Difficulty in understanding Struts 2 distribution

2013-06-26 Thread Sreekanth S. Nair
Though this is clearly mentioned in the Project dependencies page what all > is required > for details refer > http://struts.apache.org/release/2.3.x/struts2-core/dependencies.html > > On Wed, Jun 26, 2013 at 2:00 PM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: &

Re: Difficulty in understanding Struts 2 distribution

2013-06-26 Thread Sreekanth S. Nair
s not optional > > On Wed, Jun 26, 2013 at 2:32 PM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > I dont think this is correct, we are not using velocity then how come > > struts2 depends on velocity, same for junit. These all are no

Re: Difficulty in understanding Struts 2 distribution

2013-06-26 Thread Sreekanth S. Nair
t; > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2013/6/26 Sreekanth S. Nair : > > Thanks for clarifying all these but don't you think its better to make > the > > same thing in distribution itself, which will help developer to make &g

OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
Don't know whats the reason i'm getting this following WARNIng in latest struts distro. WARN [com.opensymphony.xwork2.ognl.OgnlValueStack] (http-localhost/127.0.0.1:8080-1) Error setting expression 'action:documentManager!updateDocument' with value '[Ljava.lang.String;@1c1abc1': ognl.ExpressionSy

Re: OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
not an expected input parameter. > You talk about latest distro, did it works before with other distros? > > On 28 June 2013 09:43, Sreekanth S. Nair >wrote: > > > action:documentManager!updateDocument > > > > > > Twitter :http://www.twitter.com/m_cu

Re: OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
55921 > Linkedin:http://www.linkedin.com/in/mauriziocucchiara > VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara > > Maurizio Cucchiara > > > On 28 June 2013 10:10, Sreekanth S. Nair >wrote: > > > Yes it was working > >

Re: OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
As i replied in the jira, we are heavily depends on "bang" syntax, how can we fix this... changing all ! is literally impossible now, since we have hundreds of action urls are in "bang" style. -- Thanks & Regards Srikanth Software Developer eGovernments Foundation

How to make interceptor to be invoked only for HTTP Request not for Response

2013-07-09 Thread Sreekanth S. Nair
How to make interceptor to be invoked only for HTTP Request not for Response

Re: How to make interceptor to be invoked only for HTTP Request not for Response

2013-07-09 Thread Sreekanth S. Nair
980078913 On Tue, Jul 9, 2013 at 5:41 PM, wrote: > Any specific reason to do that? > --Original Message-- > From: Sreekanth S. Nair > To: Struts Users Mailing List > ReplyTo: Struts Users Mailing List > Subject: How to make interceptor to be in

Re: How to make interceptor to be invoked only for HTTP Request not for Response

2013-07-09 Thread Sreekanth S. Nair
logic Software > Fone: (51) 3715 5523 - (51) 3715 5548 > www.idealogic.com.br > > Em 09/07/2013, às 09:13, Sreekanth S. Nair escreveu: > > > Yes, i have an Interceptor basically to Trimming of input values, i don't > > want to do this to be happened

Re: How to make interceptor to be invoked only for HTTP Request not for Response

2013-07-09 Thread Sreekanth S. Nair
and before rendering with PreResultListeners. > > I don't understand the specific issue(s) you think you're having. What > problem are you having that you're trying to solve? > > Dave > On Jul 9, 2013 9:54 AM, "Sreekanth S. Nair" < > sreekanth.n...

Re: How to make interceptor to be invoked only for HTTP Request not for Response

2013-07-09 Thread Sreekanth S. Nair
8913 On Tue, Jul 9, 2013 at 8:39 PM, Paul Benedict wrote: > Agreed. What you want is a Servlet filter, not a Struts interceptor. > > > On Tue, Jul 9, 2013 at 9:54 AM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > I doubt stru

Re: How to make interceptor to be invoked only for HTTP Request not for Response

2013-07-09 Thread Sreekanth S. Nair
6 PM, Dave Newton wrote: > What do you mean by "called while response"? Interceptors aren't called > twice, they wrap action invocation. > > Dave > On Jul 9, 2013 10:07 AM, "Sreekanth S. Nair" < > sreekanth.n...@egovernments.org> wrote: > >

Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-13 Thread Sreekanth S. Nair
Hi, I'm getting the following exception when i try to use strust2-jquery-plugin, My web.xml fragment for struts2 as follows. struts2Prepare *.action sitemesh *.action *.jsp REQUEST FORWARD INCLUDE struts2Execute *.action Without jquery-struts2-plugin its working 31m15:17:31,089 ERROR [org

Servlet 3.0 supported ?

2013-07-14 Thread Sreekanth S. Nair
What are feature supported by struts2 wrt servlet3.0 (specifically anything from async) -- Thanks & Regards Srikanth

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
back regarding the performance tuning part, but the answer i got doesn't cover from which all jars and what are the files have to be extracted. -- Thanks & Regards Srikanth On Mon, Jul 15, 2013 at 12:28 PM, Lukasz Lenart wrote: > 2013/7/13 Sreekanth S. Nair : > > Hi, >

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
gt; by Struts > > http://struts.apache.org/development/2.x/docs/static-content.html > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2013/7/15 Sreekanth S. Nair : > > /* basically works but i felt its unnecessary to map filter with /* url > > pa

Error while using executeAndWait interceptor

2013-07-15 Thread Sreekanth S. Nair
Hi, getting the following exeception while using executeAndWait filter @ line Number 186 i have the following line of code, which causing the NPE, without executeAndWait this Action works pretty much fine. final HttpServletRequest req = ServletActionContext.getRequest(); [0m13:03:43,031

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Mon, Jul 15, 2013 at 1:10 PM, Lukasz Lenart wrote: > 2013/7/15 Sreekanth S. Nair : > > Struts2-core & dojo-plugin is fine and its st

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
*struts*directory ? -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Mon, Jul 15, 2013 at 1:27 PM, Lukasz Lenart wrote: > 2013/7/15 Sreekanth S. Nair : > >

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
/static/ to where ? -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Mon, Jul 15, 2013 at 1:43 PM, Lukasz Lenart wrote: > 2013/7/15 Sreekanth S. Nair : >

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
Mon, Jul 15, 2013 at 1:51 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Sorry i didn get you. > > You mean directly under WebContant folder? Is like this the following > > struts2-core.jar/ template to WebContent/template > struts2-jquery-plugin/template

Error on every concurrent deployment.

2013-07-25 Thread Sreekanth S. Nair
Hi, I'm using eclipse + jboss 7 to deploy my struts2 latest distro app... gettng this following deployment exception on alternate deployment. ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/pgr]] (ServerService Thread Pool -- 56) JBWEB000284: Exception starting filter

conversionError interceptor is causing ModelDriven to fail

2013-07-25 Thread Sreekanth S. Nair
Hi, conversionError interceptor in the interceptor stack breaking the ModelDriven, can't able to bind Model which have custom object association

Re: Error on every concurrent deployment.

2013-07-26 Thread Sreekanth S. Nair
kasz Lenart wrote: > Do you put framework's lib in JBoss shared library folder? I mean all > the app instances use the same libs? > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2013/7/26 Sreekanth S. Nair : > > Hi, > >I&#x

Re: conversionError interceptor is causing ModelDriven to fail

2013-07-26 Thread Sreekanth S. Nair
sh is broken ? or dont know. -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jul 26, 2013 at 1:09 PM, Lukasz Lenart wrote: > 2013/7/26 Sreekanth S. N

Re: Error on every concurrent deployment.

2013-07-26 Thread Sreekanth S. Nair
sz Lenart wrote: > So you have many war archives in one ear archive? > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2013/7/26 Sreekanth S. Nair : > > Yes, its an ear deployment and all my struts libs are in .ear/lib/ folder &g

Re: Error on every concurrent deployment.

2013-07-26 Thread Sreekanth S. Nair
> https://issues.apache.org/jira/browse/WW-4152 > > 2013/7/26 Sreekanth S. Nair : > > yes thats right and my local wars/lib don't have any lib of struts2. > > > > -- > > Thanks & Regards > > Srikanth > > Software Developer > > ---

Re: conversionError interceptor is causing ModelDriven to fail

2013-07-26 Thread Sreekanth S. Nair
Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jul 26, 2013 at 1:15 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Cool... :). There is no stacktrace i can provide you apart from some OGNL > obvious dirty

Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
Is there any annotation available to bypass prepare method while invoking certain methods, just like @skipvalidation -- Thanks & Regards Srikanth

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
s.org Mob : 9980078913 On Fri, Jul 26, 2013 at 4:40 PM, Paul Benedict wrote: > Why would you want to bypass it? > On Jul 26, 2013 3:47 AM, "Sreekanth S. Nair" < > sreekanth.n...@egovernments.org> wrote: > > > Is there any annotati

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
arable" from your action? > That will do it. > On Jul 26, 2013 6:12 AM, "Sreekanth S. Nair" < > sreekanth.n...@egovernments.org> wrote: > > > Suppose i need to call any ajax validation on the same Action, it > > unnecessarily run in to prepare. W

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
you try `prepareWhateverMethodThatNeedsPrepare`? I don't recall if that > works or not. > > > On Fri, Jul 26, 2013 at 7:24 AM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > No i can't do that, because that Action contains other method which

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
ither configure the interceptor package-wide, or change the prepare > interceptor to always skip preparation for methods annotated with > @DoNotPrepare, etc. > > Dave > > > > On Fri, Jul 26, 2013 at 9:19 AM, Sreekanth S. Nair < > sreekanth.n...@egovernm

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
fundamentally opposed, either. > > Dave > > > > On Fri, Jul 26, 2013 at 2:07 PM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > The idea is precisely good, thats what i wanted but do you think it will > be > > a good addition to strust2 f

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
support? Seems a lot easier than creating more infrastructure. > (*Chris*) > > > On Fri, Jul 26, 2013 at 11:22 AM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > Okay, i can create one for mine, leaving to struts2 framework developer > >

Looking for full tutorial on WildCard Action Method using annoation

2013-07-30 Thread Sreekanth S. Nair
Can anyone give us a tutorial link or some sample app about using WildCard fully using annoation.? -- Thanks & Regards Srikanth

Re: Looking for full tutorial on WildCard Action Method using annoation

2013-07-30 Thread Sreekanth S. Nair
;fully"; are you having a specific issue? > > Dave > > > > > On Tue, Jul 30, 2013 at 3:32 PM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > Can anyone give us a tutorial link or some sample app about using > WildCard > > ful

Is there any security issue or any side effect if we dont use conversionError interceptor?

2013-08-01 Thread Sreekanth S. Nair
Hi, Is there any security issue or any side effect if we don't use conversionError interceptor apart from it wont report the conversion errors? -- Thanks & Regards Srikanth

How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
Hi, Sometimes we need to provide an empty select tag which will be populated later depending on some value in form using ajax. Now its mandatory to provide at least an empty list to make select to work. Why can't struts2 select tag can handle this case, where we can render the select tag even w

Re: Is there any security issue or any side effect if we dont use conversionError interceptor?

2013-08-02 Thread Sreekanth S. Nair
Any idea? -- Thanks & Regards Srikanth On Thu, Aug 1, 2013 at 4:49 PM, Sreekanth S. Nairwrote: > Hi, > Is there any security issue or any side effect if we don't use > conversionError interceptor apart from it wont report the conversion errors? > > -- > Thanks & Regards > Srikanth >

Re: Is there any security issue or any side effect if we dont use conversionError interceptor?

2013-08-02 Thread Sreekanth S. Nair
Yup ;) and thanks. -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Aug 2, 2013 at 1:19 PM, Lukasz Lenart wrote: > 2013/8/2 Sreekanth S. Nair : >

Re: How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
It can, just use a regular , instead of the > (*Chris*) > > > On Fri, Aug 2, 2013 at 12:36 AM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > Hi, > > Sometimes we need to provide an empty select tag which will be > > populated late

Re: How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
g and in almost all cases is an error use > case. > > -Original Message- > From: Sreekanth S. Nair [mailto:sreekanth.n...@egovernments.org] > Sent: Friday, August 02, 2013 11:56 AM > To: Struts Users Mailing List > Subject: Re: How to initiate the select tag with empty list

Re: How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
mpty tag with a name that matches a mutator in > your action. Struts (and your jQuery) will do the rest. > (*Chris*) > > > On Fri, Aug 2, 2013 at 9:55 AM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > That i know Chris. are you getting away f

Re: How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
n empty list, you just can't give it null. > You may be able to specify list="%{{}}" which should be OGNL syntax for an > empty list. > (*Chris*) > > > On Fri, Aug 2, 2013 at 11:06 AM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > >

Re: Annotation Support for bypassing prepare

2013-08-03 Thread Sreekanth S. Nair
Attaching SkippablePrepareInterceptor and SkipPrepare Annotation Code, I hope it may helpful for other who have similar requirement. Struts2 can include it, if strust2 developer think its worthy. -- Thanks & Regards Srikanth On Sat, Jul 27, 2013 at 12:00 AM, Sreekanth S. Nair < sree

Re: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread Sreekanth S. Nair
Try changing you xxx-validation.xml file dtd url declaration with the latest available dtd inside xwork-core.jar -- Thanks & Regards Srikanth On Wed, Aug 7, 2013 at 10:44 PM, John Boyer wrote: > Hi: > > Suddenly, in-production, we're getting file-not-found errors for the > xwork-validator-1.0.

Re: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread Sreekanth S. Nair
use this http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";> -- Regards Srikanth On Wed, Aug 7, 2013 at 11:06 PM, John Boyer wrote: > Hi Martin: > > Okay, but my validation XML is pointing to > http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd, which is no > longer available

Re: Getting lists back from struts

2013-08-07 Thread Sreekanth S. Nair
Check this tutorial might help you http://www.mkyong.com/struts2/how-to-set-default-value-for-multiple-checkboxes-in-struts-2/ -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 --

Re: Annotation Support for bypassing prepare

2013-08-07 Thread Sreekanth S. Nair
With all gratitude, I strongly disagree with that idea . That bring more clumsiness to big strust2 applications. And the idea of taking an array of Prepare is a good idea but don't you think it consumes a pinch of runtime performance.

Re: Annotation Support for bypassing prepare

2013-08-07 Thread Sreekanth S. Nair
ray of prepares, but an array of strings for which "execute" > methods the Preaparable callback should be excluded. > On Aug 7, 2013 11:09 PM, "Sreekanth S. Nair" < > sreekanth.n...@egovernments.org> wrote: > > > With all gratitude, I strongly disagree with

Re: Annotation Support for bypassing prepare

2013-08-07 Thread Sreekanth S. Nair
dict wrote: > I don't see a performance concern here. Checking a few strings isn't going > to slow down anything. > On Aug 8, 2013 12:06 AM, "Sreekanth S. Nair" < > sreekanth.n...@egovernments.org> wrote: > > > Guess same performance concern is applic

Re: sj:select default value not load

2013-08-07 Thread Sreekanth S. Nair
here the value of why is representing key or value ? The value your are providing to *value* attribute (value="%{why}"), it should always represent the key (not the display value). -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egover

Re: struts 1 to struts2 migration.

2013-08-07 Thread Sreekanth S. Nair
Hi Arpan, We too did a struts1 to strust2 migration in recent past, its not so easy to migrate as it is. Since Struts2 gives more importance to security nowadays its always advisable to learn the correct implementation from struts2 doc and migrate your struts1 actions one by one. Str

Re: struts 1 to struts2 migration.

2013-08-08 Thread Sreekanth S. Nair
ested way of implementing it (with help of plugins like conventional, jquery, etc u can make life easier). -- Thanks & Regards Srikanth On Thu, Aug 8, 2013 at 2:32 PM, Arpan wrote: > Hi Sreekanth, > > We are also planning to do this similar way. In the meanwhile do you have &

Re: struts 1 to struts2 migration.

2013-08-08 Thread Sreekanth S. Nair
. As there are many references > of "x" already written, I don't want to change so much code for now. Hence > like to use scriplet only. > > > On Thu, Aug 8, 2013 at 3:04 PM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > Al

Struts Javascript error

2013-08-12 Thread Sreekanth S. Nair
Hi, Getting the following error in javascript console, happening with latest struts2 distribution 1. Uncaught ReferenceError: StrutsUtils is not defined validation.js:161

  1   2   >