Ah ok I see. I'll give it a try. Thanks!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-get-request-page-in-Wicket-1-5-tp3827411p3832806.html
Sent from the Users forum mailing list archive at Nabble.com.
I've got some problems with the session of my Wicket web application.
After adding custom error pages to my web application I did some test to see
whether they work as expected.
During the test I encountered some strange behavior. In the web.xml I set
the session timeout to 1 minute
using the
Thanks for the fast reply. It works now!
Adding
getSecuritySettings().setAuthenticationStrategy(new
NoOpAuthenticationStrategy());
to the application class's init method did the trick. Unfortunately the
whole topic is very undocumented so it was a little bit hard to find some
information about
I've implemented a custom 404 Page Not Found page for my web application
based in Wicket 1.5 following the Wicket wiki
(https://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html). I
tried to follow the tutorial as good as possible but it seems to be based on
a Wicket version before 1.5
Thanks for the tip but updating Wicket to 1.5.3 did the trick. I was still
running on 1.5-RC1.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Custom-404-page-is-not-displayed-correctly-tp4040091p4040523.html
Sent from the Users forum mailing list archive at Nabble.
Hi
I'm trying to add exception handling to one of my pages but I'm a little bit
stuck.
I've got a page that loads an entity using a DAO (Hibernate, Spring). In
case of an error due to optimistic locking I want to reload the page with
the updated entity and display a message on a feedback panel.
Checking the type of exception during run time show that the Hibernate
StaleObjectStateException was wrapped by a
HibernateOptimisticLockingFailureException of the Spring framework.
So catching the latter one worked as expected.
Thanks for pushing me in the right direction!
--
View this mes
I got some trouble with the FeedbackPanel.
My scenario looks like this. I got a custom panel which can be added to a
page. Within the panel I add a FeedbackPanel to show any errors that arise
from the panel. The main content of the panel is a list to show entities
from a database. To be able to d
Mh, sorry I told you something wrong I'm not using a list but instead I'm
using a DefaultDataTable with a SortableDataProvider.
But I followed you advise and call setItemReuseStrategy(new
ReuseIfModelsEqualStrategy()) on the table instead if setReuseItem(). Then I
overwrote the equals() method of
Hi,
you're right I found the following message:
/WARN - WebSession - Component-targetted feedback message
was left unrendered. This could be because you are missing a FeedbackPanel
on the page. Message: [FeedbackMessage message =
"StringResourceModel[key:form.error.storeDoesntEx
I'm using the SignInPanel on my web application and it works quite well. The
only thing I want to change are the error message which got rendered to the
feedback panel when no login or password is entered.
The error message is not really nice at is contains the internal name of the
text field tha
No I'm not doing any ajax on this page.
I got it somehow working that the feedback panel show info messages form the
ActionPanels constructor but the error messages after the delete button was
pressed are still not shown.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.
I finally solved my problem perhaps it's not the best way but it works for
me.
After digging in the sources of the SignInPanel I figured out the following.
setRequired() is always called in the constructor of a PasswortTextField.
setRequired() is a method of the FormComponent class which has also
A great, that's even better!
Thanks!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-override-SignInPanel-s-error-messages-tp3770610p3770720.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi
I've got some issues with the OpenSessionInViewFilter I integrated into a
Wicket application to get rid of the LazyLoadingException problem.
So my problem is. I got a login page with a SignInPanel. When a user tries
to log into the web site his credentials are passed to the authentication()
m
You're right. The redirect form the login page to the application's home page
seems to be a new request. I've simply tested it by trying to access the
user's roles directly after the user was retrieved from the database and
before the redirect to the application's home page. Here the roles could be
Ahhh thanks for the tip. I totally overlook that there're also a constructor
which takes a IModel for the choices then of course there shouldn't be a
problem any more.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/LazyInitializationException-with-CheckBoxMultipleCho
Hi,
I encountered a strange behavior with a stateless login page after moving
from Wicket 1.5-RC5.1 to 1.5.0.
To assure that the login page is stateless I'm using the StatelessChecker
class. The problem occurs when the login fails because the authenticate()
method of the AuthenticatedWebSession
Ah thanks for the information. I didn't look in the bug tracker.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Problem-with-stateless-login-page-after-moving-from-Wicket-1-5-RC5-1-to-1-5-0-tp3817801p3817891.html
Sent from the Users forum mailing list archive at Nabbl
Hi
I'm looking for a way to get the page of the current request on Wicket 1.5.
I found an wiki entry about this but unfortunately I don't understand how to
retrieve the page.
https://cwiki.apache.org/WICKET/requestcycle-in-wicket-15.html
Perhaps someone can push me in the right direction. I'v
My idea is to store the current page within the session and use it on later
pages to navigate back to the previous page.
For example I've got several pages with pageable lists of items the user can
edit. When the use edits an item and clicks the save button he gets back to
the previous page. This
21 matches
Mail list logo