I have another quick question.

I have an AjaxDirectLink which can show/hide a div which contains form input components. If the form inputs are visible and I then hide the box containing the form inputs then submit the form (regular tapestry submit) I get null pointer errors everywhere, most likely because tapestry was expecting the components to be there.

Is there a good way around this? The stack trace I get is pure tapestry engine calls and has nothing to do with my own code (not one reference to any of my packages)...

I guess I could always just set the div to hidden (via css), but the purpose was to save rendering time by not rendering the components at all when appropriate.

Thanks.

BTW keep up the work on Tacos, I'm really liking it, and it's very easy to use :)

----- Original Message ----- From: "Daniel Lydiard" <[EMAIL PROTECTED]>
To: "Tapestry users" <[email protected]>
Sent: Friday, March 03, 2006 10:53 AM
Subject: Tacos ajax direct link


When i click on an AjaxDirectLink, I'm noticing in my log file that the whole page is being re-rendered in the background, then the small component i told AjaxDirectLink to update will update.

So everything works, it just seems inneffecient, especially when it's re-rendering my contrib:Table component when clicking on an Ajax link.

Am i doing something wrong, or is this more of a Tapestry limitation?

Thanks.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to