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

2013-09-19 Thread Chris
Thanks for the informations De : Lukasz Lenart lukaszlen...@apache.org À : Struts Users Mailing List user@struts.apache.org Envoyé le : Jeudi 19 septembre 2013 7h59 Objet : Re: validator type=regex : param name is regex , not expression Sometime ago ...

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: 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

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 thechrispr...@gmail.comwrote: 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.

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: 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

Re: validation not happening

2013-09-19 Thread Yaragalla Muralidhar
My StudentRegistrationAction-validation.xml is as below:- !DOCTYPE validators PUBLIC -//Apache Struts//XWork Validator 1.0.2//EN http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd; validators field name=primDet.admissionNo field-validator type=regex param

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

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:- !DOCTYPE

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

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

RE: XWork injection intermittently skipped

2013-09-19 Thread Patrick Savage
2013/9/19 Lukasz Lenart [lukaszlen...@apache.org]: 2013/9/18 Patrick Savage patrick.sav...@3pillarglobal.com: 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

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

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