How extreme do you want to get? You can work some wonders with your HTML in dispatchRequest

Personally, I find that this generates the cleanest possible response:

public WOResponse dispatchReqcuest( WORequest request ) {
        WOResponse respone = super.dispatchRequest( request );
        response.setContent( "" );
        return response;        
}

... although you might want to do some more interesting processing on the response's content() ;-). At least, you should get the general idea - dispatchRequest is an excellent place to postprocess the HTML created by your app.

- hugi

// Hugi Thordarson
// http://hugi.karlmenn.is/




On 18.4.2008, at 21:35, John Huss wrote:
Why do you care about the blank line? Or do you want to remove all extra whitespace of any kind?

John

On Fri, Apr 18, 2008 at 4:29 PM, Alan Zebchuk <[EMAIL PROTECTED] > wrote: Does anyone have a solution for removing the extra blank lines from the html generated by a component? i.e. when there's a conditional where the condition is false, the generated html has blank lines where the conditional would have been.

Thanks,

Alan


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to