Re: [Trinidad] 'Action' column in CoreTable

2009-04-17 Thread Max Starets
Shawn, When the action event is delivered, table's currency is set to the row where the button was clicked. You can either programatically evaluate an EL _expression_ that references table's var or get hold of the table component (or model) and call getRowData(). Also, take a look at the tr:s

RE: [Trinidad] 'Action' column in CoreTable

2009-04-17 Thread Bertrand, Shawn R
Actually, found an example in the Trinidad demo application. Though having to put a method on the data object itself isn't as good as I'd like it to be. Any other way to access the selected row (without having to enable selections on the table)? Shawn From:

[Trinidad] 'Action' column in CoreTable

2009-04-17 Thread Bertrand, Shawn R
I'd like to have an action-type column in which we place an image for each row that, when clicked, will display a dialog with detail about that row. The column part is easy, but how do I reference the clicked row's data in the action method? Thanks in advance, Shawn Bertrand

RE: GZipping JSF Response

2009-04-17 Thread Madhav Bhargava
> -Original Message- > From: Simon Kitching [mailto:skitch...@apache.org] > Sent: Friday, April 17, 2009 7:50 PM > To: MyFaces Discussion > Subject: Re: GZipping JSF Response > > Madhav Bhargava schrieb: > > Hi Cagatay, > > > > > > > > I tried using the GZipFilter that comes along with ehc

Re: GZipping JSF Response

2009-04-17 Thread Simon Kitching
Madhav Bhargava schrieb: > Hi Cagatay, > > > > I tried using the GZipFilter that comes along with ehcache as well. I > configured the filter in web.xml and the mapping URL was just “*.jsf”. > It used to give the same problem. Somehow the gzipped content is getting > written to the IDE console i

RE: GZipping JSF Response

2009-04-17 Thread Madhav Bhargava
Hi Cagatay, I tried using the GZipFilter that comes along with ehcache as well. I configured the filter in web.xml and the mapping URL was just “*.jsf”. It used to give the same problem. Somehow the gzipped content is getting written to the IDE console instead of sending that to the browser. A

Re: GZipping JSF Response

2009-04-17 Thread Cagatay Civici
I've used gzip filter with jsf and no problems, was working in was6 as well afair. On Fri, Apr 17, 2009 at 3:06 PM, Madhav Bhargava < madhav_bharg...@infosys.com> wrote: > Yes. > Application server: Websphere 6.x > > I have attached the files with this mail. Since it was printing the gzipped > re

RE: GZipping JSF Response

2009-04-17 Thread Madhav Bhargava
Yes. Application server: Websphere 6.x I have attached the files with this mail. Since it was printing the gzipped response on the console I double checked the response wrapper but could not find anything. Is this because you cannot gzip using a filter in JSF? (It should not be because the res

Re: GZipping JSF Response

2009-04-17 Thread Adrian Mitev
What application server do you use? Websphere? On Fri, Apr 17, 2009 at 2:38 PM, Madhav Bhargava wrote: > Hi All, > > > > I have a heavy page and I am trying to reduce the response size by gzipping > the Http Response going back to the client from the server. > > Since I cannot install mod_deflate

GZipping JSF Response

2009-04-17 Thread Madhav Bhargava
Hi All, I have a heavy page and I am trying to reduce the response size by gzipping the Http Response going back to the client from the server. Since I cannot install mod_deflate/mod_gzip on IBM HTTP server I have tried to use the GZipFilter (provided by ehcache) and I also tried to create my ow