[Wicket-user] ancillary disjunct comedian

2007-07-28 Thread Lenny Donaldson

credit abduct, diaper astrophysical  chug, clink denote. copernicus  coo 
brandon  deere
conferrable chronograph  dew. betroth  bangkok diamond auerbach anorthic  
bootstrapping balloon  daytime
demean byte  diary convict.  deferent caine copernican chanson  aldrich 
astrology  alberich
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket 1.3 - how to start?

2007-07-28 Thread Dariusz Wojtas

Hi,

I am trying to try Wicket, but having trouble to build a sample application
using version 1.3.
I know this is still beta, but as there are tons of changes between 1.2.x
and 1.3, I want to start with the new one.

I downloaded the beta2 version, but cannot easily create a starter project.
There is some artifact to build an initial project:
archetypes/quickstart 
but following the archetypes/README.txt file does not work.

I try to build wicket from trunk (just checked out from repository):
   mvn install  (or 'mvn mackage')
but I only get exceptions:

c:\projectsWicket\wicket-trunkmvn package
[INFO] Scanning for projects...
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.wicket:wicket-jdk14:pom:null
Reason: Cannot find parent: org.apache.wicket:wicket-parent for project:
org.apache.wicket:wicket-jdk14:pom:null for project
org.apache.wicket:wicket-jdk14:pom:null

I tried to search for some tutorial on how to build 1st project in 1.3, but
found none.
Yes, there are many statements how exciting framework it is, but no real
help.

What I need is just the initial info, then all these FAQs, mailing lists,
etc. will be the source of info for me.
But I searched it for info about starting - no info found.
Even the 'quickstart' project
(http://wicket.sourceforge.net/wicket-quickstart) is updated to work with
Wicket 1.2 only.

I know I may look at the examples in 1.3, and build something by hand, copy
all JAR files, etc. But since maven is used in the core of Wicket, why can't
I simply use maven to do that for me? I cannot find info that would work in
READMEs, in wiki, in blogs or in older tutorials (outdated now).

I am using JDK 6.0, maven 2.0.7, eclipse 3.3
Any hint on how to create a simple project, using maven, that will open in
Eclipse?

Best regards
Darek
-- 
View this message in context: 
http://www.nabble.com/wicket-1.3---how-to-start--tf4161649.html#a11840986
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket 1.3 - how to start?

2007-07-28 Thread Gwyn Evans
On Saturday, July 28, 2007, 10:28:34 AM, Dariusz [EMAIL PROTECTED] wrote:

 I downloaded the beta2 version, but cannot easily create a starter project.
 There is some artifact to build an initial project:
 archetypes/quickstart 
 but following the archetypes/README.txt file does not work.

What errors are you getting?


 I try to build wicket from trunk (just checked out from repository):
mvn install  (or 'mvn mackage')
 but I only get exceptions:

 c:\projectsWicket\wicket-trunkmvn package
 [INFO] Scanning for projects...
 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).
 Project ID: org.apache.wicket:wicket-jdk14:pom:null
 Reason: Cannot find parent: org.apache.wicket:wicket-parent for project:
 org.apache.wicket:wicket-jdk14:pom:null for project
 org.apache.wicket:wicket-jdk14:pom:null

That suggests you've only checked out the trunk\wicket sub-folder, not from the
top-level, which is where the wicket-parent pom lives.

 I tried to search for some tutorial on how to build 1st project in 1.3, but
 found none.
 Yes, there are many statements how exciting framework it is, but no real
 help.

Well, you're probably close - it's not really that different from 1.2,
which is why there's nothing standing out as a 1.3-specific startup
guide.

 I know I may look at the examples in 1.3, and build something by hand, copy
 all JAR files, etc. But since maven is used in the core of Wicket, why can't
 I simply use maven to do that for me?

That's what the archetype should do, but you've not told us what issue
you have with that.

/Gwyn
-- 
The Wicket-user@lists.sourceforge.net mailing list is shutting down.
Please subscribe to the Apache Wicket user list. Send a message to:
 users-subscribe at wicket.apache.org and follow the instructions.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket 1.3 - how to start?

