So you don't think there should be a HttpHeaderResult to enable you to return special 
Http header codes?

> -----Original Message-----
> From: Rickard Öberg [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 17, 2003 9:09 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] HTTP 204 Trick
> 
> 
> BOGAERT Mathias wrote:
> > So how would you indicate this from the action class (you 
> might want 
> > to have a SUCCESS and NO_CONTENT result)? IMO the result code 
> > NO_CONTENT should be supported.
> 
> Why do you want to have a new result type for this? Sounds like the 
> action will know too much about how it is used that way.
> 
> If I wanted to use the action in both view and non-view ways 
> I'd use two 
> different action mappings for it. If I wanted to use both view and 
> non-view *at the same time*, hence requiring both SUCCCESS and 
> NO_CONTENT mappings simultaneously I'd do NO_CONTENT as an 
> action-specific result value. Introducing it as a standard result 
> doesn't seem necessary.
> 
> Mathias, do you have an example of why you'd want both SUCCESS and 
> NO_CONTENT simultaneously?
> 
> /Rickard
> 
> -- 
> Rickard Öberg
> [EMAIL PROTECTED]
> Senselogic
> 
> Got blog? I do. http://dreambean.com
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU 
> Hosting Partner. Refer Dedicated Servers. We Manage Them. You 
> Get 10% Monthly Commission! INetU Dedicated Managed Hosting 
> http://www.inetu.net/partner/index.php
> 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to