Re: PopupLink nullpointer exception

2005-10-25 Thread Shing Hing Man
I got round the problem by modifying the org.apache.tapestry.contrib.link.PopupLinkRenderer method constructURL to return null during rewinding. protected String constructURL(ILink link, String anchor, IRequestCycle cycle) { // Add this if (cycle.isRewinding()){

Re: PopupLink nullpointer exception

2005-10-25 Thread Vinicius Carvalho
Just tiried on a regular page, same error... :( On 10/25/05, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: > > Hum, dunno. I just update the version to alpha-5 and messages went way as > said on my post. I guess I could try on a page without Ajax. I'll let you > know > > On 10/25/05, Jesse Kuhnert

Re: PopupLink nullpointer exception

2005-10-25 Thread Vinicius Carvalho
Hum, dunno. I just update the version to alpha-5 and messages went way as said on my post. I guess I could try on a page without Ajax. I'll let you know On 10/25/05, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > Hmmm...Based on the mentioning of ajax errrors earlier, are you by any > chance getting

Re: PopupLink nullpointer exception

2005-10-25 Thread Dan Adams
Well, I was using it in a component that did not render in rewind so it didn't end up being a problem. So, no, I did not get a solution for it. On Tue, 2005-10-25 at 16:00 -0200, Vinicius Carvalho wrote: > hum, did you get a solution for it? > > On 10/25/05, Dan Adams <[EMAIL PROTECTED]> wrote: >

Re: PopupLink nullpointer exception

2005-10-25 Thread Jesse Kuhnert
Hmmm...Based on the mentioning of ajax errrors earlier, are you by any chance getting this error when doing an ajax request within a portal environment? jesse On 10/25/05, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: > > hum, did you get a solution for it? > > On 10/25/05, Dan Adams <[EMAIL PROTE

Re: PopupLink nullpointer exception

2005-10-25 Thread Vinicius Carvalho
hum, did you get a solution for it? On 10/25/05, Dan Adams <[EMAIL PROTECTED]> wrote: > > I got the same exception. It happens on page rewind for some reason. > > On Tue, 2005-10-25 at 15:29 -0200, Vinicius Carvalho wrote: > > Hello there! I'm trying to use Popuplink and I'm getting a nullpointer

Re: PopupLink nullpointer exception

2005-10-25 Thread Dan Adams
I got the same exception. It happens on page rewind for some reason. On Tue, 2005-10-25 at 15:29 -0200, Vinicius Carvalho wrote: > Hello there! I'm trying to use Popuplink and I'm getting a nullpointer > exception. Here's my component declaration: > > > < /binding> > > > name="meuRenderPopup"

PopupLink nullpointer exception

2005-10-25 Thread Vinicius Carvalho
Hello there! I'm trying to use Popuplink and I'm getting a nullpointer exception. Here's my component declaration: < /binding> The error is caused on this line: PageRenderSupport support = (PageRenderSupport) cycle .getAttribute(TapestryUtils.PAGE_RENDER_SUPPORT_ATTRIBUTE); It is returnin