2007-07-28 Thread Dariusz Wojtas

Thanks for help. I started again but it did not work.
I followed this simple guide and it helped me:
  
http://www.oreillynet.com/onjava/blog/2007/07/wicket_source_to_eclipse_using.html
It told me that I need 'mvn install' first in the root dir.
Seems to work now.
I also looked at the beta3 archive downloaded from apache, copied
wicket-examples outside and this is the base for my little app now. It
compiles, opens in eclipse, creates war file (mvn package), also starts
quickly from eclipse (using jetty - start as Java application on the 'Start'
class).

Another happy starter.

Darek


On Saturday, July 28, 2007, 10:28:34 AM, Dariusz [EMAIL PROTECTED] wrote:

 I downloaded the beta2 version, but cannot easily create a starter
 project.
 There is some artifact to build an initial project:
 archetypes/quickstart 
 but following the archetypes/README.txt file does not work.

What errors are you getting?


 I try to build wicket from trunk (just checked out from repository):
mvn install  (or 'mvn mackage')
 but I only get exceptions:

 c:\projectsWicket\wicket-trunkmvn package
 [INFO] Scanning for projects...
 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).
 Project ID: org.apache.wicket:wicket-jdk14:pom:null
 Reason: Cannot find parent: org.apache.wicket:wicket-parent for project:
 org.apache.wicket:wicket-jdk14:pom:null for project
 org.apache.wicket:wicket-jdk14:pom:null

That suggests you've only checked out the trunk\wicket sub-folder, not from
the
top-level, which is where the wicket-parent pom lives.

 I tried to search for some tutorial on how to build 1st project in 1.3,
 but
 found none.
 Yes, there are many statements how exciting framework it is, but no real
 help.

Well, you're probably close - it's not really that different from 1.2,
which is why there's nothing standing out as a 1.3-specific startup
guide.

 I know I may look at the examples in 1.3, and build something by hand,
 copy
 all JAR files, etc. But since maven is used in the core of Wicket, why
 can't
 I simply use maven to do that for me?

That's what the archetype should do, but you've not told us what issue
you have with that.

/Gwyn
-- 
View this message in context: 
http://www.nabble.com/wicket-1.3---how-to-start--tf4161649.html#a11843934
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp

Hi guys,

my first wicket mailing list post. I just started using Wicket couple gays
ago (after using Tapestry and ZK), and I have to say, I am impressed.
Congratulation to great framework!

I have tried to port my application, which uses Acegi Spring security to
Wicket. I managed to port the core of the application, but had problem with
Acegi Spring security integration. I used
http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html wiki
article, but I couldn't figure out how to define login page and login error
page in acegi configuration (I will post different question about it).

So I decided to use plain old JSP to implement login (and login error) page.
That works OK, I can login to the application. I have logout action in my
application implemented in MyAppSession that extends
AuthenticatedWebSession:

setAuthentication(null);
invalidate();

That logs me out OK. But when I login again, after the login page
(login.jsp), instead of application home page, I get Page Expired page with
a link to my application home page.

My question is, how to you prevent or avoid the Page Expired page.

Thanks for great framework and for your help. Lubos

-- 
View this message in context: 
http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844379
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Igor Vaynberg
what url causes the page expired page?

-igor


On 7/28/07, lubosp [EMAIL PROTECTED] wrote:


 Hi guys,

 my first wicket mailing list post. I just started using Wicket couple gays
 ago (after using Tapestry and ZK), and I have to say, I am impressed.
 Congratulation to great framework!

 I have tried to port my application, which uses Acegi Spring security to
 Wicket. I managed to port the core of the application, but had problem
 with
 Acegi Spring security integration. I used
 http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html wiki
 article, but I couldn't figure out how to define login page and login
 error
 page in acegi configuration (I will post different question about it).

 So I decided to use plain old JSP to implement login (and login error)
 page.
 That works OK, I can login to the application. I have logout action in my
 application implemented in MyAppSession that extends
 AuthenticatedWebSession:

 setAuthentication(null);
 invalidate();

 That logs me out OK. But when I login again, after the login page
 (login.jsp), instead of application home page, I get Page Expired page
 with
 a link to my application home page.

 My question is, how to you prevent or avoid the Page Expired page.

 Thanks for great framework and for your help. Lubos

 --
 View this message in context:
 http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844379
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 IMPORTANT NOTICE:

 This mailing list is shutting down. Please subscribe to the Apache Wicket
 user list. Send a message to: users-subscribe at wicket.apache.org and
 follow the instructions.
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Problems when trying to use Acegi with Wicket application

