Re: quick CRUD application
Ok, thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/quick-CRUD-application-tp4662346p4662350.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
quick CRUD application
Hi, Is it possible to develop/generate a quick CRUD application using wicket, something like the OpenXawa does or even JSF Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/quick-CRUD-application-tp4662346.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 resolve this java.util.ConcurrentModificationException
Ok, thank you all. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-resolve-this-java-util-ConcurrentModificationException-tp4660273p4660734.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 resolve this java.util.ConcurrentModificationException
Ok.. To explain the scenario, i have a singleton data-maanger java class that user a underlying LRUMAP to store most recently viewed data. various wicket panels use this data-manager to request data that they need to display/update etc. Access to data is well protected using various synchronization techniques and have no problem in that. The problem seems to be, is somehow wicket is trying to serialize this LRUMAP which conflicts with application wring data to it at that same time. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-resolve-this-java-util-ConcurrentModificationException-tp4660273p4660730.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 resolve this java.util.ConcurrentModificationException
Thanks Mike, This is the complete exception trace, thanks for your help. It does appear that this is thrown when wicket trying to serialize page. 06 Aug 2013 13:30:20.917 [http-apr--exec-3] ERROR o.a.w.serialize.java.JavaSerializer - Error serializing object class com.a.b.web.HomePage [object=[Page class = com.a.b.web.HomePage, id = 0, render count = 1]] org.apache.wicket.WicketRuntimeException: java.util.ConcurrentModificationException at org.apache.wicket.serialize.java.JavaSerializer$SerializationCheckerObjectOutputStream.writeObjectOverride(JavaSerializer.java:278) ~[wicket-core-6.6.0.jar:6.6.0] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:342) ~[na:1.7.0_21] at org.apache.wicket.serialize.java.JavaSerializer.serialize(JavaSerializer.java:78) ~[wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.pageStore.DefaultPageStore.serializePage(DefaultPageStore.java:376) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.pageStore.DefaultPageStore.storePage(DefaultPageStore.java:150) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.page.PageStoreManager$PersistentRequestAdapter.storeTouchedPages(PageStoreManager.java:383) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.page.RequestAdapter.commitRequest(RequestAdapter.java:171) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.page.AbstractPageManager.commitRequest(AbstractPageManager.java:98) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.page.PageManagerDecorator.commitRequest(PageManagerDecorator.java:73) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.page.PageAccessSynchronizer$2.commitRequest(PageAccessSynchronizer.java:281) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.Application$2.onDetach(Application.java:1628) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$3.notify(RequestCycleListenerCollection.java:105) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$3.notify(RequestCycleListenerCollection.java:101) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.util.listener.ListenerCollection$1.notify(ListenerCollection.java:120) [wicket-util-6.6.0.jar:6.6.0] at org.apache.wicket.util.listener.ListenerCollection.reversedNotify(ListenerCollection.java:144) [wicket-util-6.6.0.jar:6.6.0] at org.apache.wicket.util.listener.ListenerCollection.reversedNotifyIgnoringExceptions(ListenerCollection.java:113) [wicket-util-6.6.0.jar:6.6.0] at org.apache.wicket.request.cycle.RequestCycleListenerCollection.onDetach(RequestCycleListenerCollection.java:100) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.request.cycle.RequestCycle.onDetach(RequestCycle.java:619) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.request.cycle.RequestCycle.detach(RequestCycle.java:568) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:286) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:244) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188) [wicket-core-6.6.0.jar:6.6.0] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:267) [wicket-core-6.6.0.jar:6.6.0] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:344) [spring-security-web-3.0.0.M2.jar:na] at org.springframework.security.ui.ntlm.NtlmProcessingFilter.doFilter(NtlmProcessingFilter.java:355) [spring-security-ntlm-3.0.0.M2.jar:na] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356) [spring-security-web-3.0.0.M2.jar:na] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:98) [spring-security-web-3.0.0.M2.jar:na] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356) [spring-security-web-3.0.0.M2.jar:na] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80) [spring-security-web-3.0.0.M2.jar:na] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356) [spring-security-web-3.0.0.M2.jar:na] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:150) [spring-security-web-3.0.0.M2.jar:na] at org.springframework.web.
Re: How to resolve this java.util.ConcurrentModificationException
I need to understand what and when Wicket tries to serialize stuff in a running wicket application. I am not able to fix this error and it keeps growing with more users starting to use the application. It does not affect the application usage but it keeps beaming error email. I am using LRU map to cache certain data being used in the application and that is a shared data in a static context not tied to any particular user. Why would wicket try to serialize this object, this should not be serialized at all. LRU map this is not synchronized and is not thread-safe and application code treats it that way but the serialization keeps generating concurrent modification exception as its obvious its trying to serialize this when something changes the map. if i declare this as transient, will this prevent wicket from serializing this map too, what are the possible repercussion in wicket application if i declare this transient. Thanks for your help. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-resolve-this-java-util-ConcurrentModificationException-tp4660273p4660725.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 a div tag with stylesheet to wrap exisiting panel
The div style does work as suggested but it covers the whole panel and hides everything. Any way to fix this, it should work as a background. I tried the z-index but it does not seem to work. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-a-div-tag-with-stylesheet-to-wrap-exisiting-panel-tp4660585p4660634.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 a div tag with stylesheet to wrap exisiting panel
No, just the -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-a-div-tag-with-stylesheet-to-wrap-exisiting-panel-tp4660585p4660598.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 a div tag with stylesheet to wrap exisiting panel
Sorry to ask again but what i will have to do on markup side. I added this but dont find the attribute (style-sheet) appearing anywhere in HTML source to see whats happening. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-a-div-tag-with-stylesheet-to-wrap-exisiting-panel-tp4660585p4660593.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 a div tag with stylesheet to wrap exisiting panel
Thanks Sven, i will try that. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-a-div-tag-with-stylesheet-to-wrap-exisiting-panel-tp4660585p4660588.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 add a div tag with stylesheet to wrap exisiting panel
I have a complex panel with several components. I want to render the page background color different based on some condition without altering existing code, something like just wrap everything in a new div tag. all existent panel stuff goes here i tried this. WebMarkupContainer wmc = new WebMarkupContainer("envIndicator"); wmc.add(new AttributeModifier("class", "some class")); add(wmc); but the problem with this is that all wicket tags are expected to be added to this container which i cant do. Any way to make this happen? Let me know if questions, thanks fro your time to help. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-a-div-tag-with-stylesheet-to-wrap-exisiting-panel-tp4660585.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 resolve this java.util.ConcurrentModificationException
Thanks, but could you please explain how wicket handles serialization of objects that could throw this error. I could be wrong but it appears to me wicket is iterating the data structure for its serialization efforts when its being modified by other threads as well and the iteration results in ConcurrentModificationException being thrown by data structure iterator. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-resolve-this-java-util-ConcurrentModificationException-tp4660273p4660296.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 resolve this java.util.ConcurrentModificationException
Getting below error at times, looks like its coming from usage of apache common LRUMAa class, not sure where to start fixing this. 15 Jul 2013 11:03:42.099 [http-apr--exec-3] ERROR o.a.w.serialize.java.JavaSerializer - error writing object [Page class = com.abc.xyz.web.HomePage, id = 5, render count = 6]: null java.util.ConcurrentModificationException: null at org.apache.commons.collections.map.AbstractLinkedMap$LinkIterator.nextEntry(AbstractLinkedMap.java:560) ~[commons-collections-3.2.1.jar:3.2.1] at org.apache.commons.collections.map.AbstractLinkedMap$LinkMapIterator.next(AbstractLinkedMap.java:372) ~[commons-collections-3.2.1.jar:3.2.1] at org.apache.commons.collections.map.AbstractHashedMap.doWriteObject(AbstractHashedMap.java:1181) ~[commons-collections-3.2.1.jar:3.2.1] at org.apache.commons.collections.map.LRUMap.doWriteObject(LRUMap.java:420) ~[commons-collections-3.2.1.jar:3.2.1] at org.apache.commons.collections.map.LRUMap.writeObject(LRUMap.java:404) ~[commons-collections-3.2.1.jar:3.2.1] at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:975) ~[na:1.7.0_21] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480) [na:1.7.0_21] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) [na:1.7.0_21] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) [na:1.7.0_21] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528) [na:1.7.0_21] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493) [na:1.7.0_21] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) [na:1.7.0_21] Thanks for your help. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-resolve-this-java-util-ConcurrentModificationException-tp4660273.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: AutoCompleteTextField issues
Thanks!! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-issues-java-lang-String-cannot-be-cast-to-tp4658798p4658912.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
AutoCompleteTextField issues
I have used this before as a simple String model which works fine but with other types i have some isues going on any help would be appreciated. using: final AutoCompleteTextField something = new AutoCompleteTextField("code", xYZTypeModel, renderer) the options are displayed correctly selects fine too but XYZ.getObject() call throws exception: java.lang.ClassCastException: java.lang.String cannot be cast to XYZ not sure how it is able to Set String in a XYZ type. I am using below renderer IAutoCompleteRenderer renderer = new AbstractAutoCompleteTextRenderer() { private static final long serialVersionUID = 1L; @Override protected String getTextValue(XYZ object) { return XYX.getDisplayText(); } }; Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-issues-tp4658798.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 refresh a tab
yes, when the panel normally loads the java scripts are added as renderHead(IHeaderResponse response) { . response.render(JavaScriptHeaderItem.forReference(new PackageResourceReference(Mypanel.class,"custom.js"))); } and this is working fine. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-refresh-a-tab-tp4658652p4658655.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 refresh a tab
Actually target.add(getPanel()); seems to be doing what i need but i have a problem here and hoping someone would be able to help, i dont have any great background in java script stuff, we picked up wicket hoping we dont have to deal with that. My JavaScript are not firing such as.. (jQuery(document).ready(function($) { etc.) so several components (such as multi seelct etc) are not rendered correctly, how can i overcome this? Appreciate your help -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-refresh-a-tab-tp4658652p4658653.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 refresh a tab
I have a multi level tabbed application using org.wicketstuff.security.extensions.markup.html.tabs.ISecureTab and com.apollo.security.swarm.html.SecureLoggableTabbedPanel i want to refresh a tab as based on some user selection on that tab the tab need to show different data etc and its hard to code everything to add to ajax target and do it that way. is there a way i can simply refresh the whole tab, an action similar to what when user clicked on tab to open it? Thanks for your help. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-refresh-a-tab-tp4658652.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: Wasp-Swarm documentation
Thanks again, much appreciated. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wasp-Swarm-documentation-tp4658494p4658531.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: Wasp-Swarm documentation
Thanks, if you could upload that would be great. a link here would help greatly too. https://cwiki.apache.org/WICKET/wasp-swarm-security.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wasp-Swarm-documentation-tp4658494p4658527.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
What is the wicket recommended approach
for securing wicket applications, going by no documentation etc available on WASP/SWARM, i am just curious if there are other things available and preferred. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-the-wicket-recommended-approach-tp4658523.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: Wasp-Swarm documentation
Anyone? Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wasp-Swarm-documentation-tp4658494p4658522.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: Combining multiple wicket application in single user interface
Thanks martin, i will explore these options. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Combining-multiple-wicket-application-in-single-user-interface-tp4658487p4658495.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
Wasp-Swarm documentation
Can not find any documentation around this, can someone please point to some useful link. I need to disable few links, buttons, radio buttons based on user roles, have not found any suitable material that can help. The goal is to create a read only access to application. The code we have works file at panel lavel hive configuration using {ComponentPermission} render or 'render enable', i dont have any idea how to configure these for individual controls at a given panel. Any help would be appreciated. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wasp-Swarm-documentation-tp4658494.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
Combining multiple wicket application in single user interface
We have few wicket application used by same user set so I am contemplating to combine them in one single interface from users point of view but they should run as separate independent applications running at separate URLs as they do today. Please lets me know if there is a way to achieve this with plain wicket or outside wicket, what is the best approach to work in this direction. I would like to make it kind of a tabbed application (similar to wicket tabs) but each tab would represent wicket application running at some separate URL. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Combining-multiple-wicket-application-in-single-user-interface-tp4658487.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: even issue switching from development to deployment mode
Thanks, i will give it a try and update. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/event-firing-issue-switching-from-development-to-deployment-mode-tp4658450p4658486.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: event firing issue switching from development to deployment mode
Any thoughts on this please, what is different in wicket between deployment and development mode that could have caused this problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/event-firing-issue-switching-from-development-to-deployment-mode-tp4658450p4658461.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
even issue switching from development to deployment mode
I am using JQuery multi select by Eric Hynds in my current wicket application in few places. http://www.erichynds.com/examples/jquery-ui-multiselect-widget/demos/ This works great in a Wicket application (using ListMultipleChoice) in wicket development mode, but when i change wicket mode to deployment surprisingly the onclose even (close multiselect) does not get fired, the onchange event (when you select/deselect) continue to work, no issues with that. Any thoughts on what might be going on here and how to fix this problem, within Wicket. Appreciate your help. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/even-issue-switching-from-development-to-deployment-mode-tp4658450.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: Busy Indicator to prevent user activity
Thanks for all your help. I have this another case now, i have a download link. The code that downloads file is below: Link link = new Link("dataExportLink") { private static final long serialVersionUID = 1L; public void onClick() { IRequestHandler handler = new DataExportHandler(a,b,c,d...); RequestCycle.get().scheduleRequestHandlerAfterCurrent(handler); } }; When this link is clicked the Busy Indicator kicks in but it never goes away even after file has been downloaded. How Can i make the busy indicator work for this case. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877p4657932.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: Busy Indicator to prevent user activity
I was able to position it wherever i want but now i notice that its hides under one of my model window in certain cases, is there a way to show it above the model window too. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877p4657900.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: Busy Indicator to prevent user activity
Thank you guys. Yes, it was merely a matter of having correct CSS in place for the div, it works great now. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877p4657887.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
Busy Indicator to prevent user activity
Following instructions works great however they do not address the problem of preventing user from clicking anywhere until the request is processed. https://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html I need the busy indicator / gif to layer the application so user may not be able to click anywhere, any thoughts on how to achieve this would be highly appreciated. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877.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: inmethod grid column resize error alert
ok, will do. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-column-resize-error-alert-tp4657852p4657860.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: inmethod grid column resize error alert
This is being caused by inmethod grid being set to disabled, the error looks unnecessary though. Not sure if there is way to suppress it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-column-resize-error-alert-tp4657852p4657858.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
inmethod grid column resize error alert
I am using this grid in numerous places in my current application and dont have this problem anywhere else except in one of the panel. When resizing the column it prints below line on server console: 1:41:13.410 [qtp1683589725-44] WARN o.a.wicket.RequestListenerInterface - behavior not enabled; ignore call. Behavior com.inmethod.grid.common.AbstractGrid$SubmitColumnStateBehavior@54a16dfe at component [DefaultDataGrid [Component id = priceSourceGrid]] and on browser it opens a annoying alert stating 'Are you sure?" This page is asking you to confirm that you want to leave - data you have entered may not be saved There is no difference in my usage of inmethod grid on this panel compared to other places where it works fine, and i have not found why this is happening. Strangely when resize it calls onColumnStateChanged() method in all other panels but not on this panel. Any thoughts, help would be appreciated. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-column-resize-error-alert-tp4657852.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: problem using ThreadPool in wicket
You were right, It was my fault, the code was indeed trying to read user from session. It works fine after i tweaked the code, thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-using-ThreadPool-in-wicket-tp4657778p4657791.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: problem using ThreadPool in wicket
It just prints one line as of now as i mentioned above, trying to see if i can print more details. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-using-ThreadPool-in-wicket-tp4657778p4657788.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: problem using ThreadPool in wicket
I am not doing any Application.get() inside the thread pool, pool does not care who is using it, it just processed anything submitted to it and returns a future to collect the output, Any thoughts? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-using-ThreadPool-in-wicket-tp4657778p4657786.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: problem using ThreadPool in wicket
Sorry i dont get what you mean by 'You will have to path the "info" you need to this "pooled thread" from "request handling thread" ' Did you mean 'pass the info'? that is what i am doing.. The request handling thread is creating a pooled thread and submitting tasks and waiting for them to finish and than combine the output and respond, what is missing in this. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-using-ThreadPool-in-wicket-tp4657778p4657782.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
problem using ThreadPool in wicket
ExecutionExceptionjava.util.concurrent.ExecutionException: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread pool-2-thread-1 I am trying to process a bulk data request within a thread pool. Thanks for your help. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-using-ThreadPool-in-wicket-tp4657778.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: AjaxIndicatorAppender on a Panel
This is great, thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxIndicatorAppender-on-a-Panel-tp4657694p465.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: AjaxIndicatorAppender on a Panel
yeah, thanks I can have my panel implement the IAjaxIndicatorAware and use a AjaxIndicatorAppender as here, but unless i add this indicator to one of the component in the panel it does not show up and also in that case it shows rightly next to the component where i added it. how would i take it out from components in the panel and add it at the panel level itself. MyPanel implements IAjaxIndicatorAware { AjaxIndicatorAppender indicator = new AjaxIndicatorAppender (); @Override public String getAjaxIndicatorMarkupId() { return indicator.getMarkupId(); } } Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxIndicatorAppender-on-a-Panel-tp4657694p4657696.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
AjaxIndicatorAppender on a Panel
I have a panel with several controls, i would like to add a common AjaxIndicatorAppender for entire panel. It does work fine for individual controls but i have not found a way to add one common for all be able to position the location of loading message gif. Ideally i would like to achieve something like a 'Loading..' image layer takes over the panel until the Ajax Request is complete, could be triggered by any control in the panel. Is this possible in plain wicket, any help would be appreciated. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxIndicatorAppender-on-a-Panel-tp4657694.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: inmethod-grid refresh issue
Thanks Marc, This is indeed the issue, i am going to make it light weight for now and provide an alternate mechanism to launch the other features that are stuffed in here at present. Thank for helping me out. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656957.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: inmethod-grid refresh issue
Actually i have overridden public Component newCell(WebMarkupContainer parent, String componentId, IModel rowModel) { ... } to use a separate panel for cell content, due to other functions, will not make any difference? Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656952.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: inmethod-grid refresh issue
Also i put a print on every getter but it only prints on first call on a set of rows, if you filter among those rows its never get called, i suspect the grid has rows cached and its assuming nothing changed so using those rows again as a subset of previously created rows. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656950.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: inmethod-grid refresh issue
yes i am using property columns in grid to map columns to properties of model. Data Source is a very simple implementation just filter model objects in a cache into a list of filtered model objects. Context is user and also his filter settings. If a user can not see value from source x so his calculated value would be total value minus what he can not see, there are several other parameter to this context but this is what it is for all parameters. Also if he has filtered the view on XYZ, the calculated value will exclude everything that comes from XYZ (including rows). Its like total sales coming from multiple accounts but user may be seeing only one or few accounts (not all) so sales should show what is the sale from those selected accounts (in view). Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656949.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: inmethod-grid refresh issue
Just managed to get a workaround to fix the problem. I have to add a dummy property to the model object and calculate that property within my data source and than use that property to map to the calculated column. However since i can not change the state of original shared model object, so i have to clone it first (for every user, not a good idea ) and it introduces whole set of new problems. Does that ring a bell, how the problem can be solver without all this? When the model expose a getCalculatedValue method, why would not the grid call that method to render the row every time on a column that is mapped to an expression 'calculatedValue' ? Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656947.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: inmethod-grid refresh issue
Its a regular java bean with properties and setter and getter methods. Grid uses the expression to map a column to a particular property on row model (MyModel). Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656945.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: inmethod-grid refresh issue
public class DataSource implements IDataSource { private Filter myModelFilterChain; public DataSource(FilterChain myModelFilterChain) { this.myModelFilterChain= myModelFilterChain; } @Override public void detach() {//. } @Override public void query(com.inmethod.grid.IDataSource.IQuery query, com.inmethod.grid.IDataSource.IQueryResult result) { //all rows are already cached..use myModelFilterChain above to filter List MyModels... result.setTotalCount(MyModels.size()); int from = MyModels.size() > query.getFrom() ? query.getFrom() : MyModels.size(); int to = MyModels.size() > from + query.getCount() ? from + query.getCount() : MyModels.size(); List resultList = MyModels.subList((int)from, (int)to); result.setItems(resultList.iterator()); stopWatch.stop(); } } copied relevant potion above, i can see query method is called every time, no issues there. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656942.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: inmethod-grid refresh issue
grid.markAllItemsDirty(); grid.update(); This does not help, for some reason grid is smart not to regenerate a row for a model it already did. I can see my getXXX method is called by grid only first time and than its never get called again so the column shows what was calculated for the first call. To be more specific, if the grid shows 20 rows and than i filter to show 10 out of those 20 rows, it does not call the getXXX methods on my model object. However If i change filter setting so it has to now show 30 rows (20 previous and say 10 other rows) , it does call the getXXX methods again. Not really sure what controls this behaviors and how to override it. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656940.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: inmethod-grid refresh issue
Thanks Marc, i will take a look at these methods if they can help, however my equals method can not help here as i said previously some columns are derived in the sense they dont return an attribute of the object but a value which is derived from the context (and object state) in which the method is called. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656938.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: inmethod-grid refresh issue
Any thoughts on this please? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656936.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
inmethod-grid refresh issue
I have this strange case where when i do ajax target.add(grid), it does call my grid datasource to request the rows that the grid need to populate but when it finds that rows to be displayed are same what grid already has it does not recreate the grid (i can say that as i notice my get methods on model are not called). My guess is when it need to display same rows (model) it will not run through the list of model objects again that it need to show, however in my case there are few derived columns (hence corresponding get methods) that may return different value if the context changes (controlled by several filters on grid). How can i force the grid to run through the model list every time to refresh the grid, regardless? Not sure if above explains the problem clearly, please do let me know if more details are required. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910.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: wicket-poi current status
Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-poi-current-status-tp4656146p4656191.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
wicket-poi current status
I was looking for any excel extension for Wicket and came across this, not really sure what is the status of this project, any information please. The page at https://github.com/wicketstuff/core/wiki/POI looks interesting. Also in general what is the best way to do Excel upload/download in Apache wicket, is there any built in support for this. Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-poi-current-status-tp4656146.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 wrong/missing in this code, model object deos not get set
Yes, this is it, thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-wrong-missing-in-this-code-model-object-does-not-get-set-tp4656005p4656009.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 wrong/missing in this code, model object deos not get set
I will give it a try just to see if model gets set, but i really cant do that in this case as there are other fields in the form that need to be filled before submitting the form, is there any other way that just sets the model for auto complete field? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-wrong-missing-in-this-code-model-object-does-not-get-set-tp4656005p4656007.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
What is wrong/missing in this code, model object deos not get set
IAutoCompleteRenderer renderer = new AbstractAutoCompleteTextRenderer() { private static final long serialVersionUID = 1L; @Override protected String getTextValue(Broker object) { return object.getBrokerCode() +"-" + object.getDescription(); } }; final IModel brokerModel = new Model(); final AutoCompleteTextField broker = new AutoCompleteTextField("broker", brokerModel,renderer) { private static final long serialVersionUID = 1L; @Override protected Iterator getChoices(String input) { List choices = new ArrayList(10); List brokers = getService().getBrokerList();//gets brokers for (final Broker brk : brokers) { final String code = brk.getBrokerCode(); if (code.toUpperCase().startsWith(input.toUpperCase())) { choices.add(brk); if (choices.size() == 10) { break; } } } return choices.iterator(); }}; form.add(broker); broker.add(new AjaxEventBehavior("onchange") { @Override protected void onEvent(AjaxRequestTarget target) { logger.info("AjaxEventBehavior::onchange: "+brokerModel.getObject()); //always prints null here??? } }); Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-wrong-missing-in-this-code-model-object-deos-not-get-set-tp4656005.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: ReferenceError: wicketGet is not defined
thanks, much appreciated -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ReferenceError-wicketGet-is-not-defined-tp4655998p4656002.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 avoid this error TypeError: $(...) is null
finally manged to got this working this morning. The code that worked: $.noConflict(); jQuery(document).ready(function($) { $(document.getElementById("multiSelectId")).multiselect(); }); for some reason $("#multiSelectId").multiselect(); does not work. I had to hardcode multiSelectId on this select (setmarkupid), -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-avoid-this-error-TypeError-is-null-tp4655409p4655432.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 avoid this error TypeError: $(...) is null
The exact error (javascript) is TypeError: $(...) is null As per the Widget documents i need to invoke below to activate the multiselect. $(document).ready(function(){ $("#myselect").multiselect(); }); So it can not find #myselect in this case, i put a alert on this and it prints null, but it does work on another simple wicket panel. Looks like some sort of conflicts happening here. I also tried jQuery.noConflict() but it did not help. Also tried to add a markupid to my select and used that id to call the function but that too did not work, not sure why it will not find that select component. Even an alert on document.form.component prints null, when the comp is indeed there. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-avoid-this-error-TypeError-is-null-tp4655409p4655429.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 avoid this error TypeError: $(...) is null
I am trying to use jQuery UI MultiSelect Widget by Eric Hynds (http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/) in one of our current wicket application. This works fine using Wicket ListMultipleChoice on a simple panel with no other components, but on a complex panel (several other components including several standard drop downs, data grid etc) it throws this error. is there any way to make it work? I have implemented it as a separate panel and and the simple page where it works and other page where it does not, using the same panel. The error is encountered at this line of code $("select").multiselect();}); Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-avoid-this-error-TypeError-is-null-tp4655409.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: understanding ajax response
Thanks, do you still need a quick start app to look into this, sorry i was occupied in other pressing needs but i can try one if required. On a different note, the problem seem to be only with Firefox 17 and 18, for some reason there are no issues in older versions ( i tested with 12 and 14) for my particular case. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/understanding-ajax-response-tp4654310p4654658.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: understanding ajax response
Most of these are coming from using IndicatingAjaxLink link = new IndicatingAjaxLink("link") That launches a model window. The data grid i have , many rows (hence every cell on that row) have a AJAX link that opens a model window to show more details. I don't have anything else that is adding java script calls on this page, do you see anything can can be done here (instead) to overcome the issue. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/understanding-ajax-response-tp4654310p4654342.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
understanding ajax response
I receive several of tags within such as below, i also receive several tags, what are these meant for, reworking an existing application so i am not very clear how ajax response works in wicket, the browser craps out parsing one or another of the evaluate tags (too much recursion error), is there a way to overcome this parsing. I understand that these are being generated by several ajax links in my application, my goal is to overcome the browser issue with these, its quite annoying that application runs fine on Opera but on Firefox (the browser used in my firm) this is a serious problem. . . . - . . . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/understanding-ajax-response-tp4654310.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 fix this error in wicket app
As I play with this to find a solution, I notice few interesting things, that I am hoping someone would be able to decipher into root cause if this issue and a fix. I have a data grid on my page with several filters drop downs and each of them are basically making the grid to refresh (with filtered data). Below is the event handler for each filter: OnChangeAjaxBehavior onChangeAjaxBehavior = new OnChangeAjaxBehavior() { private static final long serialVersionUID = 1L; @Override protected void onUpdate(AjaxRequestTarget target) { grid.setCurrentPage(0); target.add(grid); } } The grid is comprised of several plain data cells but some of the columns have IndicatingAjaxLink to launch a model window that displays further details which are implemented as another panel with another data grid. I notice that if I remove all these model window cells, everything seems to working fine. If you see something here, please let me know. The data grid that we are using is com.inmethod.grid.datagrid.DefaultDataGrid -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-fix-this-error-in-wicket-app-tp4653954p4654271.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 fix this error in wicket app
My problem has become worse now, earlier i only had issues selecting all rows on grid but now anything that refreshes the data table grid is giving me error. Any help would be appreciated. I dont have too many Ajax calls in the grid, i am not sure what causes the recursion that it is complaining. see this on Firefox, debug [14:37:28.174] Wicket.Ajax: FunctionsExecuter.processNext: Error on wicket debug: var submitStateCallback = function (columnState) { var attrs = {"u":"./?5-6.IBehaviorListener.1-homePageTabs-panel-pricingPropertyTabs-panel-fitlerGridPanel-snapshotGridForm-snapshotGrid","c":"snapshotGrid827","dep":[function(attrs){return {'columnState': attrs.columnState}}]^}; var params = {}; attrs.ep = params; Wicket.Ajax.ajax(attrs); } InMethod.XTableManager.instance.register("snapshotGrid827", columns, submitStateCallback); })(); ]]> ERROR: Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript: InternalError: too much recursion, text: Wicket.Ajax.ajax({"u":"./?5-6.IBehaviorListener.1-homePageTabs-panel-pricingPropertyTabs-panel-fitlerGridPanel-snapshotGridForm-snapshotGrid-form-bodyContainer-body-row-1-item-price-link","e":"click","c":"link78f","i":"link78f--ajax-indicator"}); ERROR: FunctionsExecuter.processNext: InternalError: too much recursion ERROR: FunctionsExecuter.processNext: Error -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-fix-this-error-in-wicket-app-tp4653954p4654237.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 fix this error in wicket app
[12:52:52.119] Wicket.Ajax: FunctionsExecuter.processNext: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIObserverService.addObserver]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: resource:///components/ConsoleAPI.js :: CA_init :: line 57" data: no] @ http://localhost:9080/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug-ver-1352317451197.js:125 Subsequently this error means no Ajax events are processed unless page is refreshed. Channel '0' is busy - scheduling the callback to be executed when the previous requ Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-fix-this-error-in-wicket-app-tp4653954.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: wicketstff-minis 6.0.0 errors
Anyone? I tried the component hierarchy based renderHead(IHeaderResponse response), but it does work, for some reason the prototip-min.js always appears first in the list of scripts. My java script appear as below: I need them to appear as: -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstff-minis-6-0-0-errors-tp4653882p4653916.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
wicketstff-minis 6.0.0 errors
I am getting below two errors (app running under wicket 6.2), any help is appreciated to fix these, thanks ReferenceError: Prototype is not defined TypeError: Tip is not a constructor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstff-minis-6-0-0-errors-tp4653882.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: wicketstff-minis 6.0.0 errors
I have all these in given order prototip.css prototip-min.js prototype.js scriptaculous.js i do not see anything else required so does the order matter here? if it does how to change that in wicket. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstff-minis-6-0-0-errors-tp4653882p4653884.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: strange issue, OnChangeAjaxBehavior() executed only once
Thanks martin. I see that i have two java script errors and these could be causing the problem. ReferenceError: Prototype is not defined TypeError: Tip is not a constructor These are related to prototype.js and wicketstuff-minis (tool tip) Any help on resolving these? Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/strange-issue-OnChangeAjaxBehavior-executed-only-once-tp4653798p4653862.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: strange issue, OnChangeAjaxBehavior() executed only once
Thanks, using the debug mode i see that it prints INFO: Channel '0' is busy - scheduling the callback to be executed when the previous request finish. not sure what it means. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/strange-issue-OnChangeAjaxBehavior-executed-only-once-tp4653798p4653858.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: error Running wicket in development mode
I can disable this using: getDebugSettings().setComponentUseCheck(false); what is the equivalent for below (wicket 1.4) in wicket 6+ getAjaxSettings().setAjaxDebugModeEnabled(true); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/error-Running-wicket-in-development-mode-tp4653844p4653856.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
error Running wicket in development mode
Switched to run in development mode but it throws below error, am i suppose to add markup for these? Did extensive google on this, found nothing so far, thanks Root cause: org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. Possible reasons could be that: 1) you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered), 2) if your components were added in a parent container then make sure the markup for the child container includes them in . 1. [Component id = statusLabel] 2. [FeedbackPanel [Component id = feedbackPanel]] 3. [FeedbackPanel [Component id = feedbackPanel]] 4. [Component id = assignee] at org.apache.wicket.Page.checkRendering(Page.java:665) at org.apache.wicket.Page.onAfterRender(Page.java:822) at org.apache.wicket.markup.html.WebPage.onAfterRender(WebPage.java:215) at org.apache.wicket.Component.afterRender(Component.java:891) at org.apache.wicket.Component.render(Component.java:2305) at org.apache.wicket.Page.renderPage(Page.java:1021) at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:116) at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:244) at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:165) at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:830) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:253) at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210) at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:281) at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188) at org.apache.wicket.protocol.http.WicketFilter.d -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/error-Running-wicket-in-development-mode-tp4653844.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 do you pass load=effects to scriptaculous.js
Thanks, this is helpful. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-do-you-pass-load-effects-to-scriptaculous-js-tp4653797p4653841.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: strange issue, OnChangeAjaxBehavior() executed only once
Anyone? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/strange-issue-OnChangeAjaxBehavior-executed-only-once-tp4653798p4653834.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 do you pass load=effects to scriptaculous.js
Thanks for responding, To use SCRIPTACULOUS js libraries: We are using in maven: org.wicketstuff wicketstuff-jslibraries 1.5.8 And than code like this @Override public void renderHead(Component component, IHeaderResponse response) { JSLib.getHeaderContribution(VersionDescriptor.alwaysLatest(Library.SCRIPTACULOUS)).renderHead(response) } scriptaculous.js documentation says: By default, scriptaculous.js loads all of the other javascript files necessary for effects, drag-and-drop, sliders, and all of the other script.aculo.us features. If you don’t need all of the features, you can limit the additional scripts that get loaded by specifying them in a comma-separated list, e.g.: So my question is how in wicket i will achieve this passing => ?load=effects,dragdrop to scriptaculous.js Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-do-you-pass-load-effects-to-scriptaculous-js-tp4653797p4653833.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
stange error, OnChangeAjaxBehavior() executed only once
I am right now struggling to find the cause of this strange error, spangly the OnChangeAjaxBehavior() is executed only once on first change, subsequent changes do nothing. private final IModel datamodel= new Model(new Date()); private void addDateSelection(Form filterForm) { final DateTextField df= new DateTextField("snapshot.date", datamodel,new StyleDateConverter("S-", true)) { private static final long serialVersionUID = 1L; @Override public Locale getLocale() { return Locale.getDefault(); } }; df.add(new DatePicker()); filterForm.add(df); df.add(new OnChangeAjaxBehavior() { private static final long serialVersionUID = 1L; @Override protected void onUpdate(AjaxRequestTarget target) { //do something } }); } thanks and please excuse typos. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/stange-error-OnChangeAjaxBehavior-executed-only-once-tp4653798.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 do you pass load=effects to scriptaculous.js
in wicket 6. using the below code, not sure how to pass the arguments as is done by the current code (wicket 1.4) JSLib.getHeaderContribution(VersionDescriptor.alwaysLatest(Library.SCRIPTACULOUS)).renderHead(response) Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-do-you-pass-load-effects-to-scriptaculous-js-tp4653797.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: migration to wicket 6
Thanks, its pretty much doing something similar to this example https://cwiki.apache.org/WICKET/identifying-the-key-that-was-pressed-in-a-serverside-key-handler.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/migration-to-wicket-6-tp4653756p4653758.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
migration to wicket 6
old wicket code has this everywhere in my app some textField .add new AjaxEventBehavior("onkeypress") { . . protected CharSequence getCallbackScript(boolean onlyTargetActivePage) { } . . } could someone point me to an example how this can be done in wicket 6. Looking to migrate getCallbackScript(boolean onlyTargetActivePage) part. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/migration-to-wicket-6-tp4653756.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: NullPointerException is running Wicket 6.2 app
I see that timeout prints 0 in my case , so it never executed the code previous = locks.get().putIfAbsent(pageId, lock); , for some reason the old app did not set a timeout, so after setting it to something meaningful the app works. Perhaps /** timeout value for acquiring a page lock */ private final Duration timeout; assigning it some default value here may be considered. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/NullPointerException-in-running-Wicket-6-2-app-tp4653694p4653698.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: NullPointerException is running Wicket 6.2 app
Thanks for responding, I am trying to migrate an older app to 6.2 and hit this error. using debug i could also narrow it down to 'previous' (PageLock previous) being null, i will try to reproduce this in quickstart application and create jira. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/NullPointerException-in-running-Wicket-6-2-app-tp4653694p4653697.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