[Wicket-user] How to set a markup ID of a HTML element to javascript
I found a datetime picket with is more suitable for my application and I would like to integrate that javascript to my application. I can get the markup id using getMarkId() method of Component. However I don't know how to press it to that javascript. I have talk of look of http://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg22608.html and I wonder can I have similar ${backGroundElementId} at HTML template instead of js file? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Question about using RedirectPage in a modalwindow
The target of the RedirectPage is another wicket form running at difference host. In firefox it work ok but in IE it always show page expire after I submit the form. Does anybody experience this also? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Redirecting a page after a given time interval
I coded a class that extends AbstractAjaxTimerBehavior and implemented the protected void onTimer(AjaxRequestTarget target) method. Is this method supposed to be called after the given time duration? And how should I redirect the page inside this method. Can someone provide me with a sample example. Thanks Matej Knopp wrote: This won't work. Because you can call setResponsePage only during processing a request. When your code calls setResponsePage() there is no request, so it doesn't make sense to set response page. I think what you want is AbstractAjaxTimerBehavior. -Matej tbt wrote: Hi! I'd like to know how to redirect a page automatically using wicket after a given time interval. Currently i'm using the following java class to do this Timer timer = new Timer(); timer.schedule(new TimerTask() { public void run() { setResponsePage(new LogOutConfirmationPage()); } } , 1 * 60 * 1000); This is supposed to redirect the page after 1 minute but Wicket is throwing the following runtime exception There is no application attatched to the current thread Is there any way to do this using the wicket framework? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Redirecting-a-page-after-a-given-time-interval-tf3097478.html#a8647823 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to set a markup ID of a HTML element to javascript
On Fri, 26 Jan 2007, Carfield Yim wrote: I found a datetime picket with is more suitable for my application and I would like to integrate that javascript to my application. I can get the markup id using getMarkId() method of Component. However I don't know how to press it to that javascript. I have talk of look 1) Why don't just just set the markup id in your markup? input id=timeField wicket:id=startTime ... Then you can access it normally with JavaScript. Wicket will honour HTML ids set in the HTML template. of http://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg22608.html and I wonder can I have similar ${backGroundElementId} at HTML template instead of js file? 2) I don't think so, but you can certainly use a Wicket component to output it if you like: div id=myIdContainer wicket:id=timeFieldId style=visibility: hidden/div new Label(parent, timeFieldId, timeField.getMarkupId()); or something such. Normally 1) is more straight forward though. -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to set a markup ID of a HTML element to javascript
1) Why don't just just set the markup id in your markup? input id=timeField wicket:id=startTime ... Then you can access it normally with JavaScript. Wicket will honour HTML ids set in the HTML template. Because that component will use mulitple time in same page, if I do so that the ID will be confilct each other 2) I don't think so, but you can certainly use a Wicket component to output it if you like: div id=myIdContainer wicket:id=timeFieldId style=visibility: hidden/div new Label(parent, timeFieldId, timeField.getMarkupId()); or something such. Normally 1) is more straight forward though. I don't know how to use that. The HTML like input type=text wicket:id=date_textfield id=date_textfield size=15 a href=javascript:NewCal('date_textfield','ddmmm',true,24) img src=images/cal.gif width=16 height=16 border=0 / /a But doing that is not ok, as date_textfield will duplication with same component - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DatePicker and ModalWindow
It definitely shouldn't override it. Therefore the !important thing in css. I've tried it and it worked well for me. -Matej Scott Swank wrote: This seems to be a bit nastier than that -- unless I'm missing something simple. This goes at the top of the page: wicket:head style type=text/css div.calendar { z-index: 3 !important; } /style /wicket:head However the js in the DatePicker generates its own css that overrides the css the above. However, the following approach allows the css to override the js' style. DatePicker dp=new DatePicker(checkOutPicker, checkOut,ds); dp.add(HeaderContributor.forCss(../../css/cyllenius_cal.css)); add( dp ); Cheers, Scott - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Question about using RedirectPage in a modalwindow
Is that a wicket form? Is it a completely different application? How it is related to modal window? -Matej Carfield Yim wrote: The target of the RedirectPage is another wicket form running at difference host. In firefox it work ok but in IE it always show page expire after I submit the form. Does anybody experience this also? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to set a markup ID of a HTML element to javascript
On Fri, 26 Jan 2007, Carfield Yim wrote: Because that component will use mulitple time in same page, if I do so that the ID will be confilct each other How do you use the JavaScript component in your own code? Is this an example? input type=text wicket:id=date_textfield id=date_textfield size=15 a href=javascript:NewCal('date_textfield','ddmmm',true,24) img src=images/cal.gif width=16 height=16 border=0 / /a If you pass the element id to the JavaScript from your own (JavaScript) code, I think you should be able to do something like this input type=text wicket:id=startDate id=startDate size=15 a href=javascript:NewCal('startDate','ddmmm',true,24) img src=images/cal.gif width=16 height=16 border=0 / /a input type=text wicket:id=endDate id=endDate size=15 a href=javascript:NewCal('endDate','ddmmm',true,24) img src=images/cal.gif width=16 height=16 border=0 / /a It might be I don't understand the issue correctly though. -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Question about using RedirectPage in a modalwindow
On 1/26/07, Matej Knopp [EMAIL PROTECTED] wrote: Is that a wicket form? Is it a completely different application? How it is related to modal window? Yes, it is wicket form at completely difference application (difference host). One application call that page through ModalWindow and RedirectPage, the code is final ModalWindow modal = new ModalWindow(ajaxpanel); modal.setCssClassName(ModalWindow.CSS_CLASS_GRAY); modal.setPageCreator(new PageCreator() { private static final long serialVersionUID = 1L; public Page createPage() { return new RedirectPage(http://host2/app/tickdatasearch;); } }); add(modal); add(new AjaxFallbackLink(tickdatasearch) { private static final long serialVersionUID = 1L; public void onClick(AjaxRequestTarget target) { modal.show(target); } }); - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DatePicker and ModalWindow
Anyway I've found another problem with a DatePicker on a ModalWindow: If you open a DatePicker and then close the ModalWindow, the DatePicker does not disappear and remains open. I know that a stupid case but at the same time is a really user annoying behaviour. Anyone experienced that? Paolo On 1/26/07, Matej Knopp [EMAIL PROTECTED] wrote: It definitely shouldn't override it. Therefore the !important thing in css. I've tried it and it worked well for me. -Matej Scott Swank wrote: This seems to be a bit nastier than that -- unless I'm missing something simple. This goes at the top of the page: wicket:head style type=text/css div.calendar { z-index: 3 !important; } /style /wicket:head However the js in the DatePicker generates its own css that overrides the css the above. However, the following approach allows the css to override the js' style. DatePicker dp=new DatePicker(checkOutPicker, checkOut,ds); dp.add(HeaderContributor.forCss(../../css/cyllenius_cal.css)); add( dp ); Cheers, Scott - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Groovy integration? Scripting languages
I was hoping to be able to use Groovy ( or any other scripting language ) with Wicket but I just read... ... End of line. until someone actually uses it, this project will not be supported any further. It is here to proove that it can be done. If you want to use and support it, send an email about it to one of the mailing lists. ... on the Wicket-stuff site. So Groovy is no longer supported? ( Yes, I can read..., but ) just want to make sure. I did a Groovy project and really liked the language. -nilo de roock -- View this message in context: http://www.nabble.com/-Wicket-user--Groovy-integration--Scripting-languages-tf3121629.html#a8648966 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Groovy integration? Scripting languages
Nobody is maintaining it. So you can step up and integrate Groovy 1.0 into wicket 1.2, 1.x or 2.x (or any combination of that). Grooyv interest is pretty low here, but might catch up if someone goes the extra mile to revitalize the integration. Martijn On 1/26/07, nilo.de.roock [EMAIL PROTECTED] wrote: I was hoping to be able to use Groovy ( or any other scripting language ) with Wicket but I just read... ... End of line. until someone actually uses it, this project will not be supported any further. It is here to proove that it can be done. If you want to use and support it, send an email about it to one of the mailing lists. ... on the Wicket-stuff site. So Groovy is no longer supported? ( Yes, I can read..., but ) just want to make sure. I did a Groovy project and really liked the language. -nilo de roock -- View this message in context: http://www.nabble.com/-Wicket-user--Groovy-integration--Scripting-languages-tf3121629.html#a8648966 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Groovy integration? Scripting languages
Hi Nilo, I tried Wicket with JRuby a week ago. Unfortunately JRuby's (0.9.2) Java integration is not yet powerful enough to make this viable (actually, it simply broken). Perhaps in a couple of months I'll try again. Regards, Erik. nilo.de.roock wrote: I was hoping to be able to use Groovy ( or any other scripting language ) with Wicket but I just read... -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Question about using RedirectPage in a modalwindow
By the way, I just deploy the application of another host to my localhost and test, it work ok. Does anyone know the reason of this happening? On 1/26/07, Carfield Yim [EMAIL PROTECTED] wrote: On 1/26/07, Matej Knopp [EMAIL PROTECTED] wrote: Is that a wicket form? Is it a completely different application? How it is related to modal window? Yes, it is wicket form at completely difference application (difference host). One application call that page through ModalWindow and RedirectPage, the code is final ModalWindow modal = new ModalWindow(ajaxpanel); modal.setCssClassName(ModalWindow.CSS_CLASS_GRAY); modal.setPageCreator(new PageCreator() { private static final long serialVersionUID = 1L; public Page createPage() { return new RedirectPage(http://host2/app/tickdatasearch;); } }); add(modal); add(new AjaxFallbackLink(tickdatasearch) { private static final long serialVersionUID = 1L; public void onClick(AjaxRequestTarget target) { modal.show(target); } }); - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to set a markup ID of a HTML element to javascript
- Original Message From: Carfield Yim [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Friday, January 26, 2007 12:01:05 PM Subject: Re: [Wicket-user] How to set a markup ID of a HTML element to javascript 1) Why don't just just set the markup id in your markup? input id=timeField wicket:id=startTime ... Then you can access it normally with JavaScript. Wicket will honour HTML ids set in the HTML template. Because that component will use mulitple time in same page, if I do so that the ID will be confilct each other Maybe something like: startTimeTextField.add(new SimpleAttributeModifier(id, timeField+customIndex)); from java could do the job Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Unable to render resource stream Exception
Hi all, does anyone know why this exception appears at the logs? (using wicket 1.2.3) 10:18:52,547 ERROR RequestCycle:1043 - Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket-extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif wicket.WicketRuntimeException: Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket-extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif at wicket.Resource.respond(Resource.java:279) at wicket.Resource.onResourceRequested(Resource.java:135) at wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:192) at wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:902) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:934) at wicket.RequestCycle.step(RequestCycle.java:1010) at wicket.RequestCycle.steps(RequestCycle.java:1084) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219) at javax.servlet.http.HttpServlet.service(HttpServlet.java:751) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:179) Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:105) at java.net.SocketOutputStream.write(SocketOutputStream.java:149) at weblogic.utils.io.ChunkedOutputStream.writeTo(ChunkedOutputStream.java:185) at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:346) at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:1098) at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:238) at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:107) at wicket.Resource.respond(Resource.java:245) ... 24 more Thanks, Konstantinos Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Groovy integration? Scripting languages
I won't mind investing time to acquire in-depth Wicket source knowledge, but I am not sure yet if I feel the same way about Groovy. I 'll have a look at the Wicket-Groovy integration source over the weekend first. I'll get back on this. - nilo de roock Martijn Dashorst wrote: Nobody is maintaining it. So you can step up and integrate Groovy 1.0 into wicket 1.2, 1.x or 2.x (or any combination of that). Grooyv interest is pretty low here, but might catch up if someone goes the extra mile to revitalize the integration. Martijn On 1/26/07, nilo.de.roock [EMAIL PROTECTED] wrote: I was hoping to be able to use Groovy ( or any other scripting language ) with Wicket but I just read... ... End of line. until someone actually uses it, this project will not be supported any further. It is here to proove that it can be done. If you want to use and support it, send an email about it to one of the mailing lists. ... on the Wicket-stuff site. So Groovy is no longer supported? ( Yes, I can read..., but ) just want to make sure. I did a Groovy project and really liked the language. -nilo de roock -- View this message in context: http://www.nabble.com/-Wicket-user--Groovy-integration--Scripting-languages-tf3121629.html#a8648966 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/-Wicket-user--Groovy-integration--Scripting-languages-tf3121629.html#a8650014 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Unable to render resource stream Exception
Broken pipe means that users (or their browsers) have killed the request. This log report has been disabled in newer versions. Not sure if that is the case for 1.2.4, but most certainly for 1.3 and 2.0. Martijn On 1/26/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Hi all, does anyone know why this exception appears at the logs? (using wicket 1.2.3) 10:18:52,547 ERROR RequestCycle:1043 - Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket-extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif wicket.WicketRuntimeException: Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket-extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif at wicket.Resource.respond(Resource.java:279) at wicket.Resource.onResourceRequested(Resource.java:135) at wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:192) at wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:902) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:934) at wicket.RequestCycle.step(RequestCycle.java:1010) at wicket.RequestCycle.steps(RequestCycle.java:1084) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219) at javax.servlet.http.HttpServlet.service(HttpServlet.java:751) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:179) Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:105) at java.net.SocketOutputStream.write(SocketOutputStream.java:149) at weblogic.utils.io.ChunkedOutputStream.writeTo(ChunkedOutputStream.java:185) at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:346) at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:1098) at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:238) at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:107) at wicket.Resource.respond(Resource.java:245) ... 24 more Thanks, Konstantinos Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll
Re: [Wicket-user] Palette add selected option
Hi Sure did, they are now localised but I guess you could revert them... I guess you also will need to setup some styling, I could provide our if you wanted to have it? Palette html: http://pastebin.ca/329121 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giltal Sent: 25. januar 2007 14:00 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Palette add selected option Hi Did you change anything in the HTML files also ? If so, please send them too Thanks Nino Wael wrote: Heres the pastebin: Palette: http://pastebin.ca/327900 Recorder: http://pastebin.ca/327901 -regards Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giltal Sent: 25. januar 2007 11:18 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Palette add selected option Hi Can you please post your Palette and Recorder classes ... Thanks Nino Wael wrote: I think I have something somewhere... As I remember you need to update the recorder component... Below is only meant as a sniplet(notice the recreate model, which now are called from the palette onchange function).. package com.sas.jobindsats.ui.palette.component; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; import wicket.Component; import wicket.markup.html.form.HiddenField; import wicket.markup.html.form.IChoiceRenderer; import wicket.model.AbstractModel; import wicket.util.string.Strings; import com.sas.jobindsats.ui.palette.Palette; /** * Component to keep track of selections on the html side. Also used for * encoding and decoding those selections between html and java. * * @author Igor Vaynberg ( ivaynberg ) */ public class Recorder extends HiddenField { private static final long serialVersionUID = 1L; private static final String[] EMPTY_IDS = new String[0]; private final String seperator = #; /** conviniently maintained array of selected ids */ private String[] ids; /** parent palette object */ private Palette palette; /** * @return parent Palette object */ public Palette getPalette() { return palette; } /** * @param id *component id * @param palette *parent palette object */ public Recorder(String id, Palette palette) { super(id); this.palette = palette; // BELOW ENSURES THAT IDS ARE NOT NULL reCreateModel(); AbstractModel model = new AbstractModel() { public Object getObject(Component component) { StringBuffer modelStringBuffer = new StringBuffer(); for (int i = 0; ids.length i; i++) { modelStringBuffer.append(ids[i]); if (i + 1 ids.length) { modelStringBuffer.append(seperator); } } // set model and update ids array String modelString = modelStringBuffer.toString(); return modelString; } public void setObject(Component component, Object object) { updateIds((String) object); }; }; setModel(model); } protected void onValid() { super.onValid(); updateIds(); } /** * @return iterator over selected choices */ public Iterator getSelectedChoices() { IChoiceRenderer renderer = getPalette().getChoiceRenderer(); if (ids.length == 0) { return Collections.EMPTY_LIST.iterator(); } List selected = new ArrayList(ids.length); for (int i = 0; i ids.length; i++) { Iterator it = getPalette().getChoices().iterator(); while (it.hasNext()) { final Object choice = it.next(); if (renderer.getIdValue(choice, 0).equals(ids[i])) { selected.add(choice); break; } } } return selected.iterator(); } /** * @return iterator over unselected choices */ public Iterator getUnselectedChoices() { IChoiceRenderer renderer = getPalette().getChoiceRenderer(); Collection choices =
[Wicket-user] Page Expired
Hi, I am using Frames in my application, I have three framesets one with header second with tree (Wicket Tree) and three with content. I get page expired quite often when the user does series of actions on the content frame and then click on the link in the tree. I have read through many posts in the forum but I am unable to get a solution to this problem. Can someone help me on this? Thanks, Sajeev -- View this message in context: http://www.nabble.com/Page-Expired-tf3122565.html#a8651858 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired
Hi Sajeev, You should probably use another pagemap for each frame. This can be as simple as adding the pageMapName attribute to the initial frame URL. Regards, Erik. sunraider wrote: Hi, I am using Frames in my application, I have three framesets one with header second with tree (Wicket Tree) and three with content. I get page expired quite often when the user does series of actions on the content frame and then click on the link in the tree. I have read through many posts in the forum but I am unable to get a solution to this problem. Can someone help me on this? Thanks, Sajeev -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Unable to render resource stream Exception
Thanks Martjin, your answer makes sense but doesn't actually solve my problem, which in fact is that users complain that the wicket web-app is slow. A check with the server side shows that the thread for 'tmsMserver' is taking up 100% of CPU resource. After a restart of the server and a walk through, the slowness creeps back almost immediately. All I get in the server log are exceptions like the one I posted. I suppose what happens is users do something -- they wait -- they get bored -- they kill the request -- exception gets written. So, the main question is why the wicket application is slow? (also, in web.xml I have no specific statement for development/deployment, and expect deployment to be the default) Konstantinos - Original Message From: Martijn Dashorst [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Friday, January 26, 2007 3:10:34 PM Subject: Re: [Wicket-user] Unable to render resource stream Exception Broken pipe means that users (or their browsers) have killed the request. This log report has been disabled in newer versions. Not sure if that is the case for 1.2.4, but most certainly for 1.3 and 2.0. Martijn On 1/26/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Hi all, does anyone know why this exception appears at the logs? (using wicket 1.2.3) 10:18:52,547 ERROR RequestCycle:1043 - Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket-extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif wicket.WicketRuntimeException: Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket-extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif at wicket.Resource.respond(Resource.java:279) at wicket.Resource.onResourceRequested(Resource.java:135) at wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:192) at wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:902) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:934) at wicket.RequestCycle.step(RequestCycle.java:1010) at wicket.RequestCycle.steps(RequestCycle.java:1084) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219) at javax.servlet.http.HttpServlet.service(HttpServlet.java:751) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:179) Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:105) at java.net.SocketOutputStream.write(SocketOutputStream.java:149) at weblogic.utils.io.ChunkedOutputStream.writeTo(ChunkedOutputStream.java:185) at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:346) at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:1098) at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:238) at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:107) at wicket.Resource.respond(Resource.java:245) ... 24 more Thanks, Konstantinos Finding fabulous
Re: [Wicket-user] Page Expired
Like Erik say, probably that using a different page map will help you (Got something like that when I didn't use the proper page map name someday.) Give a look to the wiki under this page : http://cwiki.apache.org/WICKET/using-frames.html Marc On 1/26/07, Erik van Oosten [EMAIL PROTECTED] wrote: Hi Sajeev, You should probably use another pagemap for each frame. This can be as simple as adding the pageMapName attribute to the initial frame URL. Regards, Erik. sunraider wrote: Hi, I am using Frames in my application, I have three framesets one with header second with tree (Wicket Tree) and three with content. I get page expired quite often when the user does series of actions on the content frame and then click on the link in the tree. I have read through many posts in the forum but I am unable to get a solution to this problem. Can someone help me on this? Thanks, Sajeev -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DatePicker and ModalWindow
Can the datepicker be configured such that it disappears when it looses focus? Eelco On 1/26/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Anyway I've found another problem with a DatePicker on a ModalWindow: If you open a DatePicker and then close the ModalWindow, the DatePicker does not disappear and remains open. I know that a stupid case but at the same time is a really user annoying behaviour. Anyone experienced that? Paolo On 1/26/07, Matej Knopp [EMAIL PROTECTED] wrote: It definitely shouldn't override it. Therefore the !important thing in css. I've tried it and it worked well for me. -Matej Scott Swank wrote: This seems to be a bit nastier than that -- unless I'm missing something simple. This goes at the top of the page: wicket:head style type=text/css div.calendar { z-index: 3 !important; } /style /wicket:head However the js in the DatePicker generates its own css that overrides the css the above. However, the following approach allows the css to override the js' style. DatePicker dp=new DatePicker(checkOutPicker, checkOut,ds); dp.add(HeaderContributor.forCss(../../css/cyllenius_cal.css)); add( dp ); Cheers, Scott - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net 's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Unable to render resource stream Exception
Wicket is pretty efficient, so likely there is something very resource heavy in your application, or there is a fat memory leak (resulting in the VM having to do a lot of GC). Can you track down what happens? If you use a profiler like the excellent YourKit (http://www.yourkit.com/), you should be able to track down bottlenecks and/ or memory leaks pretty quickly. Eelco On 1/26/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Thanks Martjin, your answer makes sense but doesn't actually solve my problem, which in fact is that users complain that the wicket web-app is slow. A check with the server side shows that the thread for 'tmsMserver' is taking up 100% of CPU resource. After a restart of the server and a walk through, the slowness creeps back almost immediately. All I get in the server log are exceptions like the one I posted. I suppose what happens is users do something -- they wait -- they get bored -- they kill the request -- exception gets written. So, the main question is why the wicket application is slow? (also, in web.xml I have no specific statement for development/deployment, and expect deployment to be the default) Konstantinos - Original Message From: Martijn Dashorst [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Friday, January 26, 2007 3:10:34 PM Subject: Re: [Wicket-user] Unable to render resource stream Exception Broken pipe means that users (or their browsers) have killed the request. This log report has been disabled in newer versions. Not sure if that is the case for 1.2.4, but most certainly for 1.3 and 2.0. Martijn On 1/26/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Hi all, does anyone know why this exception appears at the logs? (using wicket 1.2.3) 10:18:52,547 ERROR RequestCycle:1043 - Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket-extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif wicket.WicketRuntimeException: Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket-extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif at wicket.Resource.respond(Resource.java:279) at wicket.Resource.onResourceRequested(Resource.java:135) at wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:192) at wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:902) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:934) at wicket.RequestCycle.step(RequestCycle.java:1010) at wicket.RequestCycle.steps(RequestCycle.java:1084) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219) at javax.servlet.http.HttpServlet.service(HttpServlet.java:751) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:179) Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:105) at java.net.SocketOutputStream.write(SocketOutputStream.java:149) at weblogic.utils.io.ChunkedOutputStream.writeTo(ChunkedOutputStream.java:185) at
Re: [Wicket-user] Redirecting a page after a given time interval
On 1/26/07, tbt [EMAIL PROTECTED] wrote: I coded a class that extends AbstractAjaxTimerBehavior and implemented the protected void onTimer(AjaxRequestTarget target) method. Is this method supposed to be called after the given time duration? read the javadoc /** * Listener method for the AJAX timer event. * * @param target *The request target */ protected abstract void onTimer(final AjaxRequestTarget target); And how should I redirect the page inside this method. Can someone provide me with a sample example. just like anywhere else, setResponsePage() -igor Thanks Matej Knopp wrote: This won't work. Because you can call setResponsePage only during processing a request. When your code calls setResponsePage() there is no request, so it doesn't make sense to set response page. I think what you want is AbstractAjaxTimerBehavior. -Matej tbt wrote: Hi! I'd like to know how to redirect a page automatically using wicket after a given time interval. Currently i'm using the following java class to do this Timer timer = new Timer(); timer.schedule(new TimerTask() { public void run() { setResponsePage(new LogOutConfirmationPage()); } } , 1 * 60 * 1000); This is supposed to redirect the page after 1 minute but Wicket is throwing the following runtime exception There is no application attatched to the current thread Is there any way to do this using the wicket framework? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Redirecting-a-page-after-a-given-time-interval-tf3097478.html#a8647823 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to set a markup ID of a HTML element to javascript
Component c=... String javascript=calendar blah=new calendar(`+c.getmarkupid()+'`);...) new label(script, javascript).setescapemodelstrings(false); script wicket:id=script/script is the easiest way for very simple javascript stings there is also PackagedTextTemplate for more complex stings that require variable replacement, as well as CssTemplate and JavasScriptTemplate. have a look. -igor On 1/26/07, Carfield Yim [EMAIL PROTECTED] wrote: I found a datetime picket with is more suitable for my application and I would like to integrate that javascript to my application. I can get the markup id using getMarkId() method of Component. However I don't know how to press it to that javascript. I have talk of look of http://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg22608.html and I wonder can I have similar ${backGroundElementId} at HTML template instead of js file? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired
there is also a frames example in wicket-examples -igor On 1/26/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: Like Erik say, probably that using a different page map will help you (Got something like that when I didn't use the proper page map name someday.) Give a look to the wiki under this page : http://cwiki.apache.org/WICKET/using-frames.html Marc On 1/26/07, Erik van Oosten [EMAIL PROTECTED] wrote: Hi Sajeev, You should probably use another pagemap for each frame. This can be as simple as adding the pageMapName attribute to the initial frame URL. Regards, Erik. sunraider wrote: Hi, I am using Frames in my application, I have three framesets one with header second with tree (Wicket Tree) and three with content. I get page expired quite often when the user does series of actions on the content frame and then click on the link in the tree. I have read through many posts in the forum but I am unable to get a solution to this problem. Can someone help me on this? Thanks, Sajeev -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Unable to render resource stream Exception
is tmsMserver one of our threads? -igor On 1/26/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Wicket is pretty efficient, so likely there is something very resource heavy in your application, or there is a fat memory leak (resulting in the VM having to do a lot of GC). Can you track down what happens? If you use a profiler like the excellent YourKit (http://www.yourkit.com/), you should be able to track down bottlenecks and/ or memory leaks pretty quickly. Eelco On 1/26/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Thanks Martjin, your answer makes sense but doesn't actually solve my problem, which in fact is that users complain that the wicket web-app is slow. A check with the server side shows that the thread for 'tmsMserver' is taking up 100% of CPU resource. After a restart of the server and a walk through, the slowness creeps back almost immediately. All I get in the server log are exceptions like the one I posted. I suppose what happens is users do something -- they wait -- they get bored -- they kill the request -- exception gets written. So, the main question is why the wicket application is slow? (also, in web.xml I have no specific statement for development/deployment, and expect deployment to be the default) Konstantinos - Original Message From: Martijn Dashorst [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Friday, January 26, 2007 3:10:34 PM Subject: Re: [Wicket-user] Unable to render resource stream Exception Broken pipe means that users (or their browsers) have killed the request. This log report has been disabled in newer versions. Not sure if that is the case for 1.2.4, but most certainly for 1.3 and 2.0. Martijn On 1/26/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Hi all, does anyone know why this exception appears at the logs? (using wicket 1.2.3) 10:18:52,547 ERROR RequestCycle:1043 - Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket- extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif wicket.WicketRuntimeException: Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket- extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif at wicket.Resource.respond(Resource.java:279) at wicket.Resource.onResourceRequested(Resource.java:135) at wicket.request.target.resource.SharedResourceRequestTarget.respond( SharedResourceRequestTarget.java:192) at wicket.request.compound.DefaultResponseStrategy.respond( DefaultResponseStrategy.java:49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond( AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:902) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:934) at wicket.RequestCycle.step(RequestCycle.java:1010) at wicket.RequestCycle.steps(RequestCycle.java:1084) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219) at javax.servlet.http.HttpServlet.service(HttpServlet.java:751) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run( StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet( StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java :272) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java :165) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run (WebAppServletContext.java:3153) at weblogic.security.acl.internal.AuthenticatedSubject.doAs( AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java :121) at weblogic.servlet.internal.WebAppServletContext.securedExecute( WebAppServletContext.java:1973) at weblogic.servlet.internal.WebAppServletContext.execute( WebAppServletContext.java:1880) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java :1310) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:179) Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:105) at java.net.SocketOutputStream.write(SocketOutputStream.java:149)
Re: [Wicket-user] Unable to render resource stream Exception
I never have heard of it... And if you don't like shelling out $$$ for YourKit immediately, they have a 30 day trial. Should be enough to at least find this problem. After that you'll instantly know that the 500 bucks they charge are worth every penny. (I'm not affiliated with them). Martijn On 1/26/07, Igor Vaynberg [EMAIL PROTECTED] wrote: is tmsMserver one of our threads? -igor On 1/26/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Wicket is pretty efficient, so likely there is something very resource heavy in your application, or there is a fat memory leak (resulting in the VM having to do a lot of GC). Can you track down what happens? If you use a profiler like the excellent YourKit (http://www.yourkit.com/), you should be able to track down bottlenecks and/ or memory leaks pretty quickly. Eelco On 1/26/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Thanks Martjin, your answer makes sense but doesn't actually solve my problem, which in fact is that users complain that the wicket web-app is slow. A check with the server side shows that the thread for 'tmsMserver' is taking up 100% of CPU resource. After a restart of the server and a walk through, the slowness creeps back almost immediately. All I get in the server log are exceptions like the one I posted. I suppose what happens is users do something -- they wait -- they get bored -- they kill the request -- exception gets written. So, the main question is why the wicket application is slow? (also, in web.xml I have no specific statement for development/deployment, and expect deployment to be the default) Konstantinos - Original Message From: Martijn Dashorst [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Friday, January 26, 2007 3:10:34 PM Subject: Re: [Wicket-user] Unable to render resource stream Exception Broken pipe means that users (or their browsers) have killed the request. This log report has been disabled in newer versions. Not sure if that is the case for 1.2.4, but most certainly for 1.3 and 2.0. Martijn On 1/26/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Hi all, does anyone know why this exception appears at the logs? (using wicket 1.2.3) 10:18:52,547 ERROR RequestCycle:1043 - Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket- extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif wicket.WicketRuntimeException: Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket- extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif at wicket.Resource.respond(Resource.java:279) at wicket.Resource.onResourceRequested (Resource.java:135) at wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:192) at wicket.request.compound.DefaultResponseStrategy.respond (DefaultResponseStrategy.java:49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:902) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:934) at wicket.RequestCycle.step(RequestCycle.java:1010) at wicket.RequestCycle.steps(RequestCycle.java:1084) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219) at javax.servlet.http.HttpServlet.service(HttpServlet.java:751) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java :272) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run (WebAppServletContext.java:3153) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs (SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973) at
Re: [Wicket-user] Unable to render resource stream Exception
well i guess we need to know if this is wicket related or something inside weblogic going bad, or the combination of the two -igor On 1/26/07, Martijn Dashorst [EMAIL PROTECTED] wrote: I never have heard of it... And if you don't like shelling out $$$ for YourKit immediately, they have a 30 day trial. Should be enough to at least find this problem. After that you'll instantly know that the 500 bucks they charge are worth every penny. (I'm not affiliated with them). Martijn On 1/26/07, Igor Vaynberg [EMAIL PROTECTED] wrote: is tmsMserver one of our threads? -igor On 1/26/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Wicket is pretty efficient, so likely there is something very resource heavy in your application, or there is a fat memory leak (resulting in the VM having to do a lot of GC). Can you track down what happens? If you use a profiler like the excellent YourKit (http://www.yourkit.com/), you should be able to track down bottlenecks and/ or memory leaks pretty quickly. Eelco On 1/26/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Thanks Martjin, your answer makes sense but doesn't actually solve my problem, which in fact is that users complain that the wicket web-app is slow. A check with the server side shows that the thread for 'tmsMserver' is taking up 100% of CPU resource. After a restart of the server and a walk through, the slowness creeps back almost immediately. All I get in the server log are exceptions like the one I posted. I suppose what happens is users do something -- they wait -- they get bored -- they kill the request -- exception gets written. So, the main question is why the wicket application is slow? (also, in web.xml I have no specific statement for development/deployment, and expect deployment to be the default) Konstantinos - Original Message From: Martijn Dashorst [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Friday, January 26, 2007 3:10:34 PM Subject: Re: [Wicket-user] Unable to render resource stream Exception Broken pipe means that users (or their browsers) have killed the request. This log report has been disabled in newer versions. Not sure if that is the case for 1.2.4, but most certainly for 1.3 and 2.0. Martijn On 1/26/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Hi all, does anyone know why this exception appears at the logs? (using wicket 1.2.3) 10:18:52,547 ERROR RequestCycle:1043 - Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket- extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif wicket.WicketRuntimeException: Unable to render resource stream zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/wicket- extensions-1.2.3.jar!/wicket/extensions/markup/html/datepicker/style/aqua/title-bg.gif at wicket.Resource.respond(Resource.java:279) at wicket.Resource.onResourceRequested (Resource.java:135) at wicket.request.target.resource.SharedResourceRequestTarget.respond( SharedResourceRequestTarget.java:192) at wicket.request.compound.DefaultResponseStrategy.respond (DefaultResponseStrategy.java:49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond( AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:902) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:934) at wicket.RequestCycle.step(RequestCycle.java:1010) at wicket.RequestCycle.steps(RequestCycle.java:1084) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219) at javax.servlet.http.HttpServlet.service(HttpServlet.java:751) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run( StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet( StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java :272) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java :165) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run (WebAppServletContext.java:3153) at weblogic.security.acl.internal.AuthenticatedSubject.doAs( AuthenticatedSubject.java:321) at
Re: [Wicket-user] Redirecting a page after a given time interval
you just want to refresh the page that is now in the browser a next page after 1 minute? use meta refresh tag. And generate the src so that it has a (bookmarkable)ulr to that page.. johan On 1/25/07, tbt [EMAIL PROTECTED] wrote: Hi! I'd like to know how to redirect a page automatically using wicket after a given time interval. Currently i'm using the following java class to do this Timer timer = new Timer(); timer.schedule(new TimerTask() { public void run() { setResponsePage(new LogOutConfirmationPage()); } } , 1 * 60 * 1000); This is supposed to redirect the page after 1 minute but Wicket is throwing the following runtime exception There is no application attatched to the current thread Is there any way to do this using the wicket framework? -- View this message in context: http://www.nabble.com/Redirecting-a-page-after-a-given-time-interval-tf3097478.html#a856 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expired
Thank you guys, you are a great help! Sajeev igor.vaynberg wrote: there is also a frames example in wicket-examples -igor On 1/26/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: Like Erik say, probably that using a different page map will help you (Got something like that when I didn't use the proper page map name someday.) Give a look to the wiki under this page : http://cwiki.apache.org/WICKET/using-frames.html Marc On 1/26/07, Erik van Oosten [EMAIL PROTECTED] wrote: Hi Sajeev, You should probably use another pagemap for each frame. This can be as simple as adding the pageMapName attribute to the initial frame URL. Regards, Erik. sunraider wrote: Hi, I am using Frames in my application, I have three framesets one with header second with tree (Wicket Tree) and three with content. I get page expired quite often when the user does series of actions on the content frame and then click on the link in the tree. I have read through many posts in the forum but I am unable to get a solution to this problem. Can someone help me on this? Thanks, Sajeev -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Page-Expired-tf3122565.html#a8658899 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Form submit to modal window issues
Hello, I have a form that after validation needs to open a modal window. This modal window basically acts as a very complex confirmation box. If the user cancels out of the modal window, then they should be returned to the form. However, if they submit / continue from the modal window, then the model the form is based on gets forwarded to the next page. I can not seem to trigger the modal window after the form validates. Any help would be appreciated. Regards, -- Shawn Tumey Cofounder MT Web Productions LLC www.mtwebproduction.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Groovy integration? Scripting languages
Is it correct that the groovy integration contribution consists of - GroovyClassResolver.java - GroovyWarClassLoader.java ? You think it still works... no testset, I suppose. What else is there besides some code? Thanks - nilo Eelco Hillenius wrote: I think it should still work. You can report bugs if you find them (preferably fixing them if you can). If there is interest (you) we can at least take a quick look in case problems arise, but there is a fair chance this integration project still just works. Eelco On 1/26/07, nilo.de.roock [EMAIL PROTECTED] wrote: I won't mind investing time to acquire in-depth Wicket source knowledge, but I am not sure yet if I feel the same way about Groovy. I 'll have a look at the Wicket-Groovy integration source over the weekend first. I'll get back on this. - nilo de roock Martijn Dashorst wrote: Nobody is maintaining it. So you can step up and integrate Groovy 1.0 into wicket 1.2, 1.x or 2.x (or any combination of that). Grooyv interest is pretty low here, but might catch up if someone goes the extra mile to revitalize the integration. Martijn On 1/26/07, nilo.de.roock [EMAIL PROTECTED] wrote: I was hoping to be able to use Groovy ( or any other scripting language ) with Wicket but I just read... ... End of line. until someone actually uses it, this project will not be supported any further. It is here to proove that it can be done. If you want to use and support it, send an email about it to one of the mailing lists. ... on the Wicket-stuff site. So Groovy is no longer supported? ( Yes, I can read..., but ) just want to make sure. I did a Groovy project and really liked the language. -nilo de roock -- View this message in context: http://www.nabble.com/-Wicket-user--Groovy-integration--Scripting-languages-tf3121629.html#a8648966 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/-Wicket-user--Groovy-integration--Scripting-languages-tf3121629.html#a8650014 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/-Wicket-user--Groovy-integration--Scripting-languages-tf3121629.html#a8660120 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash
Re: [Wicket-user] Form submit to modal window issues
Hi I'm not sure what exactly are you trying to accomplish. But in any case, remember that the modal window is an ajax component, thus to display it you need an ajax request. So if you want to submit the form and open the ModalWindow afterwards, you need to use AjaxSubmitButton or AjaxSubmitLink. -Matej Shawn Tumey wrote: Hello, I have a form that after validation needs to open a modal window. This modal window basically acts as a very complex confirmation box. If the user cancels out of the modal window, then they should be returned to the form. However, if they submit / continue from the modal window, then the model the form is based on gets forwarded to the next page. I can not seem to trigger the modal window after the form validates. Any help would be appreciated. Regards, -- Shawn Tumey Cofounder MT Web Productions LLC www.mtwebproduction.com http://www.mtwebproduction.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Groovy integration? Scripting languages
More wasnt need to integrate Groovy. Why does everything need tons of classes? I know for sure that an example existed in one of the example projects. Juergen On 1/26/07, nilo.de.roock [EMAIL PROTECTED] wrote: Is it correct that the groovy integration contribution consists of - GroovyClassResolver.java - GroovyWarClassLoader.java ? You think it still works... no testset, I suppose. What else is there besides some code? Thanks - nilo Eelco Hillenius wrote: I think it should still work. You can report bugs if you find them (preferably fixing them if you can). If there is interest (you) we can at least take a quick look in case problems arise, but there is a fair chance this integration project still just works. Eelco On 1/26/07, nilo.de.roock [EMAIL PROTECTED] wrote: I won't mind investing time to acquire in-depth Wicket source knowledge, but I am not sure yet if I feel the same way about Groovy. I 'll have a look at the Wicket-Groovy integration source over the weekend first. I'll get back on this. - nilo de roock Martijn Dashorst wrote: Nobody is maintaining it. So you can step up and integrate Groovy 1.0 into wicket 1.2, 1.x or 2.x (or any combination of that). Grooyv interest is pretty low here, but might catch up if someone goes the extra mile to revitalize the integration. Martijn On 1/26/07, nilo.de.roock [EMAIL PROTECTED] wrote: I was hoping to be able to use Groovy ( or any other scripting language ) with Wicket but I just read... ... End of line. until someone actually uses it, this project will not be supported any further. It is here to proove that it can be done. If you want to use and support it, send an email about it to one of the mailing lists. ... on the Wicket-stuff site. So Groovy is no longer supported? ( Yes, I can read..., but ) just want to make sure. I did a Groovy project and really liked the language. -nilo de roock -- View this message in context: http://www.nabble.com/-Wicket-user--Groovy-integration--Scripting-languages-tf3121629.html#a8648966 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/-Wicket-user--Groovy-integration--Scripting-languages-tf3121629.html#a8650014 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/-Wicket-user--Groovy-integration--Scripting-languages-tf3121629.html#a8660120 Sent from the Wicket - User mailing list archive
Re: [Wicket-user] Groovy integration? Scripting languages
On 1/26/07, Juergen Donnerstag [EMAIL PROTECTED] wrote: Why does everything need tons of classes? :) -igor - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Groovy integration? Scripting languages
Yeah, it has a separate examples project. Eelco On 1/26/07, Juergen Donnerstag [EMAIL PROTECTED] wrote: More wasnt need to integrate Groovy. Why does everything need tons of classes? I know for sure that an example existed in one of the example projects. Juergen On 1/26/07, nilo.de.roock [EMAIL PROTECTED] wrote: Is it correct that the groovy integration contribution consists of - GroovyClassResolver.java - GroovyWarClassLoader.java ? You think it still works... no testset, I suppose. What else is there besides some code? Thanks - nilo Eelco Hillenius wrote: I think it should still work. You can report bugs if you find them (preferably fixing them if you can). If there is interest (you) we can at least take a quick look in case problems arise, but there is a fair chance this integration project still just works. Eelco On 1/26/07, nilo.de.roock [EMAIL PROTECTED] wrote: I won't mind investing time to acquire in-depth Wicket source knowledge, but I am not sure yet if I feel the same way about Groovy. I 'll have a look at the Wicket-Groovy integration source over the weekend first. I'll get back on this. - nilo de roock Martijn Dashorst wrote: Nobody is maintaining it. So you can step up and integrate Groovy 1.0 into wicket 1.2, 1.x or 2.x (or any combination of that). Grooyv interest is pretty low here, but might catch up if someone goes the extra mile to revitalize the integration. Martijn On 1/26/07, nilo.de.roock [EMAIL PROTECTED] wrote: I was hoping to be able to use Groovy ( or any other scripting language ) with Wicket but I just read... ... End of line. until someone actually uses it, this project will not be supported any further. It is here to proove that it can be done. If you want to use and support it, send an email about it to one of the mailing lists. ... on the Wicket-stuff site. So Groovy is no longer supported? ( Yes, I can read..., but ) just want to make sure. I did a Groovy project and really liked the language. -nilo de roock -- View this message in context: http://www.nabble.com/-Wicket-user--Groovy-integration--Scripting-languages-tf3121629.html#a8648966 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/-Wicket-user--Groovy-integration--Scripting-languages-tf3121629.html#a8650014 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net
Re: [Wicket-user] DatePicker and ModalWindow
I don't really know how to reproduce this. For me the datepicker hides as soon as it loses focus, so I'm not able to close the window with datepicker not hiding. -Matej Paolo Di Tommaso wrote: Anyway I've found another problem with a DatePicker on a ModalWindow: If you open a DatePicker and then close the ModalWindow, the DatePicker does not disappear and remains open. I know that a stupid case but at the same time is a really user annoying behaviour. Anyone experienced that? Paolo On 1/26/07, *Matej Knopp* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: It definitely shouldn't override it. Therefore the !important thing in css. I've tried it and it worked well for me. -Matej Scott Swank wrote: This seems to be a bit nastier than that -- unless I'm missing something simple. This goes at the top of the page: wicket:head style type=text/css div.calendar { z-index: 3 !important; } /style /wicket:head However the js in the DatePicker generates its own css that overrides the css the above. However, the following approach allows the css to override the js' style. DatePicker dp=new DatePicker(checkOutPicker, checkOut,ds); dp.add(HeaderContributor.forCss(../../css/cyllenius_cal.css)); add( dp ); Cheers, Scott - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net 's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Form submit to modal window issues
Thank you Matej, I was aware of this, but I still don't see what I am doing wrong. I believe I have included the relevant code. With the below code the form does not display the feedback panel for components that failed validation like it should. If all the fields validate, the modalWindow is shown. What am I missing? The Wicket Ajax Debug tool shows the ajax request completing normally input type=submit wicket:id=submit/ final ModalWindow classification = new ModalWindow(classification); classification.setPageMapName(classification); classification.setPageCreator(new ModalWindow.PageCreator() { public Page createPage() { return new ClassificationPage(reqModel); } }); classification.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() { public void onClose(AjaxRequestTarget target) { } }); classification.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() { public boolean onCloseButtonClicked(AjaxRequestTarget target) { return true; } }); final Form form = new Form(reqForm,formModel); form.setOutputMarkupId(true); form.add(classification); form.add(new AjaxSubmitButton(submit, form) { protected void onSubmit(AjaxRequestTarget target, Form form) { classification.show(target); } }); --- On 1/26/07, Matej Knopp [EMAIL PROTECTED] wrote: Hi I'm not sure what exactly are you trying to accomplish. But in any case, remember that the modal window is an ajax component, thus to display it you need an ajax request. So if you want to submit the form and open the ModalWindow afterwards, you need to use AjaxSubmitButton or AjaxSubmitLink. -Matej - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Form submit to modal window issues
Nothing apparent. Can you post the markup too? Shawn Tumey wrote: Thank you Matej, I was aware of this, but I still don't see what I am doing wrong. I believe I have included the relevant code. With the below code the form does not display the feedback panel for components that failed validation like it should. If all the fields validate, the modalWindow is shown. What am I missing? The Wicket Ajax Debug tool shows the ajax request completing normally input type=submit wicket:id=submit/ final ModalWindow classification = new ModalWindow(classification); classification.setPageMapName(classification); classification.setPageCreator(new ModalWindow.PageCreator() { public Page createPage() { return new ClassificationPage(reqModel); } }); classification.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() { public void onClose(AjaxRequestTarget target) { } }); classification.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() { public boolean onCloseButtonClicked(AjaxRequestTarget target) { return true; } }); final Form form = new Form(reqForm,formModel); form.setOutputMarkupId(true); form.add(classification); form.add(new AjaxSubmitButton(submit, form) { protected void onSubmit(AjaxRequestTarget target, Form form) { classification.show(target); } }); --- On 1/26/07, *Matej Knopp* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi I'm not sure what exactly are you trying to accomplish. But in any case, remember that the modal window is an ajax component, thus to display it you need an ajax request. So if you want to submit the form and open the ModalWindow afterwards, you need to use AjaxSubmitButton or AjaxSubmitLink. -Matej - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Form submit to modal window issues
One more thing. Can you please post also the content of javascript console? And can is the onSubmit handler of AjaxSubmitButton really called? -Matej Matej Knopp wrote: Nothing apparent. Can you post the markup too? Shawn Tumey wrote: Thank you Matej, I was aware of this, but I still don't see what I am doing wrong. I believe I have included the relevant code. With the below code the form does not display the feedback panel for components that failed validation like it should. If all the fields validate, the modalWindow is shown. What am I missing? The Wicket Ajax Debug tool shows the ajax request completing normally input type=submit wicket:id=submit/ final ModalWindow classification = new ModalWindow(classification); classification.setPageMapName(classification); classification.setPageCreator(new ModalWindow.PageCreator() { public Page createPage() { return new ClassificationPage(reqModel); } }); classification.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() { public void onClose(AjaxRequestTarget target) { } }); classification.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() { public boolean onCloseButtonClicked(AjaxRequestTarget target) { return true; } }); final Form form = new Form(reqForm,formModel); form.setOutputMarkupId(true); form.add(classification); form.add(new AjaxSubmitButton(submit, form) { protected void onSubmit(AjaxRequestTarget target, Form form) { classification.show(target); } }); --- On 1/26/07, *Matej Knopp* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi I'm not sure what exactly are you trying to accomplish. But in any case, remember that the modal window is an ajax component, thus to display it you need an ajax request. So if you want to submit the form and open the ModalWindow afterwards, you need to use AjaxSubmitButton or AjaxSubmitLink. -Matej - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Form submit to modal window issues
When validation should fail and the feedback panel should show up. *INFO: * Initiating Ajax POST request on /inl/secure/app/page?wicket:interface=:0:panel:reqForm:submit:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom= 0.393144868947922 *INFO: *Invoking pre-call handler(s)... *INFO: *Received ajax response (69 characters) *INFO: * ?xml version=1.0 encoding=UTF-8?ajax-response/ajax-response *INFO: *Response parsed. Now invoking steps... *INFO: *Response processed successfully. *INFO: *Invoking post-call handler(s)... When the modal windows is shown because validation passes. *INFO: * Initiating Ajax POST request on /inl/secure/app/page?wicket:interface=:0:panel:reqForm:submit:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom= 0.9417643576134753 *INFO: *Invoking pre-call handler(s)... *INFO: *Received ajax response (1254 characters) *INFO: * ?xml version=1.0 encoding=UTF-8?ajax-responsecomponent id=panel_reqForm_classification ![CDATA[div wicket:id=classification style=display:none id=panel_reqForm_classificationwicket:panel div wicket:id=content id=panel_reqForm_classification_content /div /wicket:panel/div]]/componentcomponent id=feedback ![CDATA[]]/componentevaluate![CDATA[var settings = new Object(); settings.minWidth=200; settings.minHeight=200; settings.className=w_blue; settings.width=600; settings.height=400; settings.resizable=true; settings.src=/inl/secure/app/page?wicket:interface=classification:0::; settings.iframeName=classification; settings.cookieId=modal-window-11554571; settings.mask=semi-transparent; settings.onCloseButton = function() { var wcall=wicketAjaxGet('/inl/secure/app/page?wicket:interface=:0:panel:reqForm:classification::IBehaviorListenerwicket:behaviorId=0', function() { }, function() { });return !wcall;}; settings.onClose = function() { var wcall=wicketAjaxGet('/inl/secure/app/page?wicket:interface=:0:panel:reqForm:classification::IBehaviorListenerwicket:behaviorId=1', function() { }, function() { }); }; Wicket.Window.create(settings).show(); ]]/evaluate/ajax-response *INFO: *Response parsed. Now invoking steps... *INFO: *Response processed successfully. *INFO: *Invoking post-call handler(s)... *INFO: *Calling posponed function... *INFO: * Initiating Ajax GET request on /inl/secure/app/page?wicket:interface=:0:panel:reqForm:classification::IBehaviorListenerwicket:behaviorId=0random= 0.08781822351433555 *INFO: *Invoking pre-call handler(s)... *INFO: *Received ajax response (130 characters) *INFO: * ?xml version=1.0 encoding=UTF-8?ajax-responseevaluate![CDATA[ Wicket.Window.get().close();]]/evaluate/ajax-response *INFO: *Response parsed. Now invoking steps... *INFO: *Chanel busy - postponing... *INFO: *Response processed successfully. *INFO: *Invoking post-call handler(s)... *INFO: *Calling posponed function... *INFO: * *INFO: * Initiating Ajax GET request on /inl/secure/app/page?wicket:interface=:0:panel:reqForm:classification::IBehaviorListenerwicket:behaviorId=1random= 0.9822901756880449 *INFO: *Invoking pre-call handler(s)... *INFO: *Received ajax response (69 characters) *INFO: * ?xml version=1.0 encoding=UTF-8?ajax-response/ajax-response *INFO: *Response parsed. Now invoking steps... *INFO: *Response processed successfully. *INFO: *Invoking post-call handler(s)... Note - I'll be leaving work soon and may not be able to provide useful responses until next week. Thank you for your assistance On 1/26/07, Matej Knopp [EMAIL PROTECTED] wrote: One more thing. Can you please post also the content of javascript console? And can is the onSubmit handler of AjaxSubmitButton really called? -Matej Matej Knopp wrote: Nothing apparent. Can you post the markup too? Shawn Tumey wrote: Thank you Matej, I was aware of this, but I still don't see what I am doing wrong. I believe I have included the relevant code. With the below code the form does not display the feedback panel for components that failed validation like it should. If all the fields validate, the modalWindow is shown. What am I missing? The Wicket Ajax Debug tool shows the ajax request completing normally input type=submit wicket:id=submit/ final ModalWindow classification = new ModalWindow(classification); classification.setPageMapName(classification); classification.setPageCreator(new ModalWindow.PageCreator() { public Page createPage() { return new ClassificationPage(reqModel); } }); classification.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() { public void onClose(AjaxRequestTarget target) { } }); classification.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() { public boolean onCloseButtonClicked(AjaxRequestTarget target) { return true; }