RE: FOSDEM 2011 presentation online
Thanks for sharing. The audio of the presentation would have been a plus, unless the audio was there and I missed it somehow :) -Original Message- From: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Sent: Monday, February 07, 2011 2:50 PM To: users@wicket.apache.org Subject: FOSDEM 2011 presentation online The presentation on Wicket I gave at FOSDEM is online: http://wicketinaction.com/2011/02/fosdem-wicket-presentation/ Features a short introduction at at about 50% the presentation shifts to features from 1.5 Martijn -- Become a Wicket expert, learn from the best: http://wicketinaction.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Accessing Wicket Application from custom servlet
Just a guess: Application wicketApplication = Session.get().getApplication(); Cast like this if you need to: MyWicketApplication wicketApplication = (MyWicketApplication) Session.get().getApplication(); -Original Message- From: Aaron Dixon [mailto:atdi...@gmail.com] Sent: Tuesday, August 04, 2009 4:02 PM To: users@wicket.apache.org Subject: Re: Accessing Wicket Application from custom servlet That seems to provide a solutino for WicketSession access, but what about access to the Application instance? On Tue, Aug 4, 2009 at 1:51 PM, Igor Vaynbergigor.vaynb...@gmail.com wrote: see WicketSessionFilter -igor On Tue, Aug 4, 2009 at 11:49 AM, Aaron Dixonatdi...@gmail.com wrote: I am implementing a servlet external to my Wicket application that needs to access my Wicket Application instance itself... Can anyone recommend a clean way to go about this? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Questions about Wicket sessions
Question #2 can be muddy depending on how the new window was launched. In my experience (Using IE 6) if you click on a link (i.e target=_blank) that launches an application and log in, then go back and click that link again to open a new window to the same application, you will be using the same wicket session - and http-session. In the above scenerio, multi-window support does not work. If you were to launch a new window or new tab from the WICKET app browser itself, then multi-window does work and you get different sessions. So, a link opening a new window i.e. target=_blank and physically opening a new window using the browser can get different results. -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Sunday, July 26, 2009 2:50 PM To: users@wicket.apache.org Subject: Re: Questions about Wicket sessions On Sun, Jul 26, 2009 at 8:53 AM, David Changdavid_q_zh...@yahoo.com wrote: 1. If I open another tab on the same browser (IE or FF), visitor activities on the same Wicket app are considered in the same session? same session, this is why we provide browser auto-multiwindow support, so we can detect a new tab/window being open and the app still works fine. 2. If I start IE or FF in another window, visitor activities on the same Wicket app are considered in the same or different session? always a different sessions, browsers do not share sessions. 3. If dirty() is called within a method of custom session object, then it is the developer's responsibility to implement dirty() to synchronize with other clustered web servers, correct? no, your responsibility is only to call dirty() when you change your custom state in session. the servlet container will take care of replicating session across the cluster. -igor Thanks! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Page Expire
From what I have read on this forum, page expires and session expires can be two different things. Search in this forum for the message What does page expired mean?. The discussion talks about several issues not just session expiration. -Original Message- From: Dipu [mailto:dipu@googlemail.com] Sent: Tuesday, June 23, 2009 6:12 AM To: users@wicket.apache.org Subject: Re: Page Expire show your code or quickstart would be helpful On Tue, Jun 23, 2009 at 11:09 AM, srinivassrinivas.r...@sifycorp.com wrote: Hi, I am not asking about the session-timeout , i have given session-timeout as 30 mins in web.xml, But in wicket when i submit a form and after some time (10 mins) when i try to perform another operation i am getting the *Page Expired* error. Regards, Srinivasa Raju CH. vineet semwal wrote: You can specify session-timeout in web.xml . regards, vineet semwal On Tue, Jun 23, 2009 at 3:31 PM, Dipu dipu@googlemail.com wrote: isn't it container specific ? On Tue, Jun 23, 2009 at 10:57 AM, srinivassrinivas.r...@sifycorp.com wrote: Hi, After how much time will we get the page expire in wicket . Please give me the replay if any one know this . Thanks in advance. Regards, Srinivasa Raju CH. Get your world in your inbox! Mail, widgets, documents, spreadsheets, organizer and much more with your Sifymail WIYI id! Log on to http://www.sify.com ** DISCLAIMER ** Information contained and transmitted by this E-MAIL is proprietary to Sify Limited and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If this is a forwarded message, the content of this E-MAIL may not have been sent with the authority of the Company. If you are not the intended recipient, an agent of the intended recipient or a person responsible for delivering the information to the named recipient, you are notified that any use, distribution, transmission, printing, copying or dissemination of this information in any way or in any manner is strictly prohibited. If you have received this communication in error, please delete this mail notify us immediately at ad...@sifycorp.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Ajax enabled pages are slow to load
I have recently converted a project from 1.3.5 to 1.4.rc-4. The only thing that I have changed with it is adding all the generics. On pages, panels, etc. that I have ajax classes, the pages are taking a great deal of time to load. They were not exactly quick to load for me in 1.3.5, but in 1.4.rc-4 they are painfully slow. While in debug mode, I check during the database loading phase and all that is running very quickly. It seems to be at the rendering phase where the problem lies. I notice in the stack that there are many many Daemon threads being created before the page will finally display. I have ran this in development and in deployment mode with no appreciable difference (and on two different web servers). For a test I placed a breakpoint in the onRender() method of the page. The breakpoint occurred about halfway through all the Daemon threads that were being created. I am using Tomcat 6.0.14 I am noticing this in other projects not just this one. Any suggestions on what to look for to speed it up? I do have logging on with info, so I have verified that all the objects are serializable. One of the projects has a webpage class with a mix of these ajax components: AjaxSelfUpdatingTimerBehavior; AjaxLink; ModalWindow; IndicatingAjaxLink; Timothy Ames Developer II Promedica Health Systems, North Direct phone: 517-265-0281 Internal extension: 72281 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system.
RE: Send Page Parameter to Login Page after Calling Logoff Method
I recently had an issue with the LoginPage also. This was using the AuthenticatedWebSession and AuthenticatedWebApplication classes. Not sure if this holds true with Wasp. I wanted to access the page parameters in the LogIn class itself but could not. I had to save the page parameters in the web session that was just created via the Request object and pull them in from the session in the LogIn class. I assume in your log out method that the session is being invalidated. When the new log in page is displayed, a new session may be there. Check during the constructor phase of your web session and see if the Request object has the page parameters you desire. Not sure if they will be, but worth a shot. -Original Message- From: glory [mailto:glo_sari...@yahoo.com] Sent: Monday, June 15, 2009 10:47 PM To: users@wicket.apache.org Subject: Send Page Parameter to Login Page after Calling Logoff Method Hi, wicket users! Is there any way to send a page parameter to the login page after calling logoff() method in a logout page? ((WaspSession)Session.get()).logoff(new LoginContext()); PageParameters parameters = new PageParameters(); parameters.put(myParameter, myParameter); setResponsePage(LoginPage.class, parameters); I've tried it so many times, I got no idea how to get the parameter. Does anyone have idea? Thanks in Advance, Glo _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: how to avoid multiple session for the same username
Be careful not to confuse sessions with opening new windows. I got bit by this recently. For example; an application is a link from a portal. This portal opens a new window (i.e. target=_blank) that launches your wicket or servlet app. A new session is created upon first log in. The user then launches a duplicate of the same app from the portal. You may think that at this point a new session is created for the duplicate app, but it is not it will use the same session id as the original launch. This will occur even if the user closes the original window then launches the app again - at least until the session expires normally. So the session ID will remain the same even if multiple windows have been opened. Wicket has a multiple windows feature, but this only works if the user decides to manually open a window via the File -- New Window or using keyboard shortcuts within the browser. A way around this would be to force the user to always do a Close or Log Out button; at which time you could invalidate the session. But, I do not know how to deactivate the standard X in the right top corner of the browser or the File -- Exit menu option. Maybe there is a way, or my knowledge of this is very limited? -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Friday, June 12, 2009 1:34 PM To: users@wicket.apache.org Subject: Re: how to avoid multiple session for the same username Store the session ID in your DB whenever someone signs in. Then if someone signs in, and the session ID is not the same, you can either block them from signing in, or you can have something in the request cycle that checks on every request to make sure that this session ID is still allowed to be signed in. If it's not, sign out. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jun 12, 2009 at 12:30 PM, tubin genfachh...@gmail.com wrote: I need suggestions on implementing single user login , like My system has a user with a usernamejdavid and my application should not allow two different sessions for the same username jdavid , can one session peep into all other session to see if the any has a usernaem jdavid, I am basically looking for some pattern if any available for restricting multiple session for the same username . - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AuthorizedWebApplication, Session
I am using the AuthorizedWebApplication and session. I have used this with success in the past, but now I need to get at the page parameters in my SignIn WebPage. The constructor: public SP_SignInPage(PageParameters parms) the parms are all null in the HashMap that shows up in Debug. Sign-In web page constructor snippet: public SP_SignInPage(PageParameters parms) { super(parms); Logger logger = Logger.getRootLogger(); logger.info(SP_SignInPage facility 1: + parms.getString(facility) + , soundID: + parms.getString(soundID)); The SP_SignIn page is being called as usual, but the parms are all null I have tried several things to retrieve the parameters from various objects like RequestCycle. Once the AuthenticatedWebSession is created, the parameters ARE there in the Request object that is passed. AuthorizedWebSession snippet: public class SP_WebSession extends AuthenticatedWebSession { public SP_WebSession(Request request) { super(request); Logger.getRootLogger().info(SP_WebSession: + request.getParameter(facility)); Everything is fine at the session and the parms all show up within the home page AFTER I log in. URL looks something like this: http://myserver:8080/myapp/myapp/?facility=fac01soundID=play I am using 1.4-rc4 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system.
RE: AuthorizedWebApplication, Session
I was able to do a work-around to this by saving the Request parameters from the AuthenticatedWebSession into a PageParameters object in the session Snippet of the AuthenticatedWebSession: private PageParameters initialPageParameters; public SP_WebSession(Request request) { super(request); initialPageParameters = new PageParameters(); MapString,String[] parmMap = request.getParameterMap(); SetString parmKeys = parmMap.keySet(); for (String key : parmKeys) { initialPageParameters.put(key, parmMap.get(key)[0]); } public PageParameters getInitialPageParameters() { return initialPageParameters; } Then in the Sign In page: public SP_SignInPage(final PageParameters inParms) { super(inParms); SP_WebSession session = (SP_WebSession) getSession(); PageParameters parms = session.getInitialPageParameters(); . I think there is another way to get those original page parameters within the Sign-In page, but not sure how. -Original Message- From: Ames, Tim [mailto:tim.a...@promedica.org] Sent: Tuesday, June 09, 2009 11:04 AM To: users@wicket.apache.org Subject: AuthorizedWebApplication, Session I am using the AuthorizedWebApplication and session. I have used this with success in the past, but now I need to get at the page parameters in my SignIn WebPage. The constructor: public SP_SignInPage(PageParameters parms) the parms are all null in the HashMap that shows up in Debug. Sign-In web page constructor snippet: public SP_SignInPage(PageParameters parms) { super(parms); Logger logger = Logger.getRootLogger(); logger.info(SP_SignInPage facility 1: + parms.getString(facility) + , soundID: + parms.getString(soundID)); The SP_SignIn page is being called as usual, but the parms are all null I have tried several things to retrieve the parameters from various objects like RequestCycle. Once the AuthenticatedWebSession is created, the parameters ARE there in the Request object that is passed. AuthorizedWebSession snippet: public class SP_WebSession extends AuthenticatedWebSession { public SP_WebSession(Request request) { super(request); Logger.getRootLogger().info(SP_WebSession: + request.getParameter(facility)); Everything is fine at the session and the parms all show up within the home page AFTER I log in. URL looks something like this: http://myserver:8080/myapp/myapp/?facility=fac01soundID=play I am using 1.4-rc4 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: VOTE: Rename Apache Wicket to Apache WicketFX
Please excuse my EXTREME ignorance, but what exactly does or will the FX mean from a Wicket standpoint? What does it do or allow a developer to do that would designate it as FX? -Original Message- From: David Leangen [mailto:wic...@leangen.net] Sent: Wednesday, April 01, 2009 4:08 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Or... WTF! (Wicket The Framework) +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: VOTE: Rename Apache Wicket to Apache WicketFX
Yeah, I picked up on that of course AFTER I asked the question. This day was named just for ME! I feel so privileged. -Original Message- From: Daan van Etten [mailto:d...@stuq.nl] Sent: Wednesday, April 01, 2009 11:11 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX To make it a bit less painful: Look at the date. :-) Daan Op 1 apr 2009, om 16:25 heeft Brill Pappin het volgende geschreven: ~0/1 I don't care... but I can't say that I think FX makes it cool... Sounds more like a bad 90's TV show to me :) As long as it work, I don't care what its called... um... maybe I should qualify that... I don't care what its called as long as I won't be embarrassed when talking to my clients about it :) - brill On 1-Apr-09, at 10:19 AM, Daan van Etten wrote: FX sounds just way cool. WicketFX. Where function meets form. Web development in style. Say for yourself, would you rather want to work with a framework called Wicket, or a framework called WicketFX?! Birthday parties and pub nights never are the same again: What technologies you use? - WicketFX, Spri.. Wow! You are so cool! Regards, Daan Op 1 apr 2009, om 15:36 heeft Chenini, Mohamed het volgende geschreven: Same concern here. Why the FX suffix? -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Wednesday, April 01, 2009 9:33 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Failed eXtremely On Wed, Apr 1, 2009 at 15:08, Ames, Tim tim.a...@promedica.org wrote: Please excuse my EXTREME ignorance, but what exactly does or will the FX mean from a Wicket standpoint? What does it do or allow a developer to do that would designate it as FX? -Original Message- From: David Leangen [mailto:wic...@leangen.net] Sent: Wednesday, April 01, 2009 4:08 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Or... WTF! (Wicket The Framework) +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation
RE: DataView vs ListView
My humble opinion is that you have to pay the price somewhere. Either you are going to load all that data into memory in a List or get it from the database for each page. I use JPersist to map the database to objects. I have found it to be quite fast. Connection pooling helps too. If you have several users searching and returning large Lists in memory, you may not be too happy with those results either :) -Original Message- From: Dane Laverty [mailto:danelave...@chemeketa.edu] Sent: Tuesday, January 06, 2009 8:08 PM To: users@wicket.apache.org Subject: DataView vs ListView I've been trying to understand when DataView would come in handy. I have a SQL database table with about 1,000,000 rows. The user can enter a search string, and my application returns a list of all the rows that match the search string. This list might be over 10,000 rows. At first I thought this would be a perfect situation for a DataView, since it involves large numbers of rows, and I don't necessarily want to get all 10,000 rows if the user only needs to look at the first 20. However, I'm finding that, since DataView re-queries the database with each page view of the results list, any time advantage I might have gotten initially is quickly lost. It seems that using a PageableListView, I just query the database once and I'm good. So my question is, am I misunderstanding the purpose of the DataView? All of the online examples I find for DataView use Java databases rather than SQL relational databases. Is the DataView only useful if you already have some kind of a Java database to back it up? Or is there some way that I can take advantage of DataView in this situation without having to re-query the database whenever the user clicks to a different page of the result list? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: DataView vs ListView
Jim, I think his comment was that he did not want to go back to the DB. But, yes I agree. In SQL Server 2005 it is a little trickier. You have to open up a selectMethod=cursor at connection time. In SQL Server selectMethod=direct is the default :( After converting from MySql to SQL Server it took me a lot of research to find this one! -Original Message- From: Jim Pinkham [mailto:pinkh...@gmail.com] Sent: Wednesday, January 07, 2009 10:07 AM To: users@wicket.apache.org Subject: Re: DataView vs ListView Also, in MySQL syntax, you've got stuff like this that gets you right to the page you want: sql = Select ... whatever ..; sql += limit + query.getFrom() + ,+query.getCount(); Oracle and other variants have similar options - I agree conn pool probably makes most difference. -- Jim On Wed, Jan 7, 2009 at 9:52 AM, Ames, Tim tim.a...@promedica.org wrote: My humble opinion is that you have to pay the price somewhere. Either you are going to load all that data into memory in a List or get it from the database for each page. I use JPersist to map the database to objects. I have found it to be quite fast. Connection pooling helps too. If you have several users searching and returning large Lists in memory, you may not be too happy with those results either :) -Original Message- From: Dane Laverty [mailto:danelave...@chemeketa.edu] Sent: Tuesday, January 06, 2009 8:08 PM To: users@wicket.apache.org Subject: DataView vs ListView I've been trying to understand when DataView would come in handy. I have a SQL database table with about 1,000,000 rows. The user can enter a search string, and my application returns a list of all the rows that match the search string. This list might be over 10,000 rows. At first I thought this would be a perfect situation for a DataView, since it involves large numbers of rows, and I don't necessarily want to get all 10,000 rows if the user only needs to look at the first 20. However, I'm finding that, since DataView re-queries the database with each page view of the results list, any time advantage I might have gotten initially is quickly lost. It seems that using a PageableListView, I just query the database once and I'm good. So my question is, am I misunderstanding the purpose of the DataView? All of the online examples I find for DataView use Java databases rather than SQL relational databases. Is the DataView only useful if you already have some kind of a Java database to back it up? Or is there some way that I can take advantage of DataView in this situation without having to re-query the database whenever the user clicks to a different page of the result list? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: DownloadLink, BIRT report
You should not need to copy anything to the eclipse\plugins since you downloaded Eclipse with Birt support. You will need to add the birt runtime jars into your eclipse project. They can be found in runtime download folder\ReportEngine\lib There are a couple ways to do this in eclipse: 1. Go to Build Path -- Configure Build Path -- Libraries. You can manually add jars with the Add External Jars button. You need at least 2 of the birt jars - engineapi.jar and coreapi.jar. You may need more depending on what functions you are using within birt. 2. If you want Maven to handle this, then you will need to add the artifacts manually to your local repository. The latest birt runtime 2.3.1 is not in a central repository. I added all the jars that you see in the \lib directory; a few where already there from the central repository. I then created a birt-2.3.1 artifact with a pom.xml that has all of the jars as dependencies. All I need to do then is add the birt-2.3.1 artifact to my project and all of the birt jars are automatically added. There may be other ways to do this too. I am new to Maven also. It took quite a bit of research to get this far. Good luck! --Tim -Original Message- From: newbieabc [mailto:newbie...@yahoo.com] Sent: Monday, January 05, 2009 11:16 AM To: users@wicket.apache.org Subject: Re: DownloadLink, BIRT report Thank you for your reply... I am sorry to sound redundant... I had started off by downloading the birt-all-in-one (came bundled with the full Eclipse SDK). Created a maven project( wicket quickstart) , then designed the birt rptdesign (all within the eclipse platform) I run it outside eclipse, (mvn jetty:run) Now, I have downloaded the birt runtime engine, and copied files from the birtrunttime\ReportEngine\plugins to the eclipse\plugins But when I try to use org.eclipse.birt.report.engine.api.ReportEngine i get org.eclipse cannot be resolved Not sure what I should do for this. Thank you for your help..and again sorry to sound redundant, I am really new to this. reiern70 wrote: Hi, For the BIRT part you need to install somewhere a BIRT runtime. Essentially, this an equinox OSGi runtime with a folder structure like: {root}-configuration` -plugins If you have extended BIRT by adding your own ODA extensions then you have to drop them on the plugins folder. There is also a folder (e.g. plugins/org.eclipse.birt.report.data.oda.jdbc_2.3.0.v20080610/drivers) where you have to drop any JDBC drivers you need to connect to your database (in case you are using standard ODA drivers). I usually install the BIRT runtime under WEB-INF... The next step is to have instantiate this runtime and use it to generate your reports. I do this via a class like the following: public class Birt { . private static IReportEngine engine; public static final void startEngine() { try { if(engine != null) return; EngineConfig engCnf = new EngineConfig(); engCnf.setEngineHome(ConfigGlobal.i.resuelveRuta(WEB-INF/birt).toString()); engCnf.setLogConfig(ConfigGlobal.i.resuelveRuta(../logs).toString(), Level.ALL); Platform.startup(engCnf); IReportEngineFactory factory = (IReportEngineFactory) Platform .createFactoryObject( IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY ); engine = factory.createReportEngine(engCnf); engine.changeLogLevel( Level.OFF ); } catch (Throwable ex) { log.fatal(, ex); } } public static final void stopEngine() { try { engine.destroy(); engine = null; } catch (Exception e) { } } public static IReportEngine getEngine() { if(engine == null) { startEngine(); } return engine; } public static void generateBirtReport(String file, String fmt, OutputStream out, IdSql area, ReportInfo petA, JSONObject parametros_Reporte, Locale locale, boolean autoPageBreaking) throws Exception { Attachment attachment = Attachment.loadFromTable(file, area); File tmpDir = ConfigGlobal.i.resuelveRuta(LectorConfig.i.get().getChild(dirs).getChild(tmp).getValue()); // creating a resource locator that is capable of retrieving libraries // or images from the database... DataBaseResourceLocator dataBaseResourceLocator = new DataBaseResourceLocator(area); IReportRunnable design =
RE: have anyone tried empire-DB?
Looks like it has a lot in common with JPersist. That is what I have been using. No XML, all POJO. -Original Message- From: Nino Saturnino Martinez Vazquez Wael [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 11:28 AM To: users@wicket.apache.org Subject: have anyone tried empire-DB? So have you tried it with wicket? http://incubator.apache.org/empire-db/ -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AuthenticatedWebApplication Problem
Using wicket 1.3.4 - production/stable version I am testing AuthenticatedWebApplication and AuthenticatedWebSession set up similar to the wicket-examples. I have the @AuthorizationInstantiation annotation set up on the home page. I start up a session using the address: http://localhost:8080/MyApp/ As expected, the Sign In page shows with an address of: http://localhost:8080/MyApp/?wicket:bookmarkablePage=:org.apache.wicket. authentication.pages.SignInPage I log in, the user and password are valid, and I click Sign In. At this point is where the problem occurs. I loose the context MyApp in the address. The address now shows: http://localhost:8080/index.jsp Thanks for any insight. --Tim _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system.
RE: AuthenticatedWebApplication Problem
Additionally, if I then type the address http://localhost:8080/MyApp/ the home page shows like it should -Original Message- From: Ames, Tim [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2008 11:24 AM To: users@wicket.apache.org Subject: AuthenticatedWebApplication Problem Using wicket 1.3.4 - production/stable version I am testing AuthenticatedWebApplication and AuthenticatedWebSession set up similar to the wicket-examples. I have the @AuthorizationInstantiation annotation set up on the home page. I start up a session using the address: http://localhost:8080/MyApp/ As expected, the Sign In page shows with an address of: http://localhost:8080/MyApp/?wicket:bookmarkablePage=:org.apache.wicket. authentication.pages.SignInPage I log in, the user and password are valid, and I click Sign In. At this point is where the problem occurs. I loose the context MyApp in the address. The address now shows: http://localhost:8080/index.jsp Thanks for any insight. --Tim _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Wicket cheat sheet, solve your wicket problem fast?
Sorry, I don't understand how to access the pdf from this link -Original Message- From: Nino Saturnino Martinez Vazquez Wael [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2008 4:34 AM To: users@wicket.apache.org Subject: Wicket cheat sheet, solve your wicket problem fast? Hi I've created a small wicket cheat sheet for issues and features, please see here : http://www.flyupload.com/?fid=9436254 It's based on my experience so it's certainly not complete and you should consider it a draft. Any comment will be welcome:) -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Wicket cheat sheet, solve your wicket problem fast?
Duh, sorry to have bothered y'all :) -Original Message- From: Gwyn Evans [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2008 9:25 AM To: users@wicket.apache.org Subject: Re: Wicket cheat sheet, solve your wicket problem fast? On Mon, Jun 2, 2008 at 1:59 PM, Ames, Tim [EMAIL PROTECTED] wrote: Sorry, I don't understand how to access the pdf from this link You probably need to scoll down - here, at least, the page seems to have some info about the file, then a number of blank lines only then the Download Now link you need. /Gwyn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]