Re: XWork injection intermittently skipped

2013-09-19 Thread Lukasz Lenart
2013/9/19 Patrick Savage : > I don't think the setter overridding is the problem because I have also tried > injecting into a different method (setObjectTypeDeterminerOverride) which > didn't work either. Injecting the container doesn't work either because all > injections into CandylandCollecti

Re: how to use single jsp as template

2013-09-19 Thread Chris Pratt
Angular makes web service requests to rest services to get its data, so there are no struts tags or attach points to deal with, but you pretty much develop the whole app as a single page that makes rest calls for data. (*Chris*) On Thu, Sep 19, 2013 at 6:09 PM, Martin Gainty wrote: > Chris- >

RE: how to use single jsp as template

2013-09-19 Thread Martin Gainty
Chris- I remember with dojo.js you needed to identify DOM attach points for Struts Action to populate the DOM at the specified attach points within the dojo.js Does Angular.js have DOM Attach points? Are there additional considerations substituting Angular.js for JS Libraries (like Dojo or JQ

RE: XWork injection intermittently skipped

2013-09-19 Thread Patrick Savage
2013/9/19 Lukasz Lenart [lukaszlen...@apache.org]: >2013/9/18 Patrick Savage : >> We are using XWork's @Inject in Struts 2.3.1.2 to inject a >> DefaultObjectTypeDeterminer into a custom type converter. Since upgrading >> from Java 1.6.0_33 to 1.7.0_25, this injection does not occur about half the >

validators strange behavior

2013-09-19 Thread Yaragalla Muralidhar
I have written validators for 3 fields but only validation is happening for one field. Out of 3 fields the validation is happening only for "primDet.admissionDate" field. even though the the text fields are empty for the other 2, the validation is not happening. The following is the xx-validation.

getting configaration error on console. how to rectify?

2013-09-19 Thread Yaragalla Muralidhar
I am getting this error often on server console and the app gets stoped. how to rectify? 2013-09-20 00:18:29 ERROR Dispatcher:38 - Dispatcher initialization failed Unable to load configuration. - [unknown location] at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(Configurati

Re: validation not happening

2013-09-19 Thread Yaragalla Muralidhar
The validation is working fine. Thank u so much. I did a little mistake and i found it. *Thanks and Regards,* Muralidhar Yaragalla. * * On Thu, Sep 19, 2013 at 11:56 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > My StudentRegistrationAction-validation.xml is as below:- > > htt

Re: validation not happening

2013-09-19 Thread Dave Newton
Not enough information to help, obviously. Dave On Thu, Sep 19, 2013 at 2:06 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > I am not using struts tags. > > *Thanks and Regards,* > Muralidhar Yaragalla. > * > * > > > On Thu, Sep 19, 2013 at 11:32 PM, Yaragalla Muralidhar < > yar

Re: validation not happening

2013-09-19 Thread Yaragalla Muralidhar
My StudentRegistrationAction-validation.xml is as below:- http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";> Could not find error.admission.no ! Could not find error.admission.date My jsp code is as belo

Re: validation not happening

2013-09-19 Thread Yaragalla Muralidhar
I am not using struts tags. *Thanks and Regards,* Muralidhar Yaragalla. * * On Thu, Sep 19, 2013 at 11:32 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi I am using struts2. I have craeted xx-validation.xml in the same dir of > action class xx.java. I am not sure why this is h

validation not happening

2013-09-19 Thread Yaragalla Muralidhar
Hi I am using struts2. I have craeted xx-validation.xml in the same dir of action class xx.java. I am not sure why this is happening? kindly help? *Thanks and Regards,* Muralidhar Yaragalla. * *

Re: how to use single jsp as template

2013-09-19 Thread Yaragalla Muralidhar
ok will try. Thank you. *Thanks and Regards,* Muralidhar Yaragalla. * * On Thu, Sep 19, 2013 at 9:07 PM, Chris Pratt wrote: > Apache Tiles sounds like exactly what you're looking for, and works great > with Struts2. You could also consider a single page app (i.e. AngularJS) > approach. > (*C

Re: how to use single jsp as template

2013-09-19 Thread Chris Pratt
Apache Tiles sounds like exactly what you're looking for, and works great with Struts2. You could also consider a single page app (i.e. AngularJS) approach. (*Chris*) On Thu, Sep 19, 2013 at 8:23 AM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > hi I have a jsp with a layout. it

how to use single jsp as template

2013-09-19 Thread Yaragalla Muralidhar
hi I have a jsp with a layout. it means the jsp has menu on the left and header on the top. now for every action the center part of the jsp should change. Is this possible? I mean for every different action a different jsp should be included in the center of the layout jsp. If this is possible it

Re: validator type="regex" : param name is regex , not expression

2013-09-19 Thread Chris
Thanks for the informations De : Lukasz Lenart À : Struts Users Mailing List Envoyé le : Jeudi 19 septembre 2013 7h59 Objet : Re: validator type="regex" : param name is regex , not expression Sometime ago ... with 2.3.12. I have renamed expression to regex