Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Laurie Harper
Craig McClanahan wrote: This part of the problem, at least, is pretty easy to deal with :-). Call FacesContext.setResponseWriter() -- perhaps after calling getResponseWriter() to save the original one, if any -- in a before render response phase listener, and do the inject-and-copy trick in the

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Laurie Harper
Werner Punz wrote: Laurie Harper schrieb: I have a need for similar functionality to the Tomahawk Extensions filter, and have been thinking about ways to achieve it without requiring user config. I was hoping I could find a standard JSF hook that I could plug into through a faces-config entry

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Craig McClanahan
On 2/17/06, Laurie Harper [EMAIL PROTECTED] wrote: Werner Punz wrote: Laurie Harper schrieb: I have a need for similar functionality to the Tomahawk Extensions filter, and have been thinking about ways to achieve it without requiring user config. I was hoping I could find a standard JSF hook that

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Laurie Harper
Craig McClanahan wrote: Interesting. I was under the impression that Weblets did not and would not support the 'add script elements to the document head' part of the equation. I'll have to have another look at it. I think that is true for weblets, and it is definitely true for Shale Remoting.

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Craig McClanahan
On 2/17/06, Laurie Harper [EMAIL PROTECTED] wrote: Craig McClanahan wrote: Interesting. I was under the impression that Weblets did not and would not support the 'add script elements to the document head' part of the equation. I'll have to have another look at it. I think that is true for

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Laurie Harper
Craig McClanahan wrote: On 2/17/06, Laurie Harper [EMAIL PROTECTED] wrote: Craig McClanahan wrote: Interesting. I was under the impression that Weblets did not and would not support the 'add script elements to the document head' part of the equation. I'll have to have another look at it. I

Tomahawk 'extensions' filter: alternatives?

2006-02-16 Thread Laurie Harper
I have a need for similar functionality to the Tomahawk Extensions filter, and have been thinking about ways to achieve it without requiring user config. I was hoping I could find a standard JSF hook that I could plug into through a faces-config entry but haven't come up with anything viable

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-16 Thread Dave Brondsema
Laurie Harper wrote: I have a need for similar functionality to the Tomahawk Extensions filter, and have been thinking about ways to achieve it without requiring user config. I was hoping I could find a standard JSF hook that I could plug into through a faces-config entry but haven't come up

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-16 Thread Craig McClanahan
On 2/16/06, Cagatay Civici [EMAIL PROTECTED] wrote: Hi Laurie,It seems a phaselistener is what you are looking for, it is pluggable and does not require any user configuration.One thing you can do in a filter that you cannot in a phase listener is wrap the response object, so that you can

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-16 Thread Laurie Harper
Craig McClanahan wrote: On 2/16/06, Cagatay Civici [EMAIL PROTECTED] wrote: Hi Laurie, It seems a phaselistener is what you are looking for, it is pluggable and does not require any user configuration. One thing you can do in a filter that you cannot in a phase listener is wrap the response

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-16 Thread Craig McClanahan
On 2/16/06, Laurie Harper [EMAIL PROTECTED] wrote: Craig McClanahan wrote: On 2/16/06, Cagatay Civici [EMAIL PROTECTED] wrote: Hi Laurie, It seems a phaselistener is what you are looking for, it is pluggable and does not require any user configuration. One thing you can do in a filter that you