You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by ma...@degussa-bank.de on 2005/09/01 17:12:12 UTC

Antwort: Re: Problem with t:div

I am working with Tomcat 5.5.9. I think, I don't have any old jars in the
classpath.

If I copy the jars of 1.0.9 into the classpath, everything is fine.

Marc



|---------+--------------------------->
|         |           Bruno Aranda    |
|         |           <brunoaranda@gma|
|         |           il.com>         |
|         |                           |
|         |           31.08.05 20:20  |
|         |           Bitte antworten |
|         |           an "MyFaces     |
|         |           Discussion"     |
|         |                           |
|---------+--------------------------->
  >-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                               |
  |        An:      MyFaces Discussion <us...@myfaces.apache.org>                                                                 |
  |        Kopie:                                                                                                                 |
  |        Thema:   Re: Problem with t:div                                                                                        |
  >-------------------------------------------------------------------------------------------------------------------------------|



I've just tried to reproduce this problem with the latest SVN and
everything seems to be working ok. What server are you using? Are
there any old myfaces jars in the classpath?

Bruno

2005/8/31, marc.baumgartner@degussa-bank.de
<ma...@degussa-bank.de>:
> Hello all,
>
> I am using the latest Night build. On a Page with a t:div I get first a
lot
> of warnings:
>
> WARN [2005-08-31 18:07:13,685] HtmlRenderKitImpl - Unsupported
> component-family/renderer-type:
> javax.faces.Output/org.apache.myfaces.DivRenderer
>  WARN [2005-08-31 18:07:13,685] HtmlRenderKitImpl - Unsupported
> component-family/renderer-type:
> javax.faces.Output/org.apache.myfaces.DivRenderer
>
>
> and then a lot of errors till a stack overflow error:
>
> at org.apache.myfaces.custom.div.Div.getClientId(Div.java:54)
>       at javax.faces.component.UIComponentBase.getRenderer(
> UIComponentBase.java:531)
>       at org.apache.myfaces.custom.div.Div.getClientId(Div.java:54)
> java.lang.StackOverflowError
>
> Is this a bug or I am doing something wrong?
>
> Regards,
> Marc
>
>




Re: Help on DataTable logic

Posted by Mike Kienenberger <mk...@gmail.com>.
Have you looked at the source?  :)

Just so there's no confusion, the components are created at the same
time that your dataTable is -- restoreView phase, I believe.   And
only one component will be created for each component in your column,
no matter how many rows your table contains.   The components will be
reused for rendering each row, much like an ink-stamp is reused to
create multiple images.

On 9/7/05, Balaji Saranathan <ba...@wipro.com> wrote:
> 
> 
> Hi,
> 
> Can anyone let me know how a DataTable actally renders the rows?
> 
> My understanding is that the the call to get the dataModel is done, and
> with that list/SqlResultSet , the rows are created. But when does the
> components in the individual rows get created and added to the component
> tree? (ie) if I have a check box for each column, when is it created and
> updated to the component tree and how is the each instance maintained
> against the  respective value in the model in the backing bean?
> 
> Thanks for any help.
> 
> Regards
> Balaji
> 
> 
> 
> 
> Confidentiality Notice
> 
> The information contained in this electronic message and any attachments to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately
> and destroy all copies of this message and any attachments.
>

Help on DataTable logic

Posted by Balaji Saranathan <ba...@wipro.com>.

Hi,

Can anyone let me know how a DataTable actally renders the rows?

My understanding is that the the call to get the dataModel is done, and
with that list/SqlResultSet , the rows are created. But when does the
components in the individual rows get created and added to the component
tree? (ie) if I have a check box for each column, when is it created and
updated to the component tree and how is the each instance maintained
against the  respective value in the model in the backing bean?

Thanks for any help.

Regards
Balaji




Confidentiality Notice 

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.