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 <[email protected]> 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 <[email protected]> > 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 <[email protected]> > > 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 < > [email protected] > >> > > >> 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 <[email protected] > > > >> > 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 < > [email protected] > >> > > >> > > 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 < > >> > > [email protected] > >> > > > > 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_2JbV4Gjuyvej&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=/test/%3F0-1.IBehaviorListener.0-refreshTimeLink&p_p_cacheability=cacheLevelPage&p_p_col_id=column-1&p_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 < > >> > > >> [email protected]> > >> > > >> 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 < > >> > > [email protected]> > >> > > >> > 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 < > >> > > >> [email protected] > >> > > >> >> > > >> > > >> >> 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: [email protected] < > >> [email protected]> > >> > > >> >> > 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 > >> > > >> >> > [email protected] <[email protected]>. We appreciate > your > >> > > >> >> cooperation. > >> > > >> >> > > >> > > >> >> > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > -- > >> > > >> > _____________________________________________________ > >> > > >> > Elvis Ciocoiu > >> > > >> > Senior Consultant > >> > > >> > > >> > > >> > Everlight Solutions ROMANIA > >> > > >> > > >> > > >> > address: http://www.everlight.ro <http://www.synthesys.ro/> > >> > > >> > e-mail: [email protected] <[email protected] > > > >> > > >> > 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 > >> > > >> > [email protected] <[email protected]>. We appreciate your > >> > > >> cooperation. > >> > > >> > > >> > > >> > >> > > >> > >> > > >> > >> > > >> -- > >> > > >> _____________________________________________________ > >> > > >> Elvis Ciocoiu > >> > > >> Senior Consultant > >> > > >> > >> > > >> Everlight Solutions ROMANIA > >> > > >> > >> > > >> address: http://www.everlight.ro <http://www.synthesys.ro/> > >> > > >> e-mail: [email protected] <[email protected]> > >> > > >> 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 > >> > > >> [email protected] <[email protected]>. We appreciate your > >> > > >> cooperation. > >> > > >> > >> > > > > >> > > > > >> > > > >> > > >> > > >> > > >> > -- > >> > _____________________________________________________ > >> > Elvis Ciocoiu > >> > Senior Consultant > >> > > >> > Everlight Solutions ROMANIA > >> > > >> > address: http://www.everlight.ro <http://www.synthesys.ro/> > >> > e-mail: [email protected] <[email protected]> > >> > 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 > >> > [email protected] <[email protected]>. We appreciate your > >> cooperation. > >> > > >> > > > > > > > > -- > > _____________________________________________________ > > Elvis Ciocoiu > > Senior Consultant > > > > Everlight Solutions ROMANIA > > > > address: http://www.everlight.ro <http://www.synthesys.ro/> > > e-mail: [email protected] <[email protected]> > > 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 > > [email protected] <[email protected]>. We appreciate your > cooperation. > > > > > > -- > _____________________________________________________ > Elvis Ciocoiu > Senior Consultant > > Everlight Solutions ROMANIA > > address: http://www.everlight.ro <http://www.synthesys.ro/> > e-mail: [email protected] <[email protected]> > 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 > [email protected] <[email protected]>. We appreciate your cooperation. >
