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
I'm setting up a simple table, with some links in a column. When clicking on the links generated, I see an InternalErrorPage, and wicket logs something like :No component found for 8:fields:rows:2:cells:6:cell
where my html has:table wicket:id=fields class=grid/tableas I play with the component
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
On Friday 16 Dec 2005 05:40, Maurice Marrink wrote:
We use the dao pattern. any exceptions are handled by the different dao's.
This would require duplicating error and transaction handling in every method.
It also creates a new transaction for every data operation which does not
allow for
On Friday 16 Dec 2005 02:47, Igor Vaynberg wrote:
There is in fact an on error handler Application.onRuntimeException(). its
called whenever there is a runtime exception. instead of trying to do
try/catch in your filter you can use a request variable to indicate
success/failure. set it to
ImmediateCheckbox (ImmediateUpdateHandler) uses
renderheadInitContribution to make a Javascript contribution to the Page
(immediateCheckBox()). However, the method's Javadoc says :
Do a one time (per page) header contribution that is the same for all
ajax variant implementations (e.g. Dojo,
Is there any way to embed a label as the text for the Wicket id? For
example, something like
input wicket:id = span wicket:id = 'propertyNameLabel'/span type
= text size = 80 /
---
This SF.net email is sponsored by: Splunk Inc. Do
why would you need to do something like that? what exactly are you trying to accomplish?-IgorOn 12/16/05, Dzenan Ridjanovic
[EMAIL PROTECTED] wrote:Is there any way to embed a label as the text for the Wicket id? For
example, something likeinput wicket:id = span wicket:id =
just to clarify, wicket generates the table correctly, but clicking the links raises the problem. This is the generated html :tr class=odd wicket:id=rows td wicket:id=cells
span wicket:id=cellsome message/span /tdtd wicket:id=cells span wicket:id=cellwicket:panel a href=""
the full name of the interface is: wicket.request.compound.IExceptionResponseStrategy. you can substitute your own implementation into the compound request cycle processor. if your implementation throws a runtime exception it will get to your filter because there are no try/catch blocks in wicket
there are other ways you can achive the property model behaviour then making the id of the component the name of the property. this is a convinient default, but sometimes it doesnt work like you just found out. i would pass the compound model you are using as the constructor to the panel so that
why not instead of using a filter subclass webrequestcycle and all the
transaction logic into it. its all in one place and neat. i think there
are ample hooks for the keypoints you need.
-Igor
On 12/16/05, John Patterson [EMAIL PROTECTED] wrote:
On Friday 16 Dec 2005 18:35, Igor Vaynberg wrote:
14 matches
Mail list logo