Is Action class a singleton class

2011-01-08 Thread Yaragalla, Muralidhar
Hi I have a question on Action classes. Are action classes maintained as singleton classes? Or will they be maintained as one object per every thread? Thanks in advance. Thanks and Regards, Muralidhar Yaragalla, Senior Software Specialist, Patni Computer Systems Ltd, B-45/B-46, SIPCOT IT Park,

RE: Is Action class a singleton class

2011-01-08 Thread Yaragalla, Muralidhar
Message- From: Wes Wannemacher [mailto:w...@wantii.com] Sent: Sunday, January 09, 2011 10:32 AM To: Struts Users Mailing List Subject: Re: Is Action class a singleton class In struts one they are singleton. In struts two they are a new instance per request. -Wes On 1/8/11, Yaragalla, Muralidhar

need help on struts jasper reports

2011-01-25 Thread Yaragalla, Muralidhar
Hi we have done everything which is shown in the tutorial "http://struts.apache.org/2.0.14/docs/jasperreports-tutorial.html"; but when we call the action class we are getting 500 error. So what could be the reason? Thanks and Regards, Muralidhar Yaragalla, Senior Software Specialist, Patni Compu

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 Yaragalla Muralidhar
> 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 means the jsp has menu on the left and > > header on the top. now for every action the center p

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

Re: validation not happening

2013-09-19 Thread Yaragalla Muralidhar
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. > > * > > *

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

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

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.

Re: validators strange behavior

2013-09-20 Thread Yaragalla Muralidhar
This problem is also solved. Thanks. *Thanks and Regards,* Muralidhar Yaragalla. * * On Fri, Sep 20, 2013 at 1:45 AM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > I have written validators for 3 fields but only validation is happening > for one field. Out of

Re: getting configaration error on console. how to rectify?

2013-09-20 Thread Yaragalla Muralidhar
Is there any solution for this? this is happening every time tomcat tries to reload the web app. *Thanks and Regards,* Muralidhar Yaragalla. * * On Fri, Sep 20, 2013 at 12:21 AM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > I am getting this error often on server consol

Re: [ANN] Struts 2.3.15.2 GA release available - security fix

2013-09-21 Thread Yaragalla Muralidhar
when ever we do modifications in the code the webapp is trying to reload automatically. at that point of time there is error happening and the webapp gets undeployed. Is this solved or still the problem exist? *Thanks and Regards,* Muralidhar Yaragalla. * * On Sat, Sep 21, 2013 at 9:36 PM, Lukas

Re: report.conversion.errors

2013-09-21 Thread Yaragalla Muralidhar
Hi I have a similar kind of problem. The conversion of parameters to java data types are happening before the validation happens. So in this when it is not able to convert it displays an error messages saying that invalid input in the field. Is there a way to change the priority. I mean if conversi

Re: report.conversion.errors

2013-09-21 Thread Yaragalla Muralidhar
This forces me to get all the input data as strings rather than appropriate datatype. is there a a way to rectify this? *Thanks and Regards,* Muralidhar Yaragalla. * * On Sat, Sep 21, 2013 at 10:53 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi I have a simila

Re: report.conversion.errors

2013-09-21 Thread Yaragalla Muralidhar
ave an int field that should be > between 0 and 10. If instead of a number, you receive a String like 'one', > there needs to ba a conversion error, it does not make sense to validate > that it is between 0 and 10. > > JL > Sent via BlackBerry from T-Mobile > > -Ori

Re: report.conversion.errors

2013-09-21 Thread Yaragalla Muralidhar
> I believe you can customize the error messages. Check the documentation. > Sent via BlackBerry from T-Mobile > -- > *From: * Yaragalla Muralidhar > *Date: *Sat, 21 Sep 2013 23:20:56 +0530 > *To: *Struts Users Mailing List; > > *Subject: *Re: repo

Re: report.conversion.errors

2013-09-22 Thread Yaragalla Muralidhar
Thank you so much. *Thanks and Regards,* Muralidhar Yaragalla. * * On Sun, Sep 22, 2013 at 11:59 AM, Alireza Fattahi wrote: > I found it in java doc > > http://struts.apache.org/release/2.0.x/struts2-core/apidocs/com/opensymphony/xwork2/util/XWorkConverter.html > > ~Regards, > ~~Alireza Fattahi

