Hi guys,

I have a small problem with refreshing the page content and I don't know which is the best way to handle it.

In short, I have a sign in panel to the left and after the user signs in I'd like to set it to invisible and display a "Welcome" label in another panel. The code is trivial, I just add to the page both the sign in panel and the panel containing the label and I set their visibility to true and false respectively based on session user is/is not null.

What happens is that the signin panel/ welcome label remain the same after signing in, until I reenter the page by the way of clicking on the menu link which displays the page, but I'd like the refresh to be performed right after submission. It's like the setVisible(true/false) for both panels is not called until the next page rendering.

Now I know I am missing something related to how components are rendered inside the page or something, but maybe someone can give me a hint.

thanks


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to