You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Daniele Bernardini <da...@intranetstandard.com> on 2006/06/15 02:12:50 UTC

t:columns and input fields

Hi people,

maybe this is old news for you but I stumbled upon a problem with input
fields inside t:columns. Namely the generated id is equal across the
whole row making it impossible to update data. 
A longer description can be found here:
http://issues.apache.org/jira/browse/TOMAHAWK-491

If anyone knows a workaround or can point me to a mistake I have made
that would be great!

Regards

Daniele


Re: t:columns and input fields

Posted by Daniele Bernardini <da...@intranetstandard.com>.
I am still looking for a solution/workaround. Can anyone confirm this
bug? Am I overlooking something important?

thanks

Daniele

On Fri, 2006-06-16 at 09:31 +0200, Daniele Bernardini wrote:
> I am not sure how I could do it. When I am at the datatable I still dont
> have a reference to the columns var attribute, and would need that one
> to generate a unique id. 
> 
> Again the rows work as intended is the colums part of the id that does
> not change.
> 
> Daniele
> 
> 
> On Thu, 2006-06-15 at 12:35 +0200, Cosma Colanicchia wrote:
> > Have you tried to set the forceIdIndexFormula of t:dataTable to a proper field?
> > 
> > Cosma
> > 
> > 2006/6/15, Daniele Bernardini <da...@intranetstandard.com>:
> > > Hi people,
> > >
> > > maybe this is old news for you but I stumbled upon a problem with input
> > > fields inside t:columns. Namely the generated id is equal across the
> > > whole row making it impossible to update data.
> > > A longer description can be found here:
> > > http://issues.apache.org/jira/browse/TOMAHAWK-491
> > >
> > > If anyone knows a workaround or can point me to a mistake I have made
> > > that would be great!
> > >
> > > Regards
> > >
> > > Daniele
> > >
> > >
> 
> 



Re: t:columns and input fields

Posted by Daniele Bernardini <da...@intranetstandard.com>.
I am not sure how I could do it. When I am at the datatable I still dont
have a reference to the columns var attribute, and would need that one
to generate a unique id. 

Again the rows work as intended is the colums part of the id that does
not change.

Daniele


On Thu, 2006-06-15 at 12:35 +0200, Cosma Colanicchia wrote:
> Have you tried to set the forceIdIndexFormula of t:dataTable to a proper field?
> 
> Cosma
> 
> 2006/6/15, Daniele Bernardini <da...@intranetstandard.com>:
> > Hi people,
> >
> > maybe this is old news for you but I stumbled upon a problem with input
> > fields inside t:columns. Namely the generated id is equal across the
> > whole row making it impossible to update data.
> > A longer description can be found here:
> > http://issues.apache.org/jira/browse/TOMAHAWK-491
> >
> > If anyone knows a workaround or can point me to a mistake I have made
> > that would be great!
> >
> > Regards
> >
> > Daniele
> >
> >



Re: t:columns and input fields

Posted by Cosma Colanicchia <co...@gmail.com>.
Have you tried to set the forceIdIndexFormula of t:dataTable to a proper field?

Cosma

2006/6/15, Daniele Bernardini <da...@intranetstandard.com>:
> Hi people,
>
> maybe this is old news for you but I stumbled upon a problem with input
> fields inside t:columns. Namely the generated id is equal across the
> whole row making it impossible to update data.
> A longer description can be found here:
> http://issues.apache.org/jira/browse/TOMAHAWK-491
>
> If anyone knows a workaround or can point me to a mistake I have made
> that would be great!
>
> Regards
>
> Daniele
>
>