Re: wicket portlet in Liferay 6.2
Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change 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 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 IRequestCycleProvider. Can anybody help me with an answer if some workaround is needed in wicketstuff-portlet 6.16? Thank you -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation.
Re: wicket portlet in Liferay 6.2
I'll try to downgrade step by step. Until recently I didn't use wicket in portal environment. All I know is that with wicket 1.5 (tested until 1.5.9) my library was ok in Liferay 6.1. In the mean time I upgraded my library to wicket 6 but it seems that was not a wise decision :) . I'll post my conclusions later. Thank you. On Tue, Jul 8, 2014 at 10:00 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change 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 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 IRequestCycleProvider. Can anybody help me with an answer if some workaround is needed in wicketstuff-portlet 6.16? Thank you -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation. -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation.
Re: wicket portlet in Liferay 6.2
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.IBehaviorListener.0-refreshTimeLinkp_p_cacheability=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...@everlight.ro wrote: I'll try to downgrade step by step. Until recently I didn't use wicket in portal environment. All I know is that with wicket 1.5 (tested until 1.5.9) my library was ok in Liferay 6.1. In the mean time I upgraded my library to wicket 6 but it seems that was not a wise decision :) . I'll post my conclusions later. Thank you. On Tue, Jul 8, 2014 at 10:00 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change 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 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 IRequestCycleProvider. Can anybody help me with an answer if some workaround is needed in wicketstuff-portlet 6.16? Thank you -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation. -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation. -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation.
Re: wicket portlet in Liferay 6.2
What about 6.11.0 ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 12:55 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.IBehaviorListener.0-refreshTimeLinkp_p_cacheability=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...@everlight.ro wrote: I'll try to downgrade step by step. Until recently I didn't use wicket in portal environment. All I know is that with wicket 1.5 (tested until 1.5.9) my library was ok in Liferay 6.1. In the mean time I upgraded my library to wicket 6 but it seems that was not a wise decision :) . I'll post my conclusions later. Thank you. On Tue, Jul 8, 2014 at 10:00 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change 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 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 IRequestCycleProvider. Can anybody help me with an answer if some workaround is needed in wicketstuff-portlet 6.16? Thank you -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation. -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation. -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation.
Re: wicket portlet in Liferay 6.2
https://github.com/wicketstuff/core/issues/172 this sounds like related but the change has been made in an earlier version Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 1:11 PM, Martin Grigorov mgrigo...@apache.org wrote: What about 6.11.0 ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 12:55 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.IBehaviorListener.0-refreshTimeLinkp_p_cacheability=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...@everlight.ro wrote: I'll try to downgrade step by step. Until recently I didn't use wicket in portal environment. All I know is that with wicket 1.5 (tested until 1.5.9) my library was ok in Liferay 6.1. In the mean time I upgraded my library to wicket 6 but it seems that was not a wise decision :) . I'll post my conclusions later. Thank you. On Tue, Jul 8, 2014 at 10:00 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change 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 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 IRequestCycleProvider. Can anybody help me with an answer if some workaround is needed in wicketstuff-portlet 6.16? Thank you -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation. -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation. -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation.
Re: wicket portlet in Liferay 6.2
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 wrote: https://github.com/wicketstuff/core/issues/172 this sounds like related but the change has been made in an earlier version Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 1:11 PM, Martin Grigorov mgrigo...@apache.org wrote: What about 6.11.0 ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 12:55 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.IBehaviorListener.0-refreshTimeLinkp_p_cacheability=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...@everlight.ro wrote: I'll try to downgrade step by step. Until recently I didn't use wicket in portal environment. All I know is that with wicket 1.5 (tested until 1.5.9) my library was ok in Liferay 6.1. In the mean time I upgraded my library to wicket 6 but it seems that was not a wise decision :) . I'll post my conclusions later. Thank you. On Tue, Jul 8, 2014 at 10:00 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change 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 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 IRequestCycleProvider. Can anybody help me with an answer if some workaround is needed in wicketstuff-portlet 6.16? Thank you -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation. -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation. -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation. -- _ Elvis Ciocoiu Senior Consultant
Re: wicket portlet in Liferay 6.2
Oh, sorry. I read that it is OK in 6.10 and not OK in 6.12. Here is the changelog for 6.13.0 - https://issues.apache.org/jira/issues/?jql=project%20%3D%20WICKET%20AND%20fixVersion%20%3D%206.13.0 There are few tickets related to statelessness of the page. I'm not sure whether it is related but it is easy to test: add setStatelessHint(false) to the page's constructor. Martin Grigorov Wicket Training 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 wrote: https://github.com/wicketstuff/core/issues/172 this sounds like related but the change has been made in an earlier version Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 1:11 PM, Martin Grigorov mgrigo...@apache.org wrote: What about 6.11.0 ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 12:55 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.IBehaviorListener.0-refreshTimeLinkp_p_cacheability=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...@everlight.ro wrote: I'll try to downgrade step by step. Until recently I didn't use wicket in portal environment. All I know is that with wicket 1.5 (tested until 1.5.9) my library was ok in Liferay 6.1. In the mean time I upgraded my library to wicket 6 but it seems that was not a wise decision :) . I'll post my conclusions later. Thank you. On Tue, Jul 8, 2014 at 10:00 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change 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 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 IRequestCycleProvider. Can anybody help me with an answer if some workaround is needed in wicketstuff-portlet 6.16? Thank you -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation. -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation. -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA
Re: wicket portlet in Liferay 6.2
I think I found the problem ... in wicket 6.13 Component.urlFor(final Behavior behaviour, RequestListenerInterface listener, final PageParameters parameters) the decision to use BookmarkableListenerInterfaceRequestHandler or ListenerInterfaceRequestHandler is different from wicket 6.12 where only isStateless() was called. In my case the BookmarkableListener maps to the wrong url. Any idea? Thank you. On Tue, Jul 8, 2014 at 1:49 PM, Martin Grigorov mgrigo...@apache.org wrote: Oh, sorry. I read that it is OK in 6.10 and not OK in 6.12. Here is the changelog for 6.13.0 - https://issues.apache.org/jira/issues/?jql=project%20%3D%20WICKET%20AND%20fixVersion%20%3D%206.13.0 There are few tickets related to statelessness of the page. I'm not sure whether it is related but it is easy to test: add setStatelessHint(false) to the page's constructor. Martin Grigorov Wicket Training 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 wrote: https://github.com/wicketstuff/core/issues/172 this sounds like related but the change has been made in an earlier version Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 1:11 PM, Martin Grigorov mgrigo...@apache.org wrote: What about 6.11.0 ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 12:55 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.IBehaviorListener.0-refreshTimeLinkp_p_cacheability=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...@everlight.ro wrote: I'll try to downgrade step by step. Until recently I didn't use wicket in portal environment. All I know is that with wicket 1.5 (tested until 1.5.9) my library was ok in Liferay 6.1. In the mean time I upgraded my library to wicket 6 but it seems that was not a wise decision :) . I'll post my conclusions later. Thank you. On Tue, Jul 8, 2014 at 10:00 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change 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 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 IRequestCycleProvider. Can anybody help me with an answer if some workaround is needed in wicketstuff-portlet 6.16? Thank you -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation. -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro
Re: wicket portlet in Liferay 6.2
On Tue, Jul 8, 2014 at 1:58 PM, Ciocoiu Elvis elvis.cioc...@everlight.ro wrote: I think I found the problem ... in wicket 6.13 Component.urlFor(final Behavior behaviour, RequestListenerInterface listener, final PageParameters parameters) the decision to use BookmarkableListenerInterfaceRequestHandler or ListenerInterfaceRequestHandler is different from wicket 6.12 where only isStateless() was called. In my case the BookmarkableListener maps to the wrong url. Any idea? The related ticket is: https://issues.apache.org/jira/browse/WICKET-4997 With improvement: https://issues.apache.org/jira/browse/WICKET-5521 It should be easy for you to workaround it: call org.apache.wicket.Page#setWasCreatedBookmarkable(false) for Portlet pages ?! But as I said I don't know well Portlet stuff and I cannot suggest a proper fix. Thank you. On Tue, Jul 8, 2014 at 1:49 PM, Martin Grigorov mgrigo...@apache.org wrote: Oh, sorry. I read that it is OK in 6.10 and not OK in 6.12. Here is the changelog for 6.13.0 - https://issues.apache.org/jira/issues/?jql=project%20%3D%20WICKET%20AND%20fixVersion%20%3D%206.13.0 There are few tickets related to statelessness of the page. I'm not sure whether it is related but it is easy to test: add setStatelessHint(false) to the page's constructor. Martin Grigorov Wicket Training 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 wrote: https://github.com/wicketstuff/core/issues/172 this sounds like related but the change has been made in an earlier version Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 1:11 PM, Martin Grigorov mgrigo...@apache.org wrote: What about 6.11.0 ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 12:55 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.IBehaviorListener.0-refreshTimeLinkp_p_cacheability=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...@everlight.ro wrote: I'll try to downgrade step by step. Until recently I didn't use wicket in portal environment. All I know is that with wicket 1.5 (tested until 1.5.9) my library was ok in Liferay 6.1. In the mean time I upgraded my library to wicket 6 but it seems that was not a wise decision :) . I'll post my conclusions later. Thank you. On Tue, Jul 8, 2014 at 10:00 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change 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 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 IRequestCycleProvider. Can anybody help me with an answer if some workaround is needed in wicketstuff-portlet 6.16? Thank you -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain
Re: wicket portlet in Liferay 6.2
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...@everlight.ro wrote: I think I found the problem ... in wicket 6.13 Component.urlFor(final Behavior behaviour, RequestListenerInterface listener, final PageParameters parameters) the decision to use BookmarkableListenerInterfaceRequestHandler or ListenerInterfaceRequestHandler is different from wicket 6.12 where only isStateless() was called. In my case the BookmarkableListener maps to the wrong url. Any idea? Thank you. On Tue, Jul 8, 2014 at 1:49 PM, Martin Grigorov mgrigo...@apache.org wrote: Oh, sorry. I read that it is OK in 6.10 and not OK in 6.12. Here is the changelog for 6.13.0 - https://issues.apache.org/jira/issues/?jql=project%20%3D%20WICKET%20AND%20fixVersion%20%3D%206.13.0 There are few tickets related to statelessness of the page. I'm not sure whether it is related but it is easy to test: add setStatelessHint(false) to the page's constructor. Martin Grigorov Wicket Training 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 wrote: https://github.com/wicketstuff/core/issues/172 this sounds like related but the change has been made in an earlier version Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 1:11 PM, Martin Grigorov mgrigo...@apache.org wrote: What about 6.11.0 ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 12:55 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.IBehaviorListener.0-refreshTimeLinkp_p_cacheability=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...@everlight.ro wrote: I'll try to downgrade step by step. Until recently I didn't use wicket in portal environment. All I know is that with wicket 1.5 (tested until 1.5.9) my library was ok in Liferay 6.1. In the mean time I upgraded my library to wicket 6 but it seems that was not a wise decision :) . I'll post my conclusions later. Thank you. On Tue, Jul 8, 2014 at 10:00 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change 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 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 IRequestCycleProvider. Can anybody help me with an answer if some workaround is needed in wicketstuff-portlet 6.16? Thank you -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We
Re: wicket portlet in Liferay 6.2
It is the best we have at the moment. Suggestions how to make it better for Portlets are welcome! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov 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 one? Thank you On Tue, Jul 8, 2014 at 1:58 PM, Ciocoiu Elvis elvis.cioc...@everlight.ro wrote: I think I found the problem ... in wicket 6.13 Component.urlFor(final Behavior behaviour, RequestListenerInterface listener, final PageParameters parameters) the decision to use BookmarkableListenerInterfaceRequestHandler or ListenerInterfaceRequestHandler is different from wicket 6.12 where only isStateless() was called. In my case the BookmarkableListener maps to the wrong url. Any idea? Thank you. On Tue, Jul 8, 2014 at 1:49 PM, Martin Grigorov mgrigo...@apache.org wrote: Oh, sorry. I read that it is OK in 6.10 and not OK in 6.12. Here is the changelog for 6.13.0 - https://issues.apache.org/jira/issues/?jql=project%20%3D%20WICKET%20AND%20fixVersion%20%3D%206.13.0 There are few tickets related to statelessness of the page. I'm not sure whether it is related but it is easy to test: add setStatelessHint(false) to the page's constructor. Martin Grigorov Wicket Training 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 wrote: https://github.com/wicketstuff/core/issues/172 this sounds like related but the change has been made in an earlier version Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 1:11 PM, Martin Grigorov mgrigo...@apache.org wrote: What about 6.11.0 ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 12:55 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.IBehaviorListener.0-refreshTimeLinkp_p_cacheability=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...@everlight.ro wrote: I'll try to downgrade step by step. Until recently I didn't use wicket in portal environment. All I know is that with wicket 1.5 (tested until 1.5.9) my library was ok in Liferay 6.1. In the mean time I upgraded my library to wicket 6 but it seems that was not a wise decision :) . I'll post my conclusions later. Thank you. On Tue, Jul 8, 2014 at 10:00 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change 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 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 IRequestCycleProvider. Can anybody help me with an answer if some workaround is needed in wicketstuff-portlet 6.16? Thank you -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85
Re: wicket portlet in Liferay 6.2
Maybe BookmarkableListenerInterfaceRequestHandler should be handled also in PortletRequestHandler similar to how ListenerInterfaceRequstHandler is encoded (the BookmarkableListenerInterface... now is just ignored and mapHandler returns the url without encoding it for portal environment). Anyway, thank you for your suggestions. On Tue, Jul 8, 2014 at 2:19 PM, Martin Grigorov mgrigo...@apache.org wrote: It is the best we have at the moment. Suggestions how to make it better for Portlets are welcome! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov 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 one? Thank you On Tue, Jul 8, 2014 at 1:58 PM, Ciocoiu Elvis elvis.cioc...@everlight.ro wrote: I think I found the problem ... in wicket 6.13 Component.urlFor(final Behavior behaviour, RequestListenerInterface listener, final PageParameters parameters) the decision to use BookmarkableListenerInterfaceRequestHandler or ListenerInterfaceRequestHandler is different from wicket 6.12 where only isStateless() was called. In my case the BookmarkableListener maps to the wrong url. Any idea? Thank you. On Tue, Jul 8, 2014 at 1:49 PM, Martin Grigorov mgrigo...@apache.org wrote: Oh, sorry. I read that it is OK in 6.10 and not OK in 6.12. Here is the changelog for 6.13.0 - https://issues.apache.org/jira/issues/?jql=project%20%3D%20WICKET%20AND%20fixVersion%20%3D%206.13.0 There are few tickets related to statelessness of the page. I'm not sure whether it is related but it is easy to test: add setStatelessHint(false) to the page's constructor. Martin Grigorov Wicket Training 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 wrote: https://github.com/wicketstuff/core/issues/172 this sounds like related but the change has been made in an earlier version Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 1:11 PM, Martin Grigorov mgrigo...@apache.org wrote: What about 6.11.0 ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 12:55 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.IBehaviorListener.0-refreshTimeLinkp_p_cacheability=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...@everlight.ro wrote: I'll try to downgrade step by step. Until recently I didn't use wicket in portal environment. All I know is that with wicket 1.5 (tested until 1.5.9) my library was ok in Liferay 6.1. In the mean time I upgraded my library to wicket 6 but it seems that was not a wise decision :) . I'll post my conclusions later. Thank you. On Tue, Jul 8, 2014 at 10:00 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change 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 in a portlet and WicketAjax call failure with: Error while parsing response: Invalid XML. I know there were some problems
Re: wicket portlet in Liferay 6.2
Sounds as the Solution ! Play with it and send a Pull Request to https://github.com/wicketstuff/core if it helps. Thanks! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 2:28 PM, Ciocoiu Elvis elvis.cioc...@everlight.ro wrote: Maybe BookmarkableListenerInterfaceRequestHandler should be handled also in PortletRequestHandler similar to how ListenerInterfaceRequstHandler is encoded (the BookmarkableListenerInterface... now is just ignored and mapHandler returns the url without encoding it for portal environment). Anyway, thank you for your suggestions. On Tue, Jul 8, 2014 at 2:19 PM, Martin Grigorov mgrigo...@apache.org wrote: It is the best we have at the moment. Suggestions how to make it better for Portlets are welcome! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov 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 one? Thank you On Tue, Jul 8, 2014 at 1:58 PM, Ciocoiu Elvis elvis.cioc...@everlight.ro wrote: I think I found the problem ... in wicket 6.13 Component.urlFor(final Behavior behaviour, RequestListenerInterface listener, final PageParameters parameters) the decision to use BookmarkableListenerInterfaceRequestHandler or ListenerInterfaceRequestHandler is different from wicket 6.12 where only isStateless() was called. In my case the BookmarkableListener maps to the wrong url. Any idea? Thank you. On Tue, Jul 8, 2014 at 1:49 PM, Martin Grigorov mgrigo...@apache.org wrote: Oh, sorry. I read that it is OK in 6.10 and not OK in 6.12. Here is the changelog for 6.13.0 - https://issues.apache.org/jira/issues/?jql=project%20%3D%20WICKET%20AND%20fixVersion%20%3D%206.13.0 There are few tickets related to statelessness of the page. I'm not sure whether it is related but it is easy to test: add setStatelessHint(false) to the page's constructor. Martin Grigorov Wicket Training 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 wrote: https://github.com/wicketstuff/core/issues/172 this sounds like related but the change has been made in an earlier version Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 1:11 PM, Martin Grigorov mgrigo...@apache.org wrote: What about 6.11.0 ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 12:55 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.IBehaviorListener.0-refreshTimeLinkp_p_cacheability=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...@everlight.ro wrote: I'll try to downgrade step by step. Until recently I didn't use wicket in portal environment. All I know is that with wicket 1.5 (tested until 1.5.9) my library was ok in Liferay 6.1. In the mean time I upgraded my library to wicket 6 but it seems that was not a wise decision :) . I'll post my conclusions later. Thank you. On Tue, Jul 8, 2014 at 10:00 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change in Wicket that may broke it. Martin Grigorov Wicket
wicket portlet in Liferay 6.2
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 IRequestCycleProvider. Can anybody help me with an answer if some workaround is needed in wicketstuff-portlet 6.16? Thank you -- _ Elvis Ciocoiu Senior Consultant Everlight Solutions ROMANIA address: http://www.everlight.ro http://www.synthesys.ro/ e-mail: elvis.cioc...@everlight.ro elvis.cioc...@synthesys.ro mobile : (40) 0745 13 75 85 This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by email to off...@everlight.ro off...@synthesys.ro. We appreciate your cooperation.