boxed wrote:
I will run the action without a result a few times to start off to make sure
it compiles and goes through to success and so forth. I also have some (very
few) actions that don't actually have a view at all, but write directly to
the servlet output stream. Yes I know it's ugly, I hate it too, but there
are several cases where I am pretty much forced to do this, most notably
when the output needs to be streaming in some way. There is another early
development thing you can do to make initial development easier, but that
includes a change to MakeIterator (my diff and source is attached) and a
default mapping of success to a jsp that does:

<ww:iterator>
  <ww:print value="value/propertyType" /> <ww:print value="key" /><br />
</ww:iterator>

I  find it very handy for initial debugging.
That's a very good point. So, it seems that .action invocation is indeed something that is necessary to keep.

The argument against .action invocation, then, is only with regard to declarative security. Would it be ok to declare what roles may access it in xwork.xml? (both on action and package level)

One nice thing about that is that the information could be used by many different invokers, as opposed to the declarative security through web.xml option which only works for the web case.

/Rickard

--
Rickard Öberg
[EMAIL PROTECTED]
Senselogic

Got blog? I do. http://dreambean.com



-------------------------------------------------------
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