Re: S2 how to determine if a session exists from an Interceptor

2014-02-06 Thread Maurizio Cucchiara
itter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 6 February 2014 14:14, Greg Lindholm

Re: Concealing primary key in web application with struts 2 from security perspective?

2013-12-01 Thread Maurizio Cucchiara
The easiest way is to store the user id on the current session. If you have no other alternatives and you have to pass the user id through the request, then make the id unpredictable: * use uuid * rely on and check against one other value at least (for instance id+email) * use cryptography (f.i. sh

Re: Possible client side validation bug in Struts 2.3.15

2013-07-03 Thread Maurizio Cucchiara
Hi Bruno, could you provide a code sample? Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio

Re: accessing an external file in the struts.xml

2013-07-02 Thread Maurizio Cucchiara
e.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 2 July 2013 18:05, Omar Ngarigari wrote: > Hello, > > Is it possible to access a file that is located in the local dri

Re: OGNL WARNING

2013-06-28 Thread Maurizio Cucchiara
/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 > > -- > Thanks & Regards > Srikanth > Software Developer > &

Re: Validator with annotations

2013-06-28 Thread Maurizio Cucchiara
ze.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 28 June 2013 07:08, Simone Camillo Buzzi wrote: > Hi, I have some doubt about how to use validation annotation. > I'm changing my code to make it more readable and maintainable. > > I started from an action where I had all sette

Re: OGNL WARNING

2013-06-28 Thread Maurizio Cucchiara
:https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara

Re: Secure data coming from a WYSIWYG editor

2013-06-26 Thread Maurizio Cucchiara
r.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara

Re: S2-015 actionCleanup too many warnings

2013-06-08 Thread Maurizio Cucchiara
rowse/WW-4098 Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 7 June 2013 19:22,

Re: How to submit a form with enter key

2013-06-05 Thread Maurizio Cucchiara
:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 5 June 2013 18:51, Omar Ngarigari wrote: > > Hello, > > I am not able to submit a form using "enter key" from the keyboard. Th

Re: maven artifacts

2013-06-04 Thread Maurizio Cucchiara
The volte for the version you mentioned is still open Il giorno 04/giu/2013 14:19, "Antonios Gkogkakis" ha scritto: > Hi all, > > version 2.3.14.3 is not available in maven repo and actually I can't find > at the release pages either > http://struts.apache.org/download.cgi#struts23143 > > Antonio

Re: About includeParams in S2-014

2013-06-04 Thread Maurizio Cucchiara
Even if probably it's not the best way to go, If you are not using includeParams all or get, you would not have to concern about S2-013 and S2-014. Please, check your app against S2-015 [1]. [1] https://cwiki.apache.org/confluence/display/WW/S2-015 Maurizio Cucchiara On 4 June 2013

Re: interceptor init twice

2013-04-24 Thread Maurizio Cucchiara
es with the same interceptor > configured in different ways, but I can't check at the moment. > > Dave > > > > On Wed, Apr 24, 2013 at 9:28 AM, Maurizio Cucchiara > wrote: > > > @Dave, I also could be wrong, but I remember that interceptors are > > singletone

Re: interceptor init twice

2013-04-24 Thread Maurizio Cucchiara
@Dave, I also could be wrong, but I remember that interceptors are singletone (maybe there is a single instance per package). @Steven looks like you're using Spring, if yes, could you check if you experience the same behavior w/o it? Il giorno 24/apr/2013 14:04, "Dave Newton" ha scritto: > I'm no

Re: Can't build 2.3.15-SNAPSHOT

2013-04-17 Thread Maurizio Cucchiara
Thank you, Gabriel! Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara

Re: Can't build 2.3.15-SNAPSHOT

2013-04-17 Thread Maurizio Cucchiara
G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 17 April 2013 03:52, Gabriel Belingueres wrote: > Hi: > > I checked out

Re: JSONValidationInterceptor and quotes

2013-04-09 Thread Maurizio Cucchiara
; Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara

Re: struts2 (2.2.1) adds field error and doesn't return input!!

2013-03-26 Thread Maurizio Cucchiara
ze.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 26 March 2013 18:44, Dave Newton wrote: > On Tue, Mar 26, 2013 at 1:42 PM, Alejandro wrote: > >> you don't put validate to true in the form >> > > That's on

Re: S2 annotations to limit HTTP methods?

2013-03-19 Thread Maurizio Cucchiara
/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 18 March 2013 21:38, Lukasz Lenart wrote: > 2013/3/18 Paul Benedict : >> I see that javax.ws.rs has @GET, @POST, etc. annotations that can @Target a >> method. Those seem like a good choice, but they are unfortunately par

Re: problem with regex validator

2013-03-19 Thread Maurizio Cucchiara
Did you already try to put regex inside a cdata section?

Re: S2 annotations to limit HTTP methods?

2013-03-18 Thread Maurizio Cucchiara
://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 18 March 2013 16:42, Paul Benedict wrote: > Does S2 have annotations, which can be applied to an action method, to > explicitly specify which HTTP methods are allowed

Re: valueStack [n].parameterName -- is it still there?

2013-02-18 Thread Maurizio Cucchiara
m/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 18 February 2013 18:36, Dave Newton wrote: > A brief look made me think [\d]

Re: valueStack [n].parameterName -- is it still there?

2013-02-18 Thread Maurizio Cucchiara
://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 18 February 2013 18:14, Dave Newton wrote: > The [0].foo notation should allow direct access to the nth item on the > stack. > > I'm not aware of it intentionally going away, but I also don't

Re: Best way to add to ValueStack in an Interceptor

2012-11-30 Thread Maurizio Cucchiara
nkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 30 November 2012 14:42, Eric Lentz wrote: > Inside of an interceptor, I'd like to add a value onto the the ValueStack. > What is the best way to do this? > > I tri

Re: What is the effect of Params Interceptor?

2012-11-26 Thread Maurizio Cucchiara
edin:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: quick WebApp start

2012-11-11 Thread Maurizio Cucchiara
://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 11 November 2012 11:22, Giovanni Azua wrote: >

Re: @SMD annotation

2012-09-24 Thread Maurizio Cucchiara
Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apach

Re: @SMD annotation

2012-09-20 Thread Maurizio Cucchiara
ara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 19 September 2012 21:18, Salvatore Lionetti wrote: > Hi, > > i'm using a beautiful Struts2 2.3.1.2 environment. > I'm having trouble with

Re: client sided applications

2012-07-31 Thread Maurizio Cucchiara
you. http://struts.apache.org/2.x/docs/json-plugin.html http://struts.apache.org/2.x/docs/rest-plugin.html Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On

Re: Clear field error on submit

2012-07-27 Thread Maurizio Cucchiara
55921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 27 July 2012 15:47, wrote: > Why?

Re: Open session in view (JPA, struts2, Spring 3, Hibernate4)

2012-07-26 Thread Maurizio Cucchiara
Did you try to extend the url mapping to the whole root? f.e.: /* Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 26 July 2012 15:36, Łukasz Lenart

Re: Tag s:textfield does not parse OGNL expressions for dynamic attributes

2012-07-24 Thread Maurizio Cucchiara
In addition to what Lukasz said, which plugins are you using (f.e. JavaTemplateEngine could behaviour differently)? Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 24/lug/2012 07.01, "JOSE L MARTINEZ-AVIAL" ha scritto: > Hi, > I ha

Re: Issue with Chinese Charctors - FIXED :)

2012-06-29 Thread Maurizio Cucchiara
:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 29 June 2012 14:59, Sathish Kumar wrote: > Sorry .. it was application issue this fix works . > > thanks all for your valuable suggesion ... > > Hi Maurizio ... > > just one optimization .. is it possible to se

Re: Issue with Chinese Charctors

2012-06-29 Thread Maurizio Cucchiara
This is the escape attribute (true by default), and what you see should be the html encoding for the corresponding encoded value. Try to set escape to false Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 29/giu/2012 12.56, "Sathish

Re: Issue with Chinese Charctors

2012-06-29 Thread Maurizio Cucchiara
ttp://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 29 June 2012 12:35, Sathish Kumar wrote: > Hi, > > In our struts 2 project, we support Chinese language. While we save Chinese > text in forms we see junk characters getting saved. > > While investigating, we fou

Re: problem with docs for convention plugin

2012-06-27 Thread Maurizio Cucchiara
We could also consider it solved IMHO, looking at the latest version (http://goo.gl/xuprK) Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 26 June 2012 23

Re: current GA release of S2

2012-06-22 Thread Maurizio Cucchiara
synced Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara - To unsubscribe, e-mail: user

Re: current GA release of S2

2012-06-22 Thread Maurizio Cucchiara
Done, let's wait for sync (it could take a couple of hours) Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucc

Re: current GA release of S2

2012-06-22 Thread Maurizio Cucchiara
It's clearly an error, I'm going to correct it now. Thank you for letting us know. Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 22 June

Re: ParamsInterceptor: is input "bean.getFoo('bar').name" supposed to work?

2012-06-19 Thread Maurizio Cucchiara
1 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 19 June 2012 16:46, anw wrote: > > Hi, > > I have the following form submitted to a Struts2 action: > > > Is this input name supposed to work with ParamsInterceptor? > > Actually Bar.s

Re: validation method is being executed twice in IE (jCaptcha img)

2012-06-19 Thread Maurizio Cucchiara
Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 19 June 2012 10:58, lucas owen wrote: > Hi Struts 2 Users! > > I have this little problem here, only in Internet Explorer (it works in > Firefox and Chrome): > > the action is being executed twi

Re: Struts 2 Spring 3 Spring Security 3.1 RedirectAction

2012-06-18 Thread Maurizio Cucchiara
https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 18 June 2012 15:03, Hernán wrote: > I have upgraded a webApp using struts 2 to use Spring 3 and Spring Security > 3.1, before that Spring 2.5 and Spring Security

Re: Struts2 (caching, valuestack, etc...) problem

2012-06-04 Thread Maurizio Cucchiara
are > singleton by default. I added @Scope("prototype") and everything works as > expected. Thanks Maurizio and Chris for your help. > > Thanks, > > > ____ > From: Maurizio Cucchiara > To: Struts Users Mailing List ; Omar Ngarigari <

Re: Struts2 (caching, valuestack, etc...) problem

2012-06-04 Thread Maurizio Cucchiara
Are you using spring plugin? Looks like you are using a previous initialized instance of your action class. If yes, ensure that the scope is prototype and not the default one (which is singletone) Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 04/giu

Re: How to get method name in interceptor

2012-05-17 Thread Maurizio Cucchiara
You're welcome.

Re: How to get method name in interceptor

2012-05-17 Thread Maurizio Cucchiara
You should be able to get it through: invocation.getProxy().getMethod(); Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 17 May 2012 19:02, SudhirSahoo

Re: gmail like file attachment

2012-05-14 Thread Maurizio Cucchiara
You need to combine Struts features with an ajax-oriented library (take a look at jquery file upload [1]) [1] http://blueimp.github.com/jQuery-File-Upload/ Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 14/mag/2012 23.46, "swarnim" ha scr

Re: using struts2 i want to upload image but nullpointerexception occur

2012-04-23 Thread Maurizio Cucchiara
:http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 23 April 2012 18:28, rahul bhalla wrote: > > my server show like below > > Server path:/webportalextn    

Re: Struts 2 Plugin for Netbeans

2012-04-20 Thread Maurizio Cucchiara
google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 20 April 2012 10:45, Christian Grobmeier wrote: > I have tried Eclipse and Netbeans and finally found out that life is > so freaking easy with IntelliJ and the Struts 2 plugi

Re: Request is not coming into my action method from the Extjs

2012-04-17 Thread Maurizio Cucchiara
Also be aware that there is already a json plugin to produce/consume json data. Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 18/apr/2012 08.00, "Rout, Biswajit" ha scritto: > Hello All, > We are doing one development activity b

Re: Request is not coming into my action method from the Extjs

2012-04-17 Thread Maurizio Cucchiara
What happen if you call directly to http://localhost:7001/3pd/adminProcess.action? also, ensure that you are not violate the same origin police Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 18/apr/2012 08.00, "Rout, Biswajit" ha scritto:

Re: Need Help On Writing JUnit / Http Unit test case for Struts 2 Application

2012-04-11 Thread Maurizio Cucchiara
://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 11 April 2012 09:19, wrote: > > Hi All - > > My Team is using Struts 2 to build a web application. As a part of writing > unit test case for web application ,

Re: Does the orrder of wildcard-annotated methods effects greediness?

2012-03-19 Thread Maurizio Cucchiara
://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 19 March 2012 12:21, Mounir Benzid wrote: > matchPriority

Re: Does the orrder of wildcard-annotated methods effects greediness?

2012-03-19 Thread Maurizio Cucchiara
Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara We could implement a "most specific take a precedence along the path" policy (though I don'

Re: Does the orrder of wildcard-annotated methods effects greediness?

2012-03-18 Thread Maurizio Cucchiara
:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 8 March 2012 14:53, Mounir Benzid wrote: > Am 08.03.2012 14:39, schrieb Mounir Benzid: > > Ok after finally getting my repositories straight I started my struts >> junit testcase against the nighty build that is 2.3.2 SNAPSH

Re: JSon, includeProperties and modelDriven

2012-03-08 Thread Maurizio Cucchiara
/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 5 March 2012 16:29, wrote: > TimetableManager

Re: Does the orrder of wildcard-annotated methods effects greediness?

2012-03-07 Thread Maurizio Cucchiara
/mauriziocucchiara Maurizio Cucchiara On 7 March 2012 18:39, Mounir Benzid wrote: > Here is a simple example showing two methods in the given order > >/*** > **/ >@Override >@Acti

Re: Struts is not recommended by Craig..

2012-02-12 Thread Maurizio Cucchiara
Probably he was talking about struts 1? Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 12/feb/2012 18.14, "Frans Thamura" ha scritto: > anyone may be know Craig McClannahan > > he spoke in JUG , one of the leader said to use

Re: Validation FieldErrors missing after Struts2 Update (2.1.8 to 2.3.1.2)

2012-02-10 Thread Maurizio Cucchiara
I am glad it worked out. Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 10 February 2012 18:03, Jörg Bostelmann wrote: > > Hi Maurizio, > >

Re: Validation FieldErrors missing after Struts2 Update (2.1.8 to 2.3.1.2)

2012-02-10 Thread Maurizio Cucchiara
+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 10 February 2012 17:33, Jörg Bostelmann wrote: > ShowProduct

Re: how to use Advanced wildcards

2012-02-03 Thread Maurizio Cucchiara
://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 3 February 2012 09:43, Mounir Benzid wrote: > Am 30.01.2012 17:17, schrieb Maurizio Cucchiara: > > Hi Mounir, >> >> It works like a charm now. Wondering why nobody else had a similar >>> problem maybe the m

Re: how to use Advanced wildcards

2012-01-30 Thread Maurizio Cucchiara
chiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara

Re: how to use Advanced wildcards

2012-01-25 Thread Maurizio Cucchiara
I played with regex pattern and I realized that the example provided in docs doesn't work [1]. Could you file an issue on jira [2]? [1] http://struts.apache.org/2.3.1.2/docs/wildcard-mappings.html [2] https://issues.apache.org/jira/browse/WW Maurizio Cucchiara On 24 January 2012 10:34, M

[ANN] Struts 2.3.1.2 GA release available

2012-01-22 Thread Maurizio Cucchiara
ate, file a tracking ticket.appropriate, file a tracking ticket: * https://issues.apache.org/jira/browse/WW - The Apache Struts group. Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara

Re: Maven archetypes not working?

2012-01-21 Thread Maurizio Cucchiara
https://issues.apache.org/jira/browse/WW-3738 Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 20 January 2012 18:20, Miguel Almeida wrote: > Hi, > > I

Re: RE : Mobile Device Support

2012-01-15 Thread Maurizio Cucchiara
https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 15 January 2012 20:49, wrote: > Are you agree to post the code of your interceptor ? >

Re: Mobile Device Support

2012-01-14 Thread Maurizio Cucchiara
nkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 13 January 2012 18:00, CRANFORD, CHRIS wrote: > I have been asked to investigate adding mobile device support to an > existing Struts2 application. I was wondering if others could explain > how you added m

Re: label text align

2012-01-13 Thread Maurizio Cucchiara
://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 13 January 2012 17:30, fea jabi wrote: > > I want to align the label to 'right'. > > > > How can I do this? > > > > Thanks. >

Re: admins, can you add something like [struts] before every subject

2012-01-13 Thread Maurizio Cucchiara
Can you explain why? Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara

Re: Struts 2.2.3 annotations based validation

2012-01-11 Thread Maurizio Cucchiara
:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 11 January 2012 12:07, Arun Sharma wrote: > Hi, > > I am using *struts 2.2.3* in web application. I want to use struts2 > annotations based validations for the form data submitted from UI. > > The sce

Re: Struts 2 Webinar in Wednesday

2011-12-22 Thread Maurizio Cucchiara
Please, ignore my last email, I have just received the notification. Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 22 December 2011 19:18, Maurizio

Re: Struts 2 Webinar in Wednesday

2011-12-22 Thread Maurizio Cucchiara
Unfortunately I missed the webinar, is there an offline version? Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 22 December 2011 14:53, Bogomil Shopov

Re: Json Plugin & Enum type

2011-12-20 Thread Maurizio Cucchiara
http://struts.apache.org/2.3.1/struts2-plugins/struts2-json-plugin/apidocs/org/apache/struts2/json/annotations/JSONFieldBridge.html

Re: Json Plugin & Enum type

2011-12-20 Thread Maurizio Cucchiara
://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 20 December 2011 17:37, Dave Newton wrote: > But some people use `toString()` as a generic "let's make this > human-readable" method, so it could return essentially anything. I mean, > it'd be escaped, so

Json Plugin & Enum type

2011-12-20 Thread Maurizio Cucchiara
:https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara

Re: Doest struts 2 accept “POST” method to send data from javascript to an Action server?

2011-12-16 Thread Maurizio Cucchiara
I'm not sure, but if I recall correctly that could be an encoding issue. In such case firebug plugin or chrome console might be very usefull. Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 16/dic/2011 12.23, "José Manuel S

Re: Alternate for actionRedirect

2011-12-04 Thread Maurizio Cucchiara
Why is long request URI an issue for you? You could do a simple redirect passing every parameters you want preserve. Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio

Re: Please explain

2011-11-28 Thread Maurizio Cucchiara
Tipically these are the method names ignored by an interceptor. Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 28/nov/2011 19.34, "Srineel Mazumdar" ha scritto: > Hi, > > Please explain the meaning of the following : > > input,back,cancel,browse >

Re: exception while setting cookie

2011-11-28 Thread Maurizio Cucchiara
You should consider to use the session scope for this kind of use case (though it could cause memory leak exception). Aside from this is not a Struts issue Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 28/nov/2011 14.25, "JOSE L MARTINEZ-AVIAL

Re: Will xwork-core-2.2.3.1.jar works for commons-lang3-3.1.jar

2011-11-17 Thread Maurizio Cucchiara
And right for that reason they can coexists, so if you want use lang3, just add it to your classpath Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 17/nov/2011 21.21, "Emi Lu" ha scritto: On 11/17/2011 03:04 PM, Emi Lu wrote: > &

Re: utf8 problems...

2011-11-14 Thread Maurizio Cucchiara
quot; %> OTH Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 13 November 2011 18:31, Maurizio Cucchiara wrote: > Hi Christian, > I have been usi

Re: utf8 problems...

2011-11-13 Thread Maurizio Cucchiara
ition; As last option you can even consider a Character Encoding Servlet Filter, but to be frank I never felt the need to use it. Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Mau

Re: Struts 2 Initialization Plugin

2011-11-10 Thread Maurizio Cucchiara
You could take advantage of struts dependency injection [1]. You can use servlet filter or something else. Generally this kind of things are easy to realize thank to the interceptors facility. [1] http://struts.apache.org/2.x/docs/bean-configuration.html Maurizio Cucchiara On 10 November

Re: multiple header in struts2 select tag

2011-11-07 Thread Maurizio Cucchiara
Latest version of S2 is 2.2.3.1 (and so is xwork). http://struts.apache.org/2.2.3.1/index.html Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 7 November

Re: JSON Plugin to Include Parent Action's Properties

2011-11-03 Thread Maurizio Cucchiara
Take a look at http://struts.apache.org/2.2.3/docs/json-plugin.html#JSONPlugin-BaseClasses Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 3 November

Re: adding style for the message in properties file.

2011-10-20 Thread Maurizio Cucchiara
kedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 20 October 2011 16:21, Arpan wrote: > The actionmessage code written in a common jsp being used for other pages > also.So I would prefer not to touch that. > Is there any other alternative way for this. > > On

Re: adding style for the message in properties file.

2011-10-20 Thread Maurizio Cucchiara
There are no many options,  What happen if you include your marker tag inside your resource properties file? Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara

Re: Struts2 extending theme

2011-10-14 Thread Maurizio Cucchiara
Where have you put your theme folder? Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 14 October 2011 10:05, Amit Khanna wrote: > template/bet

Re: slow request/response may be because of validation/conversion

2011-10-10 Thread Maurizio Cucchiara
You could try to configure your custom interceptor stack starting from basic stack [1] [1] http://struts.apache.org/2.x/docs/interceptors.html#Interceptors-TheDefaultConfiguration Maurizio Cucchiara On 10 October 2011 16:09, Amir Wasim wrote: > Hi, > > > > > > I am using

Re: [ANN] Struts 2 Plugin for IntelliJ IDEA 11 - Early Access

2011-09-29 Thread Maurizio Cucchiara
Ok, as I suspected: idea is free for apache (and generally for OS developer) committers. Maurizio Cucchiara Il giorno 29/set/2011 11.12, "Christian Grobmeier" ha scritto: Hi, > In the meanwhile that Yann answers your question, may I ask you why are you > so interested on CE

Re: [ANN] Struts 2 Plugin for IntelliJ IDEA 11 - Early Access

2011-09-29 Thread Maurizio Cucchiara
Q.E.D. >Struts 2 plugin is only available in Ultimate Edition as it requires >Java EE/Web functionality. Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail:

Re: [ANN] Struts 2 Plugin for IntelliJ IDEA 11 - Early Access

2011-09-29 Thread Maurizio Cucchiara
Hi Christian, my guess is that this plugin works only on ultimate edition (j2ee tools are usually included on that). In the meanwhile that Yann answers your question, may I ask you why are you so interested on CE version? Maurizio Cucchiara On 29 September 2011 10:50, Christian Grobmeier wrote

Re: Can Struts Junit plugin be used to test the redirect result of an action

2011-09-22 Thread Maurizio Cucchiara
The reason behind is simple: no browser no redirect. The redirect is sent as http header, so as long as there is no browser to interpret the header there is no way to redirect. You might call by yourself the second action, WDYT? PS: FWIW I have not read the optional reading :) Maurizio

