Re: [Wicket-user] Add feedback message to internal error page.
there is always a Wicket Session. That that session is stored or not in the http session is another question (so yes the next request you could get a new one, if not stored previously) johan On 5/22/07, craigdd [EMAIL PROTECTED] wrote: What if there is no Session available though? Plus I need to make sure there is a Localizer available for internationalized messages. -Craig Eelco Hillenius wrote: I think using a flash message (add direcly to session, e.g. Session.get().info(hello)) and then an error page with a feedbackpanel should work. Eelco On 5/17/07, craigdd [EMAIL PROTECTED] wrote: In my application I'm overriding the default internal error page to my application's login page, however, I want to supply the user with a feedback panel message starting that something bad happened and include an error code from my internal runtime exception. What would be the proper way to go about this? I was thinking about extending my login page but want to keep the same markup(.html), but I don't think that is possible. I'm also looking into the various things you can do with overriding or implementing IExceptionResponseStrategy but in the end I don't really want to get rid of 90% of that default logic. Thanks Craig -- View this message in context: http://www.nabble.com/Add-feedback-message-to-internal-error-page.-tf3769482.html#a10657238 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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/Add-feedback-message-to-internal-error-page.-tf3769482.html#a10729967 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Add feedback message to internal error page.
What if there is no Session available though? Plus I need to make sure there is a Localizer available for internationalized messages. -Craig Eelco Hillenius wrote: I think using a flash message (add direcly to session, e.g. Session.get().info(hello)) and then an error page with a feedbackpanel should work. Eelco On 5/17/07, craigdd [EMAIL PROTECTED] wrote: In my application I'm overriding the default internal error page to my application's login page, however, I want to supply the user with a feedback panel message starting that something bad happened and include an error code from my internal runtime exception. What would be the proper way to go about this? I was thinking about extending my login page but want to keep the same markup(.html), but I don't think that is possible. I'm also looking into the various things you can do with overriding or implementing IExceptionResponseStrategy but in the end I don't really want to get rid of 90% of that default logic. Thanks Craig -- View this message in context: http://www.nabble.com/Add-feedback-message-to-internal-error-page.-tf3769482.html#a10657238 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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/Add-feedback-message-to-internal-error-page.-tf3769482.html#a10729967 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Add feedback message to internal error page.
I think using a flash message (add direcly to session, e.g. Session.get().info(hello)) and then an error page with a feedbackpanel should work. Eelco On 5/17/07, craigdd [EMAIL PROTECTED] wrote: In my application I'm overriding the default internal error page to my application's login page, however, I want to supply the user with a feedback panel message starting that something bad happened and include an error code from my internal runtime exception. What would be the proper way to go about this? I was thinking about extending my login page but want to keep the same markup(.html), but I don't think that is possible. I'm also looking into the various things you can do with overriding or implementing IExceptionResponseStrategy but in the end I don't really want to get rid of 90% of that default logic. Thanks Craig -- View this message in context: http://www.nabble.com/Add-feedback-message-to-internal-error-page.-tf3769482.html#a10657238 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Add feedback message to internal error page.
In my application I'm overriding the default internal error page to my application's login page, however, I want to supply the user with a feedback panel message starting that something bad happened and include an error code from my internal runtime exception. What would be the proper way to go about this? I was thinking about extending my login page but want to keep the same markup(.html), but I don't think that is possible. I'm also looking into the various things you can do with overriding or implementing IExceptionResponseStrategy but in the end I don't really want to get rid of 90% of that default logic. Thanks Craig -- View this message in context: http://www.nabble.com/Add-feedback-message-to-internal-error-page.-tf3769482.html#a10657238 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user