Most often, the Actions work as an adapter between a view layer and a
general-purpose business facade. Because the Actions select a token
indicating a result, the Actions tend to be bound to some type of
navigational system. A classic Action passes input values to the
business facade, and the busi
--- Ian Roughley <[EMAIL PROTECTED]> wrote:
> > I'm not sure what you mean by that... it's just a
> > class; it happens to be compiled on-the-fly during
> > bean instantiation. Not much else is different.
> Yes, but it feels to me like you are reaching back
> into the business service tier to creat
I also personally think that defining actions in a
service tier doesn't "smell" right.
I'm not sure what you mean by that... it's just a
class; it happens to be compiled on-the-fly during
bean instantiation. Not much else is different.
Yes, but it feels to me like you are reaching bac
On 2/14/07, Mark Menard <[EMAIL PROTECTED]> wrote:
I have Spring configured, but when it goes to instantiate the Groovy action
class from the script it's not on the classpath. My environment:
* Maven 2 (based off the Struts 2 Archetype)
* Jetty plugin
* Groovy source files mixed int
On 2/14/07 10:03 AM, "Dave Newton" <[EMAIL PROTECTED]> wrote:
> You can configure Spring2 beans to do this via the
> element.
>
> It's not clear to me if you can configure it so the
> Groovy action can be hot-compiled w/ a standard
> element but w/ a combination of refs or
> something I'd bet y
--- Ian Roughley <[EMAIL PROTECTED]> wrote:
> I'm not sure about Spring's groovy support, and
> whether it allows for hot swapping.
You can define how frequently it will check the script
for updates, even.
> I also personally think that defining actions in a
> service tier doesn't "smell" right.
I think it was Chris from Adigio that had the blog entry. The proxy
basically always checked the filesystem for the latest .groovy script,
and then used it.
I'm not sure about Spring's groovy support, and whether it allows for
hot swapping. I also personally think that defining actions in a
--- Mark Menard <[EMAIL PROTECTED]> wrote:
> Oooh... I was thinking about something like that,
> where you would not need
> to keep reloading the application, but be able to
> change the script, have it
> dynamically recompile and simply hit reload. Kind of
> like you can do with
> JSP files under
On 2/14/07 9:46 AM, "Ian Roughley" <[EMAIL PROTECTED]> wrote:
> I remember seeing Groovy support on a blog for WebWork a while back. I
> think the implementation was a new ActionProxy, so the groovy actions
> could be scripted dynamically at run time and the page only needed to be
> refreshed. F
I remember seeing Groovy support on a blog for WebWork a while back. I
think the implementation was a new ActionProxy, so the groovy actions
could be scripted dynamically at run time and the page only needed to be
refreshed. For some reason, pre-compiling the groovy actions into class
files,
I read trough your blog entry. This is brilliant.
I'm a groovy newbie myself and I plan to tinker with Groovy actions.
Perhaps s2 might end up becoming a nice web platform for Groovy
in addition to Grails.
On 2/13/07 3:22 PM, "Ian Roughley" <[EMAIL PROTECTED]> wrote:
> Very cool. If only Gro
Yes, cool stuff.
You might also be interested in:
http://www.vim.org/scripts/script.php?script_id=490 ;-)
Tamas
On 2/14/07, Mark Menard <[EMAIL PROTECTED]> wrote:
I've recently started using Groovy in my Struts 2 project to write my
actions. After some experience with it, I've written up a bl
On 2/13/07 3:22 PM, "Ian Roughley" <[EMAIL PROTECTED]> wrote:
> Very cool. If only Groovy supported annotations so that the
> configuration didn't need to be in the struts.xml file (but it looks
> like annotation support is starting).
Ian,
>From your lips to G_d's ears. I can't wait for annotat
Very cool. If only Groovy supported annotations so that the
configuration didn't need to be in the struts.xml file (but it looks
like annotation support is starting).
/Ian
Mark Menard wrote:
I've recently started using Groovy in my Struts 2 project to write my
actions. After some experience
On 2/13/07 12:54 PM, "Don Brown" <[EMAIL PROTECTED]> wrote:
> Very cool. Please add a link in our Struts 2 wiki [1] to it for
> future reference.
Done. I also added some of the other writeups I've done.
Mark
-
To unsubscribe,
Very cool. Please add a link in our Struts 2 wiki [1] to it for
future reference.
Don
[1] http://cwiki.apache.org/confluence/display/S2WIKI
On 2/13/07, Mark Menard <[EMAIL PROTECTED]> wrote:
I've recently started using Groovy in my Struts 2 project to write my
actions. After some experience w
I've recently started using Groovy in my Struts 2 project to write my
actions. After some experience with it, I've written up a blog entry with
some quick examples.
http://www.vitarara.org/cms/node/95
Mark
-
To unsubscribe, e-ma
17 matches
Mail list logo