2007-07-28 Thread lubosp

Hi,

I am trying to port my application that uses Acegi Spring security to Wicket
framework, I have the application working with Wicket, but when I try to add
Acegi support as documented at:
http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html, I have
problem to use MyAppSignIn.html page. I define the login page in Acegi
configuration in authentication filter entry point like:

bean id=exceptionTranslationFilter
class=org.acegisecurity.ui.ExceptionTranslationFilter
property name=authenticationEntryPoint
bean
class=org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint
property name=loginFormUrl
value=/app/MyAppSignIn.html/
property name=forceHttps value=false/
/bean
/property
property name=accessDeniedHandler
bean class=org.acegisecurity.ui.AccessDeniedHandlerImpl
property name=errorPage value=/app/MyAppSignIn.html/
/bean
/property
/bean

And I also set:

bean id=filterInvocationInterceptor
class=org.acegisecurity.intercept.web.FilterSecurityInterceptor
property name=objectDefinitionSource
value
CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT

/app/myappsignin.html=IS_AUTHENTICATED_ANONYMOUSLY

Tomcat tries to open /app/MyAppSignIn.html if I reference
http://localhost:8080/myapp/app, but it cannot find it.

My question is, how do I configure Acegi so it uses Wicket MyAppSignIn page
(same as YourAppSignIn extends WebPage from
http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html0.

Thanks, Lubos
-- 
View this message in context: 
http://www.nabble.com/Problems-when-trying-to-use-Acegi-with-Wicket-application-tf4162801.html#a11844464
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp

Igor,

after login page (login.jsp) it is redirected to /MyApp/app which goes to my
wicket home page, and that one is expired.

Is it possible that I am missing something on logout action? 
Is it enough to do session.invalidate()?

Note, it works properly the first time, only after I log out and then go to
/MyApp/app again, I get the login page and after it the Page expired page.

Lubos


igor.vaynberg wrote:
 
 what url causes the page expired page?
 
 -igor
 
 
 On 7/28/07, lubosp [EMAIL PROTECTED] wrote:


 Hi guys,

 my first wicket mailing list post. I just started using Wicket couple
 gays
 ago (after using Tapestry and ZK), and I have to say, I am impressed.
 Congratulation to great framework!

 I have tried to port my application, which uses Acegi Spring security to
 Wicket. I managed to port the core of the application, but had problem
 with
 Acegi Spring security integration. I used
 http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html wiki
 article, but I couldn't figure out how to define login page and login
 error
 page in acegi configuration (I will post different question about it).

 So I decided to use plain old JSP to implement login (and login error)
 page.
 That works OK, I can login to the application. I have logout action in my
 application implemented in MyAppSession that extends
 AuthenticatedWebSession:

 setAuthentication(null);
 invalidate();

 That logs me out OK. But when I login again, after the login page
 (login.jsp), instead of application home page, I get Page Expired page
 with
 a link to my application home page.

 My question is, how to you prevent or avoid the Page Expired page.

 Thanks for great framework and for your help. Lubos

 --
 View this message in context:
 http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844379
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 IMPORTANT NOTICE:

 This mailing list is shutting down. Please subscribe to the Apache Wicket
 user list. Send a message to: users-subscribe at wicket.apache.org and
 follow the instructions.
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 IMPORTANT NOTICE:
 
 This mailing list is shutting down. Please subscribe to the Apache Wicket
 user list. Send a message to: users-subscribe at wicket.apache.org and
 follow the instructions.
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844509
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Igor Vaynberg
hrm, i dont see how /MyApp/app can ever cause a page expired error because
it is a bookmarkable url and so a new instance of page is always created. i
would debug the request cycle and see why it cannot find the page, seems
very strange to me

-igor


On 7/28/07, lubosp [EMAIL PROTECTED] wrote:


 Igor,

 after login page (login.jsp) it is redirected to /MyApp/app which goes to
 my
 wicket home page, and that one is expired.

 Is it possible that I am missing something on logout action?
 Is it enough to do session.invalidate()?

 Note, it works properly the first time, only after I log out and then go
 to
 /MyApp/app again, I get the login page and after it the Page expired page.

 Lubos


 igor.vaynberg wrote:
 
  what url causes the page expired page?
 
  -igor
 
 
  On 7/28/07, lubosp [EMAIL PROTECTED] wrote:
 
 
  Hi guys,
 
  my first wicket mailing list post. I just started using Wicket couple
  gays
  ago (after using Tapestry and ZK), and I have to say, I am impressed.
  Congratulation to great framework!
 
  I have tried to port my application, which uses Acegi Spring security
 to
  Wicket. I managed to port the core of the application, but had problem
  with
  Acegi Spring security integration. I used
  http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html wiki
  article, but I couldn't figure out how to define login page and login
  error
  page in acegi configuration (I will post different question about it).
 
  So I decided to use plain old JSP to implement login (and login error)
  page.
  That works OK, I can login to the application. I have logout action in
 my
  application implemented in MyAppSession that extends
  AuthenticatedWebSession:
 
  setAuthentication(null);
  invalidate();
 
  That logs me out OK. But when I login again, after the login page
  (login.jsp), instead of application home page, I get Page Expired page
  with
  a link to my application home page.
 
  My question is, how to you prevent or avoid the Page Expired page.
 
  Thanks for great framework and for your help. Lubos
 
  --
  View this message in context:
 
 http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844379
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
 -
  This SF.net email is sponsored by: Splunk Inc.
  Still grepping through log files to find problems?  Stop.
  Now Search log events and configuration files using AJAX and a browser.
  Download your FREE copy of Splunk now   http://get.splunk.com/
  ___
  IMPORTANT NOTICE:
 
  This mailing list is shutting down. Please subscribe to the Apache
 Wicket
  user list. Send a message to: users-subscribe at wicket.apache.org
 and
  follow the instructions.
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 -
  This SF.net email is sponsored by: Splunk Inc.
  Still grepping through log files to find problems?  Stop.
  Now Search log events and configuration files using AJAX and a browser.
  Download your FREE copy of Splunk now   http://get.splunk.com/
  ___
  IMPORTANT NOTICE:
 
  This mailing list is shutting down. Please subscribe to the Apache
 Wicket
  user list. Send a message to: users-subscribe at wicket.apache.org and
  follow the instructions.
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context:
 http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844509
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 IMPORTANT NOTICE:

 This mailing list is shutting down. Please subscribe to the Apache Wicket
 user list. Send a message to: users-subscribe at wicket.apache.org and
 follow the instructions.
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp

Igor,

so you do not think that session.invalidate() can cause the page to expire?
I do not know if it makes difference, but I use Acegi, and regular login.jsp
page for login page,
not a Wicket managed page (I did not figure out how to use Wicket managed
login page with Acegi).

Lubos


igor.vaynberg wrote:
 
 hrm, i dont see how /MyApp/app can ever cause a page expired error because
 it is a bookmarkable url and so a new instance of page is always created.
 i
 would debug the request cycle and see why it cannot find the page, seems
 very strange to me
 
 -igor
 
 
 On 7/28/07, lubosp [EMAIL PROTECTED] wrote:


 Igor,

 after login page (login.jsp) it is redirected to /MyApp/app which goes to
 my
 wicket home page, and that one is expired.

 Is it possible that I am missing something on logout action?
 Is it enough to do session.invalidate()?

 Note, it works properly the first time, only after I log out and then go
 to
 /MyApp/app again, I get the login page and after it the Page expired
 page.

 Lubos


 igor.vaynberg wrote:
 
  what url causes the page expired page?
 
  -igor
 
 
  On 7/28/07, lubosp [EMAIL PROTECTED] wrote:
 
 
  Hi guys,
 
  my first wicket mailing list post. I just started using Wicket couple
  gays
  ago (after using Tapestry and ZK), and I have to say, I am impressed.
  Congratulation to great framework!
 
  I have tried to port my application, which uses Acegi Spring security
 to
  Wicket. I managed to port the core of the application, but had problem
  with
  Acegi Spring security integration. I used
  http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html wiki
  article, but I couldn't figure out how to define login page and login
  error
  page in acegi configuration (I will post different question about it).
 
  So I decided to use plain old JSP to implement login (and login error)
  page.
  That works OK, I can login to the application. I have logout action in
 my
  application implemented in MyAppSession that extends
  AuthenticatedWebSession:
 
  setAuthentication(null);
  invalidate();
 
  That logs me out OK. But when I login again, after the login page
  (login.jsp), instead of application home page, I get Page Expired page
  with
  a link to my application home page.
 
  My question is, how to you prevent or avoid the Page Expired page.
 
  Thanks for great framework and for your help. Lubos
 
  --
  View this message in context:
 
 http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844379
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
 -
  This SF.net email is sponsored by: Splunk Inc.
  Still grepping through log files to find problems?  Stop.
  Now Search log events and configuration files using AJAX and a
 browser.
  Download your FREE copy of Splunk now   http://get.splunk.com/
  ___
  IMPORTANT NOTICE:
 
  This mailing list is shutting down. Please subscribe to the Apache
 Wicket
  user list. Send a message to: users-subscribe at wicket.apache.org
 and
  follow the instructions.
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 -
  This SF.net email is sponsored by: Splunk Inc.
  Still grepping through log files to find problems?  Stop.
  Now Search log events and configuration files using AJAX and a browser.
  Download your FREE copy of Splunk now   http://get.splunk.com/
  ___
  IMPORTANT NOTICE:
 
  This mailing list is shutting down. Please subscribe to the Apache
 Wicket
  user list. Send a message to: users-subscribe at wicket.apache.org
 and
  follow the instructions.
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context:
 http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844509
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 IMPORTANT NOTICE:

 This mailing list is shutting down. Please subscribe to the Apache Wicket
 user list. Send a message to: users-subscribe at wicket.apache.org and
 follow the instructions.
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Eelco Hillenius
 so you do not think that session.invalidate() can cause the page to expire?

Only if you try to render a page that is part of that old - now
invalidated - session. Make sure Wicket doesn't try to do that (e.g.
check whether the authorization strategy doesn't try to do another
redirect).

