Siddiq Syed wrote:
What will be the view in this case ?
This is a special return value reserved primarily for actions that
generate their own output directly, and used to indicate that the
framework should not dispatch to any view (as the view has already been
sent to the requester).
-Dale
t;> useful for actions that are handling the view in another fashion
> >> like redirect.
> >>
> >> There is a reference to it in the "Result Configuration" documentation
> as
> >> well:
> >> http://struts.apache.org/2.1.8/docs/result-configuration.html
> >>
>
>>
>> There is a reference to it in the "Result Configuration" documentation as
>> well:
>> http://struts.apache.org/2.1.8/docs/result-configuration.html
>>
>> Later,
>> --
>> Haroon Rafique
>>
>>
>>
>> -----------------
Greg Lindholm wrote:
Looking at the code it appears that (null) and "none" are treated the same
and both cause results processing to be skipped.
Thanks!
and the annotated view:
http://svn.opensymphony.com/fisheye/browse/xwork/trunk/src/java/com/opensymphony/xwork2/DefaultActionInvocation.java?
Hey Admins... I don't seem to be able to edit
http://struts.apache.org/2.x/docs/result-configuration.html is there a
problem with the wiki (or is it just down for maintenance)?
On Wed, Nov 4, 2009 at 10:24 AM, Greg Lindholm wrote:
> Thanks. I did see the javadoc for NONE (after you suggested usi
Thanks. I did see the javadoc for NONE (after you suggested using it). It
just seemed to me to be a little vague considering that NONE really is a
special case as it is the only result that is 'functional' where the others
are more like 'convention'. In any case it certainly wasn't a place I
thoug
On Today at 9:42am, GL=>Greg Lindholm wrote:
GL> Thanks that did the trick.
GL>
GL> Where did you learn about the NONE result? Is it documented somewhere?
GL>
Hi Greg,
I first saw it in the 2.0.11 source code when trying to create a new
result type. The javadoc for it was quite helpful:
Yes. See:
http://www.opensymphony.com/xwork/api/com/opensymphony/xwork/ActionSupport.html
http://www.opensymphony.com/xwork/api/com/opensymphony/xwork/Action.html#NONE
-Brian
On Wed, Nov 4, 2009 at 8:42 AM, Greg Lindholm wrote:
> Thanks that did the trick.
>
> Where did you learn about the NONE
Thanks that did the trick.
Where did you learn about the NONE result? Is it documented somewhere?
On Tue, Nov 3, 2009 at 5:56 PM, Haroon Rafique
wrote:
> On Today at 5:13pm, GL=>Greg Lindholm wrote:
>
> GL> I have a situation where I want to fully handle the result in the
> Action
> GL> includi
On Today at 5:13pm, GL=>Greg Lindholm wrote:
GL> I have a situation where I want to fully handle the result in the Action
GL> including writing the response to the HttpServletResponse.
GL>
return ActionSupport.NONE?
GL>
GL> What's the best way to handle this so there is no further results p
I have a situation where I want to fully handle the result in the Action
including writing the response to the HttpServletResponse.
What's the best way to handle this so there is no further results processing
after the execute() method ends?
Is there a way to disable results processing from withi
11 matches
Mail list logo