Re: Custom DataScroller (t:dataScroller)

2008-02-08 Thread Tathagat
Stupid me. Why didn't I call getValue() before :). This works fine: ListDataModel listDataModel = (ListDataModel)scroller.getUIData().getValue(); ArrayList dataList = (ArrayList)listDataModel.getWrappedData(); Mission accomplished. Thanks a ton again. Tathagat On 2/8/08, Martin Marin

Re: Custom DataScroller (t:dataScroller)

2008-02-07 Thread Tathagat
. What do you mean by set the value to a data-model? As in a new property to the custom dataScroller? Thanks again Tathagat On 2/7/08, Martin Marinschek <[EMAIL PROTECTED]> wrote: > > Hi Tathagat, > > you could bind the with the binding attribute to a > backing-bean - or you cou

Re: Custom DataScroller (t:dataScroller)

2008-02-07 Thread Tathagat
level. Hope I was clearer Thanks for your time. Tathagat On 2/6/08, Martin Marinschek <[EMAIL PROTECTED]> wrote: > > Hi Tathagat, > > I am very sorry, but I do not understand where you are heading. Why should > the second scroller have all data then? I really don

Custom DataScroller (t:dataScroller)

2008-02-01 Thread Tathagat
he data in it. Thus I could build a paginator as mentioned above. My questions is: Is there a better way to get all the data in the table? All methods which provide data are protected. Thanks for your time. Tathagat

Re: t:columns and width

2007-07-11 Thread Tathagat
rew Robinson <[EMAIL PROTECTED]> wrote: http://www.quirksmode.org/css/quirksmode.html Also, you probably have to set the "table-layout: fixed;" style in the table so that it uses the columns' width instead of the table's width when computing the actual table width On 7/10/07, Tat

Re: t:columns and width

2007-07-10 Thread Tathagat
o work. On 7/10/07, Tathagat <[EMAIL PROTECTED]> wrote: > Thanks Andrew. > I tried this also. > It gives > > But it has no effect. I checked MSDN and TD has no width in styles. > > Any ideas? > > > > On 7/10/07, Andrew Robinson <[EMAIL PROTECTED]> wro

Re: t:columns and width

2007-07-10 Thread Tathagat
Thanks Andrew. I tried this also. It gives But it has no effect. I checked MSDN and TD has no width in styles. Any ideas? On 7/10/07, Andrew Robinson <[EMAIL PROTECTED]> wrote: It should be: But odd that it was empty On 7/10/07, Tathagat <[EMAIL PROTECTED]> wrote: > Hi.

t:columns and width

2007-07-10 Thread Tathagat
Hi. I am trying to set width of my columns in t:datatable where I use t:columns. But it doesn't work (I see no width attribute in corrseponding ). I also tried the following This renders (emtpy!!!). Help please. Thanks in advance Tathagat

Re: File attachment - view state couldn't be restored, reload?

2007-06-21 Thread Tathagat
FIXED. The problem was in the *t:commandLink*.* *if I use *h:commandButton *it works fine. Why, anyone has any idea? Cheers. On 6/21/07, Tathagat <[EMAIL PROTECTED]> wrote: Thanks Bruno. Now I do this. _ HttpServletRe

Re: File attachment - view state couldn't be restored, reload?

2007-06-21 Thread Tathagat
t; > > If there isn't a solution, it would be great if someone could explain > to me > > the reason why this happens. > > I think/guess it has something to do with the view state being build > after > > render response, and by calling responseComplete that phase i

File attachment - view state couldn't be restored, reload?

2007-06-20 Thread Tathagat
Hi all. In my JSF application I have a link (t:commandLink) on click of which I want to send an attachment to the user. The usual way in struts was snippet: response.setHeader ("Content-Disposition","attachment;filename=\"mae.csv\ ""); response.setContentType("text/csv"); response.getOutputStream