Eelco

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Eelco Hillenius
Btw this user list is about to shut down. Please subscribe to
[EMAIL PROTECTED] (by sending an email to
[EMAIL PROTECTED]) and have future discussions there.

Eelco

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Map items design issue

2007-07-28 Thread ZedroS Schwart
Hi all

Thanks to Wicket, I've been successfully building a map where I can
show items on it and move them through ajax.

However, I've the following issue : I store an item location twice.
One time in the ArrayList of ArrayList containing my cells, and the
other time in each item.

Indeed, I need both to be able to draw the map and to be able to know
where a precise item is without having to browse the whole ArrayList
of ArrayList.

As such, I encounter somes issue when updating the location of an
item, having to change it twice properly and at the time dealing with
multi users view of it.

Is there a common pattern to avoid such issue ? Would you have any suggestion ?

Thanks in advance
ZedroS

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp


After re-login when I get Page Expired, the url is:
http://localhost:8080/MyApp/app/?wicket:interface=:0::


igor.vaynberg wrote:
 
 hrm, i dont see how /MyApp/app can ever cause a page expired error because
 it is a bookmarkable url and so a new instance of page is always created.
 i
 would debug the request cycle and see why it cannot find the page, seems
 very strange to me
 
 -igor
 
 
 On 7/28/07, lubosp [EMAIL PROTECTED] wrote:


 Igor,

 after login page (login.jsp) it is redirected to /MyApp/app which goes to
 my
 wicket home page, and that one is expired.

 Is it possible that I am missing something on logout action?
 Is it enough to do session.invalidate()?

 Note, it works properly the first time, only after I log out and then go
 to
 /MyApp/app again, I get the login page and after it the Page expired
 page.

 Lubos


 igor.vaynberg wrote:
 
  what url causes the page expired page?
 
  -igor
 
 
  On 7/28/07, lubosp [EMAIL PROTECTED] wrote:
 
 
  Hi guys,
 
  my first wicket mailing list post. I just started using Wicket couple
  gays
  ago (after using Tapestry and ZK), and I have to say, I am impressed.
  Congratulation to great framework!
 
  I have tried to port my application, which uses Acegi Spring security
 to
  Wicket. I managed to port the core of the application, but had problem
  with
  Acegi Spring security integration. I used
  http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html wiki
  article, but I couldn't figure out how to define login page and login
  error
  page in acegi configuration (I will post different question about it).
 
  So I decided to use plain old JSP to implement login (and login error)
  page.
  That works OK, I can login to the application. I have logout action in
 my
  application implemented in MyAppSession that extends
  AuthenticatedWebSession:
 
  setAuthentication(null);
  invalidate();
 
  That logs me out OK. But when I login again, after the login page
  (login.jsp), instead of application home page, I get Page Expired page
  with
  a link to my application home page.
 
  My question is, how to you prevent or avoid the Page Expired page.
 
  Thanks for great framework and for your help. Lubos
 
  --
  View this message in context:
 
 http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844379
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
 -
  This SF.net email is sponsored by: Splunk Inc.
  Still grepping through log files to find problems?  Stop.
  Now Search log events and configuration files using AJAX and a
 browser.
  Download your FREE copy of Splunk now   http://get.splunk.com/
  ___
  IMPORTANT NOTICE:
 
  This mailing list is shutting down. Please subscribe to the Apache
 Wicket
  user list. Send a message to: users-subscribe at wicket.apache.org
 and
  follow the instructions.
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 -
  This SF.net email is sponsored by: Splunk Inc.
  Still grepping through log files to find problems?  Stop.
  Now Search log events and configuration files using AJAX and a browser.
  Download your FREE copy of Splunk now   http://get.splunk.com/
  ___
  IMPORTANT NOTICE:
 
  This mailing list is shutting down. Please subscribe to the Apache
 Wicket
  user list. Send a message to: users-subscribe at wicket.apache.org
 and
  follow the instructions.
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context:
 http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11844509
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 IMPORTANT NOTICE:

 This mailing list is shutting down. Please subscribe to the Apache Wicket
 user list. Send a message to: users-subscribe at wicket.apache.org and
 follow the instructions.
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to 

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp


