Re: [Wicket-user] FormComponentFeedbackBorder and Ajax.
i think think the fix s'd work :) will let you know.On 5/2/06, Igor Vaynberg [EMAIL PROTECTED] wrote: just checked in a fix let me know if that did the trick -IgorOn 5/1/06, karthik Guru [EMAIL PROTECTED] wrote:yep I checked. it doesn't call FeedbackPanel.updateFeedback either on ajax render. On 5/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i think it should. Feedback panel's updateFeedback() is being called right?-Igor On 5/1/06, karthik Guru [EMAIL PROTECTED] wrote:Great! works now! thanks as always. Ok for my info - Should FormComponentFeedbackBorder.updateFeedback() be called on ajax render?..the reason i ask this its not getting called. So I have a similar check happening in my 'isVisible'. On 5/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote: the problem is that initially the border is invisible so it has no span id=idso when the ajax requests comes in it doesnt know where to place the markup.you need to wrap it in a webmarkupcontainer that is always visible, or write a different formcomponentfeedbackborder that always draws an empty span instead of being completely invisible. -IgorOn 5/1/06, karthik Guru [EMAIL PROTECTED] wrote: Yes.In fact, the Ajax response has the markup for the FormComponentFeedbackBorder. But the errorIndicator always shows up even though the field is 'valid' (it was invalid before the ajax call was made). The FeedbackPanel updates correctly. But like I said , it does appear that FormComponentFeedbackBorder.updateFeedback() is not getting called and so the errorIndicator doesn't really chage its state. On 5/1/06, Martijn Dashorst [EMAIL PROTECTED] wrote: have you setOutputMarkupId(true)?MartijnOn 5/1/06, karthik Guru [EMAIL PROTECTED] wrote:I have a text component decorated using FormComponentFeedbackBorder. I have something like the following: userName.add(new AjaxFormComponentUpdatingBehavior(onblur){ @Override protected void onUpdate(AjaxRequestTarget target) { target.addComponent(feedbackPanel);target.addComponent(nameBorder); }});Now even though I have added the border as the target of ajax, i dont see the border updating properly. I also see that FormComponentFeedbackBorder.updateFeedback() is not getting called when responding to ajax request. So the errorIndicator always shows up invisible. Any idea why this is the case? or am i missing something here.The FeedbckPanel updates properly. -- karthik -- -- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!-- http://wicketframework.org -- -- karthik -- -- -- karthik -- -- -- karthik -- -- -- karthik --
Re: [Wicket-user] FormComponentFeedbackBorder and Ajax.
yep works! thanks!On 5/2/06, karthik Guru [EMAIL PROTECTED] wrote: i think think the fix s'd work :) will let you know.On 5/2/06, Igor Vaynberg [EMAIL PROTECTED] wrote: just checked in a fix let me know if that did the trick -IgorOn 5/1/06, karthik Guru [EMAIL PROTECTED] wrote:yep I checked. it doesn't call FeedbackPanel.updateFeedback either on ajax render. On 5/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i think it should. Feedback panel's updateFeedback() is being called right?-Igor On 5/1/06, karthik Guru [EMAIL PROTECTED] wrote:Great! works now! thanks as always. Ok for my info - Should FormComponentFeedbackBorder.updateFeedback() be called on ajax render?..the reason i ask this its not getting called. So I have a similar check happening in my 'isVisible'. On 5/1/06, Igor Vaynberg [EMAIL PROTECTED] wrote: the problem is that initially the border is invisible so it has no span id=idso when the ajax requests comes in it doesnt know where to place the markup.you need to wrap it in a webmarkupcontainer that is always visible, or write a different formcomponentfeedbackborder that always draws an empty span instead of being completely invisible. -IgorOn 5/1/06, karthik Guru [EMAIL PROTECTED] wrote: Yes.In fact, the Ajax response has the markup for the FormComponentFeedbackBorder. But the errorIndicator always shows up even though the field is 'valid' (it was invalid before the ajax call was made). The FeedbackPanel updates correctly. But like I said , it does appear that FormComponentFeedbackBorder.updateFeedback() is not getting called and so the errorIndicator doesn't really chage its state. On 5/1/06, Martijn Dashorst [EMAIL PROTECTED] wrote: have you setOutputMarkupId(true)?MartijnOn 5/1/06, karthik Guru [EMAIL PROTECTED] wrote:I have a text component decorated using FormComponentFeedbackBorder. I have something like the following: userName.add(new AjaxFormComponentUpdatingBehavior(onblur){ @Override protected void onUpdate(AjaxRequestTarget target) { target.addComponent(feedbackPanel);target.addComponent(nameBorder); }});Now even though I have added the border as the target of ajax, i dont see the border updating properly. I also see that FormComponentFeedbackBorder.updateFeedback() is not getting called when responding to ajax request. So the errorIndicator always shows up invisible. Any idea why this is the case? or am i missing something here.The FeedbckPanel updates properly. -- karthik -- -- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!-- http://wicketframework.org -- -- karthik -- -- -- karthik -- -- -- karthik -- -- -- karthik -- -- -- karthik --
Re: [Wicket-user] TinyMCE
what goes wrong exactly at youre end?doesn't it match specific resources?johanOn 5/2/06, Alexander Lohse [EMAIL PROTECTED] wrote:I found a problem that is related to loading shared resources. The following code taken from the examples does not work:PackageResource.bind(getApplication(), MyPage.class, Pattern.compile(^images.*(.jpg|.gif|.png)$), true);Is there a bug in 1.2 RC3/RC1? Or is there something wrong with thepattern?Thanks for any help,AlexAm 01.05.2006 um 18:06 schrieb Alexander Lohse: Hi, I have problems using the tinymce integration. _javascript_ keeps complaining about a missing template function. Any idea what I might have done wrong? Regards, Alex ––– Alexander Lohse (Entwicklungsleitung Projektmanagement) Human Touch Medienproduktion GmbH Am See 1 17440 Klein Jasedow Deutschland Tel: +49 38374 752 11 Fax: +49 38374 752 23 e-mail: [EMAIL PROTECTED] Internet: http://www.webjazz.de ––– --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user–––Alexander Lohse(Entwicklungsleitung Projektmanagement)Human Touch Medienproduktion GmbHAm See 1 17440 Klein JasedowDeutschlandTel: +49 38374 752 11Fax: +49 38374 752 23e-mail: [EMAIL PROTECTED]Internet: http://www.webjazz.de –––---Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 1.2-rc3 released
How can have crypted urls I in rc3 release ? Classes WebResponseWithCryptedUrl/WebRequestWithCryptedUrl disappeared. The second issue I had found is AjaxSelfUpdatingTimerBehavior cause an serialization exception (see Ajax clock example) is there any workaround? -- Maciej Janusz --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] wizard component
Hi all, Yesterday I committed a wizard component in wicket-extensions, and some wizard examples in wicket-examples. It's the result of a couple of iterations (first try was last year), but I've nailed it now. I hope it's a good mix of something that is easy to use, has a shallow API, but is still flexible enough for most cases. Hope you'll find it useful, Eelco --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 1.2-rc3 released
you have to use the CryptedUrlWebRequestCodingStrategy for that now.I think we need to add those 2 classes back in and make the depricated.where do you see that serialization exception? http://wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ClockPageseems to work finejohanOn 5/2/06, Maciej Janusz [EMAIL PROTECTED] wrote: How can have crypted urls I in rc3 release ?Classes WebResponseWithCryptedUrl/WebRequestWithCryptedUrl disappeared.The second issue I had found is AjaxSelfUpdatingTimerBehavior cause anserialization exception (see Ajax clock example) is there any workaround? -- Maciej Janusz---Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] TinyMCE
latest code from svn trunk seems to work fine, at least in my firefox on linux. i dont have IE around. are you able to see some pages or JS error shows up immediately?pls try tinymce-example module as well. iulianOn 5/1/06, Alexander Lohse [EMAIL PROTECTED] wrote: Hi,I have problems using the tinymce integration. _javascript_ keepscomplaining about a missing template function.Any idea what I might have done wrong?Regards,Alex––– Alexander Lohse(Entwicklungsleitung Projektmanagement)Human Touch Medienproduktion GmbHAm See 117440 Klein JasedowDeutschlandTel: +49 38374 752 11Fax: +49 38374 752 23e-mail: [EMAIL PROTECTED]Internet: http://www.webjazz.de–––--- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
Re[2]: [Wicket-user] Wicket 1.2-rc3 released
JC you have to use the CryptedUrlWebRequestCodingStrategy for that now. JC I think we need to add those 2 classes back in and make the depricated. thanks I'll try. JC where do you see that serialization exception? JC http://wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ClockPage JC seems to work fine On my machine (jboss-4.0.4RC1) with examples 1.2-rc3 ( http://localhost:8080/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ClockPage )I get -- begin of stacktrace WicketMessage: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: wicket.examples.ajax.builtin.ClockPage Root cause: java.io.NotSerializableException: java.lang.ref.WeakReference at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at java.util.ArrayList.writeObject(ArrayList.java:570) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at wicket.protocol.http.HttpSessionStore.setAttribute(HttpSessionStore.java:56) at wicket.Session.setAttribute(Session.java:878) at wicket.PageMap.put(PageMap.java:519) at wicket.Session.touch(Session.java:684) at wicket.Page.renderPage(Page.java:418) at wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:224) at wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:852) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:879) at wicket.RequestCycle.step(RequestCycle.java:960) at wicket.RequestCycle.steps(RequestCycle.java:1034) at wicket.RequestCycle.request(RequestCycle.java:453) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:215) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:95) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at
Re: [Wicket-user] Wicket 1.2-rc3 released
I can confirm this exact same erro on Jboss 3.2.5. -- greetings from Berlin, Rüdiger Schulz Maciej Janusz wrote on 02.05.2006 at 17:17: JC you have to use the CryptedUrlWebRequestCodingStrategy for that now. JC I think we need to add those 2 classes back in and make the depricated. thanks I'll try. JC where do you see that serialization exception? JC http://wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ClockPage JC seems to work fine On my machine (jboss-4.0.4RC1) with examples 1.2-rc3 ( http://localhost:8080/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ClockPage )I get -- begin of stacktrace WicketMessage: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: wicket.examples.ajax.builtin.ClockPage Root cause: java.io.NotSerializableException: java.lang.ref.WeakReference at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at java.util.ArrayList.writeObject(ArrayList.java:570) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at wicket.protocol.http.HttpSessionStore.setAttribute(HttpSessionStore.java:56) at wicket.Session.setAttribute(Session.java:878) at wicket.PageMap.put(PageMap.java:519) at wicket.Session.touch(Session.java:684) at wicket.Page.renderPage(Page.java:418) at wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:224) at wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:852) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:879) at wicket.RequestCycle.step(RequestCycle.java:960) at wicket.RequestCycle.steps(RequestCycle.java:1034) at wicket.RequestCycle.request(RequestCycle.java:453) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:215) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:95) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at
[Wicket-user] wicket-spring-examples errpr
Hello,I'm trying to see the spring-examples on my local computer but when i want to launch the jetty server through src/main/launcher i get the following error:15:26:05.125 EVENT Starting Jetty/4.2.915:26: 05.140 EVENT Checking Resource aliases15:26:05.296 EVENT Started WebApplicationContext[/spring,wicket-spring-examples]0 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started 15:26:05.343 EVENT Loading Spring root WebApplicationContext110 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext.xml ]110 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failedorg.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [ applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not existjava.io.FileNotFoundException: class path resource [applicationContext.xml ] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:137) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions (XmlBeanDefinitionReader.java:167) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions (AbstractBeanDefinitionReader.java:126) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions (XmlWebApplicationContext.java:126) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory (AbstractRefreshableApplicationContext.java:89) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh (AbstractRefreshableWebApplicationContext.java:134) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246) at org.springframework.web.context.ContextLoader.initWebApplicationContext (ContextLoader.java:184) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java :432) at org.mortbay.http.HttpServer.start(HttpServer.java:647) at jetty.StartSpringExamples.main(StartSpringExamples.java:62)15:26:05.515 EVENT jsp: init15:26:05.687 EVENT default: init485 [main] FATAL jetty.StartSpringExamples - Could not start the Jetty server: org.mortbay.util.MultiException[org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [applicationContext.xml ]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist, org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [ applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist]it seems that the [applicationContext.xml] file is missing or maybe i'm missing something. Les
Re: [Wicket-user] Wicket book
Vincent Jenks schrieb: It's very useful, however, it's also lacking quite a bit of information. The Wiki and the Javadoc doesn't get you as far as you'd hope, as a newbie. That's bad. I think that Javadocs are perfect as a reference. In combination with various tutorials to get started, that's all I need to get things done. It should be the same with Wicket. The Javadocs are quite good, but maybe the tutorials aren't good enough. I can't speak for the wicket committers, but in my opinion users should be encouraged to write down as much as possible in the wiki, even if the quality is not perfect. Other people can (and will, in my experience) improve it and remove redundant or false information. Timo I use the Wiki, search the mailing list, and then post when I run out of options for info. Anyhow, everything is improving daily...including the wiki. On 5/1/06, Timo Stamm [EMAIL PROTECTED] wrote: Vincent Jenks schrieb: Yes, the developers are *insanely* helpful and patient. ;) Without this list I'm not sure I would have been able to use Wicket for long, to be perfectly honest. Try the Wiki! wasn't ment as Try the Wiki because the devs have better things to do, it was ment as Try the Wiki because it's become damn useful! Timo On 5/1/06, Timo Stamm [EMAIL PROTECTED] wrote: Rivka Shisman schrieb: A good book with examples and recipes is quite necessary :-) Try the Wiki! http://www.wicket-wiki.org.uk There is nice guide for beginners that should get you started: http://www.wicket-wiki.org.uk/wiki/index.php/Newuserguide Then there is the reference library with information and howtos on a lot of topics: http://www.wicket-wiki.org.uk/wiki/index.php/Reference_library Timo --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=kkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=kkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket book
Eelco Hillenius schrieb: Yeah, especially the component reference should be helpfull. We all put a lot of effort in that! :) Yes, I always look into the example project first to see how a component should be used. It's very helpful. Replacing these examples with tutorials in the wiki would be a lot of work, especially keeping them up to date. But they would certainly get more attention and it would be a lot easier to refer and link to them from other articles. Timo On 5/1/06, Gwyn Evans [EMAIL PROTECTED] wrote: One thing that often gets overlooked is the wicket-examples module/project, which is either available as a download (http://sourceforge.net/project/showfiles.php?group_id=119783package_id=138752) or live at http://www.wicket-library.com/wicket-examples/, although the live is based on the last major release, rather than the 1.2 at the moment. It's got working examples of all sorts of things, though... /Gwyn On 01/05/06, Vincent Jenks [EMAIL PROTECTED] wrote: I have to agree. What would be nice, if possible, is a small example code snippet in the Javadoc for each object. However, some may feel that code doesn't belong in there at all and should be in the wiki instead. Personally, I like example code too but small examples don't always fully illustrate some conceptsthat's there the wiki comes in. On 5/1/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Due to the lack of time most of us have here, we need to make choices. I think the WIKI is great for getting the contributions from the community itself, though the core devs - especially Gwyn - regularly update it too. But it's really great to see more people are helping out and writing items on the WIKI. I try to focus on examples personally. Everyone has a different way of learning; I find examples always really useful, and it has the additional advantage of functioning as proof-of-concept/ test code a lot of times. Just my 2c, Eelco On 5/1/06, Vincent Jenks [EMAIL PROTECTED] wrote: It's very useful, however, it's also lacking quite a bit of information. The Wiki and the Javadoc doesn't get you as far as you'd hope, as a newbie. I use the Wiki, search the mailing list, and then post when I run out of options for info. Anyhow, everything is improving daily...including the wiki. On 5/1/06, Timo Stamm [EMAIL PROTECTED] wrote: Vincent Jenks schrieb: Yes, the developers are *insanely* helpful and patient. ;) Without this list I'm not sure I would have been able to use Wicket for long, to be perfectly honest. Try the Wiki! wasn't ment as Try the Wiki because the devs have better things to do, it was ment as Try the Wiki because it's become damn useful! Timo On 5/1/06, Timo Stamm [EMAIL PROTECTED] wrote: Rivka Shisman schrieb: A good book with examples and recipes is quite necessary :-) Try the Wiki! http://www.wicket-wiki.org.uk There is nice guide for beginners that should get you started: http://www.wicket-wiki.org.uk/wiki/index.php/Newuserguide Then there is the reference library with information and howtos on a lot of topics: http://www.wicket-wiki.org.uk/wiki/index.php/Reference_library Timo --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=kkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Image upload
How was it? Do I need to make any edits to make it easier to understand? On Mon, 2006-05-01 at 11:28 -0600, Vincent Jenks wrote: I'll read through this, thanks a ton! On 5/1/06, Philip A. Chapman [EMAIL PROTECTED] wrote: Sorry for the delay, but I spent the time to create a wiki page so that hopefully others can benefit from what little I have to say on the subject: http://www.wicket-wiki.org.uk/wiki/index.php/UploadDownload On Mon, 2006-05-01 at 08:01 -0700, Igor Vaynberg wrote: yes, thats it. basically you would create a that resource that takes the filename/fileid/whatever off the url and streams the file. there is an example of this, i will ask one of my friends to post it here. stay tuned. -Igor On 5/1/06, Vincent Jenks [EMAIL PROTECTED] wrote: Did you mean to say DynamicWebResource? On 4/21/06, Johan Compagner [EMAIL PROTECTED] wrote: you could save those images to a DB or to a working dir on the server. Then have a DynamicByteArrayResource or the 1.2 one: WebDynamicResource to load the image from the location you stored the image. johan On 4/21/06, Steve Knight [EMAIL PROTECTED] wrote: I am creating a form that will allow users to upload image files that will be displayed on other pages.How should I go about uploading the images so that they can be used in Wicket Image components on the other pages?The upload part is not problem, I just don't know where I should put them. On my view pages, I am using ThumbnailImageResource which takes a WebResource in it's contructor to find the image.Where should I save the images to make this work? Thanks. Steve --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBEVjqCAdpynRSGw3URAiqOAKCDsSpRHf8WQ8EGaneJoAGS4WD5bwCfaYED Kb0kHbQYO8P7wOBWUVGWw7I= =x7ml -END PGP SIGNATURE- -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: [Wicket-user] Wicket book
I can't speak for the wicket committers, but in my opinion users should be encouraged to write down as much as possible in the wiki, even if the quality is not perfect. Other people can (and will, in my experience) improve it and remove redundant or false information. Exactly :) Eelco --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket-spring-examples errpr
are you launching from an IDE? the problem seems to be that applicationContext.xml is in src/main/resources which in IDE is setup as a source folder so that applicationContext.xml ends up in the classpath.-Igor On 5/2/06, Les Pruszynski [EMAIL PROTECTED] wrote: Hello,I'm trying to see the spring-examples on my local computer but when i want to launch the jetty server through src/main/launcher i get the following error:15:26:05.125 EVENT Starting Jetty/4.2.9 15:26: 05.140 EVENT Checking Resource aliases15:26:05.296 EVENT Started WebApplicationContext[/spring,wicket-spring-examples]0 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started 15:26:05.343 EVENT Loading Spring root WebApplicationContext110 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext.xml ]110 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failedorg.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [ applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not existjava.io.FileNotFoundException: class path resource [applicationContext.xml ] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:137) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions (XmlBeanDefinitionReader.java:167) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions (AbstractBeanDefinitionReader.java:126) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions (XmlWebApplicationContext.java:126) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory (AbstractRefreshableApplicationContext.java:89) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh (AbstractRefreshableWebApplicationContext.java:134) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246) at org.springframework.web.context.ContextLoader.initWebApplicationContext (ContextLoader.java:184) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java :432) at org.mortbay.http.HttpServer.start(HttpServer.java:647) at jetty.StartSpringExamples.main(StartSpringExamples.java:62)15:26:05.515 EVENT jsp: init15:26:05.687 EVENT default: init485 [main] FATAL jetty.StartSpringExamples - Could not start the Jetty server: org.mortbay.util.MultiException[org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [applicationContext.xml ]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist, org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [ applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist]it seems that the [applicationContext.xml] file is missing or maybe i'm missing something. Les
[Wicket-user] Re: drop down
When I tried to set otherForm.isVisible(false), I get an error saying that addForm is not present in the java page but its present in the markup. WicketMessage: Unable to find component with id 'addForm' in [MarkupContainer [Component id = _extend, page = com.AdminPage, path = 1:_body:_child:_extend:_child:_extend.MarkupInheritanceResolver$ TransparentWebMarkupContainer, isVisible = true, isVersioned = true]]. This means that you declared wicket:id=addForm in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match. [markup = file:/AdminPage.html, index = 38, current = 'form wicket:id=addForm' (line 19, column 5)] --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Re: drop down
Sorry, my bad. I forgot to add the form to the page. Thanks for the replies. Igor Vaynberg igor.vaynberg at gmail.com writes: final Form otherform=otherform.setVisible(false);DropDownChoice ddc=new DropDownChoice() {void wantOnSelectionChangedNotifications() { return true; } onSelectionChanged() { boolean showOtherForm=...some condition; otherform.setVisible(showOtherForm);}}-Igor On 4/28/06, Adit email_to_aditya at yahoo.com wrote: The drop down is in the form and the rest of the page is in another form. That form should be hidden until a selection is made on the drop down list.---Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Default application.properties added to wicket
Hello Johan, attached is a german application.properties file. I spotted and corrected two little typos in the file I got with rc3 :) Also, I changed the sentences for StringValidator.minimum and StringValidator.maximum, so that they have similar wording to StringValidator.range. -- greetings from Berlin, Rüdiger Schulz Johan Compagner wrote on 08.04.2006 at 23:51: hi, I have added wicket.Application.properties and wicket.Application_nl.properties, they will be loaded now as the last resort if nothing is found for the given key. All Validatior keys of wicket are in it. Also the null and nullValid keys of the SingleSelectChoice are in there. (Choose One) Because of this we needed a differentiation between the keys if null is valid or not. null (Choose One) is still the same but the emtpy one is now the key 'nullValid' this was a bit wrong to start with because if you switched from null allowed to not allowed you still would have the same option value.. We need now as many properties file for the different locales as possible. johan Application_de.properties Description: Binary data
Re: [Wicket-user] Re: drop down
are you still calling add(otherForm) ? you still have to add it, and after that set it to invisible.-IgorOn 5/2/06, Aditya [EMAIL PROTECTED] wrote: When I tried to set otherForm.isVisible(false), I get an error saying that addForm is not present in the java page but its present in the markup.WicketMessage: Unable to find component with id 'addForm' in [MarkupContainer[Component id = _extend, page = com.AdminPage, path =1:_body:_child:_extend:_child:_extend.MarkupInheritanceResolver$ TransparentWebMarkupContainer,isVisible = true, isVersioned = true]]. This means that you declaredwicket:id=addForm in your markup, but that you either did not add the componentto your page at all, or that the hierarchy does not match. [markup = file:/AdminPage.html, index = 38, current = 'formwicket:id=addForm' (line 19, column 5)]---Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] FeedbackMessagesModel final
Thanks, but one additional thing: To be able to mix in some special messages, I want to construct FeedbackMessages on my own. But the FeedbackMessage constructor is package protected :(. Any chance that the modifier could be changed to public? BTW what's the 'sessionStored' property meant for - I didn't find a reference to it and it's a little bit odd as a constructor argument. Sven Eelco Hillenius wrote: Done. Eelco On 4/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I want to override FeedbackMessagesModel.processMessages() to be able to add special messages. This seems to be one of its intended usages according to the javadoc. Regretfully FeedbackMessagesModel is final, so could this modifier please be removed? Thanks Sven --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=kkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] FeedbackMessagesModel final
whoops, looks like i didnt clean up as well as i thought i did. sessionStored stuff is now all gone.what exactly is your usecase that you have to create feedbackmessage objects yourself? why not call any of the given info/warn/whatever methods on a component or session? -IgorOn 5/2/06, Sven Meier [EMAIL PROTECTED] wrote: Thanks, but one additional thing:To be able to mix in some special messages, I want to constructFeedbackMessages on my own.But the FeedbackMessage constructor is package protected :(.Any chance that the modifier could be changed to public? BTW what's the 'sessionStored' property meant for - I didn't find areference to it and it's a little bit odd as a constructor argument.SvenEelco Hillenius wrote:Done.Eelco On 4/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:I want to override FeedbackMessagesModel.processMessages () to be able to add special messages. This seems to be one of its intended usages according to the javadoc.Regretfully FeedbackMessagesModel is final, so could this modifier please be removed? ThanksSven---Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user ---Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=kkid0709bid3057dat1642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user---Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Image upload
I honestly haven't had the opportunity to integrate it into my app yet. I'm going to have to pick it apart a bit to conform to my shopping cart.I'll probably rip into it today sometime and I'll post my progress. I really appreciate the hand, thanks!On 5/2/06, Philip A. Chapman [EMAIL PROTECTED] wrote: How was it? Do I need to make any edits to make it easier to understand? On Mon, 2006-05-01 at 11:28 -0600, Vincent Jenks wrote: I'll read through this, thanks a ton! On 5/1/06, Philip A. Chapman [EMAIL PROTECTED] wrote: Sorry for the delay, but I spent the time to create a wiki page so that hopefully others can benefit from what little I have to say on the subject: http://www.wicket-wiki.org.uk/wiki/index.php/UploadDownload On Mon, 2006-05-01 at 08:01 -0700, Igor Vaynberg wrote: yes, thats it. basically you would create a that resource that takes the filename/fileid/whatever off the url and streams the file. there is an example of this, i will ask one of my friends to post it here. stay tuned. -Igor On 5/1/06, Vincent Jenks [EMAIL PROTECTED] wrote: Did you mean to say DynamicWebResource? On 4/21/06, Johan Compagner [EMAIL PROTECTED] wrote: you could save those images to a DB or to a working dir on the server. Then have a DynamicByteArrayResource or the 1.2 one: WebDynamicResource to load the image from the location you stored the image. johan On 4/21/06, Steve Knight [EMAIL PROTECTED] wrote: I am creating a form that will allow users to upload image files that will be displayed on other pages.How should I go about uploading the images so that they can be used in Wicket Image components on the other pages?The upload part is not problem, I just don't know where I should put them. On my view pages, I am using ThumbnailImageResource which takes a WebResource in it's contructor to find the image.Where should I save the images to make this work? Thanks. Steve --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Philip A. ChapmanDesktop and Web Application Development:Java, .NET, PostgreSQL, MySQL, MSSQLLinux, Windows 2000, Windows XP -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBEVjqCAdpynRSGw3URAiqOAKCDsSpRHf8WQ8EGaneJoAGS4WD5bwCfaYED Kb0kHbQYO8P7wOBWUVGWw7I= =x7ml -END PGP SIGNATURE- -- Philip A. ChapmanDesktop and Web Application Development:Java, .NET, PostgreSQL, MySQL, MSSQLLinux, Windows 2000, Windows XP -BEGIN PGP SIGNATURE-Version: GnuPG v1.4.1 (GNU/Linux)iD8DBQBEV4M6AdpynRSGw3URAhkvAJ4tHqn2wYOd9LuuD43MWsGhnGGgxACffIoBEKdVHMEHbsM6PC+E9nkwcFw==GFH9-END PGP SIGNATURE-
[Wicket-user] Re: wicket-spring-examples errpr
Hi,Yes, I am launching the examples form within Eclipse.What's your setup? I would like to mirror yours.Les
Re: [Wicket-user] Re: wicket-spring-examples errpr
i use the eclipse project files that came with the project.-IgorOn 5/2/06, Les Pruszynski [EMAIL PROTECTED] wrote:Hi,Yes, I am launching the examples form within Eclipse. What's your setup? I would like to mirror yours.Les
Re: [Wicket-user] Wicket 1.2-rc3 released
hmm thats strange.where does that weakreference come fromi will check it out.johanOn 5/2/06, Rüdiger Schulz [EMAIL PROTECTED] wrote:I can confirm this exact same erro on Jboss 3.2.5. --greetings from Berlin,Rüdiger SchulzMaciej Janusz wrote on 02.05.2006 at 17:17:JC you have to use the CryptedUrlWebRequestCodingStrategy for that now.JC I think we need to add those 2 classes back in and make the depricated. thanks I'll try.JC where do you see that serialization exception?JC http://wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ClockPageJC seems to work fine On my machine (jboss-4.0.4RC1) with examples 1.2-rc3 ( http://localhost:8080/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ClockPage )I get -- begin of stacktrace WicketMessage: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: wicket.examples.ajax.builtin.ClockPage Root cause: java.io.NotSerializableException: java.lang.ref.WeakReference at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject (ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at java.util.ArrayList.writeObject (ArrayList.java:570) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890) at java.io.ObjectOutputStream.writeSerialData (ObjectOutputStream.java:1333) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject (ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData (ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at wicket.protocol.http.HttpSessionStore.setAttribute(HttpSessionStore.java:56) at wicket.Session.setAttribute(Session.java :878) at wicket.PageMap.put(PageMap.java:519) at wicket.Session.touch(Session.java:684) at wicket.Page.renderPage(Page.java:418) at wicket.request.target.component.BookmarkablePageRequestTarget.respond (BookmarkablePageRequestTarget.java:224) at wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond (AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:852) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:879) at wicket.RequestCycle.step(RequestCycle.java:960) at wicket.RequestCycle.steps(RequestCycle.java:1034) at wicket.RequestCycle.request(RequestCycle.java:453) at wicket.protocol.http.WicketServlet.doGet (WicketServlet.java:215) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java :96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java :173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:95) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:126) at
Re: [Wicket-user] Wicket 1.2-rc3 released
ok found and fixed it.johanOn 5/2/06, Johan Compagner [EMAIL PROTECTED] wrote: hmm thats strange.where does that weakreference come fromi will check it out.johan On 5/2/06, Rüdiger Schulz [EMAIL PROTECTED] wrote:I can confirm this exact same erro on Jboss 3.2.5. --greetings from Berlin,Rüdiger SchulzMaciej Janusz wrote on 02.05.2006 at 17:17:JC you have to use the CryptedUrlWebRequestCodingStrategy for that now.JC I think we need to add those 2 classes back in and make the depricated. thanks I'll try.JC where do you see that serialization exception?JC http://wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ClockPageJC seems to work fine On my machine (jboss-4.0.4RC1) with examples 1.2-rc3 ( http://localhost:8080/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ClockPage )I get -- begin of stacktrace WicketMessage: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: wicket.examples.ajax.builtin.ClockPage Root cause: java.io.NotSerializableException: java.lang.ref.WeakReference at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject (ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at java.util.ArrayList.writeObject (ArrayList.java:570) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890) at java.io.ObjectOutputStream.writeSerialData (ObjectOutputStream.java:1333) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject (ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData (ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at wicket.protocol.http.HttpSessionStore.setAttribute(HttpSessionStore.java:56) at wicket.Session.setAttribute(Session.java :878) at wicket.PageMap.put(PageMap.java:519) at wicket.Session.touch(Session.java:684) at wicket.Page.renderPage(Page.java:418) at wicket.request.target.component.BookmarkablePageRequestTarget.respond (BookmarkablePageRequestTarget.java:224) at wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond (AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:852) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:879) at wicket.RequestCycle.step(RequestCycle.java:960) at wicket.RequestCycle.steps(RequestCycle.java:1034) at wicket.RequestCycle.request(RequestCycle.java:453) at wicket.protocol.http.WicketServlet.doGet (WicketServlet.java:215) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java :96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java :173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:95) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at
Re: [Wicket-user] Wicket 1.2-rc3 released
by the way turn of debug logging so that we don't enter the test mode by serializing the page to check if it is valid.On 5/2/06, Johan Compagner [EMAIL PROTECTED] wrote: ok found and fixed it.johanOn 5/2/06, Johan Compagner [EMAIL PROTECTED] wrote: hmm thats strange.where does that weakreference come fromi will check it out.johan On 5/2/06, Rüdiger Schulz [EMAIL PROTECTED] wrote:I can confirm this exact same erro on Jboss 3.2.5. --greetings from Berlin,Rüdiger SchulzMaciej Janusz wrote on 02.05.2006 at 17:17:JC you have to use the CryptedUrlWebRequestCodingStrategy for that now.JC I think we need to add those 2 classes back in and make the depricated. thanks I'll try.JC where do you see that serialization exception?JC http://wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ClockPageJC seems to work fine On my machine (jboss-4.0.4RC1) with examples 1.2-rc3 ( http://localhost:8080/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ClockPage )I get -- begin of stacktrace WicketMessage: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: wicket.examples.ajax.builtin.ClockPage Root cause: java.io.NotSerializableException: java.lang.ref.WeakReference at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject (ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at java.util.ArrayList.writeObject (ArrayList.java:570) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890) at java.io.ObjectOutputStream.writeSerialData (ObjectOutputStream.java:1333) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject (ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData (ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at wicket.protocol.http.HttpSessionStore.setAttribute(HttpSessionStore.java:56) at wicket.Session.setAttribute(Session.java :878) at wicket.PageMap.put(PageMap.java:519) at wicket.Session.touch(Session.java:684) at wicket.Page.renderPage(Page.java:418) at wicket.request.target.component.BookmarkablePageRequestTarget.respond (BookmarkablePageRequestTarget.java:224) at wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond (AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:852) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:879) at wicket.RequestCycle.step(RequestCycle.java:960) at wicket.RequestCycle.steps(RequestCycle.java:1034) at wicket.RequestCycle.request(RequestCycle.java:453) at wicket.protocol.http.WicketServlet.doGet (WicketServlet.java:215) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java :96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java :173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) at
[Wicket-user] Generating HTML with Wicket?
Howdy All,I am new to Wicket, just looking around for an appropriate Web framework to use on my next project. I would like to know if Wicket can (or will shortly be able to) generate HTML elements (as well as doing all the other things it can do). By this I mean something like the old Element Construction Set (ECS) or perhaps even Swinglets.I've seen some discussion of this on the mailing list archive (although it is hard to follow threads via the archive), but it was mainly relating to Wicket possibly auto-generating prototype HTML if a HTML file was not available. I also understand that Wicket usually works with a HTML file and some may suggest using a Wicket panel for each possible element I wish to construct. That may be a possible but it doesn't seem elegant.However, I can't see why Wicket couldn't generate HTML when required, for very dynamic parts of a Web page. Wicket seems to have classes corresponding to most (if not all) HTML elements already.Of course, most dynamic Web pages won't need this, they just want to slot some dynamic content in an already setup HTML template, but I can also see where full dynamic control of the tags and content could be useful. Sorry if I have misunderstood how Wicket works. Any comments, or suggestions, would be most appreciated. Cheers,Ashley.--Ashley AitkenPerth, Western Australiamrhatken at mac dot comSkype Name: MrHatken (GMT + 8 Hours!)