Embeding PDF DynamicWebResource works in FireFox but not IE
I am trying to embed the PDF output from a Jasper Report as a DynamicWebResource. The output is embedded into the web page with The actual output from the Wicket application is data="?wicket:interface=:6:report::IResourceListener::" type="application/pdf"/> However, this works fine for FF but does not display anything for IE. I am using Wicket 1.4.2. Any ideas? Thanks, David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
PageLink deprecated in 1.4
I noticed that the PageLink class is deprecated in 1.4. What should it be replaced with in my application code? David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
ACEGI and Kerberos Security
Does anyone have an example of integrating ACEGI security with Kerberos authentication in a Wicket application? Thanks, David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Problems with ListMultipleChoice component
Opps... Due to a cut and paste error I had default form processing set to false. Now don't I feel silly! Thanks, David David R Robison wrote: Yes, and thanks for the quick response. What is missing from the example is how to read the list of selected items. Here is some of my code fragments. Any thoughts? private LinkedList addDevicesList = new LinkedList(); ... add(new ListMultipleChoice("devicesOutChain", new PropertyModel(this, "addDevicesList"), createListOfOptions())); My thoughts was that "addDeviceList" would then contain the list of DeviceGeneric items that were selected from the list created by createListOfOptions(). Am I missing something here? David Timo Rantalaiho wrote: On Wed, 18 Feb 2009, David R Robison wrote: I'm having trouble with the ListMultipleChoice component. It displays correctly, but when I submit the form, the server side code does not see any items selected. Any thoughts? Can anyone point me to a good example? Have you checked out wicket-examples from svn and then checked out this? http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.ListMultipleChoicePage Best wishes, Timo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Problems with ListMultipleChoice component
Yes, and thanks for the quick response. What is missing from the example is how to read the list of selected items. Here is some of my code fragments. Any thoughts? private LinkedList addDevicesList = new LinkedList(); ... add(new ListMultipleChoice("devicesOutChain", new PropertyModel(this, "addDevicesList"), createListOfOptions())); My thoughts was that "addDeviceList" would then contain the list of DeviceGeneric items that were selected from the list created by createListOfOptions(). Am I missing something here? David Timo Rantalaiho wrote: On Wed, 18 Feb 2009, David R Robison wrote: I'm having trouble with the ListMultipleChoice component. It displays correctly, but when I submit the form, the server side code does not see any items selected. Any thoughts? Can anyone point me to a good example? Have you checked out wicket-examples from svn and then checked out this? http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.ListMultipleChoicePage Best wishes, Timo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately.
Problems with ListMultipleChoice component
I'm having trouble with the ListMultipleChoice component. It displays correctly, but when I submit the form, the server side code does not see any items selected. Any thoughts? Can anyone point me to a good example? Thanks, David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Integrating dijit.form.FilteringSelect
Has anyone integrated the dojo widget dijit.form.FilteringSelect into a Wicket application? I want to use AJAX to dynamiclly populate the drop down list. TNX David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Question on PageMap
I have been monitoring the size of the pm-null file stored in the Work directory from Tomcat. I assume that it is the serialized version of the PageMap. I have an application where, if I navigate from page A to page B and then back to page A, the pm-null file keeps growing. I understand that I can set the maximum number of pages saved in the PageMap but I am not sure what the default is set to. Also, if I am leaving a page with a form and do not intend to return to that page and submit its values, do I even need it in the PageMap? Is there a way I can remove my page from the PageMap when I know I am no longer going to need its values? My end goal is to try and squeeze more performance out of my application. I hope this is understandable... any thoughts? -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Size of session cache
The size the session takes up on the disk. David Johan Compagner wrote: which size exactly are you talking about? On Mon, Nov 10, 2008 at 11:03 PM, David R Robison < [EMAIL PROTECTED]> wrote: Is there a convenient way to tell the size of user's session cache? David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately.
Size of session cache
Is there a convenient way to tell the size of user's session cache? David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PageLink or BookmarkablePageLink
Is there any advantage to using PageLink over BookmarkablePageLink? David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Reporting Engine on Wicket 1.3.4
We use Jasper reports. We took what had been started and made some modifications and have it working in Wicket. It works well for us. David Eyal Golan wrote: reiern70: Could you please elaborate on how you included BIRT as the part of the application? You can mail directly to me if you feel it is out of Wicket's scope. Thanks On Tue, Sep 9, 2008 at 2:19 PM, reiern70 <[EMAIL PROTECTED]> wrote: Hi, Actually there is no deed to have BIRT in a separated WAR: in our project we have included it as a (singleton) runtime which is part of the application. We also have some kind of WEB interface to manage report parameters... We found BIRT quite useful for generating reports thought we had some problems when migrating to new versions (sometimes things that were working perfectly with one version got terrible unfixed when moving to the next). With BIRT you get "for free" the ability to produce Excel, Word, etc... In our project we went a bit further and built a machinery that allows to combine BIRT (and non BIRT) PDF reports into books: BIRT reports are very good in summarizing information but you are on your own when you have to combine them... This "tool" allows you to build a tree like structure (a book) where the nodes are BIRT reports. The tool will help in collecting all the bookmarks into a table of contents, generate combined bookmarks and so on... For simpler use cases I have used iText, JFreeChart, JExcelAPI, OpenCSV... Best, Ernesto egolan74 wrote: Hi, We use BIRT as a report engine. A freelancer has created the prototype BIRT project, and now we took over it. 1. BIRT gives you all your needs. 2. I don't like it very much actually. 3. It is a different project than Wicket. (different WAR) 4. I plan to check how to integrate it to be in the same project / WAR of our main web application. Our integration: We don't like the way BIRT implemented the parameters window so we wanted to make our own. We found out that it would be much easier to develop it with Wicket than to customize it in BIRT. So: 1. We have a page that has an IFrame (inline frame). 2. For each report (in the BIRT project) there's a Wicket's popup modal window to select parameters. I am very happy with the module we built for that. It is very easy to create new parameters window. 3. When the user chooses the parameters and press OK, I set, using AttributeModifier, the src attribute of the inline frame. 4. It is all Ajax, so the inline frame is updated with the src, and the report is generated with the correct parameters.. This module is VERY new in our project. I still have some bugs, but this is how we integrated BIRT and Wicket. A question to you all: Has anyone worked with Wicket and BIRT? (funny, but I planned to ask this anyway) Eyal On Mon, Sep 8, 2008 at 11:30 AM, Leon Nieuwoudt <[EMAIL PROTECTED]>wrote: Hi all I would like to know what kind of reporting engines are commonly used for Wicket-based apps? We have the need to generate CSV, Excel, and PDF files with graphs and pretty graphics. We've looked at the JasperReports integration but the docs say it's not complete Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary - Eyal Golan [EMAIL PROTECTED] Visit: JVDrums LinkedIn: LinkedIn -- View this message in context: http://www.nabble.com/Reporting-Engine-on-Wicket-1.3.4-tp19367975p19390209.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David R Robison Open Roads Consulting, Inc. 708 S. Battlefield Blvd., Chesapeake, VA 23322 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately.
Re: Swarm/Acegi and logging out
Thanks for the quick reply. In the code, do I need to keep around my original LoginContext and return it with getLogoffContext() call or does it not matter what Login Context I send to logoff? If so, is the current LogonContext saved somewhere in wicket already? Thanks, David Maurice Marrink wrote: You have to realize that both swarm and acegi keep a copy of the logged in user. So you have to logoff at 2 places. You could use a logoff page but imo it would be better to do the logging off in the link itself. Something like: Link logoff = new Link("logoff") { private static final long serialVersionUID = 1L; public void onClick() { WaspSession waspSession = ((WaspSession)getSession()); if (waspSession.logoff(getLogoffContext())) { SecurityContextHolder.getContext().setAuthentication(null); // homepage is not allowed anymore so we end up at the loginpage setResponsePage(Application.get().getHomePage()); } else error("A problem occured during the logoff process, please try again or contact support"); } }; add(logoff); By placing this link on your basepage all pages extending from basepage will have a logoff button. Maurice On Mon, Jun 30, 2008 at 4:10 PM, David R Robison <[EMAIL PROTECTED]> wrote: I am using Swarm with Acegi integration. Authentication and authorization work fine, but I am having trouble logging out. I use a link to a Logout class that implements the following code to log the user out. public class LoggedOutPage extends SecureWebPage { private static final long serialVersionUID = 1L; /** * Constructor. */ public LoggedOutPage() { super(); logout(); setResponsePage(MainPage.class); } /** * log the user out. */ public void logout() { SecurityContextHolder.getContext().setAuthentication(null); WebRequest webRequest = (WebRequest)getRequest(); webRequest.getHttpServletRequest().getSession().invalidate(); } } However, when I am redirected to the MainPage.class, the user is not asked to login again and the class throws a null pointer error when it tries to access the logged in user. Am I doing something wrong? Thanks, David -- David R Robison Open Roads Consulting, Inc. 708 S. Battlefield Blvd., Chesapeake, VA 23322 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David R Robison Open Roads Consulting, Inc. 708 S. Battlefield Blvd., Chesapeake, VA 23322 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately.
Swarm/Acegi and logging out
I am using Swarm with Acegi integration. Authentication and authorization work fine, but I am having trouble logging out. I use a link to a Logout class that implements the following code to log the user out. public class LoggedOutPage extends SecureWebPage { private static final long serialVersionUID = 1L; /** * Constructor. */ public LoggedOutPage() { super(); logout(); setResponsePage(MainPage.class); } /** * log the user out. */ public void logout() { SecurityContextHolder.getContext().setAuthentication(null); WebRequest webRequest = (WebRequest)getRequest(); webRequest.getHttpServletRequest().getSession().invalidate(); } } However, when I am redirected to the MainPage.class, the user is not asked to login again and the class throws a null pointer error when it tries to access the logged in user. Am I doing something wrong? Thanks, David -- David R Robison Open Roads Consulting, Inc. 708 S. Battlefield Blvd., Chesapeake, VA 23322 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579 This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited. If you have received this communication in error, please notify us immediately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]