Are there any whitepapers on xwork beyond wiki?

I can't resolve the following issue - is this assumed that invoke() may only
be called once per instance, or multiple times (I mean single request)?

Continuing my previous letter - now I see there is really no assumption that
actions may be used to create view _components_. I can only see there is an
UI-Component notion that is limited to calling velocity template. I see my
mistake in how I percepted what ww:action tag is designed for. I thought
that it could be used for view componentisation, but it can only serve as an
action oriented jsp:useBean replacement.

To accomplish my ideas on using xwork's value stack, I took my chance with
jsp:include to dispatch to another action with patched DispatchServlet to
build up on existing stack (to accomplish single stack per request, not per
action) instead of creating one. That would even work - but there is another
issue - it seems that it is assumed there is no action nesting. When
ActionInvocation pushes Action onto the value stack, it never takes it
away - so in case of nested calls the stack would build-up endlessly.

I would probably be interested to patch things up to accomplish action
nesting, but the problem is that there are probably things I'm not aware.
Specifically if invokes are single or multiple. Personally I think that
assumption that invocation is once per instance would be easiest. However
I've got some interesting cases that having interceptor invoking action
multiple times would be nice - for example it allows to reuse the action
designed to work with a single object and to call it over a group of objects
simply by changing properties and calling again (setting properties on
multiple object, deleting objects, etc).

Regards,
-- Mike Mosiewicz



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to