Re: report.conversion.errors

2013-09-22 Thread Yaragalla Muralidhar
Is there a way to get conversion done after validation? *Thanks and Regards,* Muralidhar Yaragalla. * * On Sun, Sep 22, 2013 at 1:13 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Thank you so much. > > *Thanks and Regards,* > Muralidhar Yaragalla. > * >

Re: [ANN] Struts 2.3.15.2 GA release available - security fix

2013-09-22 Thread Yaragalla Muralidhar
nice joke. Thanks. *Thanks and Regards,* Muralidhar Yaragalla. * * On Sun, Sep 22, 2013 at 10:42 PM, Lukasz Lenart wrote: > 2013/9/21 Yaragalla Muralidhar : > > when ever we do modifications in the code the webapp is trying to reload > > automatically. at that point of time

Re: [ANN] Struts 2.3.15.2 GA release available - security fix

2013-09-22 Thread Yaragalla Muralidhar
606 323 122 http://www.lenart.org.pl/ > > 2013/9/22 Yaragalla Muralidhar : > > nice joke. Thanks. > > > > *Thanks and Regards,* > > Muralidhar Yaragalla. > > * > > * > > > > > > On Sun, Sep 22, 2013 at 10:42 PM, Lukasz Lenart >wrote: &

Re: Reload application in Tomcat, was: [ANN] Struts 2.3.15.2 GA release available - security fix

2013-09-22 Thread Yaragalla Muralidhar
o write unit tests / selenium tests and use some CI > server? > > You can try antiJARLocking or antiResourceLocking options in Tomcat > context configuration. > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2013/9/22 Yaragalla Mura

file upload problem

2013-09-25 Thread Yaragalla Muralidhar
Hi i am using struts2. i am trying to upload a file and it is giving error. File load interceptor is configured by default or do we have to configure it manually? *Thanks and Regards,* Muralidhar Yaragalla. * *

Re: file upload problem

2013-09-25 Thread Yaragalla Muralidhar
I am not using struts tags in jsp page. if i dont use them will i not be able to use struts upload interceptor. *Thanks and Regards,* Muralidhar Yaragalla. * * On Wed, Sep 25, 2013 at 12:43 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi i am using struts2. i am

Re: file upload problem

2013-09-25 Thread Yaragalla Muralidhar
My problem got solved. thanks. *Thanks and Regards,* Muralidhar Yaragalla. * * On Wed, Sep 25, 2013 at 12:48 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > I am not using struts tags in jsp page. if i dont use them will i not be > able to use struts upload

action class

2013-09-25 Thread Yaragalla Muralidhar
will action class gets created for every new request even when new request is also to the previous actionclass? *Thanks and Regards,* Muralidhar Yaragalla. * *

Re: action class

2013-09-25 Thread Yaragalla Muralidhar
I think Dave is right. in struts 1 action is a singleton but in 2 it gets created per request. Anyway thank. *Thanks and Regards,* Muralidhar Yaragalla. * * On Wed, Sep 25, 2013 at 4:58 PM, Dave Newton wrote: > Yes. Actions are created per-request. > On Sep 25, 2013 7:19 AM, &quo

how to enable client side validations?

2013-09-26 Thread Yaragalla Muralidhar
hi for client side validations to get enabled some document says that we have to add "validate=true" to tag of the jsp but we are not using struts tags in jsp so is there a way to enable client side validations even when not using struts tags in jsp? Thanks in advance. *Thanks and Regards,* Mur

Re: how to enable client side validations?

2013-09-26 Thread Yaragalla Muralidhar
please help me out? if not possible we will find alternatives. *Thanks and Regards,* Muralidhar Yaragalla. * * On Thu, Sep 26, 2013 at 3:43 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > hi for client side validations to get enabled some document says that we >

Re: how to enable client side validations?

