Sure, i can look into it, as soon as someone give me a code that can
reproduce the problem :)

-Matej

On 6/13/07, Al Maw <[EMAIL PROTECTED]> wrote:
> Hmmm,
>
> This bug looks suspiciously like another onAttach/onBeforeRender issue.
> Matej seems good at debugging those, care to comment? :-)
>
> Al
>
> Alex Objelean wrote:
> > I have a question about the render method. Why, before rendering, instead of
> > checking isVisibleInHierarchy(),  isVisible() is called?
> >       public final void render(final MarkupStream markupStream)
> >       {
> >               setMarkupStream(markupStream);
> >               setFlag(FLAG_IS_RENDERED_ONCE, true);
> >
> >               // Determine if component is visible using it's authorization 
> > status
> >               // and the isVisible property.
> >               if (isRenderAllowed() && isVisible()) //why not 
> > isVisibleInHierarchy() ??
> >               {
> >                    //etc...
> >                 }
> >                 //more code.
> >          }
> >
> > I am asking because I suspect a bug with the following StackTrace:
> >
> > Caused by: java.lang.NullPointerException
> >       at wicket.markup.html.list.ListView.renderItem(ListView.java:676)
> >       at wicket.markup.html.list.ListView.onRender(ListView.java:637)
> >
> > I happens when an AjaxTabbedPanel is updated via ajax. The tabbedPanel
> > contains a holder Panel with a ListView child component. The visibility of
> > the holder Panel is decided dynamicaly by overriding isVisible method.
> >
> > Maybe later I will try to isolate this situation and to make it more clear.
> > Still, I would like to know if you've encountered something like this.
> >
> > Thank you!
>
>
> --
> Alastair Maw
> Wicket-biased blog at http://herebebeasties.com
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to