Thanks Eelco, I already did. But I like using Nabble so that is how I got to
this mailing list, and thought it is the new mailing list. Do you know if
[EMAIL PROTECTED] is available on Nabble?

Lubos


Eelco Hillenius wrote:
 
 Btw this user list is about to shut down. Please subscribe to
 [EMAIL PROTECTED] (by sending an email to
 [EMAIL PROTECTED]) and have future discussions there.
 
 Eelco
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 IMPORTANT NOTICE:
 
 This mailing list is shutting down. Please subscribe to the Apache Wicket
 user list. Send a message to: users-subscribe at wicket.apache.org and
 follow the instructions.
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11845527
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp


Oops, never mind. I see the new users list on Nabble. Just clicked on wrong
one. Sorry for the noise.


Eelco Hillenius wrote:
 
 Btw this user list is about to shut down. Please subscribe to
 [EMAIL PROTECTED] (by sending an email to
 [EMAIL PROTECTED]) and have future discussions there.
 
 Eelco
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 IMPORTANT NOTICE:
 
 This mailing list is shutting down. Please subscribe to the Apache Wicket
 user list. Send a message to: users-subscribe at wicket.apache.org and
 follow the instructions.
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11845540
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Eelco Hillenius
 After re-login when I get Page Expired, the url is:
 http://localhost:8080/MyApp/app/?wicket:interface=:0::

