Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Martin Grigorov
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

2014-07-08 Thread Ciocoiu Elvis
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

2014-07-08 Thread Ciocoiu Elvis
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

2014-07-08 Thread Martin Grigorov
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

2014-07-08 Thread Martin Grigorov
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

2014-07-08 Thread Ciocoiu Elvis
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

2014-07-08 Thread Martin Grigorov
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

2014-07-08 Thread Ciocoiu Elvis
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

2014-07-08 Thread Martin Grigorov
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

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...@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

2014-07-08 Thread Martin Grigorov
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

2014-07-08 Thread Ciocoiu Elvis
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

2014-07-08 Thread Martin Grigorov
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 

Re: Wicket portlet into liferay

2009-04-24 Thread Thijs
Take into account that you might be able to use the jquery that is 
already inside Liferay.
So if you want to use jquery from wicketstuff you'll probably have to 
modify those components a bit.



On 24-4-2009 18:45, Tonio Caputo wrote:

Thanks Rob for taking care,

I was just using the DatePicker that comes with wicket-extensions, I still
need to get into wicket to see what to use
and what not to, as I've told just my first steps guided by Wicket In
Action.

But it seems jquery and wicket is a very common couple I've seen looking at
the e-mails, so probably begin
looking how to integrate them.

Thanks again
tonio

On Fri, Apr 24, 2009 at 2:07 AM, Rob Sonker...@tigrou.nl  wrote:

   

Hi,

Nice to hear that everything seems to work now. About the datepicker, which
one is that? Because I'm using one from the wicketstuff projects (
http://www.dynarch.com/static/jscalendar-1.0/index.html) and that one is
working fine. But we're about to migrate to a jquery based one.

Rob


On 4/23/09 5:28 AM, Tonio Caputo wrote:

 

Hi,

After trying a lot I finally was able to show and work (more or less).

A warning: Never call your appl/portlet-name with the same name
as the url-mapping, if not it won't work that was the main problem.

My new problem I'm using DatePicker from wicket-extensions/wicket-date
in a form, the date picker is not working (I mean the button that shows
the
calendar
and let you choose a date in a friendly way)

Not found something useful in mailing-lists so
I added supports mime-type: text/javascript and application/x-javascript
to
portlet.xml, but still not working.

Any idea of what is happening, or a solution to this problem

Thanks very much in advance
tonio

On Tue, Apr 21, 2009 at 5:33 PM, Rob Sonker...@tigrou.nl   wrote:



   

Hi,

We're running wicket 1.4m2 on liferay 5.2.x and that's working fine. We
only use the sun portlet container instead of the one from Liferay.
Search
the mailinglist and the liferay forum for the steps which you'll have to
perform.

Rob


On 4/21/09 4:45 AM, Tonio Caputo wrote:



 

Hi,

I've tried with liferay 5.2.2 tomcat6/tomcat55/jetty6.1.14, and no
success.

In both tomcat, application is deployed, but when put into a page, the
application
is not shown.

In jetty, the application doesn't get deployed.

In all cases there is no log, or any message that let me know what is
happening.

