Hi!
No ... not at all :-( ... thanks for asking.
I've fixed the "tabs look like buttons"-issue by adding
"MyFacesExtensionsFilter" to web.xml.
<filter>
<filter-name>MyFacesExtensionsFilter</filter-name>
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
<init-param>
<param-name>maxFileSize</param-name>
<param-value>20m</param-value>
<description>Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
</description>
</init-param>
</filter>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
But <t:colums> is still not visible/rendered (with 1.0.9 I get
a table - getting for each row the "object" of the first row).
Best regards,
Harry
-----Ursprüngliche Nachricht-----
Von: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 15. Dezember 2005 15:46
An: MyFaces Discussion
Betreff: Re: datatable - parameter passing - workaround?
is your problem solved now?
2005/12/14, Harald Müller <[EMAIL PROTECTED]>:
> Hi!
>
> Thank you for your answer!
>
> I'm using 1.0.9!
>
> Just tried to replace all myfaces-jars with the latest version (1.1.1) - the
> output of <t:colums> is not visible/rendered anymore but <h:column> is - very
> strange!
>
> (And ... tabs look like buttons ... but I think that can be fixed by changing
> something in the css-file?)
>
> Thanks,
> Harry
>
>
> -----Ursprüngliche Nachricht-----
> Von: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 14. Dezember 2005 17:02
> An: MyFaces Discussion
> Betreff: Re: datatable - parameter passing - workaround?
>
> which version of myfaces do you use?
>
> 2005/12/14, Harald Müller <[EMAIL PROTECTED]>:
> > Sorry ... my mistake ...
> >
> > The problem is not that every column of each row has the same content
> > (that's exactly what the code does) ...
> > but I always get the object of the first row with mRowHolder.getRowData().
> >
> > Output:
> >
> > Col1
> > Row1 Name_of_row1
> > Row2 Name_of_row1
> > Row3 Name_of_row1
> >
> >
> > And not:
> >
> > Col1
> > Row1 Name_of_row1
> > Row2 Name_of_row2
> > Row3 Name_of_row3
> >
> > Thanks,
> > Harry
> >
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Mathias Brökelmann [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 14. Dezember 2005 15:54
> > An: MyFaces Discussion
> > Betreff: Re: datatable - parameter passing - workaround?
> >
> > 2005/12/14, Harald Müller <[EMAIL PROTECTED]>:
> > > private List createColumns()
> > > {
> > > List result = new ArrayList();
> > > result.add(new Column("Col1", this));
> > > result.add(new Column("Col2", this));
> > > result.add(new Column("Col3", this));
> > > // add more columns
> > > return result;
> > > }
> >
> > > public String getValue()
> > > {
> > > Object rowData = mRowHolder.getRowData();
> > > if(rowData != null)
> > > {
> > > return ((TaskInstance)rowData).getName()+"";
> > > }
> > > return null;
> > > }
> >
> > you call getName() for every column...
> >
> > try using the column header to determine which getter you have to call
> > on the row instance.
> >
> >
> > --
> > Mathias
> >
>
>
> --
> Mathias
>
--
Mathias