2013-09-26 Thread Yaragalla Muralidhar
Any possibilities? *Thanks and Regards,* Muralidhar Yaragalla. * * On Thu, Sep 26, 2013 at 5:23 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > please help me out? if not possible we will find alternatives. > > *Thanks and Regards,* > Muralidhar Yaragalla. &g

Re: how to enable client side validations?

2013-09-26 Thread Yaragalla Muralidhar
re is a way to get the client > side validation code without the tags. > > Regards, Pascal > > On Thursday 26 September 2013 18:54:55 Yaragalla Muralidhar wrote: > > Any possibilities? > > > > *Thanks and Regards,* > > Muralidhar Yaragalla. > > * >

Re: how to enable client side validations?

2013-09-27 Thread Yaragalla Muralidhar
ppert.com > twitter: http://twitter.com/jogep > > > > 2013/9/26 Yaragalla Muralidhar > > > Thank you. it helps a lot. We will find alternatives. > > > > *Thanks and Regards,* > > Muralidhar Yaragalla. > > * > > * > > > > > &g

is there a way to get action name in the execute method?

2013-09-29 Thread Yaragalla Muralidhar
Hi for some reason i need to know the action name that is executed in action class execute method. Is it possible to get the action name to which the action class is mapped to in the action classes execute method? *Thanks and Regards,* Muralidhar Yaragalla. * *

Re: is there a way to get action name in the execute method?

2013-09-29 Thread Yaragalla Muralidhar
I got the answer. Thanks. *Thanks and Regards,* Muralidhar Yaragalla. * * On Sun, Sep 29, 2013 at 11:22 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi for some reason i need to know the action name that is executed in > action class execute method. Is it possibl

Re: is there a way to get action name in the execute method?

2013-09-29 Thread Yaragalla Muralidhar
would you please describe your > scenario and solution in another post? > > -Dale > > > On 9/29/13 2:03 PM, Yaragalla Muralidhar wrote: > >> I got the answer. Thanks. >> >> *Thanks and Regards,* >> >> Muralidhar Yaragalla. >> >> On Sun, Sep

Re: Parent package is not defined

2013-10-05 Thread Yaragalla Muralidhar
have you registered your "myPlugin" in struts,xml file. *Thanks and Regards,* Muralidhar Yaragalla. * * On Sat, Oct 5, 2013 at 8:11 PM, Umesh Awasthi wrote: > Hi All, > > Facing "Parent package is not defined" exception and not sure where things > are worng. > > I have created a new plugin and

Re: Parent package is not defined

2013-10-05 Thread Yaragalla Muralidhar
gt; > On Sat, Oct 5, 2013 at 8:31 PM, Yaragalla Muralidhar < > yaragallamur...@gmail.com> wrote: > > > have you registered your "myPlugin" in struts,xml file. > > > > *Thanks and Regards,* > > Muralidhar Yaragalla. > > * > > * >

Re: No Configuration Error Struts2

2013-10-16 Thread Yaragalla Muralidhar
try the following instead of You forgot to add namespace to your "package". Hope this solves ur problem. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Wed, Oct 16, 2013 at 12:30 PM, Srimuralidharan S < srimuralidhara...@dhyanit.com> wrote: > Hi to all, >

Re: Is this a createclassloader issue - HTTP Status 404 - result 'null' not found

2013-11-01 Thread Yaragalla Muralidhar
I don't think it has something to do with struts. The jira you specified also clearly says it is the problem with server security policy. And as far as i know for every web app that you deploy on the server, the server creates and maintains a separate classloader for it. So if the security policy

Re: Is this a createclassloader issue - HTTP Status 404 - result 'null' not found

2013-11-03 Thread Yaragalla Muralidhar
Hi i guess that your action class is running fine as per your description. So check the file "$CATALINA_BASE/conf/catalina.policy" for security permissions. "$CATALINA_BASE" is the root directory of the tomcat. Hope this helps. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogs

