RE: Struts2 Validations

2008-12-02 Thread esemba
Hi, just add all jar files bundled with the distribution (as you can see in showcase application). Required minimum is commons-logging, ognl, freemarker, struts2-core and xwork. Anshuman Nanda wrote: > > Hi esemba, > > From other dependancies I mean any new jar file whi

RE: Struts2 Validations

2008-12-01 Thread esemba
;. Just add all required jar files. Bye. Anshuman Nanda wrote: > > Thanks Esemba for the update. > > Can u please let me know what are the other dependencies (in terms of jar > files) which i need to take care of when migrating from 2.0.8 to 2.0.14. > > Regards > Anshu

RE: Struts2 Validations

2008-12-01 Thread esemba
Hi, I've faced this issue too. Try to migrate to latest Struts 2.0.14. Anshuman Nanda wrote: > > Hi Lukasz > > I am using the Validation Files and not annotations. > > > Regards > Anshuman Nanda > > > > -Original Message- > From: Lukasz Lenart [mailto:[EMAIL PROTECTED] > Sent: Mon

[S2] dynamic method invocation issue

2008-11-19 Thread esemba
Let's suppose I've this simple action defined in struts.xml: /WEB-INF/pages/initializeSuperuserSuccess.jsp /WEB-INF/pages/initializeSuperuser.jsp InitializeSuperuserAction class extends ActionSupport (with defined methods like execute(), doDefault(), etc). I want to ask you, what to do,

Re: Migrating to 2.0.12 General Availability Release

2008-11-13 Thread esemba
seems like bug: http://www.nabble.com/-s2.0.12-Client-validation-not-working-to20372886.html https://issues.apache.org/struts/browse/WW-2849 http://www.nabble.com/s%3Adatetimepicker-doesn%27-t-work-after-upgraded-to-struts2.0.12-td20245780.html Tomi21 wrote: > > Hi everyone, > > I've migrated

Re: [s2.0.12]Client validation not working

2008-11-07 Thread esemba
-upgraded-to-struts2.0.12-td20245780.html > > Nils-H > > On Fri, Nov 7, 2008 at 2:01 AM, esemba <[EMAIL PROTECTED]> wrote: >> >> I've a problem with struts client validation. When i try to attach >> javascript >> validation to my simple form, it seems, that str

[s2.0.12]Client validation not working

2008-11-06 Thread esemba
I've a problem with struts client validation. When i try to attach javascript validation to my simple form, it seems, that struts doesn't include necessary files js files. validate=true attribute generates this line of html code: Problem is, that the link to the javascript file does not seem val

Re: [S2] actions responding only to POST/GET methods

2008-10-28 Thread esemba
Thank you both for replying. It's much clearer now. I just wanted to forbid GET access to actions. I think it's completely legal request to be able explicitly deny access to actions like AuthenticateUser (no matter security, parameters, etc. now). I just don't want anyone to call such the actions

Re: [S2] actions responding only to POST/GET methods

2008-10-28 Thread esemba
gt; But is awkward way. > > Although servlets has doPost and doGet method, it can't stop the > GET-Method > connection at all, so do struts2. > Any way, "Http" is not safe, 'post' is a little better than 'get'. > > > On Tue, Oct 28, 2008

Re: Struts Factory

2008-10-28 Thread esemba
ejb/MyEJB"); I have no experience with googlecode ejb plugin. Ronaldo Rigoni ... wrote: > > Yes, I need that the container injected the instance of EJB in > Action automatically. Sorry for my english. > Tanks. > Ronaldo > > > 2008/10/28 esemba <[EMAIL PROTECTED

Re: [S2] actions responding only to POST/GET methods

2008-10-27 Thread esemba
uggestions. Mead Lai wrote: > > . How can i write an action, that only serves GET / > POST requests. > > > or > > > > On Tue, Oct 28, 2008 at 11:09 AM, esemba <[EMAIL PROTECTED]> wrote: > >> >> I've a simple question. How can i write an act

Re: Struts Factory

2008-10-27 Thread esemba
hi, could u be more specific, what is your issue? what do you mean by struts factory? you want to inject EJB into struts 2 action? Ronaldo Rigoni ... wrote: > > Hi all, > Can I create a Struts Factory managed in GlassFish? > Because I have a EJB in my action, and if the bean has created by > c

[S2] actions responding only to POST/GET methods

2008-10-27 Thread esemba
I've a simple question. How can i write an action, that only serves GET / POST requests. Lets suppose I've an actions that authenticates users. In action there are fields username and password, which i set from a form via post http method. The action works the same as I request URL like myAction.a

Re: [S2] URL management

2008-09-16 Thread esemba
Thank you for your reply. Well, yes, but I just thought, that checking for disabled cookies and appending jsessionid, is container's job, not mine, so i tried to figure out, how to accomplish it. But i'm afraid, i'll end up doing it manually. esemba wrote: > > Hi, >

Re: [S2] URL management

2008-09-16 Thread esemba
n't build something that generates the s:url > tags themselves, you you can build something that generates the input > data you need to feed to the s:url tags. > > L. > > esemba wrote: >> Thank you for your reply. >> So you think there is now way, how to parse