not serializable exception

2015-11-19 Thread Ciocoiu Elvis
Hello, After upgrading to wicket 6.21.0 I've get a strange serialization error when adding the debug bar to ajax target. I do this on every ajax event in development and it worked until today. The stacktrace extras: Caused by: java.lang.RuntimeException: An error occurred while getting the model

Re: Ajax download stops AjaxSelfUpdatingTimer

2015-01-26 Thread Ciocoiu Elvis
Hello again, Thank you for your hints. Ajax debug shows nothing interesting. It seems it has to do with target.appendJavaScript(setTimeout(\window.location.href=' + url + '\, 100);); from AjaxDownload. If I comment this the timer works but not file is downloaded. I refreshed manually the

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Ciocoiu Elvis
in Wicket that may broke it. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Jul 7, 2014 at 8:51 PM, Ciocoiu Elvis elvis.cioc...@everlight.ro wrote: Hi, I'm facing a problem with wicketstuff-portlet-6.16 in Liferay 6.2. I'm using AjaxLink

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Ciocoiu Elvis
=cacheLevelPagep_p_col_id=column-1p_p_col_count=1_=1404812714838 Starting from 6.13.0 the url is http://localhost:8080/web/guest/?0-1.IBehaviorListener.0-refreshTimeLink_=1404812884161 Any idea what change broke the wicket-portlet? Thank you. On Tue, Jul 8, 2014 at 10:55 AM, Ciocoiu Elvis elvis.cioc

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Ciocoiu Elvis
PM, Ciocoiu Elvis elvis.cioc...@everlight.ro wrote: Seems that in 6.10.0 to 6.12.0 the url for my AjaxLink is ok http://localhost:8080/web/guest/welcome?p_p_id=test_WAR_wicketportalportlet_INSTANCE_2JbV4Gjuyvejp_p_lifecycle=2p_p_state=normalp_p_mode=viewp_p_resource_id=/test/%3F0-1

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Ciocoiu Elvis
and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 1:36 PM, Ciocoiu Elvis elvis.cioc...@everlight.ro wrote: In 6.10, 6.11, 6.12 the url is rendered ok. In 6.13, 6.14, 6.15, 6.16 the url is wrong. On Tue, Jul 8, 2014 at 1:17 PM, Martin Grigorov mgrigo...@apache.org

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Ciocoiu Elvis
If i use Application.getPageSettings().setRecreateMountedPagesAfterExpiry(false) my AjaxLink works but I\m not sure about the implications. Is the Component.urlFor(...) implementation in wicket 6.13 the correct one? Thank you On Tue, Jul 8, 2014 at 1:58 PM, Ciocoiu Elvis elvis.cioc

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Ciocoiu Elvis
On Tue, Jul 8, 2014 at 2:13 PM, Ciocoiu Elvis elvis.cioc...@everlight.ro wrote: If i use Application.getPageSettings().setRecreateMountedPagesAfterExpiry(false) my AjaxLink works but I\m not sure about the implications. Is the Component.urlFor(...) implementation in wicket 6.13 the correct

wicket portlet in Liferay 6.2

2014-07-07 Thread Ciocoiu Elvis
Hi, I'm facing a problem with wicketstuff-portlet-6.16 in Liferay 6.2. I'm using AjaxLink in a portlet and WicketAjax call failure with: Error while parsing response: Invalid XML. I know there were some problems (starting with wicket 1.5.9) but this problems were solved using a custom

Re: inmethod grid cachedPageCount

2013-03-04 Thread Ciocoiu Elvis
Thank you Paul, But in my case I'm using IDataSource from immethod grid to retrieve the current page. In client code after inserting the new record in the database I'm obtaining the corresponding page number (greater than the one cached by inmethod grid) and let the grid display itself

inmethod grid cachedPageCount

2013-02-24 Thread Ciocoiu Elvis
Hi, I'm trying to select a item of inmethod grid after adding it in an ajax call. Based on the current sort properties and filters, after I effectively add the element in the database but in the same ajax call I'm determining the element's page number and try to set it as current page in the

multipart ajax upload

2013-02-24 Thread Ciocoiu Elvis
Hi, I'm fighting with a strange problem when using a form (multipart) with a required TextField and a FileUploadField. Sometimes works as expected (the required error message is displayed in FeedbackPanel) but most of the times the feedback message is not displayed. Also, after submiting for a

Re: wicket portlet with ajax

2012-10-06 Thread Ciocoiu Elvis
I solve it. The problem was the portlet-name must be equal with the string used by the wicket filter. Thank you. On Sat, Oct 6, 2012 at 1:25 AM, elvis.ciocoiu elvis.cioc...@synthesys.rowrote: Hello, I'm stuck building a portlet using wicketstuff-portlet-1.5.8 and deploying it to liferay

Re: custom listeners

2012-05-17 Thread Ciocoiu Elvis
, Ciocoiu Elvis elvis.cioc...@synthesys.ro wrote: I'm working on a framework that builds the user interface (input fields, labels, containers for layout, grids, ...) and one of the features is that a custom field editor (for example a dropdown) can publish events (for example value changed

Re: custom listeners

2012-05-17 Thread Ciocoiu Elvis
at creation time. I'll adapt it to events in 1.5 but right now I'm closing the 1.4 chapter. On Thu, May 17, 2012 at 9:59 AM, Ciocoiu Elvis elvis.cioc...@synthesys.rowrote: Sorry for that... OnCreate is my method method ... Called only first time in onbeforender. I'll adapt it to event mechanism when

Re: custom listeners

2012-05-16 Thread Ciocoiu Elvis
I'm working on a framework that builds the user interface (input fields, labels, containers for layout, grids, ...) and one of the features is that a custom field editor (for example a dropdown) can publish events (for example value changed). Internally when creating the field editor I register it