How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
Hi I have few form fields defined in my html but there is no corresponding property in action. I am purposefully not defining them. Why i am doing this is the same form can be submitted to two different actions based on the requirement. so one action needs few and the other action needs few form fi

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
Ok. Thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sun, Nov 10, 2013 at 9:52 PM, wrote: > Set dev mode false and this shd go > Sent from BlackBerry® on Airtel > > -Original Message-

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
eld wrote: > And/or add no-op setters in your actions. > -Dale > > > On Nov 10, 2013, at 11:22 AM, umeshawas...@gmail.com wrote: > > > > Set dev mode false and this shd go > > Sent from BlackBerry® on Airtel > > > > -Original Message- > >

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
Sun, Nov 10, 2013 at 10:38 PM, Dale Newfield wrote: > "No-op" means "no operation", or "do nothing". > -Dale > > > On Nov 10, 2013, at 11:28 AM, Yaragalla Muralidhar < > yaragallamur...@gmail.com> wrote: > > > > I am not sure wha

Re: How to avoid ognl exception.

2013-11-11 Thread Yaragalla Muralidhar
n, Nov 11, 2013 at 2:54 PM, Antonios Gkogkakis wrote: > why don't you refactor your form and extract common functionality, so you > don't have unused fields being submitted. You or whoever maintains your > code will thank you some day. > > > Antonios > > > On 11 Novem

can we avoid extension "action"?

2013-11-12 Thread Yaragalla Muralidhar
Hi when we submit the form we need to set the form action to struts action. Something like . So instead of "xxx.action" can i have a different extension like "xxx.fire"? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ *

Re: can we avoid extension "action"?

