Error Messges(Field Validator Type = regex)

2009-11-25 Thread taj uddin
Hi Friends,     I am using struts 2.1.6. Facing problem with error messages.  When i use 'regex' validator in validation.xml file than  1. when i clicked on submit button for the first time.    It is showing error messages like Customer name is required.  

Re: Re: Struts2 + EJB 3.0 + Hibernate

2009-11-25 Thread emil thushanga
Ya thats true, but its not clean such as the way used in spring, or JSF managed beans. lookup service is a another dependency for your project. Emil On Thu, Nov 26, 2009 at 1:24 PM, wrote: > Why is it a challenge accessing EJB in Struts2? All you need to do is to > lookup your local or remote

Antwort: Re: Struts2 + EJB 3.0 + Hibernate

2009-11-25 Thread jheidenreich
Why is it a challenge accessing EJB in Struts2? All you need to do is to lookup your local or remote EJB interface, which is in fact 1 line of code. Joachim Struts2 is good for your presentation layer. It is the MVC front controller. Accessing EJB is a kind of a challenge inside Struts2 rathe

Re: Struts2 + EJB 3.0 + Hibernate

2009-11-25 Thread emil thushanga
Struts2 is good for your presentation layer. It is the MVC front controller. Accessing EJB is a kind of a challenge inside Struts2 rather than spring. Struts2 + spring + hibernate will be a good combination if it is suitable for your problem domain. Emil On Thu, Nov 26, 2009 at 12:08 PM, vikrant

Struts2 + EJB 3.0 + Hibernate

2009-11-25 Thread vikrant S
Is It a good idea to build a project using the combination Struts2 + EJB 3.0 + Hibernate using MVC architecture. Guys please share ur opinion -- View this message in context: http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26524749.html Sent from the Struts - User mailing list

RE: Is Using Spring With Struts 2 A Good Idea?

2009-11-25 Thread Martin Gainty
//a good idea as long as the 2 libraries implement different activation mechanisms... here is a typical Struts Action filter struts-prepare org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter actionPackages org.apache.struts2.showcase

"Struts2 + Spring + ibatis" vs. "Struts2 + Spring + Hibernate"

2009-11-25 Thread Emi Lu
Good morning, Could someone has production comparison between (1) vs. (2)? (1) Struts2 + Spring + ibatis (2) Struts2 + Spring + Hibernate Thanks a lot! -- Lu Ying - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org F

Re: Is Using Spring With Struts 2 A Good Idea?

2009-11-25 Thread phillips1021
Thanks to everyone who has replied so far. Your input is very valuable as we evaluate using Struts 2 and Spring together. Wes - thank you for the feedback on some areas of concern when using Spring. Teaching our other Java developers how to use Spring is an issue. I do think there are now seve

Re: Is Using Spring With Struts 2 A Good Idea?

2009-11-25 Thread Musachy Barroso
It is all said, but I will just add my two pesos, yeah, it is worth it, go for it, they play very nicely together. musachy On Wed, Nov 25, 2009 at 9:00 AM, Saeed Iqbal wrote: > Oh yes i forgot Spring Security too. Its awesome. > > On Wed, Nov 25, 2009 at 9:56 PM, Wes Wannemacher wrote: > >> > -

Re: Is Using Spring With Struts 2 A Good Idea?

2009-11-25 Thread Saeed Iqbal
Oh yes i forgot Spring Security too. Its awesome. On Wed, Nov 25, 2009 at 9:56 PM, Wes Wannemacher wrote: > > -Original Message- > > From: phillips1021 [mailto:bphill...@ku.edu] > > Sent: Wednesday, November 25, 2009 11:29 AM > > To: user@struts.apache.org > > Subject: Is Using Spring Wi

Re: Is Using Spring With Struts 2 A Good Idea?

