Hi,
Please show us how A instance is being created.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Sat, May 2, 2015 at 11:32 PM, Chris wrote:
> Hi Martin,
>
> I have a page with a field of type A that is set over a broadcast event.
> Class A has a dao which is
Hi Martin,
I have a page with a field of type A that is set over a broadcast event. Class
A has a dao which is injected via constructor.
The field dao cannot be serializable. How could I change this so a proxy is
injected?
Thanks!
Page {
A a;
public void onEvent(IEvent event) {
supe
Hi,
On May 2, 2015 10:22 PM, "Sandor Feher" wrote:
>
> Hi,
>
> A have a WebMarkupContainer and a DataTable inside in it.
> I would like to refresh the datatable based on my spring bean's event. To
> achieve this I added an AjaxSelfUpdatingBehaviour to container. My problem
> is that I'm not able t
Thanks for the suggestions. The event the container or table need to be
refreshed on comes from a spring bean. The scenario is that if a user
uploads a file via web service then a the uploads panel need to be
refreshed. So I check the spring bean's state to see if an upload event
occured. If so the
Hi,
Injected how?
wicket-spring and -guice inject serializable proxies so there is no such
issue with them
On May 2, 2015 10:26 PM, "Chris" wrote:
> Hi all,
>
> what is the best approach to handle non-serializable objects in Wicket
> pages? E.g. when an object has a DAO injected and this object
Hi all,
what is the best approach to handle non-serializable objects in Wicket pages?
E.g. when an object has a DAO injected and this object is a field of a Wicket
page?
Thanks a lot,
Chris
-
To unsubscribe, e-mail: users-unsub
Hi,
A have a WebMarkupContainer and a DataTable inside in it.
I would like to refresh the datatable based on my spring bean's event. To
achieve this I added an AjaxSelfUpdatingBehaviour to container. My problem
is that I'm not able to control the refresh because
at onPostProcessTarget the refresh
If the update could be tied to some action taken elsewhere, like updating a
textfield, clicking a button or link you should consider adding the
webmarkupContainer to the ajaxrequesttarget on the onEvent, onSubmit etc of
those components.
Before adding you have to change the backing model of the tab