2013-11-12 Thread Yaragalla Muralidhar
ion=action,,` to be whatever you want. > > > Although if you use the form tags you don't need to specify it in the form. > > Dave > > > > On Tue, Nov 12, 2013 at 1:16 PM, Yaragalla Muralidhar < > yaragallamur...@gmail.com> wrote: > > > Hi when

Re: can we avoid extension "action"?

2013-11-12 Thread Yaragalla Muralidhar
Thank you so much Dave. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Wed, Nov 13, 2013 at 12:52 AM, Dave Newton wrote: > Yes. > > > On Tue, Nov 12, 2013 at 2:06 PM, Yaragalla Muralidhar < > yaragall

Re: can we avoid extension "action"?

2013-11-12 Thread Yaragalla Muralidhar
ct wrote: > In addition, make sure your web.xml is sending the new paths/extensions to > the Struts 2 filter. > > > On Tue, Nov 12, 2013 at 1:24 PM, Yaragalla Muralidhar < > yaragallamur...@gmail.com> wrote: > > > Thank you so much Dave. > > > >

Re: can we avoid extension "action"?

2013-11-12 Thread Yaragalla Muralidhar
Thank you for all of ur time. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Wed, Nov 13, 2013 at 1:26 AM, Paul Benedict wrote: > You are correct. > On Nov 12, 2013 1:42 PM, "Yaragalla Muralidhar" >

how this is working?

2013-11-24 Thread Yaragalla Muralidhar
Hi, I have the following property in my action class private BookDto book=new BookDto(); in my jsp when i use EL as follows i am able to get the value of the property but i am not able to understand how? ${book.property} The EL checks only in the scopes for attributes so is book kept as att

Re: how this is working?

2013-11-24 Thread Yaragalla Muralidhar
publicly exposed? > > It works because S2 has a custom response wrapper that exposes the value > stack to EL evaluation. > > Dave > On Nov 24, 2013 8:52 AM, "Yaragalla Muralidhar" < > yaragallamur...@gmail.com> > wrote: > > > Hi, > >I have t

Re: how this is working?

2013-11-24 Thread Yaragalla Muralidhar
I am not sure but if anybody could clarify please clarify whether it is a request wrapper or responce wrapper? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sun, Nov 24, 2013 at 8:32 PM, Yaragalla Muralidhar < yar

Re: how this is working?

2013-11-24 Thread Yaragalla Muralidhar
Thank you so much Dave. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Mon, Nov 25, 2013 at 4:16 AM, Dave Newton wrote: > Request wrapper. Easy enough to look up, no? > On Nov 24, 2013 11:43 AM, "Yar

Re: How to install Struts?

2013-12-01 Thread Yaragalla Muralidhar
You can start with struts blank war file that comes with Struts distribution. It will be really a good start for you. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sun, Dec 1, 2013 at 7:16 PM, Martin Gainty wrote: > From Tomcat

Re: Multiple parameter names

2014-05-30 Thread Yaragalla Muralidhar
I think that is not possible. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Fri, May 30, 2014 at 2:08 PM, Mael Le Guével wrote: > Hi, > Given the following action: > > public class MyAction extends ActionSupport { > private

Re: Struts 2 Access messages with JSTL instead of s:text

2014-05-30 Thread Yaragalla Muralidhar
you have to use fmt tags in jstl. Using jstl is a good idea. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Wed, May 28, 2014 at 10:04 AM, Alireza Fattahi wrote: > In struts 2 the > > > > (is equivalent to...) > > JSTL:

Re: need help on struts.xml configuration using Struts 2.3, Tomcat 7, Java JDK 1.6

2014-06-20 Thread Yaragalla Muralidhar
localhost:8080/IteratorKFC/menu.action . there is some problem in this. where is the webapp name? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Fri, Jun 20, 2014 at 5:03 PM, Tri Quan wrote: > All, > > I a

Problem with form tag

2014-12-19 Thread Yaragalla Muralidhar
I am using struts2.3.20. I have designed my page using divs. Everything is perfect. at the end i have added tag. all the alignment went wrong. The page looks awkward. what could be the problem? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: Problem with form tag

2014-12-19 Thread Yaragalla Muralidhar
Thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sat, Dec 20, 2014 at 3:26 AM, Dave Newton wrote: > The default XHTML theme? Hard to say without actionable details. > On Dec 19, 2014 4:52 PM, "Yar

problem with select tag

2014-12-19 Thread Yaragalla Muralidhar
Hi i am using the select tag as below by default it should show "select Branch" but it is showing one of the values as the default value. Am i missing something? I want "Select Branches" as the default option. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: problem with select tag

2014-12-19 Thread Yaragalla Muralidhar
property set in the Acton? > On Dec 19, 2014 9:54 PM, "Yaragalla Muralidhar" > > wrote: > > > Hi i am using the select tag as below > > > > > headerKey="-1" headerValue="Select Branch" > >list="branches"

Re: problem with select tag

2014-12-19 Thread Yaragalla Muralidhar
i mean 'list" attribute is set with the property in action class. The same code is working fine on the remaining page. Thanking you. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sat, Dec 20, 2014 at 8:32 AM, Yara

problem with i18n

2014-12-19 Thread Yaragalla Muralidhar
Hi I have created an action class and i have created an properties file with the same name as action class. Then i am using the following code Even though the resource bundle key is specified the label is anot appearing for the text field. is there something i am missing? is some where else also

Re: problem with select tag

2014-12-19 Thread Yaragalla Muralidhar
Problem solved. Thank you so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sat, Dec 20, 2014 at 8:37 AM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > i mean 'list" attribute is set wi

Re: problem with i18n

2014-12-19 Thread Yaragalla Muralidhar
Is there something i have to configure in struts.xml file? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sat, Dec 20, 2014 at 9:27 AM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi I have created

Re: problem with i18n

2014-12-19 Thread Yaragalla Muralidhar
I am using eclipse. yes it is copied into same package. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sat, Dec 20, 2014 at 12:46 PM, Lukasz Lenart wrote: > 2014-12-20 4:57 GMT+01:00 Yaragalla Muralidhar >: > >

label not working

2014-12-20 Thread Yaragalla Muralidhar
Hi I am using the following code I am not sure why label is not getting rendered? Am i missing something? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ *

Re: problem with i18n

2014-12-20 Thread Yaragalla Muralidhar
i use simple theme *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sat, Dec 20, 2014 at 3:16 PM, Lukasz Lenart wrote: > What theme do you use? > > (on mobile) > 20 gru 2014 08:35 "Yaragalla Muralidhar&quo

Re: label not working

2014-12-20 Thread Yaragalla Muralidhar
HTML look like? > (*Chris*) > On Sat Dec 20 2014 at 1:35:46 AM Yaragalla Muralidhar < > yaragallamur...@gmail.com> wrote: > > > Hi I am using the following code > > > > > cssStyle="width:270px;margin-left:20px;margin-top: 10px;"/> > >

Re: problem with i18n

2014-12-20 Thread Yaragalla Muralidhar
ok thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sat, Dec 20, 2014 at 3:21 PM, Lukasz Lenart wrote: > 2014-12-20 10:48 GMT+01:00 Yaragalla Muralidhar >: > > i use simple theme > > labels

problem with

2014-12-21 Thread Yaragalla Muralidhar
hi i have a employee dto with 10 fields. In how can i map empid as value and emp name as display string? I know how to do it with hashmap but without creating that additional hashmaps and lists can we directly map the List of employee dto's to tag? *Thanks and Regards,* Muralidhar Yaragalla.

Re: problem with

2014-12-21 Thread Yaragalla Muralidhar
t Regards > > Johannes > > # > web: http://www.jgeppert.com > twitter: http://twitter.com/jogep > > > 2014-12-21 14:16 GMT+01:00 Yaragalla Muralidhar >: > > > > hi i have a employee dto with 10 fields. In how can i map

problem with

2014-12-22 Thread Yaragalla Muralidhar
hi i have a drop down() in jsp. but what i need is, the user need to type in the drop down. When user types the first letter it has to display options which starts with that letter so selection will be easy. how can i achieve this? the drop down in html does not allow user to type in the letters

Re: problem with

2014-12-22 Thread Yaragalla Muralidhar
ok thank u *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Mon, Dec 22, 2014 at 7:00 PM, Lukasz Lenart wrote: > 2014-12-22 13:57 GMT+01:00 Yaragalla Muralidhar >: > > hi i have a drop down() in jsp. but what i

validation problem

2014-12-25 Thread Yaragalla Muralidhar
Hi i am having problem in turning on validations. I have written "actionClass-validation.xml" file in the same package as action class. but the validations are not working. the following is my validation xml file. http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd";> Could no

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
I am using struts2.3.20 and using simple theme. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Thu, Dec 25, 2014 at 4:08 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi i am having proble

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
ttp://yaragalla.blogspot.in/>* On Thu, Dec 25, 2014 at 5:05 PM, Dave Newton wrote: > Simple theme is simpler than you think. > On Dec 25, 2014 4:46 AM, "Yaragalla Muralidhar" > > wrote: > > > I am using struts2.3.20 and using simple theme. > > > > *Thanks and

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
t; Please read up on the themes. > > Nutshell: validation happens (this is trivially provable), validation > message display does not. > > On Thu, Dec 25, 2014 at 6:41 AM, Yaragalla Muralidhar > wrote: > > is it because of the simple theam? In simple theam validations dont

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
if the validation works then i can think about messages *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Thu, Dec 25, 2014 at 6:30 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > I have changed the the

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
mind. > > You still won't see the messages unless you display them manually. > > On Thu, Dec 25, 2014 at 6:56 AM, Yaragalla Muralidhar > wrote: > > in my case validations are not happenening . Even though validation fails > > it is moving to succeess rath

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
PDDto primaryDetails) { this.primaryDetails = primaryDetails; } } *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Thu, Dec 25, 2014 at 6:30 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > if the validation wo

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
n/ <http://yaragalla.blogspot.in/>* On Thu, Dec 25, 2014 at 7:47 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > The following is my action class > > package com.zedlabs.samplereg.action; > > import java.util.HashMap; > import java.util.Map; >

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
kindly help me solve this issue *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Thu, Dec 25, 2014 at 8:02 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > my struts config.xml is as below.kindly hel

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
t; > volunteer-"staffed" resource. Nobody is deliberately delaying a > > response. We already know you need help. In the US, at least, it's a > > fairly major holiday, and people are doing things besides trying to > > reproduce your environment and code to help ou

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
reekanth-s-nair/b/946/5a0/> > <https://github.com/sreekanthsnair> > > --- > > On Fri, Dec 26, 2014 at 9:10 AM, Yaragalla Muralidhar < > yaragallamur...@gmail.com> wrote: > > > Hi sreekanth, > >I have changed th

after changing validator stranze problem

2014-12-26 Thread Yaragalla Muralidhar
i have changed my validator from required to requiredstring and i am getting the following error. before changing everything is working fine. what could be the problem? Dec 26, 2014 2:22:05 PM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet jsp threw ex

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
ub.com/sreekanthsnair> > > --- > > On Fri, Dec 26, 2014 at 11:32 AM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > >> Ok let me try and will get back to you... >> >> >> On Fri, Dec 26, 20

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
gt; > > On Fri, Dec 26, 2014 at 3:07 PM, Yaragalla Muralidhar < > yaragallamur...@gmail.com> wrote: > > > Hi Sreekanth, > >sorry to say this. I tried everything stated in the example that u > gave. > > but it did not work for me. I am doing something wrong

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
/ <http://yaragalla.blogspot.in/>* On Fri, Dec 26, 2014 at 8:09 PM, Lukasz Lenart wrote: > 2014-12-26 15:19 GMT+01:00 Lukasz Lenart : > > 2014-12-26 6:56 GMT+01:00 Yaragalla Muralidhar < > yaragallamur...@gmail.com>: > >> Hi Sreekanth, > >> I think

problem with select boxes

2014-12-26 Thread Yaragalla Muralidhar
Hi If i have 5 select boxes on the first page which is mapped to lists. this lists should be populated in the action class that launches the page and also in the action class that we are submitting. So we have to write the same code in two places. Is there a way that we can avoid this? *Thank

Re: problem with select boxes

2014-12-26 Thread Yaragalla Muralidhar
ok. thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sat, Dec 27, 2014 at 12:52 AM, Lukasz Lenart wrote: > 2014-12-26 18:42 GMT+01:00 Yaragalla Muralidhar >: > > Hi > > If i have 5 s

css_xhtml theme issue

2014-12-26 Thread Yaragalla Muralidhar
Hi I am using css_xhtml theme. in this when there is validation error it is displaying on top of the field so the alignment of the html components are going bad. I dont want that to happen. i want to display all the eerrors on top of the page. Is it possible? *Thanks and Regards,* Muralidhar Yarag

Re: css_xhtml theme issue

2014-12-27 Thread Yaragalla Muralidhar
Thank you so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sat, Dec 27, 2014 at 3:39 PM, Lukasz Lenart wrote: > 2014-12-27 5:32 GMT+01:00 Yaragalla Muralidhar >: > > Hi I am using css_xhtml theme. in

regex validator problem

2014-12-27 Thread Yaragalla Muralidhar
i have a select box. by defualt it submits "-1". I want to write a validation using regex tosay the selection is mandatory. I have written the validator in the following way but it is not working. Please help. cannot find error.branch.required *Thanks and Regards,* M

Re: regex validator problem

2014-12-27 Thread Yaragalla Muralidhar
wrote: > Why use a regex for what appears to be a number? > On Dec 27, 2014 5:36 AM, "Yaragalla Muralidhar" > > wrote: > > > i have a select box. by defualt it submits "-1". I want to write a > > validation using regex tosay the selection is mandatory. I

Re: regex validator problem

2014-12-27 Thread Yaragalla Muralidhar
or to work even for further validations. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sat, Dec 27, 2014 at 7:33 PM, Dave Newton wrote: > On Sat, Dec 27, 2014 at 7:23 AM, Yaragalla Muralidhar > wrote: > >> >

Re: Header and Footer file include struts 2

2015-01-09 Thread Yaragalla Muralidhar
if you are using struts tags add this to your jsp <%@ taglib prefix="s" uri="/struts-tags" %> *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Jan 10, 2015 at 9:49 AM, Kiran Badi wrote: > Hi > > I need some help and I have t

Re: Header and Footer file include struts 2

2015-01-09 Thread Yaragalla Muralidhar
t in page but still getting error > > On Friday, January 9, 2015, Yaragalla Muralidhar < > yaragallamur...@gmail.com> > wrote: > > > if you are using struts tags add this to your jsp > > > > <%@ taglib prefix="s" uri="/struts-tags&

  1   2   >