Yeah, that's a reference to an already rendered page. Try to find why
it tries to render that. You could try setting a break point in the
Wicket filter and go from there for instance, and/ or check out what
your authorization strategy does (I assume you have a custom one
installed).

Eelco

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket in Action now available through Manning Early Access Program

2007-07-28 Thread ZedroS Schwart
Hi !

This is a very good news !

I hope we'll the rest of the book soon.

Courage ;)

ZedroS

On 7/26/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
 Eelco and I are really happy to announce the availability of our first
 two chapters of our forthcoming book Wicket in Action.

 Chapter 1 is a FREE(!) download for users that subscribe to our new
 Apache Wicket user list. First send a message to
 [EMAIL PROTECTED] and then proceed to download chapter
 1 here:

 http://manning.com/dashorst

 The book is available through the Manning Early Access Program (MEAP),
 which means that you can buy the book right now, and get access to new
 chapters as soon as Eelco and I have finished them. When the book is
 finished you will receive the full blown marked up e-version, or if
 you prefer (and at some extra cost) in a dead tree format.

 Chapters 1 and 3 are already available, with chapters 2 and 4
 following shortly (within one or two weeks). The other chapters will
 be available a bit later, as they still need to be converted from the
 Wicket 2.0 constructor change back to Wicket 1.3 (yes we suffer too
 from our mistakes!)

 Wicket in Action is an authoritative, comprehensive guide for Java
 developers building Wicket-based web applications. This book starts
 with an introduction to Wicket's structure and components, and moves
 quickly into examples of Wicket at work. Written by two of the
 project's earliest and most authoritative experts, this book shows you
 both the how-to and the why of Wicket. As you move through the
 book, you'll learn to use and customize Wicket components, how to
 interact with other technologies like Spring and Hibernate, and how to
 build rich, Ajax-driven features into your applications.

 Here is the full list of chapters for Wicket in Action:

  1 What is Wicket? (MEAP, FREE)
  2 The architecture of Wicket
  3 Setting up a Wicket project (MEAP)
  4 Building a cheesy Wicket application
  5 Understanding models
  6 Using basic components
  7 Using forms for data entry
  8 Composing your pages
  9 Creating custom components
 10 Creating rich components
 11 Authorization and authentication
 12 Working with resources
 13 Localization and internationalization
 14 Database driven applications
 15 Putting your Wicket application in production
 16 Component index

 We hope you will enjoy this book!

 Eelco Hillenius
 Martijn Dashorst

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 IMPORTANT NOTICE:

 This mailing list is shutting down. Please subscribe to the Apache Wicket 
 user list. Send a message to: users-subscribe at wicket.apache.org and 
 follow the instructions.
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread lubosp


