Re: [Wicket-user] Multi-portlet app?

2006-11-14 Thread Gustavo Hexsel
Actually, this doesn't seem to work at all.  When I put 2 portlets
(just copied  pasted from the Wicket example, and changed the
wicket:ids so they wouldn't conflict), the second one is expired
whenever I click on anything on it.  Any hints on what I should be
trying to improve in Wicket or the example for this?

[]s Gus



On 11/13/06, Gustavo Hexsel [EMAIL PROTECTED] wrote:
   Hi folks,

   I was taking a look at Wicket's support for Portlets, and after a
 bit of a struggle (mostly caused by Liferay, Ubuntu, MySQL and
 Tomcat), I got the examples working.

   Then I got curious and tried to set the app to have 2 portlets that
 communicate, but I'm a little lost.  Is it even possible?  The
 javadocs seem to indicate that there should be one application per
 portlet declaration, which seems conceptually wrong to me (should be
 one Portlet instead).  Each PortletApplication seems to be a factory
 for a session.  Will they both get called?  Any recommended way of
 sharing the session for communication purposes?

   Hm... Guess I'll try that and post the results in case someone else
 is curious. :)

 []s Gus


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Multi-portlet app?

2006-11-14 Thread Igor Vaynberg
janne is the portlet guy, are you reading with us?-igorOn 11/14/06, Gustavo Hexsel [EMAIL PROTECTED]
 wrote:Actually, this doesn't seem to work at all.When I put 2 portlets
(just copied  pasted from the Wicket example, and changed thewicket:ids so they wouldn't conflict), the second one is expiredwhenever I click on anything on it.Any hints on what I should betrying to improve in Wicket or the example for this?
[]s GusOn 11/13/06, Gustavo Hexsel [EMAIL PROTECTED] wrote: Hi folks, I was taking a look at Wicket's support for Portlets, and after a
 bit of a struggle (mostly caused by Liferay, Ubuntu, MySQL and Tomcat), I got the examples working. Then I got curious and tried to set the app to have 2 portlets that communicate, but I'm a little lost.Is it even possible?The
 javadocs seem to indicate that there should be one application per portlet declaration, which seems conceptually wrong to me (should be one Portlet instead).Each PortletApplication seems to be a factory
 for a session.Will they both get called?Any recommended way of sharing the session for communication purposes? Hm... Guess I'll try that and post the results in case someone else
 is curious. :) []s Gus-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now.
Check out Slashdot's new job board. Browse through tons of technical jobs
posted by companies looking to hire people just like you.
http://jobs.slashdot.org/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Multi-portlet app?

2006-11-14 Thread Gustavo Hexsel
  Hm, I don't yet fully understand the framework, yet what seems to be
happening is that when the page is generated, each portlet is rendered
once.  Same happens when I submit the form in one of the portlets.
However, when I submit a form on one, then after a refresh submit the
other, I get 3 rendering phases, 2 for the portlet that was last
clicked.

  I'm trying to generate a simple test case to illustrate this.

 []s Gus



On 11/14/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 janne is the portlet guy, are you reading with us?

 -igor



 On 11/14/06, Gustavo Hexsel [EMAIL PROTECTED]  wrote:
 
  Actually, this doesn't seem to work at all.  When I put 2 portlets
  (just copied  pasted from the Wicket example, and changed the
  wicket:ids so they wouldn't conflict), the second one is expired
  whenever I click on anything on it.  Any hints on what I should be
  trying to improve in Wicket or the example for this?
 
  []s Gus
 
 
 
  On 11/13/06, Gustavo Hexsel [EMAIL PROTECTED] wrote:
 Hi folks,
  
 I was taking a look at Wicket's support for Portlets, and after a
   bit of a struggle (mostly caused by Liferay, Ubuntu, MySQL and
   Tomcat), I got the examples working.
  
 Then I got curious and tried to set the app to have 2 portlets that
   communicate, but I'm a little lost.  Is it even possible?  The
   javadocs seem to indicate that there should be one application per
   portlet declaration, which seems conceptually wrong to me (should be
   one Portlet instead).  Each PortletApplication seems to be a factory
   for a session.  Will they both get called?  Any recommended way of
   sharing the session for communication purposes?
  
 Hm... Guess I'll try that and post the results in case someone else
   is curious. :)
  
   []s Gus
  
 
 
 -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
 easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now.
 Check out Slashdot's new job board. Browse through tons of technical jobs
 posted by companies looking to hire people just like you.
 http://jobs.slashdot.org/

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Multi-portlet app?

2006-11-14 Thread Gustavo Hexsel

On 11/14/06, Gustavo Hexsel [EMAIL PROTECTED] wrote:

  Here's an example.  I've removed the lib folder to make the size
manageable (I was only using commons-logging, log4j and yesterday's
snapshot of Wicket Core).

  It all works as long as you don't submit both forms in the same