Re: Unit Test Struts2 Action - Custom type converters not being run?

2011-09-21 Thread Maurizio Cucchiara
Does Maven Snapshot section [1] answer your question? [1] http://struts.apache.org/dev/builds.html#MavenSnapshots Maurizio Cucchiara On 21 September 2011 17:55, Carl Ballantyne wrote: > I am using 2.2.3. > > How can I try the nightly build if using Maven? I do not see it listed as an

Re: Unit Test Struts2 Action - Custom type converters not being run?

2011-09-21 Thread Maurizio Cucchiara
roles", ""); executeAction("/your_package/your_action.action"); // asserts to check errors etc.. } } [1] https://builds.apache.org/job/Struts2/lastStableBuild/org.apache.struts$struts2-assembly/ Maurizio Cucchiara On 21 September 2011 17:31, Carl Ballantyne

Re: Error "Function 'json:serialize' specifies 5 params, but 1 were declared" on WebLogic

2011-09-17 Thread Maurizio Cucchiara
Well done! Maurizio Cucchiara Il giorno 17/set/2011 00.36, "JOSE L MARTINEZ-AVIAL" ha scritto: > Well, I opened a ticket with Oracle, and send them a testcase. They > determined that it is a bug with the parsing of EL expression on WebLogic > 10.3.0 for Windows. Later versio