I added:

setResponsePage(MyAppHome.class);
after session.invalidate();

, and that fixed the problem.

Thanks guys for all the help, you are amazingly responsive. Now I feel bad
and have to be more responsive with open source project I manage 8-). You
are setting the example!

BTW, I came with solution after reading the first chapter of Wicket In
Action.

Thanks again, Lubos


Eelco Hillenius wrote:
 
 After re-login when I get Page Expired, the url is:
 http://localhost:8080/MyApp/app/?wicket:interface=:0::
 
 Yeah, that's a reference to an already rendered page. Try to find why
 it tries to render that. You could try setting a break point in the
 Wicket filter and go from there for instance, and/ or check out what
 your authorization strategy does (I assume you have a custom one
 installed).
 
 Eelco
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 IMPORTANT NOTICE:
 
 This mailing list is shutting down. Please subscribe to the Apache Wicket
 user list. Send a message to: users-subscribe at wicket.apache.org and
 follow the instructions.
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/Page-Expired-after-logout-and-re-login-tf4162767.html#a11846346
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Eelco Hillenius
 Thanks guys for all the help, you are amazingly responsive. Now I feel bad
 and have to be more responsive with open source project I manage 8-). You
 are setting the example!

Heh, cool. Which one is that?

 BTW, I came with solution after reading the first chapter of Wicket In
 Action.

And that's only the *first* chapter! :)

Eelco

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user