fixed. Panel children can now be re-rendered (AJAX) as well.
Juergen
On 12/23/05, Juergen Donnerstag [EMAIL PROTECTED] wrote:
Actually rerendering a Panel does work (junit tests are successful),
but a component within a panel does not.
Juergen
On 12/23/05, Marco van de Haar [EMAIL
I might be a bit late, but I built a few components using your code and
I have to say it works pretty good! The only problems I encountered
during testing were indeed with Panels. Not only with rerendering
Panels, but also with rerendering components within Panels. When our
demo app is done we
Actually rerendering a Panel does work (junit tests are successful),
but a component within a panel does not.
Juergen
On 12/23/05, Marco van de Haar [EMAIL PROTECTED] wrote:
I might be a bit late, but I built a few components using your code and
I have to say it works pretty good! The only
Hi,
I extended the junit with such a case. And yes, it fails as well.
If you can find time to look at this before 1.2 it would be great.
If could try to help too, but so far it looks like I'll have to learn
more about wicket internals before.
Ari S.
On 12/19/05, Ari
Hi,
I can now report that things mostly work. But there are still some
cases where the page renders ok, but some components don't when
trying to render just a component. My application is already rather complex
(I'm still digging deeper in this), but it looks like that there are cases
where
Ok,
I have now reproduced the problem with simple page. If I have a page, which has
a panel (with
it's own html template) which contains some tags it is not possible to render
those panel's tags
via ajax handler from phonebook example.
The difference with full page render and partial render
It might that Panel is the problem, but I'm not sure you explanation is right.
Panel.java
protected void onRender()
{
// Render the tag that included this html compoment
final MarkupStream markupStream = findMarkupStream();
validateMarkupStream(markupStream);
Hi,
It might that Panel is the problem, but I'm not sure you explanation is right.
Well, I'm almost sure that my explanation is not right :-)
The test code is available at http://www.suutari.iki.fi/tmp/simpletest.zip
(it shows a simple page, with a link. Click the link to launch the
Hi again,
SimplePageTest
contains a test to rerender the Panel, but not a component inside a
Panel, correct? Is that the test you added?
Sorry, I missed this, but yes, this is specifically the case that seems to
fail.
My code is not a junit test case, it is more like a very much
I extended the junit with such a case. And yes, it fails as well.
Juergen
On 12/19/05, Ari Suutari [EMAIL PROTECTED] wrote:
Hi again,
SimplePageTest
contains a test to rerender the Panel, but not a component inside a
Panel, correct? Is that the test you added?
Sorry, I missed this,
Hi,
okay I'm kinda lost and I think i'm either doing somehting fundamentally wrong
or missing something really stupid..
Me too. I tried to study the junit test that (re)renders a component, but
cannot get it working with browser. What I tried was to create AjaxHandler to
Got it.
Ari S.
- Original Message -
From: Juergen Donnerstag [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Sent: Friday, December 16, 2005 1:35 PM
Subject: Re: [Wicket-user] How to render part of page (with ajax maybe)
Try
Ok,
(Sorry for horrible formatting of this e-mail)
I took code from AjaxHandler.java to my TestAjaxHandler, so it looks
like this:
import wicket.*;
import wicket.protocol.http.*;
import wicket.protocol.http.servlet.ServletWebRequest;
import wicket.response.StringResponse;
import
That that is true as well. You can not render a component inside a
view, because these component by default get removed onEndRequest for
optimization reason. I think you can avoid it by calling
listView.setOptimized()
Juergen
On 12/16/05, Ari Suutari [EMAIL PROTECTED] wrote:
Hi,
I did
okay I'm kinda lost and I think i'm either doing somehting fundamentally
wrong or missing something really stupid..
this is the error I get when i call someRequestCycle.request(myLabel)
I studied the simplepageTest rerender calls, I created a
ComponentRequestTarget, set the target,
Could you create a junit test and provide the source to us. I'll look into it.
Juergen
On 12/15/05, Marco van de Haar [EMAIL PROTECTED] wrote:
okay I'm kinda lost and I think i'm either doing somehting fundamentally
wrong or missing something really stupid..
this is the error I get when
Is there any concrete (simple) code example for rerendering a part of a
page? I tried myRequestCycle.request(myComponent), but all I got were
huge errors in my console.
Ari Suutari wrote:
Hi,
Project wicket-stuff contains already some AJAX components
(scriptaculous and dojo based ones).
that should work, what kind of errors do you getsee the unit test: SimplePageTestand then the rerender(component) calls.johanOn 12/2/05,
Marco van de Haar [EMAIL PROTECTED] wrote:
Is there any concrete (simple) code example for rerendering a part of apage? I tried
you should use requestcycle.setResponseTarget with ComponentRequestTarget
Eelco
On 12/2/05, Marco van de Haar [EMAIL PROTECTED] wrote:
Is there any concrete (simple) code example for rerendering a part of a
page? I tried myRequestCycle.request(myComponent), but all I got were
huge errors in
that is what RequestCycle.request(component) does (and how the SimplePageTest works)On 12/2/05, Eelco Hillenius
[EMAIL PROTECTED] wrote:you should use requestcycle.setResponseTarget
with ComponentRequestTargetEelcoOn 12/2/05, Marco van de Haar [EMAIL PROTECTED] wrote: Is there any concrete
Hi,
We are developing applications, which have kind of a content 'push' system,
ie. data arrives from factory automation and we visualize it on-line.
Our traditional approach to this has been to send the data to browser
(via applet and additional tcp socket) and use javascript to render it.
Project wicket-stuff contains already some AJAX components
(scriptaculous and dojo based ones). Wicket core contain a AjaxHandler
and we provide a yet experimental component level re-render
(requestcycle.render(component). Though the latter one is no yet
accessible through a URL (that piece of
Hi,
Project wicket-stuff contains already some AJAX components
(scriptaculous and dojo based ones). Wicket core contain a AjaxHandler
and we provide a yet experimental component level re-render
(requestcycle.render(component). Though the latter one is no yet
accessible through a URL (that piece
23 matches
Mail list logo