Re: question

2005-12-04 Thread Dennis Byrne
I believe the home.jsp file itself is where you'll find outputLink examples. Original message >Date: Sun, 04 Dec 2005 17:30:47 -0500 >From: hilz <[EMAIL PROTECTED]> >Subject: Re: question >To: users@myfaces.apache.org > >Martin Marinschek wrote: >> You need to change the content-di

Re: question

2005-12-04 Thread Martin Marinschek
Hi Hilz, find below the corresponding JSP-page from the MyFaces-examples. regards, Martin <%@ page import="java.io.File, java.io.InputStream, java.io.FileInputStream, java.io.OutputStream"%><%@ page session="false" %><% String contentType =

Re: How to style tabbedPanel

2005-12-04 Thread Martin Marinschek
currently, you need to style the tabs with CSS in the header and "!important" statements to surely override the generated CSS. We are waiting for someone to create a patch so this is not necessary anymore ;) regards, Martin On 12/4/05, Emily Gu <[EMAIL PROTECTED]> wrote: > Hi, > > I have trie

Re: question

2005-12-04 Thread hilz
Martin Marinschek wrote: You need to change the content-disposition header to "attachment", I think. There is a MyFaces example which shows how to do this! regards, Martin Hi Martin, Thank you for your answer. I tried to search for that, but could not find anything that would solve my pro

DataTable header/footer classes

2005-12-04 Thread Bil Mulert
I'm looking for a way to place a class attribute on the thead and tfoot elements generated by DataTable, but the headerClass and footerClass attributes of DataTable just seem to place the specified class on the TH and TD elements. Can this be done?

How to style tabbedPanel

2005-12-04 Thread Emily Gu
Hi,     I have tried the TabbedPanel component. It seems that it generates the runtime CSS style for active tab and inactive tab. If I want to use custom color and images for these tabs. How to do it? Any example is very much appreciated.   Thanks!!

Re: does not work inside

2005-12-04 Thread Dave
bean.getList() is called in both Apply Request Value and Render phases. But action listener and action method are not called.   It is a bug of because works.Dennis Byrne <[EMAIL PROTECTED]> wrote: yes, @preserveDataModel doesn't apply in this case. bean.getList() is called during the render r

Re: dataScroller can control 2 dataTables?

2005-12-04 Thread Mathias Brökelmann
The event you get for the action listener is an instance of ScrollerActionEvent which gives you the new pageindex or the nav button that was pressed. 2005/12/4, Alin Dosoniu <[EMAIL PROTECTED]>: > > Hello, > > I want to put on one page 2 dataTables and both of them to be controled by > one dataScr

dataScroller can control 2 dataTables?

2005-12-04 Thread Alin Dosoniu
Hello,   I want to put on one page 2 dataTables and both of them to be controled by one dataScroll tag. In fact, I need to put 2 dataTables on one page and to have only one dataScroll to control them. If I need to add a hidden dataScroll, this will not be a problem. When clicking on one link

Re: question

2005-12-04 Thread Martin Marinschek
You need to change the content-disposition header to "attachment", I think. There is a MyFaces example which shows how to do this! regards, Martin On 12/4/05, hilz <[EMAIL PROTECTED]> wrote: > Hi all... > I have a element where the link points to an XML file. > when a user clicks the link in t

Re: does not work inside

2005-12-04 Thread Dennis Byrne
yes, @preserveDataModel doesn't apply in this case. bean.getList() is called during the render response phase because the dataTable component needs to access to the underlying data model in order to know what to render. Original message >Date: Sun, 4 Dec 2005 01:46:38 -0800 (PST) >F

Re: does not work inside

2005-12-04 Thread Dave
Thanks. does not allow preserveDataModel attribute. If I simply change dataList to dataTable, it will work. But the layout is not what I want. I like all data to be rendered in one line.   I used Eclipse debugger to trace server side. During restore view phase, the data #{bean.list} was r