Re: AJAX Jsp tags

2013-08-12 Thread Chris Pratt
You are right, if Struts only ever delivers one HTML page, there's no need for Tiles. But as soon as you add a second page with shared layout components, it will definitely be a benefit. (*Chris*) On Aug 12, 2013 4:21 AM, "Alireza Fattahi" wrote: > Thanks for you comments !! > > I have a quest

RE: AJAX Jsp tags

2013-08-12 Thread Martin Gainty
in struts-config.xml you will need configure in struts-tiles-plugin and you will need tiles-defs.xml to reflect each individual tile section jsps e.g. http://www.mkyong.com/struts/struts-tiles-framework-example/ Martin ___

JSON + REST

2013-08-12 Thread Felipe Lorenz
Hi, I'm working on a project using conventions with rest plugin and I am looking for a way to restrict the output of the json results. Since the Actions class has many attributes, like lists, and so on, would be good if I could restrict the output. I know that json plugin can do it for me usin

Re: AJAX Jsp tags

2013-08-12 Thread Alireza Fattahi
Thanks for you comments !! I have a question about tiles. I used tiles a lot in normal NON-AJAX base sites. Now I am designing a new fully ajax base site. My question is why should I use tiles! The code which contains the base layout is written once. Consider below layout --

Re: HTML code not displaying in site documentation

2013-08-12 Thread Antonio Sánchez
http://struts.apache.org/development/2.x/docs/struts-2-spring-2-jpa-ajax.html El Martes, 30 de julio de 2013 20:55:20 Lukasz Lenart escribió: > 2013/7/30 Antonio Sánchez : > > http://struts.apache.org/development/2.x/docs/processing-forms.html > > > > I believe all or almost all of getting started

Re: Struts2 Invalid Request Page is not showing up

2013-08-12 Thread Sreekanth S. Nair
The following i found in documentation of TokenSessionStoreInterceptor. Hope the changes with respect to this is creating the problem. *That is, it will block subsequent requests until the first request is* * * complete, and then instead of returning the invalid.token code, it will attempt to displ

Struts2 Invalid Request Page is not showing up

2013-08-12 Thread Sreekanth S. Nair
Hi, We are using struts2 latest distribution, where we are using tokenSession interceptor for duplicate submission. Duplicate request processing is working fine but its not showing result page for duplicate form submission which we have defined in strust.xml as below. /error/accessDenied.jsp

Re: Struts Javascript error

2013-08-12 Thread Sreekanth S. Nair
Javscript error got resolved by adding between html tag. but still i'm unable to see the field error message which i have added using addFieldError() method. Sreekanth S. Nair wrote: > Hi, > Getting the following error in javascript console, happening with latest > struts2 distribution > > >

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