Any help will be greatly welcome
Wicket is really a nice framework (the nicer I've seen), and it would be
wonderful if I can use it instead JSP framework provided by liferay.

Thanks in advance
tonio

On Mon, Apr 20, 2009 at 12:21 PM, Tonio Caputoton...@exeo.com.ar
  wrote:





   

Hi wicket users,

I'm a newbie in wicket and portlets, I'm involved in trying to find a
web framework to create portlets in a liferay portal, my duty is to
try wicket and see if it works.

Versions   wicket 1-4-rc2
  liferay 5.2

After reading  Issue https://issues.apache.org/jira/browse/WICKET-1620
,
it
seems clear
that this is possible.

Reading wicket portlet examples, I realized there is a lot of stuff in
WicketPortlet, that
is a bit difficult to understand for a newbie for both things
(wicket/portlet).

I'll just like to know, if this is the correct example after
WICKET-1620,
or perhaps there
is a simpler one.

Thanks in advance
tonio






 


   
   


   




Re: Wicket portlet into liferay

2009-04-24 Thread Tonio Caputo
thank thijs,

I'll take that into account.

tonio



On Fri, Apr 24, 2009 at 4:42 PM, Thijs vonk.th...@gmail.com wrote:

 Take into account that you might be able to use the jquery that is already
 inside Liferay.
 So if you want to use jquery from wicketstuff you'll probably have to
 modify those components a bit.



 On 24-4-2009 18:45, Tonio Caputo wrote:

 Thanks Rob for taking care,

 I was just using the DatePicker that comes with wicket-extensions, I still
 need to get into wicket to see what to use
 and what not to, as I've told just my first steps guided by Wicket In
 Action.

 But it seems jquery and wicket is a very common couple I've seen looking
 at
 the e-mails, so probably begin
 looking how to integrate them.

 Thanks again
 tonio

 On Fri, Apr 24, 2009 at 2:07 AM, Rob Sonker...@tigrou.nl  wrote:



 Hi,

 Nice to hear that everything seems to work now. About the datepicker,
 which
 one is that? Because I'm using one from the wicketstuff projects (
 http://www.dynarch.com/static/jscalendar-1.0/index.html) and that one is
 working fine. But we're about to migrate to a jquery based one.

 Rob


 On 4/23/09 5:28 AM, Tonio Caputo wrote:



 Hi,

 After trying a lot I finally was able to show and work (more or less).

 A warning: Never call your appl/portlet-name with the same name
 as the url-mapping, if not it won't work that was the main problem.

 My new problem I'm using DatePicker from wicket-extensions/wicket-date
 in a form, the date picker is not working (I mean the button that shows
 the
 calendar
 and let you choose a date in a friendly way)

 Not found something useful in mailing-lists so
 I added supports mime-type: text/javascript and application/x-javascript
 to
 portlet.xml, but still not working.

 Any idea of what is happening, or a solution to this problem

 Thanks very much in advance
 tonio

 On Tue, Apr 21, 2009 at 5:33 PM, Rob Sonker...@tigrou.nl   wrote:





 Hi,

 We're running wicket 1.4m2 on liferay 5.2.x and that's working fine. We
 only use the sun portlet container instead of the one from Liferay.
 Search
 the mailinglist and the liferay forum for the steps which you'll have
 to
 perform.

 Rob


 On 4/21/09 4:45 AM, Tonio Caputo wrote:





 Hi,

 I've tried with liferay 5.2.2 tomcat6/tomcat55/jetty6.1.14, and no
 success.

 In both tomcat, application is deployed, but when put into a page, the
 application
 is not shown.

 In jetty, the application doesn't get deployed.

 In all cases there is no log, or any message that let me know what is
 happening.

 Any help will be greatly welcome
 Wicket is really a nice framework (the nicer I've seen), and it would
 be
 wonderful if I can use it instead JSP framework provided by liferay.

 Thanks in advance
 tonio

 On Mon, Apr 20, 2009 at 12:21 PM, Tonio Caputoton...@exeo.com.ar
  wrote:







 Hi wicket users,

 I'm a newbie in wicket and portlets, I'm involved in trying to find a
 web framework to create portlets in a liferay portal, my duty is to
 try wicket and see if it works.

 Versions   wicket 1-4-rc2
  liferay 5.2

 After reading  Issue
 https://issues.apache.org/jira/browse/WICKET-1620
 ,
 it
 seems clear
 that this is possible.

 Reading wicket portlet examples, I realized there is a lot of stuff
 in
 WicketPortlet, that
 is a bit difficult to understand for a newbie for both things
 (wicket/portlet).

 I'll just like to know, if this is the correct example after
 WICKET-1620,
 or perhaps there
 is a simpler one.

 Thanks in advance
 tonio




















Re: Wicket portlet into liferay

2009-04-23 Thread Rob Sonke

Hi,

Nice to hear that everything seems to work now. About the datepicker, 
which one is that? Because I'm using one from the wicketstuff projects 
(http://www.dynarch.com/static/jscalendar-1.0/index.html) and that one 
is working fine. But we're about to migrate to a jquery based one.


Rob

On 4/23/09 5:28 AM, Tonio Caputo wrote:

Hi,

After trying a lot I finally was able to show and work (more or less).

A warning: Never call your appl/portlet-name with the same name
as the url-mapping, if not it won't work that was the main problem.

My new problem I'm using DatePicker from wicket-extensions/wicket-date
in a form, the date picker is not working (I mean the button that shows the
calendar
and let you choose a date in a friendly way)

Not found something useful in mailing-lists so
I added supports mime-type: text/javascript and application/x-javascript to
portlet.xml, but still not working.

Any idea of what is happening, or a solution to this problem

Thanks very much in advance
tonio

On Tue, Apr 21, 2009 at 5:33 PM, Rob Sonker...@tigrou.nl  wrote:

   

Hi,

We're running wicket 1.4m2 on liferay 5.2.x and that's working fine. We
only use the sun portlet container instead of the one from Liferay. Search
the mailinglist and the liferay forum for the steps which you'll have to
perform.

Rob


On 4/21/09 4:45 AM, Tonio Caputo wrote:

 

Hi,

I've tried with liferay 5.2.2 tomcat6/tomcat55/jetty6.1.14, and no
success.

In both tomcat, application is deployed, but when put into a page, the
application
is not shown.

In jetty, the application doesn't get deployed.

In all cases there is no log, or any message that let me know what is
happening.

Any help will be greatly welcome
Wicket is really a nice framework (the nicer I've seen), and it would be
wonderful if I can use it instead JSP framework provided by liferay.

Thanks in advance
tonio

On Mon, Apr 20, 2009 at 12:21 PM, Tonio Caputoton...@exeo.com.ar
  wrote:



   

Hi wicket users,

I'm a newbie in wicket and portlets, I'm involved in trying to find a
web framework to create portlets in a liferay portal, my duty is to
try wicket and see if it works.

Versions   wicket 1-4-rc2
  liferay 5.2

After reading  Issue https://issues.apache.org/jira/browse/WICKET-1620,
it
seems clear
that this is possible.

Reading wicket portlet examples, I realized there is a lot of stuff in
WicketPortlet, that
is a bit difficult to understand for a newbie for both things
(wicket/portlet).

I'll just like to know, if this is the correct example after WICKET-1620,
or perhaps there
is a simpler one.

Thanks in advance
tonio




 


   


   


Re: Wicket portlet into liferay

2009-04-22 Thread Tonio Caputo
Hi,

After trying a lot I finally was able to show and work (more or less).

A warning: Never call your appl/portlet-name with the same name
as the url-mapping, if not it won't work that was the main problem.

My new problem I'm using DatePicker from wicket-extensions/wicket-date
in a form, the date picker is not working (I mean the button that shows the
calendar
and let you choose a date in a friendly way)

Not found something useful in mailing-lists so
I added supports mime-type: text/javascript and application/x-javascript to
portlet.xml, but still not working.

Any idea of what is happening, or a solution to this problem

Thanks very much in advance
tonio

On Tue, Apr 21, 2009 at 5:33 PM, Rob Sonke r...@tigrou.nl wrote:

 Hi,

 We're running wicket 1.4m2 on liferay 5.2.x and that's working fine. We
 only use the sun portlet container instead of the one from Liferay. Search
 the mailinglist and the liferay forum for the steps which you'll have to
 perform.

 Rob


 On 4/21/09 4:45 AM, Tonio Caputo wrote:

 Hi,

 I've tried with liferay 5.2.2 tomcat6/tomcat55/jetty6.1.14, and no
 success.

 In both tomcat, application is deployed, but when put into a page, the
 application
 is not shown.

 In jetty, the application doesn't get deployed.

 In all cases there is no log, or any message that let me know what is
 happening.

 Any help will be greatly welcome
 Wicket is really a nice framework (the nicer I've seen), and it would be
 wonderful if I can use it instead JSP framework provided by liferay.

 Thanks in advance
 tonio

 On Mon, Apr 20, 2009 at 12:21 PM, Tonio Caputoton...@exeo.com.ar
  wrote:



 Hi wicket users,

 I'm a newbie in wicket and portlets, I'm involved in trying to find a
 web framework to create portlets in a liferay portal, my duty is to
 try wicket and see if it works.

 Versions   wicket 1-4-rc2
  liferay 5.2

 After reading  Issue https://issues.apache.org/jira/browse/WICKET-1620,
 it
 seems clear
 that this is possible.

 Reading wicket portlet examples, I realized there is a lot of stuff in
 WicketPortlet, that
 is a bit difficult to understand for a newbie for both things
 (wicket/portlet).

 I'll just like to know, if this is the correct example after WICKET-1620,
 or perhaps there
 is a simpler one.

 Thanks in advance
 tonio










Re: Wicket portlet into liferay

2009-04-21 Thread Rob Sonke

Hi,

We're running wicket 1.4m2 on liferay 5.2.x and that's working fine. We 
only use the sun portlet container instead of the one from Liferay. 
Search the mailinglist and the liferay forum for the steps which you'll 
have to perform.


Rob

On 4/21/09 4:45 AM, Tonio Caputo wrote:

Hi,

I've tried with liferay 5.2.2 tomcat6/tomcat55/jetty6.1.14, and no success.

In both tomcat, application is deployed, but when put into a page, the
application
is not shown.

In jetty, the application doesn't get deployed.

In all cases there is no log, or any message that let me know what is
happening.

Any help will be greatly welcome
Wicket is really a nice framework (the nicer I've seen), and it would be
wonderful if I can use it instead JSP framework provided by liferay.

Thanks in advance
tonio

On Mon, Apr 20, 2009 at 12:21 PM, Tonio Caputoton...@exeo.com.ar  wrote:

   

Hi wicket users,

I'm a newbie in wicket and portlets, I'm involved in trying to find a
web framework to create portlets in a liferay portal, my duty is to
try wicket and see if it works.

Versions   wicket 1-4-rc2
  liferay 5.2

After reading  Issue https://issues.apache.org/jira/browse/WICKET-1620, it
seems clear
that this is possible.

Reading wicket portlet examples, I realized there is a lot of stuff in
WicketPortlet, that
is a bit difficult to understand for a newbie for both things
(wicket/portlet).

I'll just like to know, if this is the correct example after WICKET-1620,
or perhaps there
is a simpler one.

Thanks in advance
tonio


 


   


Re: Wicket portlet into liferay

2009-04-20 Thread Tonio Caputo
Hi,

I've tried with liferay 5.2.2 tomcat6/tomcat55/jetty6.1.14, and no success.

In both tomcat, application is deployed, but when put into a page, the
application
is not shown.

In jetty, the application doesn't get deployed.

In all cases there is no log, or any message that let me know what is
happening.

Any help will be greatly welcome
Wicket is really a nice framework (the nicer I've seen), and it would be
wonderful if I can use it instead JSP framework provided by liferay.

Thanks in advance
tonio

On Mon, Apr 20, 2009 at 12:21 PM, Tonio Caputo ton...@exeo.com.ar wrote:

 Hi wicket users,

 I'm a newbie in wicket and portlets, I'm involved in trying to find a
 web framework to create portlets in a liferay portal, my duty is to
 try wicket and see if it works.

 Versions   wicket 1-4-rc2
  liferay 5.2

 After reading  Issue https://issues.apache.org/jira/browse/WICKET-1620, it
 seems clear
 that this is possible.

 Reading wicket portlet examples, I realized there is a lot of stuff in
 WicketPortlet, that
 is a bit difficult to understand for a newbie for both things
 (wicket/portlet).

 I'll just like to know, if this is the correct example after WICKET-1620,
 or perhaps there
 is a simpler one.

 Thanks in advance
 tonio