Re: How do i test Struts 2 jsp page rendering time.

2011-09-13 Thread Maurizio Cucchiara
I don't know if timer interceptor [1] is what your are looking for. Be aware that TI computes the execution time of every action and not the one of the jsp rendering. [1] http://struts.apache.org/2.2.3.1/docs/timer-interceptor.html Maurizio Cucchiara On 13 September 2011 10:18, moha

Re: Struts 2 WW-1714: "Using the Redirect Action Result withparameters to the target action causes an OGNL warning" still fails

2011-09-09 Thread Maurizio Cucchiara
I got your point: what is explained on JIRA would not seem related to what really happen. On the other hand, it's just a debug message, I think is nothing to take care. Don't you think so? Maurizio Cucchiara

Re: Java templates tag and the significance of parameters.nameValue

2011-09-09 Thread Maurizio Cucchiara
JT and FMT should behave at the same way. So my first guess is that it's a JT bug Unfortunately I cannot say more from my tablet, I will take a deeper look ASAP. Maurizio Cucchiara Il giorno 10/set/2011 00.59, "vatermann_shoevarek" ha scritto: I am considering switching my appli

Re: Struts 2 WW-1714: "Using the Redirect Action Result withparameters to the target action causes an OGNL warning" still fails

2011-09-08 Thread Maurizio Cucchiara
configuration (application server, environment, etc.) PS: FYI the latest release of Struts 2 is 2.2.3.1 (see http://struts.apache.org/2.2.3.1/index.html) [1] http://struts.apache.org/2.2.3/docs/struts-2-maven-archetypes.html Maurizio Cucchiara On 8 September 2011 14:19, JOSE L MARTINEZ-AVIAL

  1   2   3   4   >