Re: pageablelistview is giving out of memory exception while loading more than 70000 records wicket example
- Can you please provide a sample of LoadableDetachModel? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/pageablelistview-is-giving-out-of-memory-exception-while-loading-more-than-7-records-wicket-exame-tp4631614p4631794.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: pageablelistview is giving out of memory exception while loading more than 70000 records wicket example
Sorry that I didn't give the proper information, actually we are showing 10 records per page and the size of the list is 7 which we are passing to PageableListview..It seems listview is loading all 7 items at once..and each request it probably might iterating the List..so I think loading whole list at once is giving the out memory exception below is the code we are using.. Please suggest a solution asap. PageableListView userProfileDisplay = new PageableListView("userProfileDisplay",userProfileDTOsList,10) { @Override protected void populateItem(ListItem listItem) { final UserProfile userProfileModel = listItem.getModelObject(); listItem.add(new Label("userId", userProfileModel.getUserId())); listItem.add(new Label("userName", userProfileModel.getUserName())); listItem.add(new Label("appGroup", userProfileModel.getGroupName())); listItem.add(new Label("createdDate", pattern.format(userProfileModel.getCreatedDate(; listItem.add(new UserDetailsPanel("userdetails",getUserProfileManager().getUserProfileByUserIdAndGroup(userProfileModel.getUserId(),userProfileModel.getGroupName(; final Link editLink = new Link("edit") { /** * */ private static final long serialVersionUID = 5688344743264794845L; @Override public void onClick() { UserProfileAddPage userProfilePage = new UserProfileAddPage(userProfileModel,true,userProfileDisplay.getCurrentPage(), null); setResponsePage(userProfilePage); } }; listItem.add(editLink); final Link deleteLink = new Link("delete") { /** * */ private static final long serialVersionUID = 5688344743264794845L; @Override public void onClick() { // boolean isDeleted = getAppProfileManager().deleteApp(appProfileDTO.getAppId()); // if(isDeleted){ // PageParameters pageParameters = new PageParameters("message=Deleted Successfully"); // setResponsePage(UserProfileDisplayPage.class,pageParameters); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/pageablelistview-is-giving-out-of-memory-exception-while-loading-more-than-7-records-wicket-exame-tp4631614p4631717.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: call onsubmit automatically
Thnx for the reply sebastian, but I didn't get the solution what you suggested..Can you please explain it with an example? thanks in advance -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/call-onsubmit-automatically-tp4597765p4597836.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
call onsubmit automatically
Hi, I want to POST some data to a URL which internally redirects to a Page based on the POSTed params, for this I'm trying to do auto form submission but how to do it in wicket 1.4 or if you know other way which suits my requirement please let me know. In javascript, we can do like this , but how to do it wicket 1.4. Please suggest. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/call-onsubmit-automatically-tp4597765.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Auto refresh a WebPage
I mean while debugging I'm not at all getting the request to the class again -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Auto-refresh-a-WebPage-tp4203984p4204205.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to add Javascript function in wicket 1.4 Page
Hi Dan, Thank you for your reply, I had resolved it by writing the below code get("body").add(new AjaxEventBehavior("onload") { /** * */ private static final long serialVersionUID = 5189233126299039152L; protected void onEvent(AjaxRequestTarget target) { target .appendJavascript("alert(123)"); } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-Javascript-function-in-wicket-1-4-Page-tp4171520p4171765.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
How to open multiple infowindows or multiple markers using GMAP2
Hi, Fairly new to the Google Maps Api. I've got an array of data that I want to cycle through and plot on a map. Seems fairly simple, but all the multi-marker tutorials I have found are quite complex. Lets use the data array from google's site for an example: ['Bondi Beach', -33.890542, 151.274856, 4], ['Coogee Beach', -33.923036, 151.259052, 5], ['Cronulla Beach', -34.028249, 151.157507, 3], ['Manly Beach', -33.80010128657071, 151.28747820854187, 2], ['Maroubra Beach', -33.950198, 151.259302, 1] I simply want to plot all of these points and have an infoWindow pop up when clicked to display the name. Any help is greatly appreciated! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-open-multiple-infowindows-or-multiple-markers-using-GMAP2-tp4168848p4168848.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Integrating Google maps with wicket web application
Thank you for your Martin,I'm able to integrate with the Google Maps from the application.. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Integrating-Google-maps-with-wicket-web-application-tp4167839p4168418.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Integrating Google maps with wicket web application
Thank you Martin Grigorov-4, that has worked well (I mean no exception is coming but Map is not getting displayed) and Can I get a sample documentation on it? i.e how to start with GMAP and all?or Can I get examples? the war i've downloaded from her http://wicketstuff.org/maven/repository/org/wicketstuff/gmap2-examples/1.4-SNAPSHOT/ is not getting deployed. so, please anyone share the info. Thanks in advance -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Integrating-Google-maps-with-wicket-web-application-tp4167839p4168216.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Integrating Google maps with wicket web application
I'm using wicket 1.4-rc1 and I've downloaded gmap2-1.4-SNAPSHOT.jar but the still got the below exception..I know this the problem with unsupported gmap2 but how to get the corresponding JAR?please help me. java.lang.NoSuchMethodError: org.apache.wicket.markup.html.IHeaderResponse.renderOnEventJavascript(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V at wicket.contrib.gmap.GMapHeaderContributor$1.renderHead(GMapHeaderContributor.java:46) at org.apache.wicket.behavior.AbstractHeaderContributor.renderHead(AbstractHeaderContributor.java:67) at org.apache.wicket.Component.renderHead(Component.java:2612) at org.apache.wicket.markup.html.panel.Panel.renderHead(Panel.java:138) at org.apache.wicket.markup.html.internal.HtmlHeaderContainer$1.component(HtmlHeaderContainer.java:223) at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:859) at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:899) at org.apache.wicket.markup.html.internal.HtmlHeaderContainer.renderHeaderSections(HtmlHeaderContainer.java:214) at org.apache.wicket.markup.html.internal.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:138) at org.apache.wicket.Component.renderComponent(Component.java:2525) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1504) at org.apache.wicket.Component.render(Component.java:2361) at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:232) at org.apache.wicket.markup.resolver.HtmlHeaderResolver.resolve(HtmlHeaderResolver.java:78) at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1414) at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1520) at org.apache.wicket.Page.onRender(Page.java:1502) at org.apache.wicket.Component.render(Component.java:2361) at org.apache.wicket.Page.renderPage(Page.java:906) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:249) at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1194) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1265) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1366) at org.apache.wicket.RequestCycle.request(RequestCycle.java:498) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:444) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Integrating-Google-maps-with-wicket-web-application-tp4167839p4168155.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Integrating Google maps with wicket web application
Thank you very much josh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Integrating-Google-maps-with-wicket-web-application-tp4167839p4167944.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Integrating Google maps with wicket web application
The URL https://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-core/gmap2-parent is not working it seems -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Integrating-Google-maps-with-wicket-web-application-tp4167839p4167883.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Integrating Google maps with wicket web application
where can i find this JAR or Can you share me the url? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Integrating-Google-maps-with-wicket-web-application-tp4167839p4167880.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Difference b/w SetoutputMarkupId(true) and SetOutputMarkupHolderTag(true?)
Thank you very much -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Difference-b-w-SetoutputMarkupId-true-and-SetOutputMarkupHolderTag-true-tp4091035p4091183.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Difference b/w SetoutputMarkupId(true) and SetOutputMarkupHolderTag(true?)
Thank you very much -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Difference-b-w-SetoutputMarkupId-true-and-SetOutputMarkupHolderTag-true-tp4091035p4091182.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Difference b/w SetoutputMarkupId(true) and SetOutputMarkupHolderTag(true?)
Can anyone tell me the difference b/w SetoutputMarkupId(true) and SetOutputMarkupHolderTag(true)? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Difference-b-w-SetoutputMarkupId-true-and-SetOutputMarkupHolderTag-true-tp4091035p4091035.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: What is the difference between Model , PropertyModel,CompoundPropertyModel?
yeah..thats very good material...I've understood it..thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-the-difference-between-Model-PropertyModel-CompoundPropertyModel-tp4030452p4030480.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
changing the background color of link on performing onclick event
Hi, I'm using wicket 1.4 and my site contains one Template which header,footer,hor.menu and it is common to all the pages now, my req is onclicking the hor menu item, i want to show the active link with some background.. I tried with a:active but it is not working as it is a common template to all the pages..Can any one help in doing this?..here is my Hor menu -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/changing-the-background-color-of-link-on-performing-onclick-event-tp3686180p3686180.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org