2009-11-25 Thread Wes Wannemacher
> -Original Message- > From: phillips1021 [mailto:bphill...@ku.edu] > Sent: Wednesday, November 25, 2009 11:29 AM > To: user@struts.apache.org > Subject: Is Using Spring With Struts 2 A Good Idea? > > > At the University of Kansas (#1 college basketball team :) we use Struts 2 > for our web

Re: Is Using Spring With Struts 2 A Good Idea?

2009-11-25 Thread Néstor Boscán
I've been using it for over 50 projects with excellent results. Once you start using spring in big projects you really can't go back. On Wed, Nov 25, 2009 at 11:59 AM, phillips1021 wrote: > > At the University of Kansas (#1 college basketball team :) we use Struts 2 > for our web application fra

RE: Is Using Spring With Struts 2 A Good Idea?

2009-11-25 Thread James Cook
Hi Bruce, First off I think I have definitely used your blog in the past, I just want to is has been very useful. Now I would imagine the question you asked will lead to some very interesting answers that I look forward to reading. However on the whole, I don't think it could be class as bad prac

RE: Is Using Spring With Struts 2 A Good Idea?

2009-11-25 Thread Sarr, Nathan
Hi Bruce, We have been working with Struts 2 and Spring here for a couple of years (we went production a few months ago) and I have found it to work together quite well for us - we use it for Dependency injection as well as to tie in with Hibernate, Quartz. We use some sub projects includin

Re: Is Using Spring With Struts 2 A Good Idea?

2009-11-25 Thread Saeed Iqbal
I think Spring offers much more for example Scheduling jobs, Transactions etc and I think its a nice complement to Struts. On Wed, Nov 25, 2009 at 9:29 PM, phillips1021 wrote: > > At the University of Kansas (#1 college basketball team :) we use Struts 2 > for our web application framework. Its

Is Using Spring With Struts 2 A Good Idea?

2009-11-25 Thread phillips1021
At the University of Kansas (#1 college basketball team :) we use Struts 2 for our web application framework. Its worked very well for us. I've been learning the Spring framework and how to use it with Struts 2. I think the two frameworks work very well together. I'm preparing a class for the

Re: no Action mapped for namespace / and action name doLogin.

2009-11-25 Thread vikrant S
Guyz Any suggestions Please -- View this message in context: http://old.nabble.com/RE%3A-no-Action-mapped-for-namespace---and-action-name-doLogin.-tp26510748p26512263.html Sent from the Struts - User mailing list archive at Nabble.com. -

Re: how Presentation reuse in many one web apps

2009-11-25 Thread Saeed Iqbal
No problem :) On Wed, Nov 25, 2009 at 5:48 PM, emil thushanga wrote: > JSTL ‘ resources outside of the current domain. Thanks for the great Idea. > Thanks > Emil > > > On Wed, Nov 25, 2009 at 5:35 PM, Saeed Iqbal wrote: > > > So you want a decorator outside the domain of application to decorat

Re: how Presentation reuse in many one web apps

2009-11-25 Thread emil thushanga
JSTL ‘ wrote: > So you want a decorator outside the domain of application to decorate your > items? > > If so then I also do something similar. I jsp include inside my decorators > because i have some pages that do not use decorators to be able to change > at > one place and reflect in others. The

Re: no Action mapped for namespace / and action name doLogin.

2009-11-25 Thread Lukasz Lenart
Declare namespace attribute for action mapping as "/" Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

RE: no Action mapped for namespace / and action name doLogin.

2009-11-25 Thread vikrant S
hi raghuveer, I tried with ur suggestions but still I am getting the same error. Please help me!!! -- View this message in context: http://old.nabble.com/RE%3A-no-Action-mapped-for-namespace---and-action-name-doLogin.-tp26510748p26511382.html Sent from the Struts - User mailing list archive at N

Re: how Presentation reuse in many one web apps

2009-11-25 Thread Saeed Iqbal
So you want a decorator outside the domain of application to decorate your items? If so then I also do something similar. I jsp include inside my decorators because i have some pages that do not use decorators to be able to change at one place and reflect in others. These pages however use some of

Re: how Presentation reuse in many one web apps

2009-11-25 Thread emil thushanga
Thanks lot for the reply, I have one business model application based on spring, guess I have 400 S2 Client web apps. In every S2 web app use common template to display retrieved dynamic listing based on the region. What I want to use one decorator (Sitemesh) or template (Tiles) to use in every S2

RE: no Action mapped for namespace / and action name doLogin.

2009-11-25 Thread Raghuveer.V
Hello Vikrant, Alternatively try submitting form through javascript function. <%@ taglib prefix="s" uri="/struts-tags" %> Struts 2 Login Application " rel="stylesheet" type="text/css"/> function fnSubmit(){ document.forms[0].action="doLogin.action"; document.forms[0].submit(); }

RE: no Action mapped for namespace / and action name doLogin.

2009-11-25 Thread Raghuveer.V
Hello Vikrant, Very minor issue, I have reviewed your code and don't find any error. Your xml configurations says you need to call default execute() in com.tcs.infra.cmt.Login.java. This should work on all servers. I have tested a similar code in Tomcat and web sphere. If you don't mention any n

Re: how Presentation reuse in many one web apps

2009-11-25 Thread Saeed Iqbal
IMO Presentation logic is your Action Beans and if you want to re-use decorator you can reuse the JSP I guess I dont understand your needs. On Wed, Nov 25, 2009 at 4:30 PM, emil thushanga wrote: > Hi All, > > I am currently developing a large website; witch is having more than > 400 client web

how Presentation reuse in many one web apps

2009-11-25 Thread emil thushanga
Hi All, I am currently developing a large website; witch is having more than 400 client websites, each and every web app is relying on one single business model which is done by spring. So the business logic is being reused here. But I want my presentation logic also to be reused in every web app

Re: No configuration found for the specified action

2009-11-25 Thread vikrant S
Hi Lukasz, I tried the same without adding prefix. Still I am getting the same error. -- View this message in context: http://old.nabble.com/No-configuration-found-for-the-specified-action-tp26508973p26510057.html Sent from the Struts - User mailing list archive at Nabble.com. ---

Re: No configuration found for the specified action

2009-11-25 Thread Lukasz Lenart
2009/11/25 vikrant S : >                 class="com.tcs.infra.cmt.Login_dummy"> I missed that, should be doLogin without suffix Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apac

Re: No configuration found for the specified action

2009-11-25 Thread vikrant S
I tried doing it butstill I am getting the same error -- View this message in context: http://old.nabble.com/No-configuration-found-for-the-specified-action-tp26508973p26509553.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: No configuration found for the specified action

2009-11-25 Thread Lukasz Lenart
2009/11/25 vikrant S : >         Try doLogin without suffix Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

RE: Dojo plugin alternatives?

2009-11-25 Thread Jim Talbut
Ah, very nice, thanks. You need to do something to make that easier to find :) A slight problem with the datepicker from it: I use the css_xhtml theme with a simple vertical layout (labels on the left, right aligned). With this theme the button appears on the next line, hard over to the left. To

No configuration found for the specified action

2009-11-25 Thread vikrant S
I get the following message "No configuration found for the specified action: 'doLogin.action' in namespace: ''. Form action defaulting to 'action' attribute's literal value.'" when I try to submit login.jsp page containing username and password as input fields and submit button. login.jsp: <%@

Re: Dojo plugin alternatives?

2009-11-25 Thread Lukasz Lenart
Hi Try JQuery plugin [1], soon it should be part of official distribution [1] http://cwiki.apache.org/S2PLUGINS/2009/11/16/jquery-plugin-version-170.html Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: u

Dojo plugin alternatives?

2009-11-25 Thread Jim Talbut
Hi, I need a date picker component. I started off by looking at the dojo plugin, but ran into the same problems as everyone else with Firefox 3.5.5 (in my case the datetimepicker value is not posted with the rest of the form values). Given that bugs on the dojo plugin are being closed as "won't