Re: PageLink deprecated
for nonbookmarkables you can use Link and simply override equals/hashcode to create the pageidentity -igor On Mon, Jan 18, 2010 at 11:39 PM, Emond Papegaaij emond.papega...@topicus.nl wrote: That's what I'm trying to say: it can't be accomplished by either BookmarkablePageLink or Link. Link does not have a getPageIdentity method and BookmarkablePageLink only works for bookmarkable links (duh). So Link is never an option because of the missing getPageIdentity method and BookmarkablePageLink only works for bookmarkable pages. What about links to pages that are not bookmarkable? Emond On Monday 18 January 2010 17:12:49 Igor Vaynberg wrote: well, if the functionality can be accomplished using either BookmarkablePageLink or Link, why do we need yet another way to do it? -igor On Sun, Jan 17, 2010 at 11:44 PM, Jeroen Steenbeeke j.steenbeeke...@gmail.com wrote: Guys, no need to keep explaining what's wrong with passing a Page in the constructor, we understand that! Forget about that filthy 3rd constructor, I know it's wrong and I never used it anyway. That wasn't what my question was about. There are two more constructors: PageLink(String, Class) PageLink(String, IPageLink) Both of these do not replicate the dangerous behavior illustrated in this thread so far. I understand that we can easily create our own implementation that simulates the behavior we want. I just wanted to understand the reasoning for removing the whole class when only one of the constructors is dangerous. From what Martijn Dashorst just told me, it was a case of seeing as we already have Link and BookmarkablePageLink, we figured you could just use those instead. This is also the source of miscommunication so far. The Javadoc simply states what you should use instead, but does not explicitly state why. The assumption is that any behavior you can achieve with the PageLink/IPageLink combination can also be done with a simple Link. This does not take into account the use of the Page Identity for security checks however (mainly for determining link visibility, which, frankly, does not need an actual instance of the page in question), which brings us back to Emond's original point. On the other hand, one could argue that the only use for the page identity is for security purposes, and it would therefore be more at home in a specialized class in wicket-security. -- Jeroen Steenbeeke www.fortuityframework.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
Re: PageLink deprecated
This discussion is relevant: http://markmail.org/message/rwqrnvraoypwgbsj In that discussion Maurice opted for removing PageLink altogether and securing its functionality in SecurePageLink inside Wicket Security. I guess that is a good option. Martijn On Tue, Jan 19, 2010 at 9:04 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: for nonbookmarkables you can use Link and simply override equals/hashcode to create the pageidentity -igor On Mon, Jan 18, 2010 at 11:39 PM, Emond Papegaaij emond.papega...@topicus.nl wrote: That's what I'm trying to say: it can't be accomplished by either BookmarkablePageLink or Link. Link does not have a getPageIdentity method and BookmarkablePageLink only works for bookmarkable links (duh). So Link is never an option because of the missing getPageIdentity method and BookmarkablePageLink only works for bookmarkable pages. What about links to pages that are not bookmarkable? Emond On Monday 18 January 2010 17:12:49 Igor Vaynberg wrote: well, if the functionality can be accomplished using either BookmarkablePageLink or Link, why do we need yet another way to do it? -igor On Sun, Jan 17, 2010 at 11:44 PM, Jeroen Steenbeeke j.steenbeeke...@gmail.com wrote: Guys, no need to keep explaining what's wrong with passing a Page in the constructor, we understand that! Forget about that filthy 3rd constructor, I know it's wrong and I never used it anyway. That wasn't what my question was about. There are two more constructors: PageLink(String, Class) PageLink(String, IPageLink) Both of these do not replicate the dangerous behavior illustrated in this thread so far. I understand that we can easily create our own implementation that simulates the behavior we want. I just wanted to understand the reasoning for removing the whole class when only one of the constructors is dangerous. From what Martijn Dashorst just told me, it was a case of seeing as we already have Link and BookmarkablePageLink, we figured you could just use those instead. This is also the source of miscommunication so far. The Javadoc simply states what you should use instead, but does not explicitly state why. The assumption is that any behavior you can achieve with the PageLink/IPageLink combination can also be done with a simple Link. This does not take into account the use of the Page Identity for security checks however (mainly for determining link visibility, which, frankly, does not need an actual instance of the page in question), which brings us back to Emond's original point. On the other hand, one could argue that the only use for the page identity is for security purposes, and it would therefore be more at home in a specialized class in wicket-security. -- Jeroen Steenbeeke www.fortuityframework.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 -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
StatelessLink
Hi, I've been getting a lot of grief trying to make some of my pages stateless in Wicket 1.4.5 with Tomcat 6.0. Here's one thing that doesn't work. I'm trying to make a session-resistant (but *not* bookmarkable) link on the homepage that should work no matter if the page exists. If the page doesn't exist, I want it to be created and then the link event handler invoked. As far as I understand, StatelessLink should work for this purpose. However, I can't get it to work. From time to time, clicking it produces the following error in the console: SEVERE: unable to find listener interface ILinkListener org.apache.wicket.WicketRuntimeException: unable to find listener interface ILinkListener at org.apache.wicket.request.target.component.BookmarkableListenerInterfaceRequestTarget.processEvents(BookmarkableListenerInterfaceRequestTarget.java:159) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) Sometimes I also get the following (seemingly related) error: org.apache.wicket.protocol.http.request.InvalidUrlException: org.apache.wicket.WicketRuntimeException: Unable to instantiate Page class: com.my.HomePage. See below for details. at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) Caused by:
Re: Getting control of Wicket Session.
Wicket application has his entry point at an filter. An simple user request to server will keep his session alive. http://java.sun.com/products/servlet/2.1/api/javax.servlet.http.HttpSession.html#getLastAccessedTime() http://java.sun.com/products/servlet/2.1/api/javax.servlet.http.HttpSession.html#getLastAccessedTime() This request can to be made asynchronously or can to be ignored by the application. Both cases will update the last accessed time attribute. On Tue, Jan 19, 2010 at 2:12 AM, Apple Grew appleg...@gmail.com wrote: @Pedro Thanks for the response. Now I have two questions. 1. How do I get reference of HttpSession? In Wicket I seem to get reference of WebSession. 2. How do I notify the servlet container (I guess Wicket is not in-charge of maintaining the HttpSession), that the user is active? If I make any Http request from client's end (AJAX), even if that request is simply ignored by my application, will that help to keep the session alive? @Steve Yup this will be AJAX. When my solution is ready, will share it, definitely. :) Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Tue, Jan 19, 2010 at 8:57 AM, Steve Swinsburg steve.swinsb...@gmail.comwrote: Presumably, if the user is typing a long document and hasn't clicked on anything for a while, you'll need to indicate to Wicket/HttpSession (probably via AJAX), that the session is to be kept alive. I believe this is how the autosave functions of things like rich text editors work, keeping the session from timing out. Interested to see your solution. cheers, Steve On 19/01/2010, at 10:19 AM, Pedro Santos wrote: Use attributes from HttpSession like getLastAccessedTime() and getMaxInactiveInterval(). You can get access through WebRequest that holds an HttpServletRequest object. When HttpSession ends, the wicket session ends too. On Mon, Jan 18, 2010 at 5:33 PM, Apple Grew appleg...@gmail.com wrote: Hi, I am a Wicket fresher. I am still getting the hang of this. I want to develop a web application where I would like to show the user a message informing him that his session is about to expire in x minutes. If he wants to save his session then can click on a button which appears along with this message. Also, using javascript I would like to 'sense' that the user is typing-in or moving his mouse over the webpage, which is evident enough that he is using the session. I will somehow figure out the js code needed but *how will I tell Wicket to keep the session alive? Also how can I be notified x minutes before Wicket expires the session?* Regards, Apple Grew my blog @ http://blog.applegrew.com/ -- Pedro Henrique Oliveira dos Santos - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pedro Henrique Oliveira dos Santos
Adding a form field at run time... is it possible?
Hi, Is it possible to add new form fields at run time? I'm new to Wicket and was hoping this framework would allow me to write a data driven editor. The idea is to get the data's schema at run time and then automatically create a suitable form to allow a user to edit the data. Everything was going well until it dawned on me that the markup page has to include all the Wicket tags to match the Wicket components and if they don't you get an exception. But if that's the case how does Wicket handle forms where you click a button on the web page to add an extra field? Regards, David Legg - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: PageLink deprecated
Which is what I suggested earlier in this discussion as well. So long as nobody touches the IPageLink interface then simply adapting SecurePageLink to use IPageLink directly would work without any significant break in SecurePageLink's API. That way there are no icky constructors and no unnecessary link classes. -- Jeroen Steenbeeke www.fortuityframework.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Adding a form field at run time... is it possible?
Everything was going well until it dawned on me that the markup page has to include all the Wicket tags to match the Wicketcomponents and if they don't you get an exception. You can override the onComponentTag method from the component that is throwing the exception, and remove the tag validation. You can have more ideas to assembly your from on: http://old.nabble.com/dynamic-components-td26244887.html http://old.nabble.com/dynamic-components-td26244887.html On Tue, Jan 19, 2010 at 8:34 AM, David Legg david.l...@searchevent.co.ukwrote: Hi, Is it possible to add new form fields at run time? I'm new to Wicket and was hoping this framework would allow me to write a data driven editor. The idea is to get the data's schema at run time and then automatically create a suitable form to allow a user to edit the data. Everything was going well until it dawned on me that the markup page has to include all the Wicket tags to match the Wicket components and if they don't you get an exception. But if that's the case how does Wicket handle forms where you click a button on the web page to add an extra field? Regards, David Legg - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pedro Henrique Oliveira dos Santos
Re: PageLink deprecated
But leaving IPageLink without any classes using it seems a bit weird to me. I think IPageLink should be removed with PageLink and probably be moved to wicket-security. On Tuesday 19 January 2010 11:36:59 Jeroen Steenbeeke wrote: Which is what I suggested earlier in this discussion as well. So long as nobody touches the IPageLink interface then simply adapting SecurePageLink to use IPageLink directly would work without any significant break in SecurePageLink's API. That way there are no icky constructors and no unnecessary link classes. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: StatelessLink
Further experiments show that that stateless forms suffer from the same issue. How come no one has run into it before? On Tue, Jan 19, 2010 at 11:22 AM, kirillkh kiril...@gmail.com wrote: Hi, I've been getting a lot of grief trying to make some of my pages stateless in Wicket 1.4.5 with Tomcat 6.0. Here's one thing that doesn't work. I'm trying to make a session-resistant (but *not* bookmarkable) link on the homepage that should work no matter if the page exists. If the page doesn't exist, I want it to be created and then the link event handler invoked. As far as I understand, StatelessLink should work for this purpose. However, I can't get it to work. From time to time, clicking it produces the following error in the console: SEVERE: unable to find listener interface ILinkListener org.apache.wicket.WicketRuntimeException: unable to find listener interface ILinkListener at org.apache.wicket.request.target.component.BookmarkableListenerInterfaceRequestTarget.processEvents(BookmarkableListenerInterfaceRequestTarget.java:159) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) Sometimes I also get the following (seemingly related) error: org.apache.wicket.protocol.http.request.InvalidUrlException: org.apache.wicket.WicketRuntimeException: Unable to instantiate Page class: com.my.HomePage. See below for details. at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at
RE: Adding a form field at run time... is it possible?
David, I'm pretty sure that everything you want could be accomplished through Wicket. Anyway, if you describe the use case completely, I can give further advices on what to do. Regards, Martin -Original Message- From: David Legg [mailto:david.l...@searchevent.co.uk] Sent: Tuesday, January 19, 2010 2:59 PM To: users@wicket.apache.org Subject: Re: Adding a form field at run time... is it possible? Thanks for the ideas Martin + Pedro. It looks as if I'm trying to do something Wicket isn't designed for ;-) I wonder if another technique would be to dynamically modify the markup using the DOM to add the missing wicket markers as required before rendering takes place. Anyway thanks again for the pointers; I'll take a closer look at WicketWebBeans as mentioned in the thread you gave me too. Regards, David Legg - 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
Re: Adding a form field at run time... is it possible?
Wicket tags are meant to be used to make an template. The final markup will to be generated from that template. Do you realize that you are talking about dynamically generate an template? There is no need for. Take a closer look at repeaters. On Tue, Jan 19, 2010 at 10:59 AM, David Legg david.l...@searchevent.co.ukwrote: Thanks for the ideas Martin + Pedro. It looks as if I'm trying to do something Wicket isn't designed for ;-) I wonder if another technique would be to dynamically modify the markup using the DOM to add the missing wicket markers as required before rendering takes place. Anyway thanks again for the pointers; I'll take a closer look at WicketWebBeans as mentioned in the thread you gave me too. Regards, David Legg - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pedro Henrique Oliveira dos Santos
Re: Adding a form field at run time... is it possible?
Did you read [1] ? Martijn [1] http://wicketinaction.com/2008/10/building-a-listeditor-form-component/ On Tue, Jan 19, 2010 at 1:59 PM, David Legg david.l...@searchevent.co.uk wrote: Thanks for the ideas Martin + Pedro. It looks as if I'm trying to do something Wicket isn't designed for ;-) I wonder if another technique would be to dynamically modify the markup using the DOM to add the missing wicket markers as required before rendering takes place. Anyway thanks again for the pointers; I'll take a closer look at WicketWebBeans as mentioned in the thread you gave me too. Regards, David Legg - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Newbie Questions
Hi Nino, hmmh I studied the link a lot but I couldn't find a link or a source snippet to see how this calendar view might be created. I only see monthly views of the yui calendar. Do you mean this can be changed to a week-view? Would you mind helping me again here? Regards, Peter. Hi Peter Theres should be something in regards to a calendar here: http://mail-archives.apache.org/mod_mbox/wicket-users/200710.mbox/%3c47021d97.6010...@jayway.dk%3e Im not sure what state it are in now, I used it for week view, with filled days a special colour and clickable. regards Nino 2010/1/15 Peter Karichpeat...@yahoo.de: Dear fellow wicketers! I am now new to wicket and would like to say: wow + thanks for this great framework! I never see such a good separation of view and code. and making a small solr+wicket example working was really fun (like in good old desktop eras). Now I have the following questions: 1. Is there a scheduling or calendar component like the one from the tomahawk project [1] ? I especially look for a week-view. 2. Which setup (e.g. IDE) do you use to reduce the time from code change to site view? I am using netbeans 6.8 and 7 seconds out of the box seems to be okay, but is it possible to get it even faster with wicket? (preferable without commercial solutions aka JRebel) 3. For the persistence layer I need a rather simple solution (odb?) e.g. for CRUD. I found a databinder project [2] and wicketrad [3], but they seems to be out of date!? Then I found Wicket-Iolite [4] and wicket-phonebook [5]. Can this be used as a starting point or which *simple* persistent solutions do you use? 4. Is there a way to create a component without any html? 5. Is there a way to bind several components to *one* html file? I am thinking of a template which I'll receive from the designer. After this I only need to specify the wicket:ids within this html file and my components will hook into it. Or is there another solution? 6. The usage of the Link class is a bit counter intuitive: Link link = new Link(hrefId) { public void onClick() {..} }; link.add(new Label(titleId, new Model(myTitle) {...})); why is there no such constructor for the easiest case like it is the case in ExternalLink ala new Link(hrefid, hrefModel, titleModel) ? Regards, Peter. [1] http://myfaces.apache.org/tomahawk-project/tomahawk/tagdoc/t_schedule.html [2] http://databinder.net/wicket/show/overview/ [3] http://sites.google.com/site/wicketrad/ [4] http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite [5] http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook -- Free your timetabling! http://timefinder.sourceforge.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Free your timetabling! http://timefinder.sourceforge.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Newbie Questions
Op dinsdag 19-01-2010 om 15:16 uur [tijdzone +0100], schreef Peter Karich: hmmh I studied the link a lot but I couldn't find a link or a source snippet to see how this calendar view might be created. I only see monthly views of the yui calendar. Do you mean this can be changed to a week-view? For what it's worth, eHour is a wicket-based webapp and it features a week view: http://ehour.nl/about/screenshots.phtml regards, -- Reinout van Schouwen - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Newbie Questions
Whatever can be done here : http://developer.yahoo.com/yui/calendar/ You should be able todo with wicket integration. It might be a older release of yui though. 2010/1/19 Peter Karich peat...@yahoo.de: Hi Nino, hmmh I studied the link a lot but I couldn't find a link or a source snippet to see how this calendar view might be created. I only see monthly views of the yui calendar. Do you mean this can be changed to a week-view? Would you mind helping me again here? Regards, Peter. Hi Peter Theres should be something in regards to a calendar here: http://mail-archives.apache.org/mod_mbox/wicket-users/200710.mbox/%3c47021d97.6010...@jayway.dk%3e Im not sure what state it are in now, I used it for week view, with filled days a special colour and clickable. regards Nino 2010/1/15 Peter Karichpeat...@yahoo.de: Dear fellow wicketers! I am now new to wicket and would like to say: wow + thanks for this great framework! I never see such a good separation of view and code. and making a small solr+wicket example working was really fun (like in good old desktop eras). Now I have the following questions: 1. Is there a scheduling or calendar component like the one from the tomahawk project [1] ? I especially look for a week-view. 2. Which setup (e.g. IDE) do you use to reduce the time from code change to site view? I am using netbeans 6.8 and 7 seconds out of the box seems to be okay, but is it possible to get it even faster with wicket? (preferable without commercial solutions aka JRebel) 3. For the persistence layer I need a rather simple solution (odb?) e.g. for CRUD. I found a databinder project [2] and wicketrad [3], but they seems to be out of date!? Then I found Wicket-Iolite [4] and wicket-phonebook [5]. Can this be used as a starting point or which *simple* persistent solutions do you use? 4. Is there a way to create a component without any html? 5. Is there a way to bind several components to *one* html file? I am thinking of a template which I'll receive from the designer. After this I only need to specify the wicket:ids within this html file and my components will hook into it. Or is there another solution? 6. The usage of the Link class is a bit counter intuitive: Link link = new Link(hrefId) { public void onClick() {..} }; link.add(new Label(titleId, new Model(myTitle) {...})); why is there no such constructor for the easiest case like it is the case in ExternalLink ala new Link(hrefid, hrefModel, titleModel) ? Regards, Peter. [1] http://myfaces.apache.org/tomahawk-project/tomahawk/tagdoc/t_schedule.html [2] http://databinder.net/wicket/show/overview/ [3] http://sites.google.com/site/wicketrad/ [4] http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite [5] http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook -- Free your timetabling! http://timefinder.sourceforge.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Free your timetabling! http://timefinder.sourceforge.net/ - 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
Re: Newbie Questions
I think I used this one: http://developer.yahoo.com/yui/examples/calendar/popup.html in conjunction with the wicket integration. 2010/1/19 nino martinez wael nino.martinez.w...@gmail.com: Whatever can be done here : http://developer.yahoo.com/yui/calendar/ You should be able todo with wicket integration. It might be a older release of yui though. 2010/1/19 Peter Karich peat...@yahoo.de: Hi Nino, hmmh I studied the link a lot but I couldn't find a link or a source snippet to see how this calendar view might be created. I only see monthly views of the yui calendar. Do you mean this can be changed to a week-view? Would you mind helping me again here? Regards, Peter. Hi Peter Theres should be something in regards to a calendar here: http://mail-archives.apache.org/mod_mbox/wicket-users/200710.mbox/%3c47021d97.6010...@jayway.dk%3e Im not sure what state it are in now, I used it for week view, with filled days a special colour and clickable. regards Nino 2010/1/15 Peter Karichpeat...@yahoo.de: Dear fellow wicketers! I am now new to wicket and would like to say: wow + thanks for this great framework! I never see such a good separation of view and code. and making a small solr+wicket example working was really fun (like in good old desktop eras). Now I have the following questions: 1. Is there a scheduling or calendar component like the one from the tomahawk project [1] ? I especially look for a week-view. 2. Which setup (e.g. IDE) do you use to reduce the time from code change to site view? I am using netbeans 6.8 and 7 seconds out of the box seems to be okay, but is it possible to get it even faster with wicket? (preferable without commercial solutions aka JRebel) 3. For the persistence layer I need a rather simple solution (odb?) e.g. for CRUD. I found a databinder project [2] and wicketrad [3], but they seems to be out of date!? Then I found Wicket-Iolite [4] and wicket-phonebook [5]. Can this be used as a starting point or which *simple* persistent solutions do you use? 4. Is there a way to create a component without any html? 5. Is there a way to bind several components to *one* html file? I am thinking of a template which I'll receive from the designer. After this I only need to specify the wicket:ids within this html file and my components will hook into it. Or is there another solution? 6. The usage of the Link class is a bit counter intuitive: Link link = new Link(hrefId) { public void onClick() {..} }; link.add(new Label(titleId, new Model(myTitle) {...})); why is there no such constructor for the easiest case like it is the case in ExternalLink ala new Link(hrefid, hrefModel, titleModel) ? Regards, Peter. [1] http://myfaces.apache.org/tomahawk-project/tomahawk/tagdoc/t_schedule.html [2] http://databinder.net/wicket/show/overview/ [3] http://sites.google.com/site/wicketrad/ [4] http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite [5] http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook -- Free your timetabling! http://timefinder.sourceforge.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Free your timetabling! http://timefinder.sourceforge.net/ - 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
Re: Wicket+Guice
hmm I have something here aswell: http://wheresmyevent.com/search if you click one of the little date icons it's month displayed in days, is this not what you are looking for ? 2010/1/19 Peter Karich peat...@yahoo.de: Hi, Thanks to Jeremy Thomerson who pointed me to jweekend [1] which helped me a lot to get started with a simple CRUD webapp based on wicket and guice (+db4o) see [2] for a screenshot. I have now the following problems: 1. If I select an Event (row of DataView) and want to remove it directly after selection I lost the database connnection. It seems to me that something with guice and session management is not properly handled of my app. 2. E.g. if I select event1 from the list and want to create a new event2 based on the properties of event1. event2 is shown correctly where the row of event1 is now identical to the one of event2, although this is fixed after refreshing the page via F5. Do you have a feeling which could be wrong here? I would simply attach two failing test cases but I didn't get the tests working. I try to figure this out now... The maven project is here: https://timefinder.svn.sourceforge.net/svnroot/timefinder/branches/timefinderwicket/ After mvn install (it should compile without any set up) run mvn jetty:run and go to http://localhost:8080/timefinderwicket/event Regards, Peter. [1] http://www.jweekend.com/dev/LegUp [2] http://peat_hal.users.sourceforge.net/wicket-guice.png -- Free your timetabling! http://timefinder.sourceforge.net/ - 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
Re: Calendar Component [was Newbie Questions]
Hi Nino, hi Reinout! hmm I have something here aswell: http://wheresmyevent.com/search if you click one of the little date icons it's month displayed in days, is this not what you are looking for ? Not really :-) I do not look for a datepicker ... I thought more of a panel where the dates of one week are listed in the 'normal timetable-fashion'. Sth. like that what Reinout suggested in the top left screenshot. Here is a desktop library which has this what I mean: http://sourceforge.net/project/screenshots.php?group_id=157010ssid=62278 Regards, Peter. -- Free your timetabling! http://timefinder.sourceforge.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
jazzy spell cheker
I am trying to use jazzy spell cheker for my app. I end up with this error message Jan 18, 2010 1:11:13 AM org.tinymce.spellchecker.TinyMCESpellCheckerServlet doPost WARNING: There is no dictionaries for the language=en org.tinymce.spellchecker.SpellCheckException: There is no dictionaries for the language=en inside my i have web-inf/dictionary/jazzy/en-us/en-us.0 web-inf/dictionary/jazzy/global/global.0 what more do I need ?
notification system
hello please am trying to build a notification system on an application.I have completed most of work. where I am stuck is how to trigger events that will fire the notifications in the following scenerios 1. when the user logs into the application. it informs the user of x number of messages. 2. when the user session is on if a new message come it will alert the user. how do i accomplish this?please any help would be appreciated. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Breadcrumb title
Hi all, I would like to ask if anyone knows how to show e.g. read-only breadcrumb in title tag. I got internationalized page and I was thinking about sort of title properties from i18n property files for specific pages but I'm using inheritance (sort of header-footer etc. superclass) and title is in superclass markup so I have only one property value for all subclasses. Any ideas?? TIA, Marek - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: notification system
If you have a common denominator on your pages why not have there some panel that inform the user about new messages? e.g. with a link that opens up some kind of modal (or non modal) window with the messages. This panel could contain and AJAX timer that gets back to the server once in a while and checks for new messages... If you need real time notifications then maybe you want to use some kind of push solution. Regards, Ernesto On Tue, Jan 19, 2010 at 4:33 PM, chinedu efoagui chinedub...@gmail.comwrote: hello please am trying to build a notification system on an application.I have completed most of work. where I am stuck is how to trigger events that will fire the notifications in the following scenerios 1. when the user logs into the application. it informs the user of x number of messages. 2. when the user session is on if a new message come it will alert the user. how do i accomplish this?please any help would be appreciated. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Adding a form field at run time... is it possible?
Thanks again Martin, Pedro and Martijn. I've had that Aha! moment when something comes into focus! I understand now what Pedro meant about templates. Also I've had a quick peek at WicketWebBeans (WWB). I see that WWB effectively creates a specialist Wicket component that does most of what I wanted). So I think I'm good to go! Thanks again for the very friendly welcome to Wicket. Regards, David Legg - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: notification system
thank you Ernesto I was actually looking for a push solution but i will look at what you just described On 1/19/10, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: If you have a common denominator on your pages why not have there some panel that inform the user about new messages? e.g. with a link that opens up some kind of modal (or non modal) window with the messages. This panel could contain and AJAX timer that gets back to the server once in a while and checks for new messages... If you need real time notifications then maybe you want to use some kind of push solution. Regards, Ernesto On Tue, Jan 19, 2010 at 4:33 PM, chinedu efoagui chinedub...@gmail.comwrote: hello please am trying to build a notification system on an application.I have completed most of work. where I am stuck is how to trigger events that will fire the notifications in the following scenerios 1. when the user logs into the application. it informs the user of x number of messages. 2. when the user session is on if a new message come it will alert the user. how do i accomplish this?please any help would be appreciated. - 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
Re: jazzy spell cheker
I tried to use Jazzy with TinyMCE on Wicket and also couldn't get it to work. If it helps, i got a different error when I put the english.0 dictionary file in the same package as the JazzySpellChecker class, so I think that signifies a step in the right direction. You can see what I did by searching the mailing list archives for a post titled TinyMCE Spellcheck. Good luck, and let us know if you get this figured out. Dane On Tue, Jan 19, 2010 at 7:22 AM, tubin gen fachh...@gmail.com wrote: I am trying to use jazzy spell cheker for my app. I end up with this error message Jan 18, 2010 1:11:13 AM org.tinymce.spellchecker.TinyMCESpellCheckerServlet doPost WARNING: There is no dictionaries for the language=en org.tinymce.spellchecker.SpellCheckException: There is no dictionaries for the language=en inside my i have web-inf/dictionary/jazzy/en-us/en-us.0 web-inf/dictionary/jazzy/global/global.0 what more do I need ?
RE: notification system
Maybe you can have a look at Wicketstuff's solution: http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicketstuff-core/push-parent/push/ -Original Message- From: chinedu efoagui [mailto:chinedub...@gmail.com] Sent: Tuesday, January 19, 2010 5:05 PM To: users@wicket.apache.org Subject: Re: notification system thank you Ernesto I was actually looking for a push solution but i will look at what you just described On 1/19/10, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: If you have a common denominator on your pages why not have there some panel that inform the user about new messages? e.g. with a link that opens up some kind of modal (or non modal) window with the messages. This panel could contain and AJAX timer that gets back to the server once in a while and checks for new messages... If you need real time notifications then maybe you want to use some kind of push solution. Regards, Ernesto On Tue, Jan 19, 2010 at 4:33 PM, chinedu efoagui chinedub...@gmail.comwrote: hello please am trying to build a notification system on an application.I have completed most of work. where I am stuck is how to trigger events that will fire the notifications in the following scenerios 1. when the user logs into the application. it informs the user of x number of messages. 2. when the user session is on if a new message come it will alert the user. how do i accomplish this?please any help would be appreciated. - 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 The information contained in this communication is confidential, intended solely for the use of the individual or entity to whom it is addressed and may be legally privileged and protected by professional secrecy. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. This email does not constitute any commitment from Cordys Holding BV or any of its subsidiaries except when expressly agreed in a written agreement between the intended recipient and Cordys Holding BV or its subsidiaries. Cordys is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. Cordys does not guarantee that the integrity of this communication has been maintained nor that the communication is free of viruses, interceptions or interference. If you are not the intended recipient of this communication please return the communication to the sender and delete and destroy all copies. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: notification system
Can look how FeedbackMessages and FeedbackPanel work too On Tue, Jan 19, 2010 at 1:33 PM, chinedu efoagui chinedub...@gmail.comwrote: hello please am trying to build a notification system on an application.I have completed most of work. where I am stuck is how to trigger events that will fire the notifications in the following scenerios 1. when the user logs into the application. it informs the user of x number of messages. 2. when the user session is on if a new message come it will alert the user. how do i accomplish this?please any help would be appreciated. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pedro Henrique Oliveira dos Santos
Re: notification system
is there any documentation on how to use the wicket stuff push solution? On 1/19/10, Pedro Santos pedros...@gmail.com wrote: Can look how FeedbackMessages and FeedbackPanel work too On Tue, Jan 19, 2010 at 1:33 PM, chinedu efoagui chinedub...@gmail.comwrote: hello please am trying to build a notification system on an application.I have completed most of work. where I am stuck is how to trigger events that will fire the notifications in the following scenerios 1. when the user logs into the application. it informs the user of x number of messages. 2. when the user session is on if a new message come it will alert the user. how do i accomplish this?please any help would be appreciated. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pedro Henrique Oliveira dos Santos - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Calendar Component [was Newbie Questions]
If you need something like that, I'd consider rolling an integration towards this http://www.bloggingdeveloper.com/post/jQuery-Week-Calendar-An-Easy-to-Implement-Google-Calendar-like-jQuery-Calendar-Plugin.aspx and if it's too complicated roll your own using panels and a mixture of ajax etc. I don't what features jeremys calendar have, but could be a very good starting point. 2010/1/19 Peter Karich peat...@yahoo.de: Hi Nino, hi Reinout! hmm I have something here aswell: http://wheresmyevent.com/search if you click one of the little date icons it's month displayed in days, is this not what you are looking for ? Not really :-) I do not look for a datepicker ... I thought more of a panel where the dates of one week are listed in the 'normal timetable-fashion'. Sth. like that what Reinout suggested in the top left screenshot. Here is a desktop library which has this what I mean: http://sourceforge.net/project/screenshots.php?group_id=157010ssid=62278 Regards, Peter. -- Free your timetabling! http://timefinder.sourceforge.net/ - 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
Re: notification system
I last time I did this I ended up using http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.toaster.ToasterSample , it's a pull solution though using a ajax timer. But I had the exact same requirement as you or so it looks. 2010/1/19 chinedu efoagui chinedub...@gmail.com: hello please am trying to build a notification system on an application.I have completed most of work. where I am stuck is how to trigger events that will fire the notifications in the following scenerios 1. when the user logs into the application. it informs the user of x number of messages. 2. when the user session is on if a new message come it will alert the user. how do i accomplish this?please any help would be appreciated. - 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
recorder component onsubmit
Can anyone tell me the difference between what's called when a recorder component is called on a palette selecting an item and when a form is submitted? i'm trying to have the model of a palette updated outside of a form submit method. mail2web LIVE Free email based on Microsoft® Exchange technology - http://link.mail2web.com/LIVE - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Property Expression Language : Combing bean value and string ?
you can easily create your own AbstractColumn that does the interpolation. -igor On Mon, Jan 18, 2010 at 10:55 PM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings all, In my Datatable , I use PropertyColumn to create my columns. I want to know whether using Wicket EL , I can do something like following: Input object has 'name' field. EL String : Your name is ${name} Output String : Your name is Tom Thanks in advance. - 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
Image name changing in dev server
All our other images works fine in dev server. In local environment image in wizard also works but not in dev. The name of image is change from circlegray.JPG to circlegray_en_US.JPG. Its happening in wizard component only. Our environment is Websphere 6.1 and we are using Wicket Servlet. Any help will be appreciated. Thanks and Regards, Vandana Goel Notice: This communication, including any attachments, is intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient, you are requested not to disclose, copy, distribute or take any action in reliance on the contents of this information.
palette onSubmit
Can anyone tell me which methods are called on a palette when it is submitted? i know the recorder keeps track of the selected items but how are they persisted after a form submit? ie. what method is called to make them stay selected? mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Image name changing in dev server
even though the name of the image is changed to _en_US the original image should still be tried if wicket cannot find the more specific one. please debug and see where it goes wrong. -igor On Tue, Jan 19, 2010 at 9:49 AM, vg...@osc.state.ny.us wrote: All our other images works fine in dev server. In local environment image in wizard also works but not in dev. The name of image is change from circlegray.JPG to circlegray_en_US.JPG. Its happening in wizard component only. Our environment is Websphere 6.1 and we are using Wicket Servlet. Any help will be appreciated. Thanks and Regards, Vandana Goel Notice: This communication, including any attachments, is intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient, you are requested not to disclose, copy, distribute or take any action in reliance on the contents of this information. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Image name changing in dev server
We do not need any naming rules. Thats why I am confused. My code is this inside a reating view. Image image = new Image(circle+i, /images/circlegray.JPG) In local enviornment it works fine but in Dev Server image name is changed with us local appended. Thanks and Regards, Vandana Goel Pedro Santos pedros...@gmail.com 01/19/2010 01:58 PM Please respond to users@wicket.apache.org To users@wicket.apache.org cc Subject Re: Image name changing in dev server You can use an ResourceReference to implement any naming rule you need. On Tue, Jan 19, 2010 at 4:51 PM, vg...@osc.state.ny.us wrote: Is it expected behaviour in wicket. Why wicket is changing the name of the image ? Thanks and Regards, Vandana Goel Igor Vaynberg igor.vaynb...@gmail.com 01/19/2010 01:31 PM Please respond to users@wicket.apache.org To users@wicket.apache.org cc Subject Re: Image name changing in dev server even though the name of the image is changed to _en_US the original image should still be tried if wicket cannot find the more specific one. please debug and see where it goes wrong. -igor On Tue, Jan 19, 2010 at 9:49 AM, vg...@osc.state.ny.us wrote: All our other images works fine in dev server. In local environment image in wizard also works but not in dev. The name of image is change from circlegray.JPG to circlegray_en_US.JPG. Its happening in wizard component only. Our environment is Websphere 6.1 and we are using Wicket Servlet. Any help will be appreciated. Thanks and Regards, Vandana Goel Notice: This communication, including any attachments, is intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient, you are requested not to disclose, copy, distribute or take any action in reliance on the contents of this information. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org Notice: This communication, including any attachments, is intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient, you are requested not to disclose, copy, distribute or take any action in reliance on the contents of this information. -- Pedro Henrique Oliveira dos Santos Notice: This communication, including any attachments, is intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient, you are requested not to disclose, copy, distribute or take any action in reliance on the contents of this information.
Re: palette onSubmit
Is there a document anywhere that would show me that workflow? I'm trying to force an OnChangeAjaxBehavior to do some of the methods executed during a submit on a palette to make the selected items stay selected. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 10:31:44 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit Recorder is a HiddenField-FormComponent so the regular form component workflow methods are called on it. -igor On Tue, Jan 19, 2010 at 10:02 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Can anyone tell me which methods are called on a palette when it is submitted? i know the recorder keeps track of the selected items but how are they persisted after a form submit? ie. what method is called to make them stay selected? mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web - Check your email from the web at http://link.mail2web.com/mail2web - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Panel and Model inside of a wizard
I am trying to figure out why a panel in a step of my wizard is not showing the correct data after an Ajax call. The step contains a re-usable panel (TotalPanel) for displaying information from the wizard that is backing the model.The problem is the values in the TotalPanel never reflect the values that have been updated via the Ajax call. I know everything should work because if I change the TotalPanel to take the entire model then everything works. The problem being, I only want my TotalPanel to need to take an Estimate and not the CheckoutModel. At the wizard level I have: CheckoutModel bean = new CheckoutModel(); CompoundPropertyModelCheckoutModel myModel = new CompoundPropertyModelCheckoutModel(bean); setDefaultModel(myModel); On the step of the wizard that I want to display my re-usable panel I have: final TotalPanel totalPanel = new TotalPanel(total_panel, new CompoundPropertyModel(model.getObject().getEstimate())); totalPanel.setOutputMarkupId(true); add(totalPanel); btw... Estimate is a property of the CheckoutModel. Thanks.
Re: Calendar Component
Thanks a lot Nino! Sth. like that! And MIT license. Great! Regards, Peter. If you need something like that, I'd consider rolling an integration towards this http://www.bloggingdeveloper.com/post/jQuery-Week-Calendar-An-Easy-to-Implement-Google-Calendar-like-jQuery-Calendar-Plugin.aspx and if it's too complicated roll your own using panels and a mixture of ajax etc. I don't what features jeremys calendar have, but could be a very good starting point. 2010/1/19 Peter Karichpeat...@yahoo.de: Hi Nino, hi Reinout! hmm I have something here aswell: http://wheresmyevent.com/search if you click one of the little date icons it's month displayed in days, is this not what you are looking for ? Not really :-) I do not look for a datepicker ... I thought more of a panel where the dates of one week are listed in the 'normal timetable-fashion'. Sth. like that what Reinout suggested in the top left screenshot. Here is a desktop library which has this what I mean: http://sourceforge.net/project/screenshots.php?group_id=157010ssid=62278 Regards, Peter. -- Free your timetabling! http://timefinder.sourceforge.net/ - 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 -- Free your timetabling! http://timefinder.sourceforge.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Panel and Model inside of a wizard
Hi Jeffrey, new CompoundPropertyModel(model.getObject().getEstimate()) this doesn't look good, does the estimate object change its values or is it replaced by another object after an AJAX request? Sven Jeffrey Schneller wrote: I am trying to figure out why a panel in a step of my wizard is not showing the correct data after an Ajax call. The step contains a re-usable panel (TotalPanel) for displaying information from the wizard that is backing the model.The problem is the values in the TotalPanel never reflect the values that have been updated via the Ajax call. I know everything should work because if I change the TotalPanel to take the entire model then everything works. The problem being, I only want my TotalPanel to need to take an Estimate and not the CheckoutModel. At the wizard level I have: CheckoutModel bean = new CheckoutModel(); CompoundPropertyModelCheckoutModel myModel = new CompoundPropertyModelCheckoutModel(bean); setDefaultModel(myModel); On the step of the wizard that I want to display my re-usable panel I have: final TotalPanel totalPanel = new TotalPanel(total_panel, new CompoundPropertyModel(model.getObject().getEstimate())); totalPanel.setOutputMarkupId(true); add(totalPanel); btw... Estimate is a property of the CheckoutModel. Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: palette onSubmit
if you set up your models properly then selected items stay selected. eg [1] where selected items stay selected after submit button is pressed [1] http://wicketstuff.org/wicket/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.PalettePage -igor On Tue, Jan 19, 2010 at 11:45 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Is there a document anywhere that would show me that workflow? I'm trying to force an OnChangeAjaxBehavior to do some of the methods executed during a submit on a palette to make the selected items stay selected. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 10:31:44 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit Recorder is a HiddenField-FormComponent so the regular form component workflow methods are called on it. -igor On Tue, Jan 19, 2010 at 10:02 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Can anyone tell me which methods are called on a palette when it is submitted? i know the recorder keeps track of the selected items but how are they persisted after a form submit? ie. what method is called to make them stay selected? mail2web.com – Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web - Check your email from the web at http://link.mail2web.com/mail2web - 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
RE: notification system
There are some examples: http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicketstuff-core/push-parent/ Van: chinedu efoagui [chinedub...@gmail.com] Verzonden: dinsdag 19 januari 2010 17:38 Aan: users@wicket.apache.org Onderwerp: Re: notification system is there any documentation on how to use the wicket stuff push solution? On 1/19/10, Pedro Santos pedros...@gmail.com wrote: Can look how FeedbackMessages and FeedbackPanel work too On Tue, Jan 19, 2010 at 1:33 PM, chinedu efoagui chinedub...@gmail.comwrote: hello please am trying to build a notification system on an application.I have completed most of work. where I am stuck is how to trigger events that will fire the notifications in the following scenerios 1. when the user logs into the application. it informs the user of x number of messages. 2. when the user session is on if a new message come it will alert the user. how do i accomplish this?please any help would be appreciated. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pedro Henrique Oliveira dos Santos - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org The information contained in this communication is confidential, intended solely for the use of the individual or entity to whom it is addressed and may be legally privileged and protected by professional secrecy. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. This email does not constitute any commitment from Cordys Holding BV or any of its subsidiaries except when expressly agreed in a written agreement between the intended recipient and Cordys Holding BV or its subsidiaries. Cordys is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. Cordys does not guarantee that the integrity of this communication has been maintained nor that the communication is free of viruses, interceptions or interference. If you are not the intended recipient of this communication please return the communication to the sender and delete and destroy all copies. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Panel and Model inside of a wizard
It does change its values. I have since changed it to: final TotalPanel totalPanel = new TotalPanel(total_panel, new CompoundPropertyModel(new PropertyModel(model, estimate))); this seems to work. I guess I had the chaining of models wrong. Am I right, or is still off base? -Original Message- From: Sven Meier [mailto:s...@meiers.net] Sent: Tuesday, January 19, 2010 3:11 PM To: users@wicket.apache.org Subject: Re: Panel and Model inside of a wizard Hi Jeffrey, new CompoundPropertyModel(model.getObject().getEstimate()) this doesn't look good, does the estimate object change its values or is it replaced by another object after an AJAX request? Sven Jeffrey Schneller wrote: I am trying to figure out why a panel in a step of my wizard is not showing the correct data after an Ajax call. The step contains a re-usable panel (TotalPanel) for displaying information from the wizard that is backing the model.The problem is the values in the TotalPanel never reflect the values that have been updated via the Ajax call. I know everything should work because if I change the TotalPanel to take the entire model then everything works. The problem being, I only want my TotalPanel to need to take an Estimate and not the CheckoutModel. At the wizard level I have: CheckoutModel bean = new CheckoutModel(); CompoundPropertyModelCheckoutModel myModel = new CompoundPropertyModelCheckoutModel(bean); setDefaultModel(myModel); On the step of the wizard that I want to display my re-usable panel I have: final TotalPanel totalPanel = new TotalPanel(total_panel, new CompoundPropertyModel(model.getObject().getEstimate())); totalPanel.setOutputMarkupId(true); add(totalPanel); btw... Estimate is a property of the CheckoutModel. 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
Re: Panel and Model inside of a wizard
If you call #getEstimate() you pull the value once out of your object and never again. With PropertyModel(model, estimate) you'll always get a fresh value from your model. Calling a getter should *always* be done as late as possible. Hope this helps Sven Jeffrey Schneller wrote: It does change its values. I have since changed it to: final TotalPanel totalPanel = new TotalPanel(total_panel, new CompoundPropertyModel(new PropertyModel(model, estimate))); this seems to work. I guess I had the chaining of models wrong. Am I right, or is still off base? -Original Message- From: Sven Meier [mailto:s...@meiers.net] Sent: Tuesday, January 19, 2010 3:11 PM To: users@wicket.apache.org Subject: Re: Panel and Model inside of a wizard Hi Jeffrey, new CompoundPropertyModel(model.getObject().getEstimate()) this doesn't look good, does the estimate object change its values or is it replaced by another object after an AJAX request? Sven Jeffrey Schneller wrote: I am trying to figure out why a panel in a step of my wizard is not showing the correct data after an Ajax call. The step contains a re-usable panel (TotalPanel) for displaying information from the wizard that is backing the model.The problem is the values in the TotalPanel never reflect the values that have been updated via the Ajax call. I know everything should work because if I change the TotalPanel to take the entire model then everything works. The problem being, I only want my TotalPanel to need to take an Estimate and not the CheckoutModel. At the wizard level I have: CheckoutModel bean = new CheckoutModel(); CompoundPropertyModelCheckoutModel myModel = new CompoundPropertyModelCheckoutModel(bean); setDefaultModel(myModel); On the step of the wizard that I want to display my re-usable panel I have: final TotalPanel totalPanel = new TotalPanel(total_panel, new CompoundPropertyModel(model.getObject().getEstimate())); totalPanel.setOutputMarkupId(true); add(totalPanel); btw... Estimate is a property of the CheckoutModel. 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Thanks for wicket: it is awesome and I'm just getting to know it
Just wanted to say thanks for wicket. I have a ListMultipleChoice and wanted to update the page based on at least one item selected or no items selected. It took a while for me to locate lmc.add(new AjaxFormComponentUpdatingBehavior(onChange) { @Override protected void onUpdate(AjaxRequestTarget target) { // do the right thing here! } }); but once I did it just worked. I like things that just work. I don't know js very well so just java and just html if real attractive to me. Thanks again for wicket. Chuck
Re: palette onSubmit
right, they do stay after a submit. but when i use an OnChangeAjaxBehavior on another field of the form, it isn't actually functioning as a submit so the palette gets refreshed and loses the selected items. (I'm still trying to narrow down the available items in a palette using a textfield so i'm trying to get it to mimic a submit without actually submitted because a submit would require form validation which won't pass at the time the palette is used) Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 12:14:57 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit if you set up your models properly then selected items stay selected. eg [1] where selected items stay selected after submit button is pressed [1] http://wicketstuff.org/wicket/compref/?wicket:bookmarkablePage=:org.apache.w icket.examples.compref.PalettePage -igor On Tue, Jan 19, 2010 at 11:45 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Is there a document anywhere that would show me that workflow? I'm trying to force an OnChangeAjaxBehavior to do some of the methods executed during a submit on a palette to make the selected items stay selected. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 10:31:44 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit Recorder is a HiddenField-FormComponent so the regular form component workflow methods are called on it. -igor On Tue, Jan 19, 2010 at 10:02 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Can anyone tell me which methods are called on a palette when it is submitted? i know the recorder keeps track of the selected items but how are they persisted after a form submit? ie. what method is called to make them stay selected? mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web - Check your email from the web at http://link.mail2web.com/mail2web - 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 mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: palette onSubmit
is there any way i can get around form validation using ajaxformsubmitbehavior? Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 14:19:28 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit you should use ajaxformsubmitbehavior instead - that way all the values are submitted. -igor On Tue, Jan 19, 2010 at 2:11 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: right, they do stay after a submit. but when i use an OnChangeAjaxBehavior on another field of the form, it isn't actually functioning as a submit so the palette gets refreshed and loses the selected items. (I'm still trying to narrow down the available items in a palette using a textfield so i'm trying to get it to mimic a submit without actually submitted because a submit would require form validation which won't pass at the time the palette is used) Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 12:14:57 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit if you set up your models properly then selected items stay selected. eg [1] where selected items stay selected after submit button is pressed [1] http://wicketstuff.org/wicket/compref/?wicket:bookmarkablePage=:org.apache.w icket.examples.compref.PalettePage -igor On Tue, Jan 19, 2010 at 11:45 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Is there a document anywhere that would show me that workflow? I'm trying to force an OnChangeAjaxBehavior to do some of the methods executed during a submit on a palette to make the selected items stay selected. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 10:31:44 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit Recorder is a HiddenField-FormComponent so the regular form component workflow methods are called on it. -igor On Tue, Jan 19, 2010 at 10:02 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Can anyone tell me which methods are called on a palette when it is submitted? i know the recorder keeps track of the selected items but how are they persisted after a form submit? ie. what method is called to make them stay selected? mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web - Check your email from the web at http://link.mail2web.com/mail2web - 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 mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web.com - Microsoft® Exchange solutions from a leading provider - http://link.mail2web.com/Business/Exchange - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: palette onSubmit
why would you want? simply do not repaint the feedback panel... -igor On Tue, Jan 19, 2010 at 3:07 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: is there any way i can get around form validation using ajaxformsubmitbehavior? Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 14:19:28 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit you should use ajaxformsubmitbehavior instead - that way all the values are submitted. -igor On Tue, Jan 19, 2010 at 2:11 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: right, they do stay after a submit. but when i use an OnChangeAjaxBehavior on another field of the form, it isn't actually functioning as a submit so the palette gets refreshed and loses the selected items. (I'm still trying to narrow down the available items in a palette using a textfield so i'm trying to get it to mimic a submit without actually submitted because a submit would require form validation which won't pass at the time the palette is used) Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 12:14:57 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit if you set up your models properly then selected items stay selected. eg [1] where selected items stay selected after submit button is pressed [1] http://wicketstuff.org/wicket/compref/?wicket:bookmarkablePage=:org.apache.w icket.examples.compref.PalettePage -igor On Tue, Jan 19, 2010 at 11:45 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Is there a document anywhere that would show me that workflow? I'm trying to force an OnChangeAjaxBehavior to do some of the methods executed during a submit on a palette to make the selected items stay selected. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 10:31:44 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit Recorder is a HiddenField-FormComponent so the regular form component workflow methods are called on it. -igor On Tue, Jan 19, 2010 at 10:02 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Can anyone tell me which methods are called on a palette when it is submitted? i know the recorder keeps track of the selected items but how are they persisted after a form submit? ie. what method is called to make them stay selected? mail2web.com – Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web - Check your email from the web at http://link.mail2web.com/mail2web - 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 mail2web.com – Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web.com - Microsoft® Exchange solutions from a leading provider - http://link.mail2web.com/Business/Exchange - 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
Re: Dynamically update TreeTable model
Hi i too am facing this problem. When i refresh the page the tree collapses to its original state. Please guide me how to solve this Thanks Prati CrocodileShoes wrote: I've finally got this working by extending DefaultTreeState and overriding the isNodeSelected to calculate the selection based upon the wicket model containing the data. This makes more sense since the tree's state is representative of the actual data now! -- View this message in context: http://old.nabble.com/Dynamically-update-TreeTable-model-tp21056846p27234506.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: palette onSubmit
well if the form doesn't validate it calls the onError method which doesnt actually submit the form, hence the selected items aren't saved. at the time the user types into the textfield, the entire form has yet to be filled out so validation will always fail. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 15:11:43 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit why would you want? simply do not repaint the feedback panel... -igor On Tue, Jan 19, 2010 at 3:07 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: is there any way i can get around form validation using ajaxformsubmitbehavior? Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 14:19:28 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit you should use ajaxformsubmitbehavior instead - that way all the values are submitted. -igor On Tue, Jan 19, 2010 at 2:11 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: right, they do stay after a submit. but when i use an OnChangeAjaxBehavior on another field of the form, it isn't actually functioning as a submit so the palette gets refreshed and loses the selected items. (I'm still trying to narrow down the available items in a palette using a textfield so i'm trying to get it to mimic a submit without actually submitted because a submit would require form validation which won't pass at the time the palette is used) Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 12:14:57 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit if you set up your models properly then selected items stay selected. eg [1] where selected items stay selected after submit button is pressed [1] http://wicketstuff.org/wicket/compref/?wicket:bookmarkablePage=:org.apache.w icket.examples.compref.PalettePage -igor On Tue, Jan 19, 2010 at 11:45 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Is there a document anywhere that would show me that workflow? I'm trying to force an OnChangeAjaxBehavior to do some of the methods executed during a submit on a palette to make the selected items stay selected. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 10:31:44 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit Recorder is a HiddenField-FormComponent so the regular form component workflow methods are called on it. -igor On Tue, Jan 19, 2010 at 10:02 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Can anyone tell me which methods are called on a palette when it is submitted? i know the recorder keeps track of the selected items but how are they persisted after a form submit? ie. what method is called to make them stay selected? mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web - Check your email from the web at http://link.mail2web.com/mail2web - 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 mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web.com - Microsoft® Exchange solutions from a leading provider - http://link.mail2web.com/Business/Exchange - To unsubscribe, e-mail:
Re: palette onSubmit
you can get the items using palette.getrecorder().getconvertedinput() -igor On Tue, Jan 19, 2010 at 3:27 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: well if the form doesn't validate it calls the onError method which doesnt actually submit the form, hence the selected items aren't saved. at the time the user types into the textfield, the entire form has yet to be filled out so validation will always fail. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 15:11:43 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit why would you want? simply do not repaint the feedback panel... -igor On Tue, Jan 19, 2010 at 3:07 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: is there any way i can get around form validation using ajaxformsubmitbehavior? Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 14:19:28 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit you should use ajaxformsubmitbehavior instead - that way all the values are submitted. -igor On Tue, Jan 19, 2010 at 2:11 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: right, they do stay after a submit. but when i use an OnChangeAjaxBehavior on another field of the form, it isn't actually functioning as a submit so the palette gets refreshed and loses the selected items. (I'm still trying to narrow down the available items in a palette using a textfield so i'm trying to get it to mimic a submit without actually submitted because a submit would require form validation which won't pass at the time the palette is used) Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 12:14:57 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit if you set up your models properly then selected items stay selected. eg [1] where selected items stay selected after submit button is pressed [1] http://wicketstuff.org/wicket/compref/?wicket:bookmarkablePage=:org.apache.w icket.examples.compref.PalettePage -igor On Tue, Jan 19, 2010 at 11:45 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Is there a document anywhere that would show me that workflow? I'm trying to force an OnChangeAjaxBehavior to do some of the methods executed during a submit on a palette to make the selected items stay selected. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 10:31:44 -0800 To: users@wicket.apache.org Subject: Re: palette onSubmit Recorder is a HiddenField-FormComponent so the regular form component workflow methods are called on it. -igor On Tue, Jan 19, 2010 at 10:02 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Can anyone tell me which methods are called on a palette when it is submitted? i know the recorder keeps track of the selected items but how are they persisted after a form submit? ie. what method is called to make them stay selected? mail2web.com – Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web - Check your email from the web at http://link.mail2web.com/mail2web - 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 mail2web.com – Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web.com - Microsoft® Exchange
Re: Image name changing in dev server
Can you use a ContextImage? On 20/01/2010, at 6:07 AM, vg...@osc.state.ny.us wrote: We do not need any naming rules. Thats why I am confused. My code is this inside a reating view. Image image = new Image(circle+i, /images/circlegray.JPG) In local enviornment it works fine but in Dev Server image name is changed with us local appended. Thanks and Regards, Vandana Goel Pedro Santos pedros...@gmail.com 01/19/2010 01:58 PM Please respond to users@wicket.apache.org To users@wicket.apache.org cc Subject Re: Image name changing in dev server You can use an ResourceReference to implement any naming rule you need. On Tue, Jan 19, 2010 at 4:51 PM, vg...@osc.state.ny.us wrote: Is it expected behaviour in wicket. Why wicket is changing the name of the image ? Thanks and Regards, Vandana Goel Igor Vaynberg igor.vaynb...@gmail.com 01/19/2010 01:31 PM Please respond to users@wicket.apache.org To users@wicket.apache.org cc Subject Re: Image name changing in dev server even though the name of the image is changed to _en_US the original image should still be tried if wicket cannot find the more specific one. please debug and see where it goes wrong. -igor On Tue, Jan 19, 2010 at 9:49 AM, vg...@osc.state.ny.us wrote: All our other images works fine in dev server. In local environment image in wizard also works but not in dev. The name of image is change from circlegray.JPG to circlegray_en_US.JPG. Its happening in wizard component only. Our environment is Websphere 6.1 and we are using Wicket Servlet. Any help will be appreciated. Thanks and Regards, Vandana Goel Notice: This communication, including any attachments, is intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient, you are requested not to disclose, copy, distribute or take any action in reliance on the contents of this information. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org Notice: This communication, including any attachments, is intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient, you are requested not to disclose, copy, distribute or take any action in reliance on the contents of this information. -- Pedro Henrique Oliveira dos Santos Notice: This communication, including any attachments, is intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient, you are requested not to disclose, copy, distribute or take any action in reliance on the contents of this information. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
popup settings now working
Even though I set width and height, i always get a 800/500 popup.. final PopupSettings popupSettings = new PopupSettings(PageMap.forName(welcomevideo)); popupSettings.setWidth(975); popupSettings.setHeight(610); add(new LinkVoid(movieLink) { private static final long serialVersionUID = 1L; @Override public void onClick() { //do stuff... } }.setPopupSettings(popupSettings)); } renders this html.. a onclick=var w = window.open(href, 'welcomevideo', 'scrollbars=no,location=no,menuBar=no,resizable=no,status=no,toolbar=no,width=800,height=500'); if(w.blur) w.focus(); return false; href=../../?wicket:interface=wicket-5:38:sectionsContainer:watchDemoStep:movieLink::ILinkListener:: wicketpath=sectionsContainer_watchDemoStep_movieLink target=welcomevideo img wicketpath=sectionsContainer_watchDemoStep_movieLink___relative__path__prefix__7 style=border: thin solid black; src=../../img/video.png/ /a
Re: Breadcrumb title
Thanks for suggestion, I know what you mean - chaining visited pages as constructor parameters, nice and dynamic. However in my case I can go on with static solution where each page has its own title via wicket:message tag and this needs to be wrapped in wicket:header, that way it will be contributed even under inheritance. Regards, Marek On 01/19/2010 05:26 PM, Pedro Santos wrote: There are something about on the list, you can receive as contructor parameter the last page or component visited. Then you assemble the title like: this.assembledTitle = lastComponent.assembledTitle + this.getLocalizer().getString(TITLE, this) On Tue, Jan 19, 2010 at 1:41 PM, Marek Šabo ms...@buk.cvut.cz wrote: Hi all, I would like to ask if anyone knows how to show e.g. read-only breadcrumb in title tag. I got internationalized page and I was thinking about sort of title properties from i18n property files for specific pages but I'm using inheritance (sort of header-footer etc. superclass) and title is in superclass markup so I have only one property value for all subclasses. Any ideas?? TIA, Marek - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Marek Šabo Server Manager Club SU CVUT Buben Bubenečská Kolej (421) XMPP: zeratul...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Image name changing in dev server
I notice that you are using capitalized extensions. Are local and dev instances on different operating systems? Is the extension of the file jpg or JPG? My stab in the dark is that in dev you get a broken image because neither the localized or non-localized images are found. You are seeing that the name has been changed and are mis-diagnosing the root cause. This is just a stab in the dark Ed. On Tue, Jan 19, 2010 at 2:07 PM, vg...@osc.state.ny.us wrote: We do not need any naming rules. Thats why I am confused. My code is this inside a reating view. Image image = new Image(circle+i, /images/circlegray.JPG) In local enviornment it works fine but in Dev Server image name is changed with us local appended. Thanks and Regards, Vandana Goel Pedro Santos pedros...@gmail.com 01/19/2010 01:58 PM Please respond to users@wicket.apache.org To users@wicket.apache.org cc Subject Re: Image name changing in dev server You can use an ResourceReference to implement any naming rule you need. On Tue, Jan 19, 2010 at 4:51 PM, vg...@osc.state.ny.us wrote: Is it expected behaviour in wicket. Why wicket is changing the name of the image ? Thanks and Regards, Vandana Goel Igor Vaynberg igor.vaynb...@gmail.com 01/19/2010 01:31 PM Please respond to users@wicket.apache.org To users@wicket.apache.org cc Subject Re: Image name changing in dev server even though the name of the image is changed to _en_US the original image should still be tried if wicket cannot find the more specific one. please debug and see where it goes wrong. -igor On Tue, Jan 19, 2010 at 9:49 AM, vg...@osc.state.ny.us wrote: All our other images works fine in dev server. In local environment image in wizard also works but not in dev. The name of image is change from circlegray.JPG to circlegray_en_US.JPG. Its happening in wizard component only. Our environment is Websphere 6.1 and we are using Wicket Servlet. Any help will be appreciated. Thanks and Regards, Vandana Goel Notice: This communication, including any attachments, is intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient, you are requested not to disclose, copy, distribute or take any action in reliance on the contents of this information. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org Notice: This communication, including any attachments, is intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient, you are requested not to disclose, copy, distribute or take any action in reliance on the contents of this information. -- Pedro Henrique Oliveira dos Santos Notice: This communication, including any attachments, is intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient, you are requested not to disclose, copy, distribute or take any action in reliance on the contents of this information. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Objects.cloneModel() on google app engine
Hi, I'm using wicket on google app engine and am having trouble with the sort link headers on data tables. It looks like when a sort link is clicked the method Objects.cloneModel() is called. This creates a ReplaceableObjectOutputStream wrapper around the ObjectOutputStream to do the copy using serialization/deserialization. Unfortunately this class tries to call enableReplace on the the underlying ObjectOutputStream so that it can replace component objects with just their name (to stop component hierachy being serialized). It seams the google app engine security permissions deny calling enableReplace on the ObjectOutputStream. Does any one know of a work around to get the sort links working? regards, Lionel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: notification system
One more thing... just take into account that using push will introduce additional JS dependencies (dojo)... while using AJAX timer will not. If you don't need your messages refreshed the very second they arrive then probably the AJAX timer will be more than enough. Regards, Ernesto On Tue, Jan 19, 2010 at 5:38 PM, chinedu efoagui chinedub...@gmail.comwrote: is there any documentation on how to use the wicket stuff push solution? On 1/19/10, Pedro Santos pedros...@gmail.com wrote: Can look how FeedbackMessages and FeedbackPanel work too On Tue, Jan 19, 2010 at 1:33 PM, chinedu efoagui chinedub...@gmail.comwrote: hello please am trying to build a notification system on an application.I have completed most of work. where I am stuck is how to trigger events that will fire the notifications in the following scenerios 1. when the user logs into the application. it informs the user of x number of messages. 2. when the user session is on if a new message come it will alert the user. how do i accomplish this?please any help would be appreciated. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pedro Henrique Oliveira dos Santos - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket 1.4.5 : Spring integration problem?
Greetings all, I followed the easy 'Application Object Approach' to integrate Spring with my Wicket app. (http://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach ) In my application class : public class NihonBareApplication extends WebApplication { private CommonService commonService; public CommonService getCommonService() { return commonService; } public void setCommonService(CommonService cs) { this.commonService = cs; } } And in my pages : public class FamiliesPage extends WebPage { public CommonService getCommonService(){ System.out.println(+ ((NihonBareApplication)getApplication()).getCommonService()); return ((NihonBareApplication)getApplication()).getCommonService(); } } But eventhough the bean injected into 'NihonbareApplication' object, the getCommonService() method of my page returns null for the bean. What could be the problem? Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket 1.4.5 : Spring integration problem?
Maybe it comes from the web.xml : can we ses it, please? Regards, Pierre On Wed, Jan 20, 2010 at 7:41 AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings all, I followed the easy 'Application Object Approach' to integrate Spring with my Wicket app. ( http://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach) In my application class : public class NihonBareApplication extends WebApplication { private CommonService commonService; public CommonService getCommonService() { return commonService; } public void setCommonService(CommonService cs) { this.commonService = cs; } } And in my pages : public class FamiliesPage extends WebPage { public CommonService getCommonService(){ System.out.println(+ ((NihonBareApplication)getApplication()).getCommonService()); return ((NihonBareApplication)getApplication()).getCommonService(); } } But eventhough the bean injected into 'NihonbareApplication' object, the getCommonService() method of my page returns null for the bean. What could be the problem? Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Ad augusta per angusta Des résultats grandioses par des voies étroites
Re: Wicket 1.4.5 : Spring integration problem?
Thanks Pierre, yes,that was a problem with web.xml , I forgot to change the filter setting : init-param param-nameapplicationFactoryClassName/param-name param-valueorg.apache.wicket.spring.SpringWebApplicationFactory/param-value /init-param Now everything works fine. Pierre Goupil wrote: Maybe it comes from the web.xml : can we ses it, please? Regards, Pierre On Wed, Jan 20, 2010 at 7:41 AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings all, I followed the easy 'Application Object Approach' to integrate Spring with my Wicket app. ( http://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach) In my application class : public class NihonBareApplication extends WebApplication { private CommonService commonService; public CommonService getCommonService() { return commonService; } public void setCommonService(CommonService cs) { this.commonService = cs; } } And in my pages : public class FamiliesPage extends WebPage { public CommonService getCommonService(){ System.out.println(+ ((NihonBareApplication)getApplication()).getCommonService()); return ((NihonBareApplication)getApplication()).getCommonService(); } } But eventhough the bean injected into 'NihonbareApplication' object, the getCommonService() method of my page returns null for the bean. What could be the problem? Thanks in advance. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org