Re: Error when deploying portlets beside a normal Struts2 web app?

2009-06-12 Thread Nils-Helge Garli Hegvik
If you're using portlets, your package must extend "struts-portlet-default" instead of "struts-default". It should be possible to run servlet actions and portlet actions in the same application. Nils-H On Thu, Jun 11, 2009 at 3:52 PM, IainM wrote: > > Hi, > > I have an existing Struts2 (2.1.6) w

Re: Error when deploying portlets beside a normal Struts2 web app?

2009-06-12 Thread IainM
We have struts.xml set up so that the portlet package extends struts-portlet-default and the normal actions extend struts-default. The problem manifests even if all we do is add the portlet-plugin jar into the WEB-INF/lib directory and do no other setup of portlets. So there seems to be something

Application Design(architecture)

2009-06-12 Thread shekher awasthi
Hi All, I would like to say sorry if u think this question is out of list, but since my problem also have relation with struts2 so i thought to give a try here and hope to get some positive replies. We are planning so strat a new project and yes Struts will be the building block for this. I have

Re: [OT]Moving from Struts2 to grails, your thoughts

2009-06-12 Thread Paweł Wielgus
Hi all, i'm active in rails and struts1 and struts2, languages are java and ruby and javascript. As for rails i use jruby instead ruby. What framework will my next app be implemented in? - struts2 Why? - freedom of choice, and tons of bullet proof libraries How my apps look like? mostly far from

Re: [OT]Moving from Struts2 to grails, your thoughts

2009-06-12 Thread stanlick
Was this a question about moving from Struts 2 to Grails or how to get the output stream? 2009/6/12 Paweł Wielgus > Hi all, > i'm active in rails and struts1 and struts2, > languages are java and ruby and javascript. > > As for rails i use jruby instead ruby. > > What framework will my next app

Re: Application Design(architecture)

2009-06-12 Thread Paweł Wielgus
Hi Shekher, i'm no expert in this subject but, You might read something abut RUP (rational unified process), then read abut Agile and XP and SCRUM - it's not strictly about design but it will give some light about the whole process. In the mean time try to imagine how this app will look like, and h

Re: [OT]Moving from Struts2 to grails, your thoughts

2009-06-12 Thread Paweł Wielgus
I'm sorry, i've cited wrong e-mail, what i wanted to cite is: >What other Frameworks have you learned before/after Struts2? > >Apart from Java, What other languages have you been involved in? Best greetings, Paweł Wielgus. 2009/6/12 : > Was this a question about moving from Struts 2 to Grails

Re: Application Design(architecture)

2009-06-12 Thread shekher awasthi
Thanks Pawel for quick reply regarding the application how it will look like i have some information about it and yes i am a bit known about the different layers but my main point is that i worked on them level by level i am not aware about the whole designing process that is my main point 2009/6/

Re: Application Design(architecture)

2009-06-12 Thread shekher awasthi
Some of my questions are Is there any Use of UML How to think in terms of Design Patterns while designing the process or any tool(s) which can help me a bit in this process 2009/6/12 shekher awasthi > Thanks Pawel for quick reply regarding the application how it will look > like i have some inf

Re: Whats the best way to do validation messages on the same page?

2009-06-12 Thread stanlick
I would skeptical about excluding execute. As Wes points out, the framework is designed to bypass validating input initially. After all, it's kind of difficult validating a form you have not yet had the chance to ill out! On Thu, Jun 11, 2009 at 8:53 AM, Kishan G. Chellap Paandy < kishanchellapa

RE: [OT]Moving from Struts2 to grails, your thoughts

2009-06-12 Thread Martin Gainty
Scott- i think what Pawel is suggesting is there is a 'demonstrable' need for a Struts Grails plugin I have some grails code here so i might decide to tackle this myself..altho i think musachy started this ..i dont know how far along he was able to get BTW my last go around developing the last

Re: [OT]Moving from Struts2 to grails, your thoughts

2009-06-12 Thread Nils-Helge Garli Hegvik
An impressive number of hacks there... Nils-H On Fri, Jun 12, 2009 at 1:48 PM, Martin Gainty wrote: > > Scott- > i think what Pawel is suggesting is there is a 'demonstrable' need for a > Struts Grails plugin > > I have some grails code here so i might decide to tackle this myself..altho i > th

Re: [OT]Moving from Struts2 to grails, your thoughts

2009-06-12 Thread stanlick
Is that actually the Google source? On Fri, Jun 12, 2009 at 6:48 AM, Martin Gainty wrote: > > Scott- > i think what Pawel is suggesting is there is a 'demonstrable' need for a > Struts Grails plugin > > I have some grails code here so i might decide to tackle this myself..altho > i think > musac

Re: [OT]Moving from Struts2 to grails, your thoughts

2009-06-12 Thread Paweł Wielgus
Hi all, i do love convention plugin inside s2, for me it was the only part missing in struts 2.0 - right now i'm all happy :-) I'm using rails all the time, but it's not my preferred framework. And i don't think there is anything more that can be imported from rails into s2. But that's just my priv

Re: [OT]Moving from Struts2 to grails, your thoughts

2009-06-12 Thread Musachy Barroso
Martin, I don't agree with you, I think the real problem is in this C# method for a google search API: internal static SearchData GSearch(string keyword, int start, ResultSize resultSize, bool fullViewOnly, string library) { //KEYWORD IS NULL...OMGWTFBBQthrow exception...

Re: any struts 2 unit testers out there?

2009-06-12 Thread R. Duval
As simples as it may seem. Assuming you're creating an instance on your setUp method, and just to make things funnier, using a facade mock which is expected to be action constructor parameter, it would look like this: ... Mockery mockContext = new Mockery(); SomeFacade someFacadeMock; MyAction my