session, then the second one always fails.

 []s Gus



On 11/14/06, Gustavo Hexsel [EMAIL PROTECTED] wrote:
   Hm, I don't yet fully understand the framework, yet what seems to be
 happening is that when the page is generated, each portlet is rendered
 once.  Same happens when I submit the form in one of the portlets.
 However, when I submit a form on one, then after a refresh submit the
 other, I get 3 rendering phases, 2 for the portlet that was last
 clicked.

   I'm trying to generate a simple test case to illustrate this.

  []s Gus



 On 11/14/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
  janne is the portlet guy, are you reading with us?
 
  -igor
 
 
 
  On 11/14/06, Gustavo Hexsel [EMAIL PROTECTED]  wrote:
  
   Actually, this doesn't seem to work at all.  When I put 2 portlets
   (just copied  pasted from the Wicket example, and changed the
   wicket:ids so they wouldn't conflict), the second one is expired
   whenever I click on anything on it.  Any hints on what I should be
   trying to improve in Wicket or the example for this?
  
   []s Gus
  
  
  
   On 11/13/06, Gustavo Hexsel [EMAIL PROTECTED] wrote:
  Hi folks,
   
  I was taking a look at Wicket's support for Portlets, and after a
bit of a struggle (mostly caused by Liferay, Ubuntu, MySQL and
Tomcat), I got the examples working.
   
  Then I got curious and tried to set the app to have 2 portlets that
communicate, but I'm a little lost.  Is it even possible?  The
javadocs seem to indicate that there should be one application per
portlet declaration, which seems conceptually wrong to me (should be
one Portlet instead).  Each PortletApplication seems to be a factory
for a session.  Will they both get called?  Any recommended way of
sharing the session for communication purposes?
   
  Hm... Guess I'll try that and post the results in case someone else
is curious. :)
   
[]s Gus
   
  
  
  -
   Using Tomcat but need to do more? Need to support web services, security?
   Get stuff done quickly with pre-integrated technology to make your job
  easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
  -
  SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now.
  Check out Slashdot's new job board. Browse through tons of technical jobs
  posted by companies looking to hire people just like you.
  http://jobs.slashdot.org/
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 






tester.renametozipplz
Description: Binary data
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Multi-portlet app?

2006-11-14 Thread Igor Vaynberg
you might want to file this on jira and assign it to janne-igorOn 11/14/06, Gustavo Hexsel [EMAIL PROTECTED]
 wrote:On 11/14/06, Gustavo Hexsel [EMAIL PROTECTED]
 wrote: Here's an example.I've removed the lib folder to make the size manageable (I was only using commons-logging, log4j and yesterday's snapshot of Wicket Core). It all works as long as you don't submit both forms in the same
 session, then the second one always fails.[]s Gus On 11/14/06, Gustavo Hexsel [EMAIL PROTECTED] wrote:  Hm, I don't yet fully understand the framework, yet what seems to be
  happening is that when the page is generated, each portlet is rendered  once.Same happens when I submit the form in one of the portlets.  However, when I submit a form on one, then after a refresh submit the
  other, I get 3 rendering phases, 2 for the portlet that was last  clicked.   I'm trying to generate a simple test case to illustrate this.  []s Gus
 On 11/14/06, Igor Vaynberg [EMAIL PROTECTED] wrote:   janne is the portlet guy, are you reading with us?
 -igor On 11/14/06, Gustavo Hexsel [EMAIL PROTECTED]  wrote:   
Actually, this doesn't seem to work at all.When I put 2 portlets(just copied  pasted from the Wicket example, and changed thewicket:ids so they wouldn't conflict), the second one is expired
whenever I click on anything on it.Any hints on what I should betrying to improve in Wicket or the example for this?   []s Gus
 On 11/13/06, Gustavo Hexsel [EMAIL PROTECTED] wrote: Hi folks,
 I was taking a look at Wicket's support for Portlets, and after a bit of a struggle (mostly caused by Liferay, Ubuntu, MySQL and Tomcat), I got the examples working.
 Then I got curious and tried to set the app to have 2 portlets that communicate, but I'm a little lost.Is it even possible?The
 javadocs seem to indicate that there should be one application per portlet declaration, which seems conceptually wrong to me (should be one Portlet instead).Each PortletApplication seems to be a factory
 for a session.Will they both get called?Any recommended way of sharing the session for communication purposes? Hm... Guess I'll try that and post the results in case someone else
 is curious. :) []s Gus -
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job   easierDownload IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user  -
   SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now.   Check out Slashdot's new job board. Browse through tons of technical jobs   posted by companies looking to hire people just like you.
   http://jobs.slashdot.org/ ___   Wicket-user mailing list   
Wicket-user@lists.sourceforge.net   https://lists.sourceforge.net/lists/listinfo/wicket-user
   -Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user