you have to call super.encodeBegin(facesContext, uiComponent) after
the getValue() call of course.
2005/10/12, Mathias Brökelmann <[EMAIL PROTECTED]>:
> Cool down!
>
> If you need a different behavior on rendering the datatabel and are
> not able to change the implementation of your bean (which is mostly
> the easiest one) you could write your own renderer for the datatable.
> Simply subclass the existing renderer from myfaces
> (org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer) and
> implement encodeBegin():
>
> public void encodeBegin(FacesContext facesContext, UIComponent
> uiComponent) throws IOException
> {
> // just getting the value of the datatable
> ((UIData)uiComponent).getValue();
> }
>
>
> 2005/10/12, Zhong Li <[EMAIL PROTECTED]>:
> > huh huh, I never see those kind of product, it can create an misery result.
> > List of dataTable isn't belong TBODY. it is at TABLE level Sir. TABLE goes
> > first Sir, then HEADER, TOOTER and BODY. Also, I learned and used computer
> > for 15 years, never see inner scope jump out of outter scope, like you
> > define a local variable, then you access globle, what is XXXX logical.
> >
> >
> > On 10/11/05, Sean Schofield <[EMAIL PROTECTED]> wrote:
> > > > Anyhow. you need reopen and fix the bug.
> > >
> > > Not if your bug would cause us to violate the JSF 1.1 specification.
> > > See Mathia's comment earlier. The only argument that is relevant is
> > > if you interpret the specification differently. We cannot change the
> > > spec.
> > >
> > > sean
> > >
> >
> >
> >
> > --
> > Zhong Li
> >
> > WebJabber.Net
>
>
> --
> Mathias
>
--
Mathias